RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1007515 - cinder [Havana]: we try to create a backup although cinder-backup service is down
Summary: cinder [Havana]: we try to create a backup although cinder-backup service is ...
Keywords:
Status: CLOSED EOL
Alias: None
Product: RDO
Classification: Community
Component: openstack-cinder
Version: unspecified
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: ---
Assignee: Eric Harney
QA Contact: Giulio Fidente
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-12 16:11 UTC by Dafna Ron
Modified: 2016-04-26 14:35 UTC (History)
2 users (show)

Fixed In Version: openstack-cinder-2013.2-1.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-05-27 20:24:30 UTC
Embargoed:


Attachments (Terms of Use)
logs (10.45 KB, application/x-gzip)
2013-09-12 16:15 UTC, Dafna Ron
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1221012 0 None None None Never
OpenStack gerrit 45169 0 None None None Never

Description Dafna Ron 2013-09-12 16:11:47 UTC
Description of problem:

I tried creating a backup while my openstack-cinder-backup service was down. 
although we raise an error that we cannot find the service, we change the volume status to backing up and continue to trying and create a new backup. 

changing the volume status is problematic since there are specific things that the user cannot do if the volume status is not available. 

Version-Release number of selected component (if applicable):


How reproducible:

100%

Steps to Reproduce:
1. stop openstack-cinder-backup 
2. create a volume 
3. create a backup for the volume 

Actual results:

although we report the error we change the volume status to backing up and try to create a new backup 

Expected results:

we should exit if we can't find service 

Additional info:


[root@nott-vdsa ~(keystone_admin)]# cinder list 
+--------------------------------------+-----------+--------------+------+-------------+----------+-------------+
|                  ID                  |   Status  | Display Name | Size | Volume Type | Bootable | Attached to |
+--------------------------------------+-----------+--------------+------+-------------+----------+-------------+
| 797eea39-a91b-4a21-ab59-7c0458aa0076 | available |    dafna     |  1   |     None    |  False   |             |
+--------------------------------------+-----------+--------------+------+-------------+----------+-------------+
[root@nott-vdsa ~(keystone_admin)]# less /var/log/cinder/volume.log 
[root@nott-vdsa ~(keystone_admin)]# cinder backup-create 797eea39-a91b-4a21-ab59-7c0458aa0076
ERROR: Service cinder-backup could not be found.
[root@nott-vdsa ~(keystone_admin)]# less /var/log/cinder/volume.log 
[root@nott-vdsa ~(keystone_admin)]# cinder list 
+--------------------------------------+------------+--------------+------+-------------+----------+-------------+
|                  ID                  |   Status   | Display Name | Size | Volume Type | Bootable | Attached to |
+--------------------------------------+------------+--------------+------+-------------+----------+-------------+
| 797eea39-a91b-4a21-ab59-7c0458aa0076 | backing-up |    dafna     |  1   |     None    |  False   |             |
+--------------------------------------+------------+--------------+------+-------------+----------+-------------+
[root@nott-vdsa ~(keystone_admin)]# cinder backup-list 
+--------------------------------------+--------------------------------------+----------+------+------+--------------+-----------+
|                  ID                  |              Volume ID               |  Status  | Name | Size | Object Count | Container |
+--------------------------------------+--------------------------------------+----------+------+------+--------------+-----------+
| 980157f6-97a0-499a-ba9d-4934978d3c81 | 797eea39-a91b-4a21-ab59-7c0458aa0076 | creating | None |  1   |     None     |    None   |
+--------------------------------------+--------------------------------------+----------+------+------+--------------+-----------+
[root@nott-vdsa ~(keystone_admin)]# /etc/init.d/openstack-cinder-backup status
openstack-cinder-backup is stopped

Comment 1 Dafna Ron 2013-09-12 16:12:05 UTC
https://bugs.launchpad.net/cinder/+bug/1224556

Comment 2 Dafna Ron 2013-09-12 16:15:02 UTC
Created attachment 796926 [details]
logs

Comment 3 Rich Bowen 2015-05-27 20:24:30 UTC
Refers to an EOL'ed version. Please reopen if necessary.


Note You need to log in before you can comment on or make changes to this bug.