Failed to create instance with config_drive

Bug #1491841 reported by Alexander Gubanov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Fix Released
High
Vasyl Saienko

Bug Description

When I try to create instance with config_drive it fails with error message:
"No valid host was found. There are not enough hosts available."

without "config_drive" option it created successfully.

Env: MOS 7.0 (build 257) Ubuntu - HA - Neutron VLAN
3 controllers, 2 compute with Ceph for all (volumes/images/ephemeral volumes)

Details: http://pastebin.com/UugNEQ3F

Steps to reproduce:

(create instance with config_drive)

nova boot --image TestVM --flavor m1.micro --nic net-id=$(neutron net-list | awk '/net04 / {print $2}') --config-drive=true test1

Tags: nova
Revision history for this message
Alexander Gubanov (ogubanov) wrote :

The same error on mos7.0 (build 260) with Cinder.
Details: http://pastebin.com/C2yEZ5iA

Revision history for this message
Roman Podoliaka (rpodolyaka) wrote :

The traceback from #1 shows that genisoimage package is not installed and config drive format defaults to ISO9660:

http://paste.openstack.org/show/444313/

Revision history for this message
Roman Podoliaka (rpodolyaka) wrote :

While fixing this by installing genisoimage is easy, I'm not sure that's a good idea to use ISO9660 formatted config drives due to a known libvirt issue - https://bugs.launchpad.net/nova/+bug/1246201 , which breaks live migration of instances, if ISO9660 formatted config drive is used.

This is what User Guide recommends too: http://docs.openstack.org/user-guide/cli_config_drive.html

I'd rather we fix this in puppet manifests and ensure `config_drive_format` option is set to `vfat`.

Changed in mos:
assignee: nobody → Vasyl Saienko (vsaienko)
importance: Undecided → High
status: New → Triaged
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to puppet-modules/puppet-nova (mos-8.0)

Fix proposed to branch: mos-8.0
Change author: Vasyl Saienko <email address hidden>
Review: https://review.fuel-infra.org/11139

Changed in mos:
status: Triaged → In Progress
Revision history for this message
Vasyl Saienko (vsaienko) wrote :

CR wasn't added automatically: https://review.openstack.org/#/c/220176/

Revision history for this message
Roman Podoliaka (rpodolyaka) wrote :

^ is merged

Changed in mos:
status: In Progress → Fix Committed
Revision history for this message
Oleksiy Butenko (obutenko) wrote :

http://paste.openstack.org/show/449972/
verified on MOS 7.0 ISO 286

{"build_id": "286", "build_number": "286", "release_versions": {"2015.1.0-7.0": {"VERSION": {"build_id": "286", "build_number": "286", "api": "1.0", "fuel-library_sha": "ff63a0bbc93a3a0fb78215c2fd0c77add8dfe589", "nailgun_sha": "5c33995a2e6d9b1b8cdddfa2630689da5084506f", "feature_groups": ["mirantis"], "fuel-nailgun-agent_sha": "d7027952870a35db8dc52f185bb1158cdd3d1ebd", "openstack_version": "2015.1.0-7.0", "fuel-agent_sha": "082a47bf014002e515001be05f99040437281a2d", "production": "docker", "python-fuelclient_sha": "1ce8ecd8beb640f2f62f73435f4e18d1469979ac", "astute_sha": "8283dc2932c24caab852ae9de15f94605cc350c6", "fuel-ostf_sha": "1f08e6e71021179b9881a824d9c999957fcc7045", "release": "7.0", "fuelmain_sha": "9ab01caf960013dc882825dc9b0e11ccf0b81cb0"}}}, "auth_required": true, "api": "1.0", "fuel-library_sha": "ff63a0bbc93a3a0fb78215c2fd0c77add8dfe589", "nailgun_sha": "5c33995a2e6d9b1b8cdddfa2630689da5084506f", "feature_groups": ["mirantis"], "fuel-nailgun-agent_sha": "d7027952870a35db8dc52f185bb1158cdd3d1ebd", "openstack_version": "2015.1.0-7.0", "fuel-agent_sha": "082a47bf014002e515001be05f99040437281a2d", "production": "docker", "python-fuelclient_sha": "1ce8ecd8beb640f2f62f73435f4e18d1469979ac", "astute_sha": "8283dc2932c24caab852ae9de15f94605cc350c6", "fuel-ostf_sha": "1f08e6e71021179b9881a824d9c999957fcc7045", "release": "7.0", "fuelmain_sha": "9ab01caf960013dc882825dc9b0e11ccf0b81cb0"}

Changed in mos:
status: Fix Committed → Fix Released
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Change abandoned on puppet-modules/puppet-nova (mos-8.0)

Change abandoned by Vasyl Saienko <email address hidden> on branch: mos-8.0
Review: https://review.fuel-infra.org/11139
Reason: merged as a part of sync with master

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.