<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><span>Thanks for the pointer. So when I did the port list, the GW IP was being assigned to the subnet. I had to issue router-gateway-clear to get rid of the gateway ip and then I am able to delete the Subnet</span></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><span><br></span></div><div style="background-color: transparent;"><span>router-gateway-clear 49a92bbc-5f58-400a-a8cb-aebcf54db446<br></span></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; font-style: normal;"><span><br></span></div><div style="background-color:
transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; font-style: normal;"><span>Thanks</span></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; font-style: normal;"><span><br></span></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; font-style: normal;"><span>Atif...</span></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><br></div> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1"> <font size="2" face="Arial"> <b><span style="font-weight:bold;">From:</span></b> Paul Michali <pcm@cisco.com><br> <b><span
style="font-weight: bold;">To:</span></b> Atif Wasi <awasi@yahoo.com> <br><b><span style="font-weight: bold;">Cc:</span></b> "openstack@lists.launchpad.net" <openstack@lists.launchpad.net> <br> <b><span style="font-weight: bold;">Sent:</span></b> Tuesday, April 16, 2013 7:16 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Openstack] How to delete or update subnet in quantum<br> </font> </div> <div class="y_msg_container"><br>
<div id="yiv810575642"><div>Can you do a port list to see if port in use?<div><br></div><div><br><div>
<span class="yiv810575642Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;">PCM (Paul Michali)<br><br>Contact info for Cisco users http://twiki.cisco.com/Main/pcm<br><br></span>
</div>
<br><div><div>On Apr 16, 2013, at 3:49 PM, Atif Wasi wrote:</div><br class="yiv810575642Apple-interchange-newline"><blockquote type="cite">
<div><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;">Hi Folks,</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;">Have a relatively easy question. I assigned a subnet with a wrong IP and an incorrect tenant-id. Now when I try to update the subnet with the correct tenant-id, it is not taking the new value (see below).</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;">Also how do I delete a subnet ? When I try to delete it, I am
getting the following error
message. I made sure that there are no floatingip assigned to this subnet.</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;">Any help will be appreciated. I am running OpenStack Folsom</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;">Thanks</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent;
font-style: normal;"><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;">Atif...</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><br></div><div style="background-color:transparent;"><div style="background-color:transparent;"><font face="times new roman, new york, times, serif">(quantum) subnet-list</font></div><div style="background-color:transparent;"><font face="times new roman, new york, times, serif">+--------------------------------------+------+------------------+------------------------------------------------------+</font></div><div
style="background-color:transparent;"><font face="times new roman, new york, times, serif">| id | name | cidr | allocation_pools |</font></div><div style="background-color:transparent;"><font face="times new roman, new york, times, serif">+--------------------------------------+------+------------------+------------------------------------------------------+</font></div><div style="background-color:transparent;"><font face="times new roman, new york, times, serif">| 47e9644b-c536-4662-8771-2f296d47ad4d | | 192.168.100.0/24 | {"start": "192.168.100.2", "end": "192.168.100.254"} |</font></div><div style="background-color:transparent;"><font face="times
new roman, new york, times, serif">| 48a105de-8bb4-4303-9958-717d110a9456 | | 192.168.1.9/24 | {"start": "192.168.1.10", "end": "192.168.1.20"} |</font></div><div style="background-color:transparent;"><font face="times new roman, new york, times, serif">| 95cb5b22-a4f0-48eb-bc7a-8870797cb51a | | 192.168.10.0/24 | {"start": "192.168.10.2", "end": "192.168.10.254"} |</font></div><div style="background-color:transparent;"><font face="times new roman, new york, times, serif">+--------------------------------------+------+------------------+------------------------------------------------------+</font></div><div style="background-color:transparent;"><font face="times new roman, new york, times, serif">(quantum) subnet-delete 48a105de-8bb4-4303-9958-717d110a9456</font></div><div style="background-color:transparent;"><font face="times new roman, new york, times,
serif">Unable to complete operation on network %(net_id)s. There is one or more ports still in use on the network.</font></div><div style="color: rgb(0, 0, 0); font-family: 'times new roman', 'new york', times, serif; font-size: 16px; font-style: normal;"><br></div></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><br></div><div style="background-color:transparent;"><div style="background-color:transparent;"><font face="times new roman, new york, times, serif">(quantum) subnet-update 48a105de-8bb4-4303-9958-717d110a9456 --tenant-id b443045cd0d54377b637cc0ba998bf89</font></div><div style="background-color:transparent;"><font face="times new roman, new york, times,
serif">Updated subnet: 48a105de-8bb4-4303-9958-717d110a9456</font></div><div style="background-color:transparent;"><font face="times new roman, new york, times, serif">(quantum) subnet-show 48a105de-8bb4-4303-9958-717d110a9456</font></div><div style="background-color:transparent;"><font face="times new roman, new york, times, serif">+------------------+--------------------------------------------------+</font></div><div style="background-color:transparent;"><font face="times new roman, new york, times, serif">| Field | Value |</font></div><div style="background-color:transparent;"><font face="times new roman, new york, times, serif">+------------------+--------------------------------------------------+</font></div><div style="
background-color:transparent;"><font face="times new roman, new york, times, serif">| allocation_pools | {"start": "192.168.1.10", "end": "192.168.1.20"} |</font></div><div style="background-color:transparent;"><font face="times new roman, new york, times, serif">| cidr | 192.168.1.9/24 |</font></div><div style="background-color:transparent;"><font face="times new roman, new york, times, serif">| dns_nameservers | |</font></div><div style="background-color:transparent;"><font face="times new roman, new york, times, serif">| enable_dhcp | False
|</font></div><div style="background-color:transparent;"><font face="times new roman, new york, times, serif">| gateway_ip | 192.168.1.1 |</font></div><div style="background-color:transparent;"><font face="times new roman, new york, times, serif">| host_routes | |</font></div><div style="background-color:transparent;"><font face="times new roman, new york, times, serif">| id | 48a105de-8bb4-4303-9958-717d110a9456 |</font></div><div
style="background-color:transparent;"><font face="times new roman, new york, times, serif">| ip_version | 4 |</font></div><div style="background-color:transparent;"><font face="times new roman, new york, times, serif">| name | |</font></div><div style="background-color:transparent;"><font face="times new roman, new york, times, serif">| network_id | 036e83fc-c322-4dfc-89d2-10d867752055 |</font></div><div style="background-color:transparent;"><font face="times new roman, new york, times,
serif">| tenant_id | 6bd416e48a394f06bfbf4d0856740262 |</font></div><div style="background-color:transparent;"><font face="times new roman, new york, times, serif">+------------------+--------------------------------------------------+</font></div><div style="color: rgb(0, 0, 0); font-family: 'times new roman', 'new york', times, serif; font-size: 16px; font-style: normal;"><br></div></div></div></div>_______________________________________________<br>Mailing list: <a rel="nofollow" target="_blank" href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>Post to : <a rel="nofollow" ymailto="mailto:openstack@lists.launchpad.net" target="_blank" href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>Unsubscribe : <a rel="nofollow" target="_blank"
href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>More help : <a rel="nofollow" target="_blank" href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><br></blockquote></div><br></div></div></div><br><br></div> </div> </div> </div></body></html>