[NOVA][GLANCE][CEPH]Failed validating u'type' in schema[u'properties'][u'ramdisk_id'] during booting instance

Bug #1473915 reported by Leontii Istomin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Fix Released
High
Mike Fedosin

Bug Description

during snapshot_server rally scenario instances can't be booted:
from rally.log: http://paste.openstack.org/show/370821/

root@node-7:~# mysql -e "use nova; select host,uuid from instances where display_name='rally_novaserver_ETve5dWCcTM3D4OA';"
+----------------------+------------------------------------------------+
| host | uuid |
+----------------------+------------------------------------------------+
| node-11.domain.tld | 0ebe9baf-156c-496f-9611-71abfcdc4494 |
+----------------------+------------------------------------------------+

from nova-all.log on compute node (node-11): http://paste.openstack.org/show/370822/

configuration:
Baremetal,Ubuntu,IBP,HA,Neutron-gre,Сeph-all,Nova-debug,Nova-quotas,7.0-16 Controllers:3 Computes+Ceph:24

api: '1.0'
astute_sha: 9cbb8ae5adbe6e758b24b3c1021aac1b662344e8
auth_required: true
build_id: 2015-07-09_18-59-55
build_number: '16'
feature_groups:
- mirantis
fuel-library_sha: 5013a663571684ab76840f666d797da3feb745da
fuel-ostf_sha: e3ad92b0e4a9301ffe0969a3bc5d6073966a27b4
fuelmain_sha: 4778ce4a8fef3afb5ab60f4ba0faf2d1edb0796b
nailgun_sha: ae63905b181bd02d6af0d766dad612b77b363892
openstack_version: 2014.2.2-7.0
production: docker
python-fuelclient_sha: fbe0fa49d4640d1cd5de0af9040ca0d874d5d4fa
release: '7.0'

Diagnostic Snapshot: http://mos-scale-share.mirantis.com/fuel-snapshot-2015-07-10_21-41-54.tar.xz

Tags: scale
Revision history for this message
Timur Nurlygayanov (tnurlygayanov) wrote :

Hi Leontiy,

could you please describe steps to reproduce and add more information - for example, attach diagnostic snapshot?

Status changed to Incomplete because we need to provide more information or access to the lab for Glance team. Please, do this and change the status of the issue to Confirmed or Invalid when you will find the root of the issue.

Changed in mos:
status: Confirmed → Incomplete
Revision history for this message
Timur Nurlygayanov (tnurlygayanov) wrote :

Also, please, specify MOS version and build number - is it MOS 6.1 or MOS 7.0?

description: updated
Changed in mos:
milestone: none → 7.0
status: Incomplete → Confirmed
Revision history for this message
Leontii Istomin (listomin) wrote :

Updated bug description. I believe we can reproduce the issue if perferm the following steps:
1. create an instance
2. create snapshot of the instance
3. boot instance from the snapshot

description: updated
Revision history for this message
Timur Nurlygayanov (tnurlygayanov) wrote :

Leontiy, thank you!

Revision history for this message
Leontii Istomin (listomin) wrote :

can be reproduced with the following symptoms:
1. create an instance
2. create snapshot of the instance
3. execute "glance --os-image-api-version 2 image-list" command. Result of the command:
http://paste.openstack.org/show/377616/

related bug in upstream https://bugs.launchpad.net/python-glanceclient/+bug/1447193
fix was proposed in upstream https://review.openstack.org/#/c/176379

Revision history for this message
Leontii Istomin (listomin) wrote :

have tried patch https://review.openstack.org/#/c/176379.
It works well. snapshot_server rally scenario has been passed successfully.

after creating snapshot image-list with v2 works well:
root@node-4:~# glance --debug --os-image-api-version 2 image-list
http://paste.openstack.org/show/380292/

ruhe (ruhe)
Changed in mos:
assignee: MOS Glance (mos-glance) → Mike Fedosin (mfedosin)
Revision history for this message
Mike Fedosin (mfedosin) wrote :
Changed in mos:
status: Confirmed → Fix Committed
Revision history for this message
Timur Nurlygayanov (tnurlygayanov) wrote :

Verified on my QA lab, MOS 7.0 ISO #265:

1. create an instance
2. create snapshot of the instance
3. execute "glance --os-image-api-version 2 image-list" command.

Result:
root@node-1:~# glance --os-image-api-version 2 image-list
+--------------------------------------+-------------------+
| ID | Name |
+--------------------------------------+-------------------+
| 3453b10d-6ad7-4d16-8621-c882f4ad365c | load_cpu_vm_image |
| 5f597c3f-c58c-4e82-9f83-8dd068ec3ba0 | Ubuntu 14.04 |
+--------------------------------------+-------------------+
root@node-1:~#

Changed in mos:
status: Fix Committed → Fix Released
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.