sap-oc / cookbook-openstack-network

Chef Cookbook - OpenStack Network
http://openstack.org
0 stars 0 forks source link

Timeout reported as a failure during migration #15

Open matelakat opened 7 years ago

matelakat commented 7 years ago

When migrating routers, ports might not become active within the time available. In this case the following stacktrace will be printed:

2017-04-24 09:28:05,093 neutron-ha-tool ERROR    Failed to migrate router=61aea97d-4711-4fb3-8fa8-43b9fa4503d9 from agent=6443bcf9-18ae-456a-b340-fcc565c0cd67 to agent=b3b9971c-24c2-4b80-91b5-4d103c261a81
Traceback (most recent call last):
  File "/usr/bin/neutron-ha-tool", line 627, in migrate_router_safely
    wait_for_router, delete_namespace)
  File "/usr/bin/neutron-ha-tool", line 671, in migrate_router
    wait_router_migrated(qclient, router_id, target['host'])
  File "/usr/bin/neutron-ha-tool", line 732, in wait_router_migrated
    (router_id, ", ".join(remaining_ports)))
RuntimeError: Some ports are not ACTIVE on router_id=61aea97d-4711-4fb3-8fa8-43b9fa4503d9: [8820e14e-b362-4883-8e36-5b09b2e6f112]
2017-04-24 09:28:05,094 neutron-ha-tool INFO     0 routers were evacuated from L3 agent d00-25-b5-a0-03-63
2017-04-24 09:28:05,094 neutron-ha-tool ERROR    1 errors encountered during evacuation