Ask Your Question
1

Unable to boot from bootable volume.

asked 2013-09-26 16:15:21 -0500

Kupo gravatar image

updated 2013-09-26 17:27:56 -0500

smaffulli gravatar image

Following the guide here: http://docs.openstack.org/user-guide/content/boot_from_volume.html I'm attempting to create an instance from a bootable volume;

root@cp:~# nova volume-create --image-id 31fee2fc-ebb5-4435-b9f4-f876baeab9b5 --display-name bootable-vol-fedora19 20
+---------------------+--------------------------------------+
| Property            | Value                                |
+---------------------+--------------------------------------+
| status              | creating                             |
| display_name        | bootable-vol-fedora19                |
| attachments         | []                                   |
| availability_zone   | nova                                 |
| bootable            | false                                |
| created_at          | 2013-09-26T20:52:34.314688           |
| display_description | None                                 |
| image_id            | 31fee2fc-ebb5-4435-b9f4-f876baeab9b5 |
| volume_type         | None                                 |
| snapshot_id         | None                                 |
| source_volid        | None                                 |
| size                | 20                                   |
| id                  | 1a81b558-894d-480e-84e1-9f663e52d7d1 |
| metadata            | {}                                   |
+---------------------+--------------------------------------+


root@cp:~# nova boot --flavor 2 --block_device_mapping vda=1a81b558-894d-480e-84e1-9f663e52d7d1:::0 Fedora19FromVol
+-------------------------------------+-------------------------------------------------+
| Property                            | Value                                           |
+-------------------------------------+-------------------------------------------------+
| OS-EXT-STS:task_state               | scheduling                                      |
| image                               | Attempt to boot from volume - no image supplied |
| OS-EXT-STS:vm_state                 | building                                        |
| OS-EXT-SRV-ATTR:instance_name       | instance-00000099                               |
| flavor                              | m1.small                                        |
| id                                  | 11e737ad-ea60-4b84-9d26-a6d0d541866e            |
| security_groups                     | [{u'name': u'default'}]                         |
| user_id                             | dd0a17764d1f427ea85d614b46e559b4                |
| OS-DCF:diskConfig                   | MANUAL                                          |
| accessIPv4                          |                                                 |
| accessIPv6                          |                                                 |
| progress                            | 0                                               |
| OS-EXT-STS:power_state              | 0                                               |
| OS-EXT-AZ:availability_zone         | nova                                            |
| config_drive                        |                                                 |
| status                              | BUILD                                           |
| updated                             | 2013-09-26T21:11:53Z                            |
| hostId                              |                                                 |
| OS-EXT-SRV-ATTR:host                | None                                            |
| key_name                            | None                                            |
| OS-EXT-SRV-ATTR:hypervisor_hostname | None                                            |
| name                                | Fedora19FromVol                                 |
| adminPass                           | 6ZD69F95kyEb                                    |
| tenant_id                           | 40778ba94ee24c3ca3d92aa88388b9e7                |
| created                             | 2013-09-26T21:11:52Z                            |
| metadata                            | {}                                              |
+-------------------------------------+-------------------------------------------------+

However when it starts the instance I am getting the following;

Booting from Hard Disk...
Boot failed: not a bootable disk

Any assistance would be greatly appreciated!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-12-18 23:38:07 -0500

teju gravatar image

Create bootable cinder volumes as in below link: http://docs.openstack.org/user-guide/...

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-09-26 16:15:21 -0500

Seen: 815 times

Last updated: Sep 26 '13