Skip to content

Commit

Permalink
Merge pull request #214 from nicolasbock/constraints
Browse files Browse the repository at this point in the history
Add root-disk constraint to nova-compute
  • Loading branch information
dosaboy authored Aug 1, 2024
2 parents 2456ffe + 6dd81f5 commit 612d8dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion openstack/module_defaults
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ MOD_PARAMS[__PATH_MTU__]=

# This is enough for creating one ubuntu vm or multiple cirros vms but some
# scenarios may want to allow more per compute (e.g. octavia).
MOD_PARAMS[__NOVA_COMPUTE_UNIT_CONSTRAINTS__]="mem=4G"
MOD_PARAMS[__NOVA_COMPUTE_UNIT_CONSTRAINTS__]="mem=4G root-disk=80G"

# Try to use current model (or newly requested one) as subdomain name
model_subdomain=`get_juju_model`
Expand Down
2 changes: 1 addition & 1 deletion openstack/pipeline/02configure
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ do
# This equates to m1.large (rather than m1.medium) which should
# allow creating 1x ubunu vm + 1x amphora vm on the same host thus
# avoiding the need for > 1 compute host.
MOD_PARAMS[__NOVA_COMPUTE_UNIT_CONSTRAINTS__]="mem=8G"
MOD_PARAMS[__NOVA_COMPUTE_UNIT_CONSTRAINTS__]="mem=8G root-disk=80G"
if ! has_opt --no-octavia-diskimage-retrofit; then
# By default we let retrofit use images uploaded by the
# post-deploy configure script.
Expand Down

0 comments on commit 612d8dc

Please sign in to comment.