Browse Source

Set tempest flavor disk size to non-zero

Post [1] it's not allowed to create instances with
0 disk size flavors, this patch set's the Default disk
size for flavor created for tempest to 1.

[1] https://review.openstack.org/#/c/603910/

Change-Id: Ifb7b4d869aec5e9f3d6f0f0a7207baf30a2d123a
yatin 2 months ago
parent
commit
7f70f691d7

+ 2
- 2
packstack/plugins/provision_700.py View File

@@ -302,7 +302,7 @@ def initConfig(controller):
302 302
                         "the primary Tempest flavor (Gb)?"),
303 303
              "OPTION_LIST": False,
304 304
              "VALIDATORS": [validators.validate_integer],
305
-             "DEFAULT_VALUE": "0",
305
+             "DEFAULT_VALUE": "1",
306 306
              "MASK_INPUT": False,
307 307
              "LOOSE_VALIDATION": True,
308 308
              "CONF_NAME": "CONFIG_PROVISION_TEMPEST_FLAVOR_DISK",
@@ -351,7 +351,7 @@ def initConfig(controller):
351 351
                         "the alternative Tempest flavor (Gb)?"),
352 352
              "OPTION_LIST": False,
353 353
              "VALIDATORS": [validators.validate_integer],
354
-             "DEFAULT_VALUE": "0",
354
+             "DEFAULT_VALUE": "1",
355 355
              "MASK_INPUT": False,
356 356
              "LOOSE_VALIDATION": True,
357 357
              "CONF_NAME": "CONFIG_PROVISION_TEMPEST_FLAVOR_ALT_DISK",

+ 1
- 1
packstack/puppet/modules/packstack/manifests/manila/backend/generic.pp View File

@@ -26,7 +26,7 @@ class packstack::manila::backend::generic ()
26 26
       ensure => present,
27 27
       id     => '66',
28 28
       ram    => '512',
29
-      disk   => '0',
29
+      disk   => '1',
30 30
       vcpus  => '1',
31 31
       require => [ Class['::nova::api'], Class['::nova::keystone::auth'] ],
32 32
     } ->

Loading…
Cancel
Save