Comment 3 for bug 708320

Revision history for this message
Vish Ishaya (vishvananda) wrote : Re: [Bug 708320] Re: associate floating ip address to an instance works without allocating address

Admin may bypass the allocated check. I don't think this works as a normal user and it probably shouldn't work as an admin either.
On Jan 26, 2011, at 3:05 PM, Tushar Patil wrote:

> Yes, I am running euca-associate-address as admin.
>
> No, the floating ip address is not allocated to any project.
>
> --
> You received this bug notification because you are a member of Nova Bug
> Team, which is subscribed to OpenStack Compute (nova).
> https://bugs.launchpad.net/bugs/708320
>
> Title:
> associate floating ip address to an instance works without allocating
> address
>
> Status in OpenStack Compute (Nova):
> New
>
> Bug description:
> Tested with Trunk revision No 606.
>
> I created a floating addresses of range 10.2.3.0/24
>
> I can associate floating ip addres 10.2.3.96 to an instance without
> allocating it for the project.
>
> Expected Result: It should gives error message something like
> "Floating ip address <IP address> is not allocated to project <AAA>"
>
>