<br><br><div class="gmail_quote">On Wed, Oct 24, 2012 at 12:57 PM, Jonathan Proulx <span dir="ltr"><<a href="mailto:jon@jonproulx.com" target="_blank">jon@jonproulx.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Wed, Oct 24, 2012 at 2:45 PM, Jonathan Proulx <<a href="mailto:jon@jonproulx.com">jon@jonproulx.com</a>> wrote:<br>
<br>
> To fix this for me I can look up the volumes by ID in the database and<br>
> then lvrename the logical volumes (I don't have too many and all on<br>
> one volume server right now).<br>
<br>
</div>That maybe the wrong answer as the database (both cinder and the older<br>
nova leavings) has a provider_location that implies the "right"<br>
logical volume name:<br>
<br>
+--------------------------------------+--------+-----------------------------------------------------------------------------------------------+<br>
| id                                   | ec2_id | provider_location<br>
<br>
  |<br>
+--------------------------------------+--------+-----------------------------------------------------------------------------------------------+<br>
| 25cb6abc-1938-41da-b4a4-7639fa122117 | NULL   | 128.52.x.x:3260,9<br>
iqn.2010-10.org.openstack:volume-0000001c 1<br>
  |<br>
| 60cd2c0e-6d61-4010-aee2-df738adb3581 | NULL   | 128.52.x.x:3260,4<br>
iqn.2010-10.org.openstack:volume-0000001a 1<br>
  |<br>
| 67ba5863-9f92-4694-b639-6c9520e0c6f3 | NULL   | 128.52.x.x:3260,2<br>
iqn.2010-10.org.openstack:volume-00000016 1<br>
  |<br>
| 7397daa1-f4a7-47d4-b0dc-0b306defdf62 | NULL   | 128.52.x.x:3260,14<br>
iqn.2010-10.org.openstack:volume-00000014 1<br>
 |<br>
| 7d8c51bc-9cac-4edf-b1e6-1c37d5a8256f | NULL   | 128.52.x.x:3260,10<br>
iqn.2010-10.org.openstack:volume-7d8c51bc-9cac-4edf-b1e6-1c37d5a8256f<br>
1 |<br>
| 86426e77-e396-489d-9e66-49f0beef46bb | NULL   | 128.52.x.x:3260,16<br>
iqn.2010-10.org.openstack:volume-00000019 1<br>
 |<br>
| 98ac28f5-77d8-476b-b3e1-c90a0fd3e880 | NULL   | 128.52.x.x:3260,1<br>
iqn.2010-10.org.openstack:volume-00000010 1<br>
  |<br>
| a6e68eae-23a9-483e-bd42-e4b8a7f47dc4 | NULL   | 128.52.x.x:3260,24<br>
iqn.2010-10.org.openstack:volume-a6e68eae-23a9-483e-bd42-e4b8a7f47dc4<br>
1 |<br>
| a89b9891-571c-43be-bc1b-0c346a161d38 | NULL   | 128.52.x.x:3260,9<br>
iqn.2010-10.org.openstack:volume-a89b9891-571c-43be-bc1b-0c346a161d38<br>
1  |<br>
| cbd32221-7794-41d1-abf2-623c49f4ff03 | NULL   | 128.52.x.x:3260,6<br>
iqn.2010-10.org.openstack:volume-0000001b 1<br>
  |<br>
+--------------------------------------+--------+-----------------------------------------------------------------------------------------------+<br>
<br>
so I'm also open to suggestions on the "right" resolution to this.<br>
Should I rename the logical volume sand update the provider_location<br>
or should I make the  /var/lib/cinder/volumes/* files match what is in<br>
the database and LVM (and if I do the latter will something come along<br>
and undo that)?<br>
<div class="HOEnZb"><div class="h5"><br>
-Jon<br>
<br>
_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
</div></div></blockquote></div>Hey Jon,<div><br></div><div>Couple of things going on, one is the volume naming (in progress here: <a href="https://review.openstack.org/#/c/14615/">https://review.openstack.org/#/c/14615/</a>).  I'll take a closer look at some of the other issues you pointed out.</div>
<div><br></div><div>Thanks,</div><div>John</div>