<div dir="ltr">Kevin/Swami,<div><br></div><div>Now it is working fine, created new volume after changing the services to same host resolved the issue.</div><div><br></div><div>appreciate your help</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 26, 2016 at 2:04 PM, Fox, Kevin M <span dir="ltr"><<a href="mailto:Kevin.Fox@pnnl.gov" target="_blank">Kevin.Fox@pnnl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div>
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">crank up debugging and look in the logs? anything interesting?<br>
<br>
Thanks,<br>
Kevin<br>
<div style="font-family:Times New Roman;color:#000000;font-size:16px">
<hr>
<div style="direction:ltr"><font color="#000000" face="Tahoma" size="2"><b>From:</b> raju [<a href="mailto:raju.roks@gmail.com" target="_blank">raju.roks@gmail.com</a>]<br>
<b>Sent:</b> Tuesday, January 26, 2016 9:55 AM<br>
<b>To:</b> Fox, Kevin M<br>
<b>Cc:</b> <a href="mailto:openstack-operators@lists.openstack.org" target="_blank">openstack-operators@lists.openstack.org</a><br>
<b>Subject:</b> Re: [Openstack-operators] Cinder-backup to swift<br>
</font><br>
</div><div><div class="h5">
<div></div>
<div>
<div dir="ltr">now both services running on same host still same issue
<div><br>
</div>
<div>
<div> cinder service-list</div>
<div>+------------------+---------------------------------+------+---------+-------+----------------------------+-----------------+</div>
<div>|      Binary      |               Host              | Zone |  Status | State |         Updated_at         | Disabled Reason |</div>
<div>+------------------+---------------------------------+------+---------+-------+----------------------------+-----------------+</div>
<div>|  cinder-backup   |    node-7..stack   | nova | enabled |   up  | 2016-01-26T17:53:44.000000 |       None      |</div>
<div>| cinder-scheduler |    node-7..stack   | nova | enabled |   up  | 2016-01-26T17:53:47.000000 |       None      |</div>
<div>|  cinder-volume   | node-7..stack@pure | nova | enabled |   up  | 2016-01-26T17:53:43.000000 |       None      |</div>
<div>+------------------+---------------------------------+------+---------+-------+----------------------------+-----------------+</div>
<div>root@node-7:~# cinder backup-create --container Cinder_Backup 0d2eb15f-77b9-408b-86c3-e80fb24948cf</div>
<div>ERROR: Service cinder-backup could not be found. (HTTP 500) (Request-ID: req-c7e7555a-4fe0-4d09-9a3b-3a71e3c7d962)</div>
</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Jan 26, 2016 at 11:37 AM, Fox, Kevin M <span dir="ltr">
<<a href="mailto:Kevin.Fox@pnnl.gov" target="_blank">Kevin.Fox@pnnl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">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.<br>
<br>
Thanks,<br>
Kevin<br>
<div style="font-family:Times New Roman;color:#000000;font-size:16px">
<hr>
<div style="direction:ltr"><font color="#000000" face="Tahoma" size="2"><b>From:</b> raju [<a href="mailto:raju.roks@gmail.com" target="_blank">raju.roks@gmail.com</a>]<br>
<b>Sent:</b> Tuesday, January 26, 2016 8:16 AM<br>
<b>To:</b> <a href="mailto:openstack-operators@lists.openstack.org" target="_blank">
openstack-operators@lists.openstack.org</a><br>
<b>Subject:</b> [Openstack-operators] Cinder-backup to swift<br>
</font><br>
</div>
<div>
<div>
<div></div>
<div>
<div dir="ltr">
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><br>
</span></p>
<p class="MsoNormal">Hi,</p>
<p class="MsoNormal"><br>
</p>
<p class="MsoNormal">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</p>
<p class="MsoNormal"><br>
</p>
<p class="MsoNormal"><br>
</p>
<p class="MsoNormal">Error:  </p>
<p class="MsoNormal">cinder backup-create --container Cinder_Backup 0d2eb15f-77b9-408b-86c3-e80fb24948cf<br>
</p>
<p class="MsoNormal"><br>
</p>
<p class="MsoNormal">ERROR: Service cinder-backup could not be found. (HTTP 500) (Request-ID: req-2ce2bee4-d237-4191-b9ea-48a72ccbb579)</p>
<p class="MsoNormal"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:14.6667px"><br>
</span></font></p>
<p class="MsoNormal"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:14.6667px"># cinder service-list</span></font></p>
<p class="MsoNormal"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:14.6667px">+------------------+-----------------------------+------+----------+-------+----------------------------+-----------------+</span></font></p>
<p class="MsoNormal"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:14.6667px">|      Binary      |             Host            | Zone |  Status  | State |         Updated_at         | Disabled Reason |</span></font></p>
<p class="MsoNormal"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:14.6667px">+------------------+-----------------------------+------+----------+-------+----------------------------+-----------------+</span></font></p>
<p class="MsoNormal"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:14.6667px">|  cinder-backup   |  node-7..stack | nova | enabled  |   up  | 2016-01-25T22:03:09.000000 |       None      |</span></font></p>
<p class="MsoNormal"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:14.6667px">| cinder-scheduler |  node-7..stack | nova | enabled  |   up  | 2016-01-25T22:03:06.000000 |       None      |</span></font></p>
<p class="MsoNormal"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:14.6667px">     |</span></font></p>
<p class="MsoNormal"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:14.6667px">|  cinder-volume   |          pure@pure          | nova | enabled  |   up  | 2016-01-25T22:03:09.000000 |       None      |</span></font></p>
<p class="MsoNormal"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:14.6667px">+------------------+-----------------------------+------+----------+-------+----------------------------+-----------------+</span></font></p>
<p class="MsoNormal"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:14.6667px"><br>
</span></font></p>
<p class="MsoNormal"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:14.6667px">service cinder-backup status</span></font></p>
<p class="MsoNormal"></p>
<p class="MsoNormal"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:14.6667px">cinder-backup start/running, process 21223</span></font></p>
<p class="MsoNormal"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:14.6667px"><br>
</span></font></p>
<p class="MsoNormal"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:14.6667px">LOG:</span></font></p>
<p class="MsoNormal"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:14.6667px"><br>
</span></font></p>
<p class="MsoNormal"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:14.6667px">INFO cinder.api.openstack.wsgi [req-6ea85659-aa48-4dfd-8ca4-bf21c34537f3 7bc0cb1d6c394eb598b4612b49b6b891 56083ff01d5d42848f3c8d227ed70006 - - -] GET
<a href="http://10.24.4.2:8776/v1/56083ff01d5d42848f3c8d227ed70006/volumes/0d2eb15f-77b9-408b-86c3-e80fb24948cf" target="_blank">
http://10.24.4.2:8776/v1/56083ff01d5d42848f3c8d227ed70006/volumes/0d2eb15f-77b9-408b-86c3-e80fb24948cf</a></span></font></p>
<p class="MsoNormal"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:14.6667px">2016-01-26 16:15:23.012 11301 INFO cinder.api.openstack.wsgi [req-6ea85659-aa48-4dfd-8ca4-bf21c34537f3 7bc0cb1d6c394eb598b4612b49b6b891 56083ff01d5d42848f3c8d227ed70006
 - - -] <a href="http://10.24.4.2:8776/v1/56083ff01d5d42848f3c8d227ed70006/volumes/0d2eb15f-77b9-408b-86c3-e80fb24948cf" target="_blank">
