Bug 1286411
| Summary: | Nova fails to launch instances from RAW images | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Yogev Rabl <yrabl> | ||||
| Component: | openstack-nova | Assignee: | Lee Yarwood <lyarwood> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Prasanth Anbalagan <panbalag> | ||||
| Severity: | urgent | Docs Contact: | |||||
| Priority: | urgent | ||||||
| Version: | 8.0 (Liberty) | CC: | berrange, dasmith, eglynn, jschluet, kchamart, lyarwood, ndipanov, panbalag, sbauza, sferdjao, sgordon, vromanso, yeylon, yrabl | ||||
| Target Milestone: | ga | Keywords: | Triaged | ||||
| Target Release: | 8.0 (Liberty) | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | openstack-nova-12.0.0-3.el7ost | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2016-04-07 21:14:55 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Yogev Rabl
2015-11-29 08:55:29 UTC
Created attachment 1100106 [details]
Nova-compute.log
*** Bug 1286410 has been marked as a duplicate of this bug. *** No error observed during booting an instance from RAW image. Please see logs below for further details.
***********
Version
***********
[root@lynx13 ~(keystone_admin)]# yum list installed | grep openstack-nova
openstack-nova-api.noarch 1:12.0.0-4.el7ost @rhelosp-8.0-puddle
openstack-nova-cert.noarch 1:12.0.0-4.el7ost @rhelosp-8.0-puddle
openstack-nova-common.noarch 1:12.0.0-4.el7ost @rhelosp-8.0-puddle
openstack-nova-compute.noarch 1:12.0.0-4.el7ost @rhelosp-8.0-puddle
openstack-nova-conductor.noarch 1:12.0.0-4.el7ost @rhelosp-8.0-puddle
openstack-nova-console.noarch 1:12.0.0-4.el7ost @rhelosp-8.0-puddle
openstack-nova-novncproxy.noarch 1:12.0.0-4.el7ost @rhelosp-8.0-puddle
openstack-nova-scheduler.noarch 1:12.0.0-4.el7ost @rhelosp-8.0-puddle
[root@lynx13 ~(keystone_admin)]#
************
Logs
************
[root@lynx13 ~(keystone_admin)]# glance image-create --disk-format raw --container-format bare --name fedora --file Fedora-Cloud-Base-23-20151030.x86_64.raw
+------------------+--------------------------------------+
| Property | Value |
+------------------+--------------------------------------+
| checksum | 1191066f5a6770967f5c2cd0891061f7 |
| container_format | bare |
| created_at | 2016-01-18T20:43:15Z |
| disk_format | raw |
| id | 5604f59c-9fd0-4a15-8a47-b5eb38e85dad |
| min_disk | 0 |
| min_ram | 0 |
| name | fedora |
| owner | eeae83eb9c6249caa19533c9debbac69 |
| protected | False |
| size | 3221225472 |
| status | active |
| tags | [] |
| updated_at | 2016-01-18T20:43:37Z |
| virtual_size | None |
| visibility | private |
+------------------+--------------------------------------+
[root@lynx13 ~(keystone_admin)]#
[root@lynx13 ~(keystone_admin)]#
[root@lynx13 ~(keystone_admin)]# glance image-list
+--------------------------------------+--------+
| ID | Name |
+--------------------------------------+--------+
| 28de3499-7699-467f-9adb-281ee929fe91 | cirros |
| 5604f59c-9fd0-4a15-8a47-b5eb38e85dad | fedora |
+--------------------------------------+--------+
[root@lynx13 ~(keystone_admin)]#
[root@lynx13 ~(keystone_admin)]#
[root@lynx13 ~(keystone_admin)]# glance image-show 5604f59c-9fd0-4a15-8a47-b5eb38e85dad
+------------------+--------------------------------------+
| Property | Value |
+------------------+--------------------------------------+
| checksum | 1191066f5a6770967f5c2cd0891061f7 |
| container_format | bare |
| created_at | 2016-01-18T20:43:15Z |
| disk_format | raw |
| id | 5604f59c-9fd0-4a15-8a47-b5eb38e85dad |
| min_disk | 0 |
| min_ram | 0 |
| name | fedora |
| owner | eeae83eb9c6249caa19533c9debbac69 |
| protected | False |
| size | 3221225472 |
| status | active |
| tags | [] |
| updated_at | 2016-01-18T20:43:37Z |
| virtual_size | None |
| visibility | private |
+------------------+--------------------------------------+
[root@lynx13 ~(keystone_admin)]# nova list
+--------------------------------------+------+--------+------------+-------------+---------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+------+--------+------------+-------------+---------------------+
| b096d63f-1695-47b8-96b7-ab537c6598e6 | vm1 | ACTIVE | - | Running | public=172.24.4.227 |
+--------------------------------------+------+--------+------------+-------------+---------------------+
[root@lynx13 ~(keystone_admin)]#
[root@lynx13 ~(keystone_admin)]#
[root@lynx13 ~(keystone_admin)]# nova boot --flavor 2 --image fedora vm_rawimage
+--------------------------------------+-----------------------------------------------+
| Property | Value |
+--------------------------------------+-----------------------------------------------+
| OS-DCF:diskConfig | MANUAL |
| OS-EXT-AZ:availability_zone | |
| OS-EXT-SRV-ATTR:host | - |
| OS-EXT-SRV-ATTR:hypervisor_hostname | - |
| OS-EXT-SRV-ATTR:instance_name | instance-00000002 |
| OS-EXT-STS:power_state | 0 |
| OS-EXT-STS:task_state | scheduling |
| OS-EXT-STS:vm_state | building |
| OS-SRV-USG:launched_at | - |
| OS-SRV-USG:terminated_at | - |
| accessIPv4 | |
| accessIPv6 | |
| adminPass | JLATw5ZSDoxs |
| config_drive | |
| created | 2016-01-18T20:47:12Z |
| flavor | m1.small (2) |
| hostId | |
| id | 9973315b-bf55-42a4-a22a-5b869bb1a144 |
| image | fedora (5604f59c-9fd0-4a15-8a47-b5eb38e85dad) |
| key_name | - |
| metadata | {} |
| name | vm_rawimage |
| os-extended-volumes:volumes_attached | [] |
| progress | 0 |
| security_groups | default |
| status | BUILD |
| tenant_id | eeae83eb9c6249caa19533c9debbac69 |
| updated | 2016-01-18T20:47:12Z |
| user_id | 348245d1b9ae49a7b61aa196ab46d17f |
+--------------------------------------+-----------------------------------------------+
[root@lynx13 ~(keystone_admin)]# nova list
+--------------------------------------+-------------+--------+------------+-------------+---------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+-------------+--------+------------+-------------+---------------------+
| b096d63f-1695-47b8-96b7-ab537c6598e6 | vm1 | ACTIVE | - | Running | public=172.24.4.227 |
| 9973315b-bf55-42a4-a22a-5b869bb1a144 | vm_rawimage | BUILD | spawning | NOSTATE | public=172.24.4.228 |
+--------------------------------------+-------------+--------+------------+-------------+---------------------+
[root@lynx13 ~(keystone_admin)]#
[root@lynx13 ~(keystone_admin)]# nova list
+--------------------------------------+-------------+--------+------------+-------------+---------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+-------------+--------+------------+-------------+---------------------+
| b096d63f-1695-47b8-96b7-ab537c6598e6 | vm1 | ACTIVE | - | Running | public=172.24.4.227 |
| 9973315b-bf55-42a4-a22a-5b869bb1a144 | vm_rawimage | ACTIVE | - | Running | public=172.24.4.228 |
+--------------------------------------+-------------+--------+------------+-------------+---------------------+
*** Bug 1301472 has been marked as a duplicate of this bug. *** (In reply to Prasanth Anbalagan from comment #8) > No error observed during booting an instance from RAW image. Please see logs > below for further details. Just to confirm that you were using ceph as the instance store to verify this correct? (In reply to Lee Yarwood from comment #10) > (In reply to Prasanth Anbalagan from comment #8) > > No error observed during booting an instance from RAW image. Please see logs > > below for further details. > > Just to confirm that you were using ceph as the instance store to verify > this correct? Yes I am. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHEA-2016-0603.html |