[Openstack-operators] nova-manage floating create
J.O'Loughlin at surrey.ac.uk
J.O'Loughlin at surrey.ac.uk
Fri Mar 2 13:58:17 UTC 2012
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
More information about the Openstack-operators
mailing list