[SRU] newton nova-lxd 13.2.0 point release

Bug #1649368 reported by Chuck Short
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
nova-lxd (Ubuntu)
Invalid
High
Unassigned
Nominated for Xenial by Dominique Poulain
Xenial
Fix Released
High
Unassigned

Bug Description

New point release for newton nova-lxd 13.2.0. These are fixing multiple bugs since 13.1.0/13.0.0 release such as:

https://bugs.launchpad.net/ubuntu/+source/nova-lxd/+bug/1648056

Test plan:

For all stable point releases, we perform regression testing by juju deploying two openstack clouds, one against -proposed and one against -updates, and we then run tempest integration smoke tests[1] to verify those deployed clouds, and evaluate any differences in results.

[1] https://github.com/openstack/tempest/blob/master/README.rst

James Page (james-page)
description: updated
James Page (james-page)
Changed in nova-lxd (Ubuntu):
status: New → Triaged
importance: Undecided → High
tags: added: sts
Revision history for this message
Dominique Poulain (dominique-poulain) wrote :

James, Chuck

The title references Newton, but Newton/Yakkety has nova-lxd 14, whereas Xenial/Mitaka has 13. 13.2.0 should be for X/M, unless I'm missing something?

Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Chuck, or anyone else affected,

Accepted nova-lxd into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/nova-lxd/13.2.0-0ubuntu1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in nova-lxd (Ubuntu Xenial):
status: New → Fix Committed
tags: added: verification-needed
Changed in nova-lxd (Ubuntu):
status: Triaged → Invalid
Changed in nova-lxd (Ubuntu Xenial):
importance: Undecided → High
Revision history for this message
Dominique Poulain (dominique-poulain) wrote :
Download full text (4.7 KiB)

I verified commit 216b7a5cd50bb0ef10edfeb6b551b75b083952ae (<https://github.com/openstack/nova-lxd/commit/216b7a5cd50bb0ef10edfeb6b551b75b083952ae>) works as it should to fix flavor extra specs.

Procedure followed:

I stood up a Xenial/Mitaka juju 1.x/nova-lxd environment using the openstack-charmers' bundle in bundles/lxd/default.yaml, imported a Xenial lxd image, and set the `lxd:nested_allowed` extra spec on the m1.small flavor:
$ nova flavor-key m1.small set lxd:nested_allowed=True
$ nova flavor-show m1.small
+----------------------------+--------------------------------+
| Property | Value |
+----------------------------+--------------------------------+
| OS-FLV-DISABLED:disabled | False |
| OS-FLV-EXT-DATA:ephemeral | 0 |
| disk | 20 |
| extra_specs | {"lxd:nested_allowed": "True"} |
| id | 2 |
| name | m1.small |
| os-flavor-access:is_public | True |
| ram | 512 |
| rxtx_factor | 1.0 |
| swap | |
| vcpus | 1 |
+----------------------------+--------------------------------+

1) python-nova-lxd 13.0.0-0ubuntu3.1: failing test

At this stage the version of python-nova-lxd run by the hypervisors is 13.0.0:

$ juju run --service nova-compute 'dpkg -l python-nova-lxd | grep ii'
- MachineId: "10"
  Stdout: |
    ii python-nova-lxd 13.0.0-0ubuntu3.1 all OpenStack Compute Python libraries - LXD driver
  UnitId: nova-compute/0
- MachineId: "11"
  Stdout: |
    ii python-nova-lxd 13.0.0-0ubuntu3.1 all OpenStack Compute Python libraries - LXD driver
  UnitId: nova-compute/1
- MachineId: "12"
  Stdout: |
    ii python-nova-lxd 13.0.0-0ubuntu3.1 all OpenStack Compute Python libraries - LXD driver
  UnitId: nova-compute/2

Now we boot an instance using the m1.small flavor, and verify that security.nesting is not set on either the instance or its profile, since the extra spec is being ignored.

$ nova boot --image xenial-lxd --flavor m1.small --key-name testkey --nic net-id=c1fc9eb7-af43-484e-9784-85315bd3d4e1 x-nesting-test

# Determine which compute host the instance was scheduled to, and under which name
nova show x-nesting-test | grep -E 'hypervisor|instance' | sed 's/|//g'
 OS-EXT-SRV-ATTR:hypervisor_hostname juju-dsjpoulain-machine-10
 OS-EXT-SRV-ATTR:instance_name instance-00000005

# On the hypervisor, check that the instance and its profile do NOT have security.nesting set on them
ubuntu@juju-dsjpoulain-machine-10:~$ lxc config show instance-00000005 --expanded | grep security # no output
ubuntu@juju-dsjpoulain-machine-10:~$ lxc profile show instance-00000005 | grep security # no output

2) python-nova-lxd 13.2.0-0ubuntu1: passing test

I installed python-nova-lxd 13.2.0-0ubuntu1 from xenia...

Read more...

Revision history for this message
Chuck Short (zulcss) wrote :

Ran tempest smoke tests against nova-lxd 13.2.0 tests past successfully.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Robie Basak (racb) wrote : Update Released

The verification of the Stable Release Update for nova-lxd has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nova-lxd - 13.2.0-0ubuntu1

---------------
nova-lxd (13.2.0-0ubuntu1) xenial; urgency=medium

  * New upstream release for Openstack Mitaka (LP: #1649368, #1648056):
    - d/p/*: Dropped, no longer required as included upstream.

 -- Chuck Short <email address hidden> Mon, 12 Dec 2016 13:35:03 -0500

Changed in nova-lxd (Ubuntu Xenial):
status: Fix Committed → Fix Released
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.