<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt"><div><span>Thanks for the answer John.</span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><span>This is really tricky and I will try to explain why:</span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;">You were right. The snap volume itself was created from a volume on opstck01 when it was up.</div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;">This is the
offending snap. Here is the proof:</div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;">root@opstck10:~# cinder snapshot-show 30093123-0da2-4864-b8e6-87e023e842a4<br>+--------------------------------------------+--------------------------------------+<br>| Property | Value
|<br>+--------------------------------------------+--------------------------------------+<br>| created_at | 2014-02-12T13:20:41.000000 |<br>| display_description | |<br>|
display_name | cirros-0.3.1-snap |<br>| id | 30093123-0da2-4864-b8e6-87e023e842a4 |<br>| metadata | {} |<br>|
os-extended-snapshot-attributes:progress | 100% |<br>| os-extended-snapshot-attributes:project_id | 8c25ff44225f4e78ab3f526d99c1b7e1 |<br>| size | 1 |<br>|
status | available |<br>| volume_id | 2f5be8c9-941e-49cb-8eb8-f6def3ca8af9 |<br>+--------------------------------------------+--------------------------------------+<br></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida
Grande,sans-serif; background-color: transparent; font-style: normal;">root@opstck10:~# cinder show 2f5be8c9-941e-49cb-8eb8-f6def3ca8af9<br>+--------------------------------+--------------------------------------+<br>| Property | Value |<br>+--------------------------------+--------------------------------------+<br>| attachments |
[] |<br>| availability_zone | nova |<br>| bootable | false |<br>| created_at |
2014-02-11T15:33:58.000000 |<br>| display_description | |<br>| display_name | cirros-0.3.1 |<br>| id | 2f5be8c9-941e-49cb-8eb8-f6def3ca8af9 |<br>|
metadata | {u'readonly': u'False'} |<br>| os-vol-host-attr:host | <span style="font-weight: bold;"> opstck01</span> |<br>| os-vol-mig-status-attr:migstat | None |<br>| os-vol-mig-status-attr:name_id | None |<br>|
os-vol-tenant-attr:tenant_id | 8c25ff44225f4e78ab3f526d99c1b7e1 |<br>| size | 1 |<br>| snapshot_id | None |<br>| source_volid
| None |<br>| status | available |<br>| volume_type | None
|<br>+--------------------------------+--------------------------------------+<br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><span>And now follows the interesting part. I am using ceph as a backend for cinder and I have multiple cinder-volume agents for HA reasons. The volumes themselves are available. The agents can fall. How can I overcome the limitation to create a volume on the same agent as the snap itself was created? <br></span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida
Grande,sans-serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;">Thanks a lot,</div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;">Gabriel<br></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><span></span><br></div><div style="display: block;" class="yahoo_quoted"> <br> <br> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 10pt;"> <div style="font-family: HelveticaNeue, Helvetica Neue,
Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div dir="ltr"> <font size="2" face="Arial"> On Wednesday, February 12, 2014 6:20 PM, John Griffith <john.griffith@solidfire.com> wrote:<br> </font> </div> <div class="y_msg_container">On Wed, Feb 12, 2014 at 3:24 AM, Staicu Gabriel<br clear="none"><<a shape="rect" ymailto="mailto:gabriel_staicu@yahoo.com" href="mailto:gabriel_staicu@yahoo.com">gabriel_staicu@yahoo.com</a>> wrote:<br clear="none">><br clear="none">><br clear="none">> Hi,<br clear="none">><br clear="none">> I have a setup with Openstack Havana on ubuntu precise with multiple<br clear="none">> schedulers and volumes.<br clear="none">> <a shape="rect" ymailto="mailto:root@opstck10" href="mailto:root@opstck10">root@opstck10</a>:~# cinder service-list<br clear="none">> +------------------+----------+------+---------+-------+----------------------------+<br clear="none">> |
Binary | Host | Zone | Status | State | Updated_at<br clear="none">> |<br clear="none">> +------------------+----------+------+---------+-------+----------------------------+<br clear="none">> | cinder-scheduler | opstck08 | nova | enabled | up |<br clear="none">> 2014-02-12T10:08:28.000000 |<br clear="none">> | cinder-scheduler | opstck09 | nova | enabled | up |<br clear="none">> 2014-02-12T10:08:29.000000 |<br clear="none">> | cinder-scheduler | opstck10 | nova | enabled | up |<br clear="none">> 2014-02-12T10:08:28.000000 |<br clear="none">> | cinder-volume | opstck01 | nova | enabled | down |<br clear="none">> 2014-02-12T09:39:09.000000 |<br clear="none">> | cinder-volume | opstck04 | nova | enabled | down |<br clear="none">> 2014-02-12T09:39:09.000000 |<br
clear="none">> | cinder-volume | opstck05 | nova | enabled | down |<br clear="none">> 2014-02-12T09:39:09.000000 |<br clear="none">> | cinder-volume | opstck08 | nova | enabled | up |<br clear="none">> 2014-02-12T10:08:28.000000 |<br clear="none">> | cinder-volume | opstck09 | nova | enabled | up |<br clear="none">> 2014-02-12T10:08:28.000000 |<br clear="none">> | cinder-volume | opstck10 | nova | enabled | up |<br clear="none">> 2014-02-12T10:08:28.000000 |<br clear="none">> +------------------+----------+------+---------+-------+----------------------------+<br clear="none">><br clear="none">> When I am trying to create a new instance from a volume snapshot it keeps<br clear="none">> choosing for the creation of the volume opstck01 on which cinder-volume is<br clear="none">> down.<br clear="none">> Did anyone
encounter the same problem?<br clear="none">> Thanks<br clear="none">><br clear="none">><br clear="none">><br clear="none">> _______________________________________________<br clear="none">> Mailing list: <a shape="rect" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br clear="none">> Post to : <a shape="rect" ymailto="mailto:openstack@lists.openstack.org" href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br clear="none">> Unsubscribe : <a shape="rect" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br clear="none">><br clear="none"><br clear="none">Which node is the parent volume and snapshot on? In the case of<br clear="none">create from source-volume and create from
snapshot these need to be<br clear="none">created on the same node as the source or snapshot. There's currently<br clear="none">a bug ([1]), where we don't check/enforce the type settings to make<br clear="none">sure these match up. That's in progress right now and will be<br clear="none">backported.<br clear="none"><br clear="none">[1]: <a shape="rect" href="https://bugs.launchpad.net/cinder/+bug/1276787" target="_blank">https://bugs.launchpad.net/cinder/+bug/1276787</a><div class="yqt5930114634" id="yqtfd43567"><br clear="none"><br clear="none">Thanks,</div><br clear="none">John<div class="yqt5930114634" id="yqtfd74170"><br clear="none"></div><br><br></div> </div> </div> </div> </div></body></html>