Floating IPs unreachable after reassign

Asked by Michael Hempel

Hi,
I'm running devstack diablo on a single machine with flat-dhcp networking.
If I assign an IP that already was assigned to another VM it doesn't get routed
to the new VM. This makes it hard to find usable IPs for new VMs.
Regards,
Michael

Question information

Language:
English Edit question
Status:
Expired
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Michael Hempel (otaku) said :
#1

Hi,
restarting nova-network allowed me to reassign previously used IPs, but now I cannot create new instances. They stay stuck in build and I get following error in the log:

2011-11-02 15:38:17,566 AUDIT nova.compute.manager [97eee67e-0ccc-4e94-8b3e-c34fc238360d admin 2] instance 36: starting...
2011-11-02 15:38:17,678 DEBUG nova.rpc [-] Making asynchronous call on network ... from (pid=30825) multicall /opt/stack/nova/nova/rpc/impl_kombu.py:721
2011-11-02 15:38:17,679 DEBUG nova.rpc [-] MSG_ID is 8875166554b34bc2b5aa12a97b14e386 from (pid=30825) multicall /opt/stack/nova/nova/rpc/impl_kombu.py:724
2011-11-02 15:38:18,501 ERROR nova.rpc [-] Exception during message handling
(nova.rpc): TRACE: Traceback (most recent call last):
(nova.rpc): TRACE: File "/opt/stack/nova/nova/rpc/impl_kombu.py", line 620, in _process_data
(nova.rpc): TRACE: rval = node_func(context=ctxt, **node_args)
(nova.rpc): TRACE: File "/opt/stack/nova/nova/exception.py", line 98, in wrapped
(nova.rpc): TRACE: return f(*args, **kw)
(nova.rpc): TRACE: File "/opt/stack/nova/nova/compute/manager.py", line 454, in run_instance
(nova.rpc): TRACE: self._run_instance(context, instance_id, **kwargs)
(nova.rpc): TRACE: File "/opt/stack/nova/nova/compute/manager.py", line 393, in _run_instance
(nova.rpc): TRACE: requested_networks=requested_networks)
(nova.rpc): TRACE: File "/opt/stack/nova/nova/network/api.py", line 162, in allocate_for_instance
(nova.rpc): TRACE: 'args': args})
(nova.rpc): TRACE: File "/opt/stack/nova/nova/rpc/__init__.py", line 45, in call
(nova.rpc): TRACE: return get_impl().call(context, topic, msg)
(nova.rpc): TRACE: File "/opt/stack/nova/nova/rpc/impl_kombu.py", line 739, in call
(nova.rpc): TRACE: rv = list(rv)
(nova.rpc): TRACE: File "/opt/stack/nova/nova/rpc/impl_kombu.py", line 703, in __iter__
(nova.rpc): TRACE: raise result
(nova.rpc): TRACE: RemoteError: ProcessExecutionError Unexpected error while running command.
(nova.rpc): TRACE: Command: sudo ip addr add 192.168.250.71/32 scope global dev br100
(nova.rpc): TRACE: Exit code: 254
(nova.rpc): TRACE: Stdout: ''
(nova.rpc): TRACE: Stderr: 'RTNETLINK answers: File exists\n'

This is very weird because the IP nova-net wants to add is from the floating range and being actively used by another instance and not related to the new instance at all.
Regards,
Michael

Revision history for this message
Launchpad Janitor (janitor) said :
#2

This question was expired because it remained in the 'Open' state without activity for the last 15 days.