in pike release, UCA changed the nova code and break the old qemu binary

Bug #1738213 reported by Jeffrey Zhang on 2017-12-14
This bug report is a duplicate of:  Bug #1734990: [SRU] pike stable releases. Edit Remove
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu Cloud Archive
Undecided
Unassigned

Bug Description

Kolla project is using UCA pike binary. But with some issue, we fallback to use qemu 2.5 + ceph Jewel by ping the package version. Then found this issue.

After checked the nova/virt/images.py files before the one in UCA and nova upstream code. got following

$ diff ~/openstack/nova/nova/virt/images.py images.py(from UAC)
60c60,61
< cmd = ('env', 'LC_ALL=C', 'LANG=C', 'qemu-img', 'info', path)
---
> cmd = ('env', 'LC_ALL=C', 'LANG=C',
> 'qemu-img', 'info', '--force-share', path)

UCA add "--force-share" parameter roughly, which make nova can not work with old qemu-img binary.

Since nova 16.0.2, this issue have be fixed by upstream[0]

So you upgrade the nova code to the 16.0.2 at least? then nova package in ubuntu binary will support all qemu version.

Thanks a lot.

[0] https://review.openstack.org/#/c/509774

Changed in cloud-archive:
status: New → Confirmed
Scott Moser (smoser) on 2017-12-14
tags: added: qemu-file-locking
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers