Cannot create volume (status: error) for case with ceph

Bug #1259878 reported by Anastasia Palkina
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Medium
Alexandra Morozova

Bug Description

ISO #124
"release": "4.0",
"nailgun_sha": "8d80f823c38c2af6dc98173bcbe348d022960a3d",
"ostf_sha": "cf48dac2a6e7ad284fc93c529f3d1e4668504028",
"astute_sha": "ae026938f272f69afbe89c9900bf1c3df483557c",
"fuellib_sha": "687a554eb9b6ae4dcc114f34e9690e601b40610c"

1. Create new environment (CentOS, simple mode)
2. Choose Ceph for images
3. Add controller, compute, 3 ceph
4. Start deployment. It was successful
5. Start OSTF tests. Test "Create volume and attach it to instance" has failed.

[root@node-5 ~]# nova volume-create 5
+---------------------+--------------------------------------+
| Property | Value |
+---------------------+--------------------------------------+
| status | creating |
| display_name | None |
| attachments | [] |
| availability_zone | nova |
| bootable | false |
| created_at | 2013-12-11T10:15:24.137876 |
| display_description | None |
| volume_type | None |
| snapshot_id | None |
| source_volid | None |
| size | 5 |
| id | 6bf123de-a53e-42e7-90fd-cfbd8c316af0 |
| metadata | {} |
+---------------------+--------------------------------------+

[root@node-5 ~]# nova volume-list
+--------------------------------------+--------+--------------+------+-------------+-------------+
| ID | Status | Display Name | Size | Volume Type | Attached to |
+--------------------------------------+--------+--------------+------+-------------+-------------+
| 6bf123de-a53e-42e7-90fd-cfbd8c316af0 | error | None | 5 | None | |
+--------------------------------------+--------+--------------+------+-------------+-------------+

Tags: ceph cinder
Revision history for this message
Anastasia Palkina (apalkina) wrote :
Changed in fuel:
assignee: Vladimir Kuklin (vkuklin) → Andrey Korolyov (xdeller)
Revision history for this message
Anastasia Palkina (apalkina) wrote :
Download full text (3.1 KiB)

2013-12-11T12:02:39.810474+00:00 info: INFO: (19596) accepted ('172.16.0.6', 33031)
2013-12-11T12:02:39.994609+00:00 info: INFO: 172.16.0.6 - - [11/Dec/2013 12:02:40] "POST /v1/8a7f5643751a4f6ba3844f0c7a6ef9c3/volumes HTTP/1.1" 200 510 0.182648
2013-12-11T12:02:39.558472+00:00 info: INFO: (19885) accepted ('192.168.0.6', 32884)
2013-12-11T12:02:39.786131+00:00 info: INFO: 192.168.0.6 - - [11/Dec/2013 12:02:39] "POST /v2.0/tokens HTTP/1.1" 200 2654 0.221219
2013-12-11T12:02:39.816548+00:00 info: INFO: (19885) accepted ('192.168.0.6', 37891)
2013-12-11T12:02:39.855021+00:00 info: INFO: 192.168.0.6 - - [11/Dec/2013 12:02:39] "GET /v2.0/tokens/2fde84bfe47a4fcdb954ab9375280c0a HTTP/1.1" 200 2654 0.037321
2013-12-11T12:02:39.780639+00:00 info: INFO: 192.168.0.6 - - [11/Dec/2013:12:02:39 +0000] "POST http://192.168.0.6:5000/v2.0/tokens HTTP/1.0" 200 2524
2013-12-11T12:02:39.850665+00:00 info: INFO: 192.168.0.6 - - [11/Dec/2013:12:02:39 +0000] "GET http://192.168.0.6:35357/v2.0/tokens/2fde84bfe47a4fcdb954ab9375280c0a HTTP/1.0" 200 2524
2013-12-11T12:02:39.814689+00:00 info: INFO: Starting new HTTP connection (1): 192.168.0.6
2013-12-11T12:02:39.864412+00:00 info: INFO: POST http://172.16.0.6:8776/v1/8a7f5643751a4f6ba3844f0c7a6ef9c3/volumes
2013-12-11T12:02:39.987742+00:00 emerg: INFO: http://172.16.0.6:8776/v1/8a7f5643751a4f6ba3844f0c7a6ef9c3/volumes returned with HTTP 200
2013-12-11T12:02:39.866727+00:00 emerg: AUDIT: Create volume of 4 GB
2013-12-11T12:02:39.983526+00:00 emerg: AUDIT: vol={'migration_status': None, 'availability_zone': 'nova', 'terminated_at': None, 'reservations': ['cb1d7a51-00a7-475f-b6e3-13ff0f72b3da', '9d7dffd2-34f4-4215-a912-cfe7dafbd0d8'], 'updated_at': None, 'provider_geometry': None, 'snapshot_id': None, 'ec2_id': None, 'mountpoint': None, 'deleted_at': None, 'id': '1c833d2d-6250-4ca9-a56a-0c8ac157c725', 'size': 4, 'user_id': u'b9ab1da4030e4b27bdb0fd28f9265505', 'attach_time': None, 'attached_host': None, 'display_description': None, 'volume_admin_metadata': [], 'encryption_key_id': None, 'project_id': u'8a7f5643751a4f6ba3844f0c7a6ef9c3', 'launched_at': None, 'scheduled_at': None, 'status': 'creating', 'volume_type_id': None, 'deleted': False, 'provider_location': None, 'host': None, 'source_volid': None, 'provider_auth': None, 'display_name': None, 'instance_uuid': None, 'bootable': False, 'created_at': datetime.datetime(2013, 12, 11, 12, 2, 39, 929972), 'attach_status': 'detached', 'volume_type': None, '_name_id': None, 'volume_metadata': [], 'metadata': None}
2013-12-11T12:02:39.889164+00:00 emerg: WARNING: Deprecated: Default quota for resource: gigabytes is set by the default quota flag: quota_gigabytes, it is now deprecated. Please use the the default quota class for default quota.
2013-12-11T12:02:39.890576+00:00 emerg: WARNING: Deprecated: Default quota for resource: volumes is set by the default quota flag: quota_volumes, it is now deprecated. Please use the the default quota class for default quota.
2013-12-11T12:02:40.011758+00:00 emerg: ERROR: Free capacity not set: volume node info collection broken.
2013-12-11T12:02:40.016716+00:00 emerg: ERROR: Failed to schedule_create_volume: No valid host ...

Read more...

Mike Scherbakov (mihgen)
Changed in fuel:
assignee: Andrey Korolyov (xdeller) → nobody
importance: Undecided → Medium
tags: added: ceph library
Changed in fuel:
importance: Medium → Low
Revision history for this message
Dmitry Borodaenko (angdraug) wrote :

Fuel Web UI should issue a warning if user tries to deploy an environment with Cinder backend set to Cinder LVM, but no Cinder nodes defined.

Andrew Woodward (xarses)
tags: added: cinder
removed: library
Nikolay Markov (nmarkov)
Changed in fuel:
status: New → Confirmed
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
milestone: 4.0 → 4.1
Revision history for this message
Andrey Korolyov (xdeller) wrote :

Ceph for volumes and Cinder for volumes should be mutually exclusive at least in a meantime when we have no multiple backend support by deployment modules.

Changed in fuel:
assignee: nobody → Vitaly Kramskikh (vkramskikh)
importance: Low → Medium
Changed in fuel:
status: Confirmed → Triaged
Changed in fuel:
assignee: Vitaly Kramskikh (vkramskikh) → Alexandra Stepanchuk (astepanchuk)
Revision history for this message
Dmitry Borodaenko (angdraug) wrote :

For reference, here's the blueprint for Cinder multi-backend support in Fuel:
https://blueprints.launchpad.net/fuel/+spec/fuel-cinder-multi-backend

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (master)

Fix proposed to branch: master
Review: https://review.openstack.org/69314

Changed in fuel:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/69314
Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=6f9766853968f0bba68a0487b43fe67ba02a05f7
Submitter: Jenkins
Branch: master

commit 6f9766853968f0bba68a0487b43fe67ba02a05f7
Author: astepanchuk <email address hidden>
Date: Mon Jan 27 12:18:32 2014 +0200

    Not allowing to select both ceph and cinder

    Just a temporary solution - before backend is ready

    Change-Id: Iff45018436dae41eb75750d993125aed7e0ef967
    Closes-bug: 1259878

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Nikolay Fedotov (nfedotov) wrote :

Verified on ISO {"build_id": "2014-02-03_01-17-30", "ostf_sha": "338ddf840c229918d1df8c6597588b853d02de4c", "build_number": "72", "nailgun_sha": "04f17482e97c1c7ee12f7f99bafc2dc9dbfc9a95", "fuelmain_sha": "cb36a45a6148f742665f4b0b426d69350a5f2243", "astute_sha": "d002c3bf626cff96a1d4aec9eb92fc4d5f4542c4", "release": "4.1", "fuellib_sha": "cd12860ec234260b50f98963a78257b3759441f6"}

Changed in fuel:
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.