Skip to content

Commit

Permalink
Set default constraint root-disk=20GB
Browse files Browse the repository at this point in the history
Juju has an unwritten default root-disk size of 30GB which is used in
preference to the OpenStack flavors disk size when booting from volume
with root-disk-source=volume.

Set a default root-disk=20GB constraint to reduce the total storage
requirements of a default deployment, in line with what they were before
switching to booting from volumes by default in prodstack6.
  • Loading branch information
lathiat committed Sep 16, 2024
1 parent d25553d commit 23dcf79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/generate_bundle_base
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ fi
if [ -n "${MASTER_OPTS[MODEL_CONSTRAINTS]}" ]; then
juju set-model-constraints ${MASTER_OPTS[MODEL_CONSTRAINTS]}
else
juju set-model-constraints root-disk-source=volume
juju set-model-constraints root-disk-source=volume root-disk=20G
fi

if has_opt --list; then
Expand Down

0 comments on commit 23dcf79

Please sign in to comment.