[SRU] python-pylxd 2.0.5

Bug #1623107 reported by Corey Bryant
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-mock-services (Ubuntu)
Invalid
Undecided
Unassigned
Xenial
Fix Released
Undecided
Corey Bryant
python-pylxd (Ubuntu)
Invalid
Undecided
Unassigned
Xenial
Fix Committed
Undecided
Corey Bryant

Bug Description

[Impact]
This SRU gets us to the latest pylxd point release for xenial.

As of lxd 2.0.3, some changes to how lxd rest calls indicate successful responses changed from HTTP 200 to HTTP 202. This causes issues with pylxd.

As long as lxd packages are updated in xenial, pylxd packages should also be updated.

[Test Case]
There are integration tests included with pylxd and can be run with:
tox -e integration

[Regresion Potential]
Regression potential is minimal. This is a stable point release for the existing 2.0.0 version that is in xenial.

Changed in python-pylxd (Ubuntu):
status: New → Invalid
summary: - [SRU] python-pylxd 2.0.4
+ [SRU] python-pylxd 2.0.5
Revision history for this message
Paul Hummer (rockstar) wrote :

As of lxd 2.0.3, some changes to how lxd rest calls indicate successful responses changed from HTTP 200 to HTTP 202. This causes issues with pylxd.

As long as lxd packages are updated in xenial, pylxd packages should also be updated.

Revision history for this message
Martin Pitt (pitti) wrote :

Please add regression potential and a test plan -- how can you make sure that this does not regress existing clients/installations?

Changed in python-pylxd (Ubuntu Xenial):
status: New → Incomplete
description: updated
Changed in python-pylxd (Ubuntu Xenial):
status: Incomplete → New
Revision history for this message
Timo Aaltonen (tjaalton) wrote : Please test proposed package

Hello Corey, or anyone else affected,

Accepted python-pylxd into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/python-pylxd/2.0.5-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 python-pylxd (Ubuntu Xenial):
status: New → Fix Committed
tags: added: verification-needed
Revision history for this message
Martin Pitt (pitti) wrote :

Package doesn't build in xenial due to the new python3-mock-services build dependency which does not exist in xenial (only in yakkety). So you need to backport this or drop the B-D.

tags: added: verification-failed
removed: verification-needed
Changed in python-pylxd (Ubuntu Xenial):
status: Fix Committed → In Progress
assignee: nobody → Corey Bryant (corey.bryant)
Revision history for this message
Corey Bryant (corey.bryant) wrote :

Martin is it possible to backport python-mock-services at this point to xenial?

Revision history for this message
Corey Bryant (corey.bryant) wrote :

Martin, I've uploaded python-mock-services to the xenial NEW queue. That will enable python-pylxd to build successfully. Thanks.

Changed in python-mock-services (Ubuntu Xenial):
status: New → In Progress
assignee: nobody → Corey Bryant (corey.bryant)
Changed in python-mock-services (Ubuntu):
status: New → Invalid
Martin Pitt (pitti)
tags: added: verification-needed
removed: verification-failed
Changed in python-mock-services (Ubuntu Xenial):
status: In Progress → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

python-pylxd built now, please test.

Changed in python-pylxd (Ubuntu Xenial):
status: In Progress → Fix Committed
Revision history for this message
Chuck Short (zulcss) wrote :
Download full text (21.5 KiB)

Ran the integration test this morning, ran fine:

The container is deleted. ... ok
A file is written to the container and then read. ... ok
The container is renamed. ... ok
A container snapshot is made, renamed, and deleted. ... ok
The container is updated to a new config. ... /home/ubuntu/python-pylxd-2.0.5/pylxd/deprecation.py:24: DeprecationWarning: update is deprecated; please use save
  warnings.warn(self.message, DeprecationWarning)
ok
A list of all containers is returned. ... ok
Creates and returns a new container. ... ok
A container is fetched by name. ... ok
The image is deleted. ... ok
The imerage is successfully exported. ... ok
The image properties are updated. ... ok
A list of all images is returned. ... ok
An image is created. ... ok
An image is fetched by fingerprint. ... ok
A profile is deleted. ... ok
A profile is renamed. ... SKIP: Not implemented in LXD
A profile is updated. ... ok
All profiles are fetched. ... ok
A profile is created. ... ok
A profile is fetched by name. ... ok
test_certificate_operations_1_delete (pylxd.deprecated.tests.test_certificate.LXDAPICertificateTest) ... /home/ubuntu/python-pylxd-2.0.5/pylxd/deprecated/api.py:32: DeprecationWarning: pylxd.api.API is deprecated. Please use pylxd.Client.
  DeprecationWarning)
ok
test_certificate_operations_2_create (pylxd.deprecated.tests.test_certificate.LXDAPICertificateTest) ... ok
test_certificate_show (pylxd.deprecated.tests.test_certificate.LXDAPICertificateTest) ... ok
test_list_certificates (pylxd.deprecated.tests.test_certificate.LXDAPICertificateTest) ... ok
test_get_object_1_null (pylxd.deprecated.tests.test_connection.LXDConnectionTest) ... ok
test_get_object_2_200 (pylxd.deprecated.tests.test_connection.LXDConnectionTest) ... ok
test_get_object_3_202 (pylxd.deprecated.tests.test_connection.LXDConnectionTest) ... ok
test_get_object_4_500 (pylxd.deprecated.tests.test_connection.LXDConnectionTest) ... ok
test_get_raw_1_null (pylxd.deprecated.tests.test_connection.LXDConnectionTest) ... ok
test_get_raw_2_200 (pylxd.deprecated.tests.test_connection.LXDConnectionTest) ... ok
test_get_raw_3_500 (pylxd.deprecated.tests.test_connection.LXDConnectionTest) ... ok
test_get_status_1_null (pylxd.deprecated.tests.test_connection.LXDConnectionTest) ... ok
test_get_status_2_200 (pylxd.deprecated.tests.test_connection.LXDConnectionTest) ... ok
test_get_status_3_202 (pylxd.deprecated.tests.test_connection.LXDConnectionTest) ... ok
test_get_status_4_200 (pylxd.deprecated.tests.test_connection.LXDConnectionTest) ... ok
test_get_status_5_500 (pylxd.deprecated.tests.test_connection.LXDConnectionTest) ... ok
test_get_ws_1_fake_host (pylxd.deprecated.tests.test_connection.LXDConnectionTest) ... SKIP: Skip deprecated WebSocketClient tests
test_get_ws_2_None (pylxd.deprecated.tests.test_connection.LXDConnectionTest) ... SKIP: Skip deprecated WebSocketClient tests
test_get_connection_1_unix (pylxd.deprecated.tests.test_connection.LXDInitConnectionTest) ... ok
test_get_connection_2_unix_path (pylxd.deprecated.tests.test_connection.LXDInitConnectionTest) ... ok
test_get_connection_3_https (pylxd.deprecated.tests.test_connection.LXDInitConnectionTest) ... ok
test_get_connection_4_ht...

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-mock-services - 0.2-0ubuntu0.16.04.1

---------------
python-mock-services (0.2-0ubuntu0.16.04.1) xenial; urgency=medium

  [ Chuck Short ]
  * debian/python3-mock-services: Fix co-dependency install.
  * debian/control: Add dependency of python-nose.
  * Initial release (LP: #1623107).

 -- Corey Bryant <email address hidden> Wed, 12 Oct 2016 13:46:07 -0400

Changed in python-mock-services (Ubuntu Xenial):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for python-mock-services 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.

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.