http://10.24.4.2:8776/v1/56083ff01d5d42848f3c8d227ed70006/volumes/0d2eb15f-77b9-408b-86c3-e80fb24948cf</a> returned with HTTP 200</span></font></p>
<p class="MsoNormal"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:14.6667px">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</span></font></p>
<p class="MsoNormal"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:14.6667px">2016-01-26 16:15:23.030 11299 INFO eventlet.wsgi.server [-] (11299) accepted ('10.24.4.2', 37650)</span></font></p>
<p class="MsoNormal"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:14.6667px">2016-01-26 16:15:23.123 11299 INFO cinder.api.openstack.wsgi [req-b1d4c37a-70e7-40d0-ac39-e5f109d4f62f 7bc0cb1d6c394eb598b4612b49b6b891 56083ff01d5d42848f3c8d227ed70006
 - - -] POST <a href="http://10.24.4.2:8776/v1/56083ff01d5d42848f3c8d227ed70006/backups" target="_blank">
http://10.24.4.2:8776/v1/56083ff01d5d42848f3c8d227ed70006/backups</a></span></font></p>
<p class="MsoNormal"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:14.6667px">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</span></font></p>
<p class="MsoNormal"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:14.6667px">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.</span></font></p>
<p class="MsoNormal"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:14.6667px">2016-01-26 16:15:23.196 11299 INFO cinder.api.openstack.wsgi [req-f698019f-d0cf-4057-857e-37aef6c40bbe - - - - -]
<a href="http://10.24.4.2:8776/v1/56083ff01d5d42848f3c8d227ed70006/backups" target="_blank">
http://10.24.4.2:8776/v1/56083ff01d5d42848f3c8d227ed70006/backups</a> returned with HTTP 500</span></font></p>
<p class="MsoNormal"></p>
<p class="MsoNormal"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:14.6667px">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</span></font></p>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div></div></div>
</div>
</div>

</blockquote></div><br></div>