[openstack-dev] Not able to create volume backup using cinder

2014-09-02 Thread Vinod Borol
I am unable to create a back up of the volume using the cinder command even
if all the conditions required are satisfied. I am getting a HTTP 500
error. I am not sure what could be the problem here. Really appreciate if
some one can give me some pointers to where i can look.

I am using Openstack Havana

C:cinder list
+--+---+--+--+-+--+--+
| ID | Status | Display Name | Size | Volume Type | Bootable | Attached to
|
+--+---+--+--+-+--+--+
| db9cd065-1906-4bb7-b00c-f3f04245f514 | available |
ShitalVmNew1407152394855 | 50 | None | true | |
+--+---+--+--+-+--+--+

C:cinder backup-create db9cd065-1906-4bb7-b00c-f3f04245f514 ERROR: Service
cinder-backup could not be found. (HTTP 500) (Request-ID:
req-734e6a87-33f6-4654-8a14-5e3242318e87)

Below is the exception in cinder logs

Creating new backup {u'backup': {u'volume_id':
u'f57c9a6f-cba2-4c4f-aca1-c4633e6bbbe4', u'container': None,
u'description': None, u'name': u'vin-vol-cmd-bck'}} from (pid=4193) create
/opt/stack/cinder/cinder/api/contrib/backups.py:218 2014-08-29 11:11:52.805
AUDIT cinder.api.contrib.backups [req-12ec811b-a5b8-4043-8656-09a832e407d7
433bc3b202ae4b438b2530cb487b97a5 7da65e0e61124e54a8bd0d91f22a1ac0] Creating
backup of volume f57c9a6f-cba2-4c4f-aca1-c4633e6bbbe4 in container None
2014-08-29 11:11:52.833 INFO cinder.api.openstack.wsgi
[req-12ec811b-a5b8-4043-8656-09a832e407d7 433bc3b202ae4b438b2530cb487b97a5
7da65e0e61124e54a8bd0d91f22a1ac0] HTTP exception thrown: Service
cinder-backup could not be found. 2014-08-29 11:11:52.834 INFO
cinder.api.openstack.wsgi [req-12ec811b-a5b8-4043-8656-09a832e407d7
433bc3b202ae4b438b2530cb487b97a5 7da65e0e61124e54a8bd0d91f22a1ac0]
http://10.193.72.195:8776/v1/7da65e0e61124e54a8bd0d91f22a1ac0/backups (
http://10.193.72.195:8776/v1/7da65e0e...) returned with HTTP 500 2014-08-29
11:11:52.835 INFO eventlet.wsgi.server
[req-12ec811b-a5b8-4043-8656-09a832e407d7 433bc3b202ae4b438b2530cb487b97a5
7da65e0e61124e54a8bd0d91f22a1ac0] 10.65.53.105 - - [29/Aug/2014 11:11:52]
POST /v1/7da65e0e61124e54a8bd0d91f22a1ac0/backups HTTP/1.1 500 359
0.043090



Regards
VB
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] Not able to create volume backup using cinder

2014-09-02 Thread Denis Makogon
Hello, Vinod.


Sorry but dev. mailing list is not for usage questions. But it seems that
you don't have launched cindre-backup service (see Service cinder-backup
could not be found.). Take a look at
https://github.com/openstack/cinder/blob/master/bin/cinder-backup.

Best regards,
Denis Makogon


On Tue, Sep 2, 2014 at 10:49 AM, Vinod Borol vinod.bor...@gslab.com wrote:

 I am unable to create a back up of the volume using the cinder command
 even if all the conditions required are satisfied. I am getting a HTTP 500
 error. I am not sure what could be the problem here. Really appreciate if
 some one can give me some pointers to where i can look.

 I am using Openstack Havana

 C:cinder list
 +--+---+--+--+-+--+--+
 | ID | Status | Display Name | Size | Volume Type | Bootable | Attached to
 |
 +--+---+--+--+-+--+--+
 | db9cd065-1906-4bb7-b00c-f3f04245f514 | available |
 ShitalVmNew1407152394855 | 50 | None | true | |
 +--+---+--+--+-+--+--+

 C:cinder backup-create db9cd065-1906-4bb7-b00c-f3f04245f514 ERROR:
 Service cinder-backup could not be found. (HTTP 500) (Request-ID:
 req-734e6a87-33f6-4654-8a14-5e3242318e87)

 Below is the exception in cinder logs

 Creating new backup {u'backup': {u'volume_id':
 u'f57c9a6f-cba2-4c4f-aca1-c4633e6bbbe4', u'container': None,
 u'description': None, u'name': u'vin-vol-cmd-bck'}} from (pid=4193) create
 /opt/stack/cinder/cinder/api/contrib/backups.py:218 2014-08-29 11:11:52.805
 AUDIT cinder.api.contrib.backups [req-12ec811b-a5b8-4043-8656-09a832e407d7
 433bc3b202ae4b438b2530cb487b97a5 7da65e0e61124e54a8bd0d91f22a1ac0] Creating
 backup of volume f57c9a6f-cba2-4c4f-aca1-c4633e6bbbe4 in container None
 2014-08-29 11:11:52.833 INFO cinder.api.openstack.wsgi
 [req-12ec811b-a5b8-4043-8656-09a832e407d7 433bc3b202ae4b438b2530cb487b97a5
 7da65e0e61124e54a8bd0d91f22a1ac0] HTTP exception thrown: Service
 cinder-backup could not be found. 2014-08-29 11:11:52.834 INFO
 cinder.api.openstack.wsgi [req-12ec811b-a5b8-4043-8656-09a832e407d7
 433bc3b202ae4b438b2530cb487b97a5 7da65e0e61124e54a8bd0d91f22a1ac0]
 http://10.193.72.195:8776/v1/7da65e0e61124e54a8bd0d91f22a1ac0/backups (
 http://10.193.72.195:8776/v1/7da65e0e...) returned with HTTP 500
 2014-08-29 11:11:52.835 INFO eventlet.wsgi.server
 [req-12ec811b-a5b8-4043-8656-09a832e407d7 433bc3b202ae4b438b2530cb487b97a5
 7da65e0e61124e54a8bd0d91f22a1ac0] 10.65.53.105 - - [29/Aug/2014 11:11:52]
 POST /v1/7da65e0e61124e54a8bd0d91f22a1ac0/backups HTTP/1.1 500 359
 0.043090



 Regards
 VB

 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev