yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #48868
[Bug 1564896] [NEW] Boot Failed, Not a bootable disk
Public bug reported:
This bug happen in my environment with these steps on liberty release:
1. Create a instance by using centos 7 image. and boot it. every thing work well so far
2. Create 10G volume and attach it to this instance onto /dev/vda
3. Format it and mount it, try to create file under it, work well.
4. Restart compute node with "systemctl restart"
5. When it is up, start all openstack services. and go to dashboard to start this instance, it say the install it running, but open the close to it, and found it fail to boot with the following log on screen:
****Boot Failed, Not a bootable disk*****
and the output from now show <this instance> are as
[root@controller ~(keystone_admin)]# nova show bb5e9b52-0439-42a0-ac53-75a1ed25e7a8
+--------------------------------------+----------------------------------------------------------+
| Property | Value |
+--------------------------------------+----------------------------------------------------------+
| OS-DCF:diskConfig | AUTO |
| OS-EXT-AZ:availability_zone | Nova |
| OS-EXT-SRV-ATTR:host | compute001 |
| OS-EXT-SRV-ATTR:hypervisor_hostname | compute001 |
| OS-EXT-SRV-ATTR:instance_name | instance-00000051 |
| OS-EXT-STS:power_state | 1 |
| OS-EXT-STS:task_state | - |
| OS-EXT-STS:vm_state | active |
| OS-SRV-USG:launched_at | 2016-03-30T03:53:31.000000 |
| OS-SRV-USG:terminated_at | - |
| accessIPv4 | |
| accessIPv6 | |
| config_drive | |
| created | 2016-03-30T03:51:14Z |
| flavor | C1M1D20 (447288ec-4b9c-4a00-9001-8b68e7dc4ee0) |
| hostId | 375e5133fd870cec7008e67b2ffa1af6551267a593a6825c7a1bcf95 |
| id | bb5e9b52-0439-42a0-ac53-75a1ed25e7a8 |
| image | Attempt to boot from volume - no image supplied |
| key_name | ceshi |
| metadata | {} |
| name | ceph1 |
| os-extended-volumes:volumes_attached | [{"id": "059e67a5-6229-4a36-8d8a-545b02a9c160"}] |
| progress | 0 |
| security_groups | default |
| stacknet network | 192.168.30.127, 192.168.199.67 |
| status | ACTIVE |
| tenant_id | 8fc7a18927dc433aa4136a3be3548068 |
| updated | 2016-04-01T12:27:59Z |
| user_id | 284beeb5bc9245098246b733cb8371d7 |
+--------------------------------------+----------------------------------------------------------+
The highlight here is value of image: “Attempt to boot from volume - no
image supplied ”
and the use virsh dumpxml to show the disk is lost. only keep the
attached volume here, but it is that this is volume is not a bootable
volume.
<disk type='block' device='disk'>
<driver name='qemu' type='raw' cache='none'/>
<source dev='/dev/disk/by-path/ip-192.168.200.30:3260-iscsi-iqn.2010-10.org.openstack:volume-059e67a5-6229-4a36-8d8a-545b02a9c160-lun-0'/>
<backingStore/>
<target dev='vda' bus='virtio'/>
<serial>059e67a5-6229-4a36-8d8a-545b02a9c160</serial>
<alias name='virtio-disk0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
</disk>
<controller type='usb' index='0'>
<alias name='usb'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
</controller>
<controller type='pci' index='0' model='pci-root'>
<alias name='pci.0'/>
</controller>
<interface type='bridge'>
<mac address='fa:16:3e:33:d1:24'/>
<source bridge='qbr932ceb9b-bb'/>
<target dev='tap932ceb9b-bb'/>
<model type='virtio'/>
<alias name='net0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
</interface>
The issue here is this cause the configuration for disk crash, and lose the item for hard disk, the lead to the boot failure.
B.R
** Affects: nova
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1564896
Title:
Boot Failed, Not a bootable disk
Status in OpenStack Compute (nova):
New
Bug description:
This bug happen in my environment with these steps on liberty
release:
1. Create a instance by using centos 7 image. and boot it. every thing work well so far
2. Create 10G volume and attach it to this instance onto /dev/vda
3. Format it and mount it, try to create file under it, work well.
4. Restart compute node with "systemctl restart"
5. When it is up, start all openstack services. and go to dashboard to start this instance, it say the install it running, but open the close to it, and found it fail to boot with the following log on screen:
****Boot Failed, Not a bootable disk*****
and the output from now show <this instance> are as
[root@controller ~(keystone_admin)]# nova show bb5e9b52-0439-42a0-ac53-75a1ed25e7a8
+--------------------------------------+----------------------------------------------------------+
| Property | Value |
+--------------------------------------+----------------------------------------------------------+
| OS-DCF:diskConfig | AUTO |
| OS-EXT-AZ:availability_zone | Nova |
| OS-EXT-SRV-ATTR:host | compute001 |
| OS-EXT-SRV-ATTR:hypervisor_hostname | compute001 |
| OS-EXT-SRV-ATTR:instance_name | instance-00000051 |
| OS-EXT-STS:power_state | 1 |
| OS-EXT-STS:task_state | - |
| OS-EXT-STS:vm_state | active |
| OS-SRV-USG:launched_at | 2016-03-30T03:53:31.000000 |
| OS-SRV-USG:terminated_at | - |
| accessIPv4 | |
| accessIPv6 | |
| config_drive | |
| created | 2016-03-30T03:51:14Z |
| flavor | C1M1D20 (447288ec-4b9c-4a00-9001-8b68e7dc4ee0) |
| hostId | 375e5133fd870cec7008e67b2ffa1af6551267a593a6825c7a1bcf95 |
| id | bb5e9b52-0439-42a0-ac53-75a1ed25e7a8 |
| image | Attempt to boot from volume - no image supplied |
| key_name | ceshi |
| metadata | {} |
| name | ceph1 |
| os-extended-volumes:volumes_attached | [{"id": "059e67a5-6229-4a36-8d8a-545b02a9c160"}] |
| progress | 0 |
| security_groups | default |
| stacknet network | 192.168.30.127, 192.168.199.67 |
| status | ACTIVE |
| tenant_id | 8fc7a18927dc433aa4136a3be3548068 |
| updated | 2016-04-01T12:27:59Z |
| user_id | 284beeb5bc9245098246b733cb8371d7 |
+--------------------------------------+----------------------------------------------------------+
The highlight here is value of image: “Attempt to boot from volume -
no image supplied ”
and the use virsh dumpxml to show the disk is lost. only keep the
attached volume here, but it is that this is volume is not a bootable
volume.
<disk type='block' device='disk'>
<driver name='qemu' type='raw' cache='none'/>
<source dev='/dev/disk/by-path/ip-192.168.200.30:3260-iscsi-iqn.2010-10.org.openstack:volume-059e67a5-6229-4a36-8d8a-545b02a9c160-lun-0'/>
<backingStore/>
<target dev='vda' bus='virtio'/>
<serial>059e67a5-6229-4a36-8d8a-545b02a9c160</serial>
<alias name='virtio-disk0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
</disk>
<controller type='usb' index='0'>
<alias name='usb'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
</controller>
<controller type='pci' index='0' model='pci-root'>
<alias name='pci.0'/>
</controller>
<interface type='bridge'>
<mac address='fa:16:3e:33:d1:24'/>
<source bridge='qbr932ceb9b-bb'/>
<target dev='tap932ceb9b-bb'/>
<model type='virtio'/>
<alias name='net0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
</interface>
The issue here is this cause the configuration for disk crash, and lose the item for hard disk, the lead to the boot failure.
B.R
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1564896/+subscriptions
Follow ups