Nova cold migration is broken

Bug #1660981 reported by Michael Polenchuk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Medium
Michael Polenchuk
Nominated for Ocata by Michael Polenchuk
Newton
Fix Committed
Medium
Michael Polenchuk

Bug Description

Detailed bug description:
 SSH tunneling ain't set up between the compute nodes.
 Got in nova.log the following error:
  ProcessExecutionError: Unexpected error while running command.
  Stderr: u Host key verification failed.\r\n

Steps to reproduce:
 Run #openstack server migrate ...
 or NovaServers.boot_and_migrate_server rally scenario

Expected results:
 Non-live (cold) migration is done successfully
Actual result:
 Rally scenario of NovaServers.boot_and_migrate_server is failed

Workaround:
 docs.openstack.org/admin-guide/cli-nova-migrate-cfg-ssh.html

Description of the environment:
 Fuel 10+ w/ 2+ computes

Changed in fuel:
assignee: nobody → Michael Polenchuk (mpolenchuk)
importance: Undecided → Medium
milestone: none → 10.1
status: New → Confirmed
milestone: 10.1 → 11.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

Fix proposed to branch: master
Review: https://review.openstack.org/428044

Changed in fuel:
status: Confirmed → In Progress
tags: added: area-library
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/428044
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=8fb8e7f7df9218b91540c56f3e0bab16edc1cb64
Submitter: Jenkins
Branch: master

commit 8fb8e7f7df9218b91540c56f3e0bab16edc1cb64
Author: Michael Polenchuk <email address hidden>
Date: Thu Feb 2 13:13:49 2017 +0400

    Support nova non-live migration

    Ensure that each compute node is configured with ssh key
    authentication so that the nova compute service can use ssh
    to move/resize disks to other nodes.

    Change-Id: Ifbefdcbcf865cb2be988e133f19a13a5e010512d
    Closes-Bug: #1660981

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/430104

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (stable/newton)

Reviewed: https://review.openstack.org/430104
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=7453bb3d23aaf7809e2e7df8067c3caf5d78fd1e
Submitter: Jenkins
Branch: stable/newton

commit 7453bb3d23aaf7809e2e7df8067c3caf5d78fd1e
Author: Michael Polenchuk <email address hidden>
Date: Thu Feb 2 13:13:49 2017 +0400

    Support nova non-live migration

    Ensure that each compute node is configured with ssh key
    authentication so that the nova compute service can use ssh
    to move/resize disks to other nodes.

    Change-Id: Ifbefdcbcf865cb2be988e133f19a13a5e010512d
    Closes-Bug: #1660981
    (cherry picked from commit 8fb8e7f7df9218b91540c56f3e0bab16edc1cb64)

Revision history for this message
Michael Polenchuk (mpolenchuk) wrote :

Reset to "confirmed" since in case with ceilometer on board the nova user shell is being modified by scripts of ceilometer-common package.

Changed in fuel:
status: Fix Committed → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

Fix proposed to branch: master
Review: https://review.openstack.org/433047

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/fuel-library 11.0.0.0rc1

This issue was fixed in the openstack/fuel-library 11.0.0.0rc1 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/433047
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=2c381ff80b52191af5b4085c1fb27a79c220bf1e
Submitter: Jenkins
Branch: master

commit 2c381ff80b52191af5b4085c1fb27a79c220bf1e
Author: Michael Polenchuk <email address hidden>
Date: Mon Feb 13 17:02:25 2017 +0400

    Shift nova user config to enable_compute task

    Make nova user configuration before ceilometer/compute task since
    ceilometer-common package reset shell of nova user to /bin/false back.

    Change-Id: I92be4cb23ad4ffe2cbd52562b40e336a1ad1e352
    Closes-Bug: #1660981

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/438971

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (stable/newton)

Reviewed: https://review.openstack.org/438971
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=0c53d8139ef3e09288cb789acade1d4fded4ef52
Submitter: Jenkins
Branch: stable/newton

commit 0c53d8139ef3e09288cb789acade1d4fded4ef52
Author: Michael Polenchuk <email address hidden>
Date: Mon Feb 13 17:02:25 2017 +0400

    Shift nova user config to enable_compute task

    Make nova user configuration before ceilometer/compute task since
    ceilometer-common package reset shell of nova user to /bin/false back.

    Change-Id: I92be4cb23ad4ffe2cbd52562b40e336a1ad1e352
    Closes-Bug: #1660981
    (cherry picked from commit 2c381ff80b52191af5b4085c1fb27a79c220bf1e)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (stable/ocata)

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/442434

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (stable/ocata)

Reviewed: https://review.openstack.org/442434
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=4e9f2dd510ac7e4758ce54be7cd76a8448031e02
Submitter: Jenkins
Branch: stable/ocata

commit 4e9f2dd510ac7e4758ce54be7cd76a8448031e02
Author: Michael Polenchuk <email address hidden>
Date: Mon Feb 13 17:02:25 2017 +0400

    Shift nova user config to enable_compute task

    Make nova user configuration before ceilometer/compute task since
    ceilometer-common package reset shell of nova user to /bin/false back.

    Change-Id: I92be4cb23ad4ffe2cbd52562b40e336a1ad1e352
    Closes-Bug: #1660981
    (cherry picked from commit 2c381ff80b52191af5b4085c1fb27a79c220bf1e)

tags: added: in-stable-ocata
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/fuel-library 11.0.0.0rc2

This issue was fixed in the openstack/fuel-library 11.0.0.0rc2 release candidate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.