Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: OpenStack: Dev

Manually freeing an IP address

 

 

OpenStack dev RSS feed   Index | Next | Previous | View Threaded


ken at songwhale

Aug 7, 2013, 8:30 AM

Post #1 of 4 (47 views)
Permalink
Manually freeing an IP address

I'm working with OpenStack Grizzly, and I'm looking to be able to remove
an assigned IP address and reassign it fairly quickly (in the course of
several seconds). However, it looks like Grizzly will hold on to an IP
address in accordance with the DHCP lease time. Right now, my solution
is to delete the row from the ipallocations table, but this doesn't
quite work. I believe that I need to modify the ipavailabilityranges
table as well in order to get it to work. It seems like there should be
a better way to do this, though. Is there some way of manually freeing
up an IP address and reassigning it?

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack [at] lists
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


ashokkumaran.b at gmail

Aug 7, 2013, 8:44 AM

Post #2 of 4 (44 views)
Permalink
Re: Manually freeing an IP address [In reply to]

I hope you might be interested in this
https://review.openstack.org/#/c/37580/

Best,
Ashok


On Wed, Aug 7, 2013 at 9:00 PM, Kenneth Koski <ken [at] songwhale> wrote:

> I'm working with OpenStack Grizzly, and I'm looking to be able to remove
> an assigned IP address and reassign it fairly quickly (in the course of
> several seconds). However, it looks like Grizzly will hold on to an IP
> address in accordance with the DHCP lease time. Right now, my solution
> is to delete the row from the ipallocations table, but this doesn't
> quite work. I believe that I need to modify the ipavailabilityranges
> table as well in order to get it to work. It seems like there should be
> a better way to do this, though. Is there some way of manually freeing
> up an IP address and reassigning it?
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack [at] lists
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>



--
Regds,

Ashok ,
Delivery Consultant,
HP.


sorlando at nicira

Aug 7, 2013, 9:10 AM

Post #3 of 4 (44 views)
Permalink
Re: Manually freeing an IP address [In reply to]

As Ashok said, Aaron is working on a patch for removing the need for
holding an IP.
This will make IP addresses immediately reusable, thus removing the 'hold'
process.

This is however not likely to be backported to grizzly; it will be an
havana feature.

Salvatore


On 7 August 2013 17:44, Ashok Kumaran <ashokkumaran.b [at] gmail> wrote:

> I hope you might be interested in this
> https://review.openstack.org/#/c/37580/
>
> Best,
> Ashok
>
>
> On Wed, Aug 7, 2013 at 9:00 PM, Kenneth Koski <ken [at] songwhale> wrote:
>
>> I'm working with OpenStack Grizzly, and I'm looking to be able to remove
>> an assigned IP address and reassign it fairly quickly (in the course of
>> several seconds). However, it looks like Grizzly will hold on to an IP
>> address in accordance with the DHCP lease time. Right now, my solution
>> is to delete the row from the ipallocations table, but this doesn't
>> quite work. I believe that I need to modify the ipavailabilityranges
>> table as well in order to get it to work. It seems like there should be
>> a better way to do this, though. Is there some way of manually freeing
>> up an IP address and reassigning it?
>>
>> _______________________________________________
>> Mailing list:
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>> Post to : openstack [at] lists
>> Unsubscribe :
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>
>
>
>
> --
> Regds,
>
> Ashok ,
> Delivery Consultant,
> HP.
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack [at] lists
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>


ken at songwhale

Aug 7, 2013, 9:27 AM

Post #4 of 4 (44 views)
Permalink
Re: Manually freeing an IP address [In reply to]

Thanks! Yeah, this patch is exactly the functionality that I'm looking
for. That's unfortunate that it won't be backported, but I can
definitely understand that. Looks like I'll just have to find a
workaround for the moment until Havana is available to me.

On 08/07/2013 11:10 AM, Salvatore Orlando wrote:
> As Ashok said, Aaron is working on a patch for removing the need for
> holding an IP.
> This will make IP addresses immediately reusable, thus removing the
> 'hold' process.
>
> This is however not likely to be backported to grizzly; it will be an
> havana feature.
>
> Salvatore
>
>
> On 7 August 2013 17:44, Ashok Kumaran <ashokkumaran.b [at] gmail
> <mailto:ashokkumaran.b [at] gmail>> wrote:
>
> I hope you might be interested in
> this https://review.openstack.org/#/c/37580/
>
> Best,
> Ashok
>
>
> On Wed, Aug 7, 2013 at 9:00 PM, Kenneth Koski <ken [at] songwhale
> <mailto:ken [at] songwhale>> wrote:
>
> I'm working with OpenStack Grizzly, and I'm looking to be able
> to remove
> an assigned IP address and reassign it fairly quickly (in the
> course of
> several seconds). However, it looks like Grizzly will hold on to
> an IP
> address in accordance with the DHCP lease time. Right now, my
> solution
> is to delete the row from the ipallocations table, but this doesn't
> quite work. I believe that I need to modify the ipavailabilityranges
> table as well in order to get it to work. It seems like there
> should be
> a better way to do this, though. Is there some way of manually
> freeing
> up an IP address and reassigning it?
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack [at] lists
> <mailto:openstack [at] lists>
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
>
>
> --
> Regds,
>
> Ashok ,
> Delivery Consultant,
> HP.
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack [at] lists
> <mailto:openstack [at] lists>
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>


_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack [at] lists
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

OpenStack dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.