Devstack - workaround for stuck on "booting from Hard Disk..."

Devstack is very good for install openstack in one machine, with a few steps.
https://docs.openstack.org/devstack/latest/

Issue is VM cannot start... it stuck on "booting from Hard Disk..."

From google, i am not alone but no solution. some suggest to change kvm to qemu in /etc/nova/nova.conf as workaround..

Here is alternative workaround without change the configure.

bluesky@devstack1:~$ openstack image list
+--------------------------------------+--------------------------+--------+
| ID                                   | Name                     | Status |
+--------------------------------------+--------------------------+--------+
| 705ae968-fc61-4992-a3e9-51e86a535c8e | cirros-0.3.5-x86_64-disk | active |
| 56e1ed7b-97d5-4c60-8793-76fb91e3b75d | small                    | active |
+--------------------------------------+--------------------------+--------+
bluesky@devstack1:~$ openstack image set --property hw_disk_bus='ide' small
bluesky@devstack1:~$ openstack image set --property hw_video_model='vmvga' small
bluesky@devstack1:~$ openstack image set --property hw_vif_model='e1000' small
bluesky@devstack1:~$ openstack image show small
+------------------+-----------------------------------------------------------------+
| Field            | Value                                                           |
+------------------+-----------------------------------------------------------------+
| checksum         | 6ac3a3676b7455503604927aeb876f43                                |
| container_format | bare                                                            |
| created_at       | 2017-09-04T06:44:05Z                                            |
| disk_format      | qcow2                                                           |
| file             | /v2/images/56e1ed7b-97d5-4c60-8793-76fb91e3b75d/file            |
| id               | 56e1ed7b-97d5-4c60-8793-76fb91e3b75d                            |
| min_disk         | 0                                                               |
| min_ram          | 0                                                               |
| name             | small                                                           |
| owner            | 5bc790cb5df34f12a8184a8760387bc7                                |
| properties       | hw_disk_bus='ide', hw_video_model='vmvga', hw_vif_model='e1000' |
| protected        | False                                                           |
| schema           | /v2/schemas/image                                               |
| size             | 554980352                                                       |
| status           | active                                                          |
| tags             |                                                                 |
| updated_at       | 2017-09-05T01:48:32Z                                            |
| virtual_size     | None                                                            |
| visibility       | public                                                          |
+------------------+-----------------------------------------------------------------+

Redeploy the instance, the instance can boot up.

The issue was find play around the configure in virt-manager. The VM can boot up without using default virtIO. seem like bugs...

https://docs.openstack.org/python-glanceclient/latest/cli/property-keys.html

Comments

Popular posts from this blog

Openshift cert-manager integrate with ACME IdM on RHEL (Technical Preview)

TimeSync using ansible and rhel-system-roles.timesync

Remove HPE iLO license