How to enable nova add-fixed-ip [closed]

asked 2013-11-06 00:27:59 -0500

chen-li gravatar image

updated 2013-11-06 00:32:12 -0500

Hi list,

I'm working under CentOS 6.4 + Havana.

I noticed there're some command support such as : nova add-fixed-ip nova interface-attach

Also, in neutron, neutron port-create

So, I guess it should be possible to add a new virtual NIC port on a running instances, right ?

But, after I run command: nova add-fixed-ip ${instance_name} ${net-id}

I get error in nova-compute.log:

2013-11-06 14:16:14.816 11803 DEBUG qpid.messaging.io.ops [-] SENT[28db2d8]: SessionCompleted(commands=[0-39]) write_op /usr/lib/python2.6/site-packages/qpid/messaging/driver.py:686 2013-11-06 14:16:14.818 11803 ERROR nova.openstack.common.rpc.amqp [req-fdb9abd1-f952-4e90-afb9-5803d3200810 c4633e89685d41c4a2d20a2234b5025e 45c69667e2a64c889719ef8d8e0dd098] Exception during message handling 2013-11-06 14:16:14.818 11803 TRACE nova.openstack.common.rpc.amqp Traceback (most recent call last): 2013-11-06 14:16:14.818 11803 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/amqp.py", line 461, in _process_data 2013-11-06 14:16:14.818 11803 TRACE nova.openstack.common.rpc.amqp *args) 2013-11-06 14:16:14.818 11803 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/dispatcher.py", line 172, in dispatch 2013-11-06 14:16:14.818 11803 TRACE nova.openstack.common.rpc.amqp result = getattr(proxyobj, method)(ctxt, *kwargs) 2013-11-06 14:16:14.818 11803 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/nova/exception.py", line 90, in wrapped 2013-11-06 14:16:14.818 11803 TRACE nova.openstack.common.rpc.amqp payload) 2013-11-06 14:16:14.818 11803 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/nova/exception.py", line 73, in wrapped 2013-11-06 14:16:14.818 11803 TRACE nova.openstack.common.rpc.amqp return f(self, context, args, *kw) 2013-11-06 14:16:14.818 11803 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 243, in decorated_function 2013-11-06 14:16:14.818 11803 TRACE nova.openstack.common.rpc.amqp pass 2013-11-06 14:16:14.818 11803 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 229, in decorated_function 2013-11-06 14:16:14.818 11803 TRACE nova.openstack.common.rpc.amqp return function(self, context, args, *kwargs) 2013-11-06 14:16:14.818 11803 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 271, in decorated_function 2013-11-06 14:16:14.818 11803 TRACE nova.openstack.common.rpc.amqp e, sys.exc_info()) 2013-11-06 14:16:14.818 11803 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 258, in decorated_function 2013-11-06 14:16:14.818 11803 TRACE nova.openstack.common.rpc.amqp return function(self, context, args, *kwargs) 2013-11-06 14:16:14.818 11803 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 3169, in add_fixed_ip_to_instance 2013-11-06 14:16:14.818 11803 TRACE nova.openstack.common.rpc.amqp network_id ... (more)

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by rbowen
close date 2017-05-24 13:40:10.618299

Comments

Closing: Your question refers to a version of OpenStack which has been designated End Of Life. (See http://releases.openstack.org for details).

rbowen gravatar imagerbowen ( 2017-05-24 13:40:04 -0500 )edit