Add disk size to flavors used by tempest tests

Since [1], nova does not accept to create non-volume instances with
flavors with disk size to 0 so tempest tests fail.

This patch is creating disks with size 2GB to all flavors used by
tempest. cirros image is used in these tests so it should be fine.

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

Change-Id: Ica694dee7ec0b9a5a7a1f998f50be4f339a42f5c
This commit is contained in:
Alfredo Moralejo 2019-02-15 18:00:00 +01:00
parent ea9c9be27c
commit 2f0f2c54d0

View File

@ -26,14 +26,14 @@ class openstack_integration::provision (
ensure => present,
id => '42',
ram => '128',
disk => '0',
disk => '2',
vcpus => '1',
}
nova_flavor { 'm1.micro':
ensure => present,
id => '84',
ram => '128',
disk => '0',
disk => '2',
vcpus => '1',
}
# NOTE(ykarel): "m1.small" flavor is required by murano scenario tests
@ -41,7 +41,7 @@ class openstack_integration::provision (
ensure => present,
id => '2',
ram => '128',
disk => '0',
disk => '2',
vcpus => '1',
}
# NOTE(amoralej): "m1.tiny" flavor is required by murano scenario tests
@ -50,7 +50,7 @@ class openstack_integration::provision (
ensure => present,
id => '1',
ram => '128',
disk => '0',
disk => '2',
vcpus => '1',
}
Keystone_user_role <||>-> Nova_flavor<||>