← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1446102] [NEW] Unable to establish connection failure in rpcapi leads to leaving vm in migrating state

 

Public bug reported:

To reproduce this bug:

1.  Hang  migrate_server() method in /nova/conductor/rpcapi.py

Before this call:
return cctxt.call(context, 'migrate_server', **kw)

You can add for example: "import pdb; pdb.set_trace();"

2. Try to live-migration vm to another host

3. The call should return:
ERROR (ConnectionRefused): Unable to establish connection to http://10.0.0.1:8774/v2/cc3c06e317ce42bfb60a719321b1e6a1/servers/e000a972-f320-4ab4-8098-475479170042/action

4. After this steps instance has following attributes:
- status: MIGRATING
- task_state: migrating

** Affects: nova
     Importance: Undecided
     Assignee: Bartosz Fic (bartosz-fic)
         Status: New


** Tags: live-migrate

** Changed in: nova
     Assignee: (unassigned) => Bartosz Fic (bartosz-fic)

** Tags added: live-migrate

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1446102

Title:
  Unable to establish connection failure in rpcapi leads to leaving vm
  in migrating state

Status in OpenStack Compute (Nova):
  New

Bug description:
  To reproduce this bug:

  1.  Hang  migrate_server() method in /nova/conductor/rpcapi.py

  Before this call:
  return cctxt.call(context, 'migrate_server', **kw)

  You can add for example: "import pdb; pdb.set_trace();"

  2. Try to live-migration vm to another host

  3. The call should return:
  ERROR (ConnectionRefused): Unable to establish connection to http://10.0.0.1:8774/v2/cc3c06e317ce42bfb60a719321b1e6a1/servers/e000a972-f320-4ab4-8098-475479170042/action

  4. After this steps instance has following attributes:
  - status: MIGRATING
  - task_state: migrating

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1446102/+subscriptions


Follow ups

References