← Back to team overview

openstack team mailing list archive

Re: floating ips "history"

 


On 3/25/13 8:50 AM, "Matt Van Winkle" <mvanwink@xxxxxxxxxxxxx> wrote:

>
>
>On 3/25/13 8:31 AM, "Jay Pipes" <jaypipes@xxxxxxxxx> wrote:
>
>>On 03/25/2013 06:48 AM, Antonio Messina wrote:
>>> Hi all,
>>> 
>>> I wonder if there is an easy way to know the instance a specific
>>> floating ip was assigned to on a specific point in time.
>>
>>Unfortunately, not using the database schema as it currently stands. You
>>could, however, search your log files (nova-network and
>>nova-api-os-compute IIRC) for the the IP address in question and
>>determine the history from the log records.
>>
>>Best,
>>-jay
>
>Agreed - we had to solve for tracking IP ownership outside the DB too. In
>our case, we leveraged some message publishing components we built in to
>our deployment that drop IP assignments to a feed that we pickup and store
>in a tracking DB.
>
>Thanks!
>Matt
>

As a matter of fact, one the engineers reminded me that this doc

https://wiki.openstack.org/wiki/SystemUsageData

discusses the message generation app - yagi - and a similar approach to
what I was mentioning.  The implementation the docs is for publishing
usages, but it gives you some good conceptual ideas of out to use yogi to
push out various bits of information.

Thanks!
Matt



References