[Openstack-operators] nova-manage floating create

Mike Scherbakov mscherbakov at mirantis.com
Mon Mar 5 11:40:19 UTC 2012


Please try if this fix works for you:
https://review.openstack.org/4909

On Mon, Mar 5, 2012 at 1:26 PM, Mike Scherbakov <mscherbakov at mirantis.com>wrote:

> I've failed a bug about that: https://bugs.launchpad.net/nova/+bug/946949
>
>
> On Fri, Mar 2, 2012 at 6:19 PM, <J.O'Loughlin at surrey.ac.uk> wrote:
>
>>
>> I know that it works in version 2011.3. seems strange that it should stop
>> working?
>>
>> Regards
>>
>> John O'Loughlin
>> FEPS IT, Service Delivery Team Leader
>> ________________________________________
>> From: Diego Parrilla [diego.parrilla.santamaria at gmail.com]
>> Sent: 02 March 2012 14:16
>> To: O'Loughlin JF Mr (FEPS Faculty Admin)
>> Cc: <mscherbakov at mirantis.com>; openstack-operators at lists.openstack.org
>> Subject: Re: [Openstack-operators] nova-manage floating create
>>
>> Are you sure it works in diablo 2011.3.1? I think it worked till latest
>> bug fix version
>>
>> Enviado desde mi iPhone, perdona la brevedad
>>
>> El 02/03/2012, a las 15:10, <J.O'Loughlin at surrey.ac.uk> escribió:
>>
>> > Hi,
>> >
>> >
>> > /32 is for adding just one IP address, 131.227.76.235 in this case. On
>> diablo this works.
>> >
>> > Regards
>> >
>> > John O'Loughlin
>> > FEPS IT, Service Delivery Team Leader
>> > ________________________________________
>> > From: Mike Scherbakov [mscherbakov at mirantis.com]
>> > Sent: 02 March 2012 14:07
>> > To: O'Loughlin JF Mr (FEPS Faculty Admin)
>> > Cc: openstack-operators at lists.openstack.org
>> > Subject: Re: [Openstack-operators] nova-manage floating create
>> >
>> > Hi,
>> > you have to specify the right subnet (not /32):
>> > nova-manage floating create 131.227.76.235/24<http://131.227.76.235/24>
>> > 2012-03-02 06:06:34 DEBUG nova.utils
>> [req-4520071f-d05b-4169-9368-3310e92fa247 None None] backend <module
>> 'nova.db.sqlalchemy.api' from '/opt/stack/nova/nova/db/sqlalchemy/api.pyc'>
>> from (pid=7251) __get_backend /opt/stack/nova/nova/utils.py:607
>> > stack at baseubuntuserver:~$ nova-manage floating list
>> > 2012-03-02 06:06:46 DEBUG nova.utils
>> [req-fd30962c-7b24-4b3b-83b7-237b7fd026c0 None None] backend <module
>> 'nova.db.sqlalchemy.api' from '/opt/stack/nova/nova/db/sqlalchemy/api.pyc'>
>> from (pid=7257) __get_backend /opt/stack/nova/nova/utils.py:607
>> > None 172.24.4.225 None nova br100
>> > None 172.24.4.226 None nova br100
>> > None 172.24.4.227 None nova br100
>> > .....
>> >
>> > Regards,
>> >
>> > On Fri, Mar 2, 2012 at 5:58 PM, <J.O'Loughlin at surrey.ac.uk<mailto:
>> J.O%27Loughlin at surrey.ac.uk>> wrote:
>> >
>> >
>> > All,
>> >
>> > On the essex-4 milestone nova-manage floating create is failing to add
>> floating ips.
>> >
>> > root at kvm-dev01:~# nova-manage floating create  131.227.76.235/32<
>> http://131.227.76.235/32>
>> > root at kvm-dev01:~# nova-manage floating list
>> > 2012-03-02 13:59:28,261 DEBUG nova.utils
>> [req-0ddb4739-3845-4240-9d2c-e106d2bc588d None None] backend <module
>> 'nova.db.sqlalchemy.api' from
>> '/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/api.pyc'> from
>> (pid=13715) debug /usr/lib/python2.7/dist-packages/nova/log.py:175
>> > Command failed, please check log for more info
>> > 2012-03-02 13:59:28,367 CRITICAL nova
>> [req-0ddb4739-3845-4240-9d2c-e106d2bc588d None None] Zero floating ips
>> exist.
>> > (nova): TRACE: Traceback (most recent call last):
>> > (nova): TRACE:   File "/usr/bin/nova-manage", line 2372, in <module>
>> > (nova): TRACE:     main()
>> > (nova): TRACE:   File "/usr/bin/nova-manage", line 2360, in main
>> > (nova): TRACE:     fn(*fn_args, **fn_kwargs)
>> > (nova): TRACE:   File "/usr/bin/nova-manage", line 724, in list
>> > (nova): TRACE:     floating_ips = db.floating_ip_get_all(ctxt)
>> > (nova): TRACE:   File
>> "/usr/lib/python2.7/dist-packages/nova/db/api.py", line 314, in
>> floating_ip_get_all
>> > (nova): TRACE:     return IMPL.floating_ip_get_all(context)
>> > (nova): TRACE:   File
>> "/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/api.py", line 101, in
>> wrapper
>> > (nova): TRACE:     return f(*args, **kwargs)
>> > (nova): TRACE:   File
>> "/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/api.py", line 823, in
>> floating_ip_get_all
>> > (nova): TRACE:     raise exception.NoFloatingIpsDefined()
>> > (nova): TRACE: NoFloatingIpsDefined: Zero floating ips exist.
>> >
>> >
>> > and the floating_ips table is empty.
>> >
>> > Is there a different/new way of adding floating ips?
>> >
>> > Regards
>> >
>> > John O'Loughlin
>> > FEPS IT, Service Delivery Team Leader
>> > _______________________________________________
>> > Openstack-operators mailing list
>> > Openstack-operators at lists.openstack.org<mailto:
>> Openstack-operators at lists.openstack.org>
>> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>> >
>> >
>> >
>> > --
>> > Mike Scherbakov
>> > _______________________________________________
>> > Openstack-operators mailing list
>> > Openstack-operators at lists.openstack.org
>> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>>
>
>
>
> --
> Mike Scherbakov
>



-- 
Mike Scherbakov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20120305/ef9ab489/attachment-0002.html>


More information about the Openstack-operators mailing list