Kevin/Swami, Now it is working fine, created new volume after changing the services to same host resolved the issue.
appreciate your help On Tue, Jan 26, 2016 at 2:04 PM, Fox, Kevin M <[email protected]> wrote: > crank up debugging and look in the logs? anything interesting? > > Thanks, > Kevin > ------------------------------ > *From:* raju [[email protected]] > *Sent:* Tuesday, January 26, 2016 9:55 AM > *To:* Fox, Kevin M > *Cc:* [email protected] > *Subject:* Re: [Openstack-operators] Cinder-backup to swift > > now both services running on same host still same issue > > cinder service-list > > +------------------+---------------------------------+------+---------+-------+----------------------------+-----------------+ > | Binary | Host | Zone | Status | > State | Updated_at | Disabled Reason | > > +------------------+---------------------------------+------+---------+-------+----------------------------+-----------------+ > | cinder-backup | node-7..stack | nova | enabled | up | > 2016-01-26T17:53:44.000000 | None | > | cinder-scheduler | node-7..stack | nova | enabled | up | > 2016-01-26T17:53:47.000000 | None | > | cinder-volume | node-7..stack@pure | nova | enabled | up | > 2016-01-26T17:53:43.000000 | None | > > +------------------+---------------------------------+------+---------+-------+----------------------------+-----------------+ > root@node-7:~# cinder backup-create --container Cinder_Backup > 0d2eb15f-77b9-408b-86c3-e80fb24948cf > ERROR: Service cinder-backup could not be found. (HTTP 500) (Request-ID: > req-c7e7555a-4fe0-4d09-9a3b-3a71e3c7d962) > > > On Tue, Jan 26, 2016 at 11:37 AM, Fox, Kevin M <[email protected]> wrote: > >> There is a "feature" where cinder-backup and cinder-volume must be >> running on the same node. If they are not, you get an error like that. I >> tripped over it myself. >> >> Thanks, >> Kevin >> ------------------------------ >> *From:* raju [[email protected]] >> *Sent:* Tuesday, January 26, 2016 8:16 AM >> *To:* [email protected] >> *Subject:* [Openstack-operators] Cinder-backup to swift >> >> >> Hi, >> >> >> I am trying to backup cinder volumes to swift and enabled backup driver >> in cinder conf and startred cinder-backup service, when am trying to create >> a backup it is failing with below error >> >> >> >> Error: >> >> cinder backup-create --container Cinder_Backup >> 0d2eb15f-77b9-408b-86c3-e80fb24948cf >> >> >> ERROR: Service cinder-backup could not be found. (HTTP 500) (Request-ID: >> req-2ce2bee4-d237-4191-b9ea-48a72ccbb579) >> >> >> # cinder service-list >> >> >> +------------------+-----------------------------+------+----------+-------+----------------------------+-----------------+ >> >> | Binary | Host | Zone | Status | >> State | Updated_at | Disabled Reason | >> >> >> +------------------+-----------------------------+------+----------+-------+----------------------------+-----------------+ >> >> | cinder-backup | node-7..stack | nova | enabled | up | >> 2016-01-25T22:03:09.000000 | None | >> >> | cinder-scheduler | node-7..stack | nova | enabled | up | >> 2016-01-25T22:03:06.000000 | None | >> >> | >> >> | cinder-volume | pure@pure | nova | enabled | >> up | 2016-01-25T22:03:09.000000 | None | >> >> >> +------------------+-----------------------------+------+----------+-------+----------------------------+-----------------+ >> >> >> service cinder-backup status >> >> cinder-backup start/running, process 21223 >> >> >> LOG: >> >> >> INFO cinder.api.openstack.wsgi [req-6ea85659-aa48-4dfd-8ca4-bf21c34537f3 >> 7bc0cb1d6c394eb598b4612b49b6b891 56083ff01d5d42848f3c8d227ed70006 - - -] >> GET >> http://10.24.4.2:8776/v1/56083ff01d5d42848f3c8d227ed70006/volumes/0d2eb15f-77b9-408b-86c3-e80fb24948cf >> >> 2016-01-26 16:15:23.012 11301 INFO cinder.api.openstack.wsgi >> [req-6ea85659-aa48-4dfd-8ca4-bf21c34537f3 7bc0cb1d6c394eb598b4612b49b6b891 >> 56083ff01d5d42848f3c8d227ed70006 - - -] >> http://10.24.4.2:8776/v1/56083ff01d5d42848f3c8d227ed70006/volumes/0d2eb15f-77b9-408b-86c3-e80fb24948cf >> returned with HTTP 200 >> >> 2016-01-26 16:15:23.014 11301 INFO eventlet.wsgi.server >> [req-6ea85659-aa48-4dfd-8ca4-bf21c34537f3 7bc0cb1d6c394eb598b4612b49b6b891 >> 56083ff01d5d42848f3c8d227ed70006 - - -] 10.24.4.2 - - [26/Jan/2016 >> 16:15:23] "GET >> /v1/56083ff01d5d42848f3c8d227ed70006/volumes/0d2eb15f-77b9-408b-86c3-e80fb24948cf >> HTTP/1.1" 200 963 0.417786 >> >> 2016-01-26 16:15:23.030 11299 INFO eventlet.wsgi.server [-] (11299) >> accepted ('10.24.4.2', 37650) >> >> 2016-01-26 16:15:23.123 11299 INFO cinder.api.openstack.wsgi >> [req-b1d4c37a-70e7-40d0-ac39-e5f109d4f62f 7bc0cb1d6c394eb598b4612b49b6b891 >> 56083ff01d5d42848f3c8d227ed70006 - - -] POST >> http://10.24.4.2:8776/v1/56083ff01d5d42848f3c8d227ed70006/backups >> >> 2016-01-26 16:15:23.125 11299 INFO cinder.api.contrib.backups >> [req-b1d4c37a-70e7-40d0-ac39-e5f109d4f62f 7bc0cb1d6c394eb598b4612b49b6b891 >> 56083ff01d5d42848f3c8d227ed70006 - - -] Creating backup of volume >> 0d2eb15f-77b9-408b-86c3-e80fb24948cf in container Cinder_Backup >> >> 2016-01-26 16:15:23.193 11299 INFO cinder.api.openstack.wsgi >> [req-f698019f-d0cf-4057-857e-37aef6c40bbe - - - - -] HTTP exception thrown: >> Service cinder-backup could not be found. >> >> 2016-01-26 16:15:23.196 11299 INFO cinder.api.openstack.wsgi >> [req-f698019f-d0cf-4057-857e-37aef6c40bbe - - - - -] >> http://10.24.4.2:8776/v1/56083ff01d5d42848f3c8d227ed70006/backups >> returned with HTTP 500 >> >> 2016-01-26 16:15:23.199 11299 INFO eventlet.wsgi.server >> [req-f698019f-d0cf-4057-857e-37aef6c40bbe - - - - -] 10.24.4.2 - - >> [26/Jan/2016 16:15:23] "POST /v1/56083ff01d5d42848f3c8d227ed70006/backups >> HTTP/1.1" 500 378 0.158105 >> >> >
_______________________________________________ OpenStack-operators mailing list [email protected] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
