Revision history [back]

click to hide/show revision 1
initial version

Heat (Stein) create image fails on nics

My first effort to create a stack using Heat failed, and I'd appreciate any tips on how to get past that.

My source is the Stein Heat Getting Started page, https://docs.openstack.org/heat/stein/getting_started/create_a_stack.html. I have created a Controller and two Compute nodes using the Stein installation guides (Ubuntu).

My first issue was in not being able to wget the Fedora image referenced in the Getting Started page. I found an almost-similarly named image at https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/20/Images/x86_64/Fedora-x86_64-20-20131211.1-sda.qcow2 and used it instead.

Then I discovered that not having a flavor was slowing me down, so I created one:

$ openstack flavor create --disk 3 m1.small

Then the create command:

$ openstack stack create \
  -t http://git.openstack.org/cgit/openstack/heat-templates/plain/hot/F20/WordPress_Native.yaml \
  --parameter key_name=heat_key --parameter image_id=fedora-20.x86_64 \
  --parameter instance_type=m1.small \
  teststack

Here is the result:

$ openstack stack event list teststack

2019-10-28 17:03:03Z [teststack]: CREATE_IN_PROGRESS  Stack CREATE started
2019-10-28 17:03:03Z [teststack.wordpress_instance]: CREATE_IN_PROGRESS  state changed
2019-10-28 17:03:03Z [teststack.wordpress_instance]: CREATE_FAILED  ValueError: resources.wordpress_instance: nics are required after microversion 2.36
2019-10-28 17:03:03Z [teststack]: CREATE_FAILED  Resource CREATE failed: ValueError: resources.wordpress_instance: nics are required after microversion 2.36

So does this mean I have to create some nics? If so, how? Or should I be using a different image (like the cirros image that came with the Stein Glance installation? Or something else altogether?

Heat (Stein) create image fails on nics

My first effort to create a stack using Heat failed, and I'd appreciate any tips on how to get past that.

My source is the Stein Heat Getting Started page, https://docs.openstack.org/heat/stein/getting_started/create_a_stack.html. I have created a Controller and two Compute nodes using the Stein installation guides (Ubuntu).

My first issue was in not being able to wget the Fedora image referenced in the Getting Started page. I found an almost-similarly named image at https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/20/Images/x86_64/Fedora-x86_64-20-20131211.1-sda.qcow2 and used it instead.

Then I discovered that not having a flavor was slowing me down, so I created one:

$ openstack flavor create --disk 3 m1.small

Then the create command:

$ openstack stack create \
  -t http://git.openstack.org/cgit/openstack/heat-templates/plain/hot/F20/WordPress_Native.yaml \
  --parameter key_name=heat_key --parameter image_id=fedora-20.x86_64 \
  --parameter instance_type=m1.small \
  teststack

Here is the result:

$ openstack stack event list teststack

2019-10-28 17:03:03Z [teststack]: CREATE_IN_PROGRESS  Stack CREATE started
2019-10-28 17:03:03Z [teststack.wordpress_instance]: CREATE_IN_PROGRESS  state changed
2019-10-28 17:03:03Z [teststack.wordpress_instance]: CREATE_FAILED  ValueError: resources.wordpress_instance: nics are required after microversion 2.36
2019-10-28 17:03:03Z [teststack]: CREATE_FAILED  Resource CREATE failed: ValueError: resources.wordpress_instance: nics are required after microversion 2.36

So does this mean I have to create some nics? If so, how? Or should I be using a different image (like the cirros image that came with the Stein Glance installation? Or something else altogether?