nova live-migration failed due to missed packages for NFV

Bug #1586003 reported by Alexander Gubanov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Status tracked in 10.0.x
10.0.x
Fix Released
High
Ivan Udovichenko
9.x
Fix Released
High
Ivan Udovichenko

Bug Description

I've found that "nova live-migration" was broken on MOS 9.0 (build 372) where on env were updated packages for NFV testing.

root@node-1:~# nova live-migration --block-migrate test1 node-3.test.domain.local

nova-compute.log
2016-05-26 09:28:53.544 28134 ERROR nova.virt.libvirt.driver [req-c972cf25-66cd-438a-8a02-ea0e5d5f63e8 7d2a421a61054013b1285bf9bbdf98d1 3816b845c180463e8ea8bb1c7a2a4d28 - - -] [instance: 832e8977-a510-4a51-9999-1de7e1268679] Live Migration failure: Unknown type of "migrate_disks" field
2016-05-26 09:28:53.858 28134 ERROR nova.virt.libvirt.driver [req-c972cf25-66cd-438a-8a02-ea0e5d5f63e8 7d2a421a61054013b1285bf9bbdf98d1 3816b845c180463e8ea8bb1c7a2a4d28 - - -] [instance: 832e8977-a510-4a51-9999-1de7e1268679] Migration operation has aborted

Seems some packages (python-libvirt) were missed.

root@node-2:~# dpkg -l | grep libvirt
ii libvirt-bin 1.3.1-1ubuntu6~u1404+mos1 amd64 programs for the libvirt library
ii libvirt-daemon-system 1.3.1-1ubuntu6~u1404+mos1 amd64 Meta-package for new libvirt transition
ii libvirt0:amd64 1.3.1-1ubuntu6~u1404+mos1 amd64 library for interfacing with different virtualization systems
ii python-libvirt 1.2.15-1~u14.04+mos1 amd64 libvirt Python bindings

I've updated python-libvirt to version 1.3.4

apt-get install python-pip
pip install --upgrade pip
pip uninstall libvirt-python
apt-get install pkg-config
apt-get install libvirt-dev
apt-get install python-dev
pip install libvirt-python

root@node-2:~# pip list | grep libvirt
libvirt-python (1.3.4)

and verified live-migration - all successfully done

root@node-1:~# nova show test1 | grep hyper
| OS-EXT-SRV-ATTR:hypervisor_hostname | node-2.test.domain.local |
root@node-1:~# nova live-migration --block-migrate test1 node-3.test.domain.local
root@node-1:~# nova show test1 | grep hyper
| OS-EXT-SRV-ATTR:hypervisor_hostname | node-3.test.domain.local

Revision history for this message
Dmitry Teselkin (teselkin-d) wrote :

Need python-libvirt version 1.3.1 to match libvirt-bin.

This package should be added to custom branch 'feature/nfv'. It might not exist in the repo, so please create if necessary.

Changed in mos:
assignee: MOS Linux (mos-linux) → MOS Packaging Team (mos-packaging)
Revision history for this message
Dmitry Teselkin (teselkin-d) wrote :
Changed in mos:
assignee: MOS Packaging Team (mos-packaging) → Ivan Udovichenko (iudovichenko)
Changed in mos:
milestone: none → 9.0
Dina Belova (dbelova)
Changed in mos:
importance: Undecided → High
status: New → Confirmed
tags: added: non-release
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Related fix proposed to packages/trusty/libvirt-python (feature/nfv)

Related fix proposed to branch: feature/nfv
Change author: Ivan Udovichenko <email address hidden>
Review: https://review.fuel-infra.org/21381

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Related fix merged to packages/trusty/libvirt-python (feature/nfv)

Reviewed: https://review.fuel-infra.org/21381
Submitter: Pkgs Jenkins <email address hidden>
Branch: feature/nfv

Commit: 9699e74691af0db7081bd99fc50680ee7d7ba2d0
Author: Ivan Udovichenko <email address hidden>
Date: Mon May 30 14:17:45 2016

[MOS 9.0] Update libvirt-python

Version: 1.3.1-1~u14.04+mos1

Source: https://pypi.python.org/pypi/libvirt-python/1.3.1
Archive: libvirt-python-1.3.1.tar.gz
MD5: b1de816cbb03adcf2736ae17d57e9c05

Change-Id: I86541143796b4928ad18c5fc43dbb6982ec46689
Related-Bug: #1586003

tags: added: on-verification
tags: removed: on-verification
Revision history for this message
Anna Babich (ababich) wrote :
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Related fix proposed to packages/trusty/libvirt-python (9.0)

Related fix proposed to branch: 9.0
Change author: Ivan Udovichenko <email address hidden>
Review: https://review.fuel-infra.org/27787

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Related fix merged to packages/trusty/libvirt-python (9.0)

Reviewed: https://review.fuel-infra.org/27787
Submitter: Pkgs Jenkins <email address hidden>
Branch: 9.0

Commit: 26a0275041f3b5ba1cfb2834be64697d48d6e3ca
Author: Ivan Udovichenko <email address hidden>
Date: Tue Oct 25 14:30:26 2016

Merge with 'feature/nfv'

Cherry-picked from 9699e74691af0db7081bd99fc50680ee7d7ba2d0

  [MOS 9.0] Update libvirt-python

  Version: 1.3.1-1~u14.04+mos1

  Source: https://pypi.python.org/pypi/libvirt-python/1.3.1
  Archive: libvirt-python-1.3.1.tar.gz
  MD5: b1de816cbb03adcf2736ae17d57e9c05

Change-Id: I86541143796b4928ad18c5fc43dbb6982ec46689
Related-Bug: #1586003

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Change abandoned on packages/trusty/libvirt-python (9.0)

Change abandoned by Dmitry Teselkin <email address hidden> on branch: 9.0
Review: https://review.fuel-infra.org/25418
Reason: Merged in https://review.fuel-infra.org/#/q/topic:group/prod-7907

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.