Please try if this fix works for you:<div><a href="https://review.openstack.org/4909" target="_blank" style>https://review.openstack.org/4909</a><br><br><div class="gmail_quote">On Mon, Mar 5, 2012 at 1:26 PM, Mike Scherbakov <span dir="ltr"><<a href="mailto:mscherbakov@mirantis.com">mscherbakov@mirantis.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I've failed a bug about that: <a href="https://bugs.launchpad.net/nova/+bug/946949" target="_blank">https://bugs.launchpad.net/nova/+bug/946949</a><div class="HOEnZb">
<div class="h5"><br><br><div class="gmail_quote">On Fri, Mar 2, 2012 at 6:19 PM, <span dir="ltr"><<a href="mailto:J.O%27Loughlin@surrey.ac.uk" target="_blank">J.O'Loughlin@surrey.ac.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
I know that it works in version 2011.3. seems strange that it should stop working?<br>
<div><br>
Regards<br>
<br>
John O'Loughlin<br>
FEPS IT, Service Delivery Team Leader<br>
________________________________________<br>
</div>From: Diego Parrilla [<a href="mailto:diego.parrilla.santamaria@gmail.com" target="_blank">diego.parrilla.santamaria@gmail.com</a>]<br>
Sent: 02 March 2012 14:16<br>
<div>To: O'Loughlin JF Mr (FEPS Faculty Admin)<br>
</div>Cc: <<a href="mailto:mscherbakov@mirantis.com" target="_blank">mscherbakov@mirantis.com</a>>; <a href="mailto:openstack-operators@lists.openstack.org" target="_blank">openstack-operators@lists.openstack.org</a><br>
<div><div>Subject: Re: [Openstack-operators] nova-manage floating create<br>
<br>
Are you sure it works in diablo 2011.3.1? I think it worked till latest bug fix version<br>
<br>
Enviado desde mi iPhone, perdona la brevedad<br>
<br>
El 02/03/2012, a las 15:10, <<a href="mailto:J.O%27Loughlin@surrey.ac.uk" target="_blank">J.O'Loughlin@surrey.ac.uk</a>> escribió:<br>
<br>
> Hi,<br>
><br>
><br>
> /32 is for adding just one IP address, 131.227.76.235 in this case. On diablo this works.<br>
><br>
> Regards<br>
><br>
> John O'Loughlin<br>
> FEPS IT, Service Delivery Team Leader<br>
> ________________________________________<br>
> From: Mike Scherbakov [<a href="mailto:mscherbakov@mirantis.com" target="_blank">mscherbakov@mirantis.com</a>]<br>
> Sent: 02 March 2012 14:07<br>
> To: O'Loughlin JF Mr (FEPS Faculty Admin)<br>
> Cc: <a href="mailto:openstack-operators@lists.openstack.org" target="_blank">openstack-operators@lists.openstack.org</a><br>
> Subject: Re: [Openstack-operators] nova-manage floating create<br>
><br>
> Hi,<br>
> you have to specify the right subnet (not /32):<br>
> nova-manage floating create <a href="http://131.227.76.235/24" target="_blank">131.227.76.235/24</a><<a href="http://131.227.76.235/24" target="_blank">http://131.227.76.235/24</a>><br>
> 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<br>
> stack@baseubuntuserver:~$ nova-manage floating list<br>
> 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<br>
> None 172.24.4.225 None nova br100<br>
> None 172.24.4.226 None nova br100<br>
> None 172.24.4.227 None nova br100<br>
> .....<br>
><br>
> Regards,<br>
><br>
> On Fri, Mar 2, 2012 at 5:58 PM, <<a href="mailto:J.O%27Loughlin@surrey.ac.uk" target="_blank">J.O'Loughlin@surrey.ac.uk</a><mailto:<a href="mailto:J.O%2527Loughlin@surrey.ac.uk" target="_blank">J.O%27Loughlin@surrey.ac.uk</a>>> wrote:<br>
><br>
><br>
> All,<br>
><br>
> On the essex-4 milestone nova-manage floating create is failing to add floating ips.<br>
><br>
> root@kvm-dev01:~# nova-manage floating create <a href="http://131.227.76.235/32" target="_blank">131.227.76.235/32</a><<a href="http://131.227.76.235/32" target="_blank">http://131.227.76.235/32</a>><br>
> root@kvm-dev01:~# nova-manage floating list<br>
> 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<br>
> Command failed, please check log for more info<br>
> 2012-03-02 13:59:28,367 CRITICAL nova [req-0ddb4739-3845-4240-9d2c-e106d2bc588d None None] Zero floating ips exist.<br>
> (nova): TRACE: Traceback (most recent call last):<br>
> (nova): TRACE: File "/usr/bin/nova-manage", line 2372, in <module><br>
> (nova): TRACE: main()<br>
> (nova): TRACE: File "/usr/bin/nova-manage", line 2360, in main<br>
> (nova): TRACE: fn(*fn_args, **fn_kwargs)<br>
> (nova): TRACE: File "/usr/bin/nova-manage", line 724, in list<br>
> (nova): TRACE: floating_ips = db.floating_ip_get_all(ctxt)<br>
> (nova): TRACE: File "/usr/lib/python2.7/dist-packages/nova/db/api.py", line 314, in floating_ip_get_all<br>
> (nova): TRACE: return IMPL.floating_ip_get_all(context)<br>
> (nova): TRACE: File "/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/api.py", line 101, in wrapper<br>
> (nova): TRACE: return f(*args, **kwargs)<br>
> (nova): TRACE: File "/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/api.py", line 823, in floating_ip_get_all<br>
> (nova): TRACE: raise exception.NoFloatingIpsDefined()<br>
> (nova): TRACE: NoFloatingIpsDefined: Zero floating ips exist.<br>
><br>
><br>
> and the floating_ips table is empty.<br>
><br>
> Is there a different/new way of adding floating ips?<br>
><br>
> Regards<br>
><br>
> John O'Loughlin<br>
> FEPS IT, Service Delivery Team Leader<br>
> _______________________________________________<br>
> Openstack-operators mailing list<br>
> <a href="mailto:Openstack-operators@lists.openstack.org" target="_blank">Openstack-operators@lists.openstack.org</a><mailto:<a href="mailto:Openstack-operators@lists.openstack.org" target="_blank">Openstack-operators@lists.openstack.org</a>><br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a><br>
><br>
><br>
><br>
> --<br>
> Mike Scherbakov<br>
> _______________________________________________<br>
> Openstack-operators mailing list<br>
> <a href="mailto:Openstack-operators@lists.openstack.org" target="_blank">Openstack-operators@lists.openstack.org</a><br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br>Mike Scherbakov<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>Mike Scherbakov<br>
</div>