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

Mailing List Archive: OpenStack: Operators

nova-manage floating create

 

 

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


J.O'Loughlin at surrey

Mar 2, 2012, 6:58 AM

Post #1 of 7 (529 views)
Permalink
nova-manage floating create

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
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


mscherbakov at mirantis

Mar 2, 2012, 7:07 AM

Post #2 of 7 (528 views)
Permalink
nova-manage floating create [In reply to]

Hi,
you have to specify the right subnet (not /32):
*nova-manage floating create 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> 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
> 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
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>



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


J.O'Loughlin at surrey

Mar 2, 2012, 7:10 AM

Post #3 of 7 (531 views)
Permalink
nova-manage floating create [In reply to]

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]
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


diego.parrilla.santamaria at gmail

Mar 2, 2012, 7:16 AM

Post #4 of 7 (530 views)
Permalink
nova-manage floating create [In reply to]

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


J.O'Loughlin at surrey

Mar 2, 2012, 7:19 AM

Post #5 of 7 (545 views)
Permalink
nova-manage floating create [In reply to]

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]
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


mscherbakov at mirantis

Mar 5, 2012, 2:26 AM

Post #6 of 7 (532 views)
Permalink
nova-manage floating create [In reply to]

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20120305/bf9cadbc/attachment.html>


mscherbakov at mirantis

Mar 5, 2012, 4:40 AM

Post #7 of 7 (539 views)
Permalink
nova-manage floating create [In reply to]

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-0001.html>

OpenStack operators 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.