Cannot create bootable volume on CEPH backend for cinder

Bug #1319046 reported by Bogdan Dobrelya
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Confirmed
High
Andrew Woodward

Bug Description

{"build_id": "2014-05-12_01-10-31", "mirantis": "yes", "build_number": "193", "ostf_sha": "cdb075090b752246a9c43db3e918c42f645b5873", "nailgun_sha": "4477ba3a6efc4379a6509386e7a9e2e6ae832041", "production": "docker", "api": "1.0", "fuelmain_sha": "97d7f6d5461db3afc27f58160cf9f6985230d255", "astute_sha": "5813d9b537ba6ac95f668321c682f339aac57e05", "release": "5.0", "fuellib_sha": "112695da3558df7b8cdc1bd4d7bb214bed38bb78"}

Steps to reproduce:
 1. Create new environment (Ubuntu + HA + NovaNetwork) all tagged
 2. Select Ceph for Cinder and Glance
 3. Add 3 controllers+ceph and 2 computes+ceph
 4. Deploy. It should be successfull.
 5. Create bootable volume with
. openrc; cinder --debug create --image-id $(nova image-list | awk '/TestVM/{print $2}') --display_name=bootable_cirros 1
The error: The server has either erred or is incapable of performing the requested operation. (HTTP 500)
6. Create simple volume with cinder create 1. It should be successfull.

See node-2.test.domain.local/cinder-api.log from the logs
Note: in order to shorten the debug logs snapshot size, before the reproducing bootable volume creation error all logs were truncated with forced logrotate, hence all unrelated logs have got 0 size in logs snapshot.

Tags: ceph
Revision history for this message
Bogdan Dobrelya (bogdando) wrote :
  • logs Edit (6.0 MiB, application/x-tar)
description: updated
Mike Scherbakov (mihgen)
Changed in fuel:
assignee: Fuel Library Team (fuel-library) → Dmitry Ilyin (idv1985)
Revision history for this message
Vladimir Sharshov (vsharshov) wrote :

Confirmed #203

Revision history for this message
Dmitry Borodaenko (angdraug) wrote :

The problem is with this commit (in Nova and Cinder respectively):
https://review.openstack.org/70518
https://review.openstack.org/84937

As can be seen from cinder debug output, metadata for TestVM image doesn't have 'deleted' attribute:
2014-05-13T12:42:11.397595+00:00 debug: {"status": "active", "name": "TestVM", "tags": [], "checksum": "9d526403713579f446434dd6190f9e9e", "created_at": "2014-05-12T13:54:12Z", "size": 14811136, "murano_image_info": "{\"title\": \"Murano Demo\", \"type\": \"cirros.demo\"}", "updated_at": "2014-05-12T13:54:13Z", "visibility": "public", "self": "/v2/images/43f6b4be-b689-46b2-9dab-412e929d8b6f", "container_format": "bare", "min_disk": 0, "protected": false, "min_ram": 64, "file": "/v2/images/43f6b4be-b689-46b2-9dab-412e929d8b6f/file", "disk_format": "qcow2", "owner": "4d52167746af4dd58a65a0370a6efaa5", "direct_url": "rbd://7361c191-9dda-4646-8798-a226439911b9/images/43f6b4be-b689-46b2-9dab-412e929d8b6f/snap", "id": "43f6b4be-b689-46b2-9dab-412e929d8b6f", "schema": "/v2/schemas/image"}

Which causes AttributeError: deleted

Changed in fuel:
assignee: Dmitry Ilyin (idv1985) → Andrew Woodward (xarses)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.