]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Add volume status to error messages in backup create flow
authorIvan Kolodyazhny <e0ne@e0ne.info>
Wed, 8 Apr 2015 10:49:49 +0000 (13:49 +0300)
committerIvan Kolodyazhny <e0ne@e0ne.info>
Fri, 8 May 2015 07:45:41 +0000 (10:45 +0300)
commit992d7a10dfcadd7844a396c4afbb0954c2ecfaa9
treeb73666603d1fe5fe5858eaa930e49020b002db09
parentc831f5e551e90912a03f189fa3c5354da3675d1f
Add volume status to error messages in backup create flow

If volume status is not 'available' we can't create a backup. Adding
current volume status to error message will make logs more
user-friendly.

Change-Id: Iab7a794a5104b28c54de23571f589fcf60e09c7d
cinder/backup/api.py
cinder/tests/unit/api/contrib/test_backups.py