[Openstack-operators] Cinder-backup to swift
raju
raju.roks at gmail.com
Tue Jan 26 17:55:40 UTC 2016
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 at pure | nova | enabled | up |
2016-01-26T17:53:43.000000 | None |
+------------------+---------------------------------+------+---------+-------+----------------------------+-----------------+
root at 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 <Kevin.Fox at pnnl.gov> 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 [raju.roks at gmail.com]
> *Sent:* Tuesday, January 26, 2016 8:16 AM
> *To:* openstack-operators at lists.openstack.org
> *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 at 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20160126/178b94b3/attachment.html>
More information about the OpenStack-operators
mailing list