[Bug 1691428] Please test proposed package

Brian Murray brian at ubuntu.com
Thu May 18 20:31:22 UTC 2017


Hello James, or anyone else affected,

Accepted nova-lxd into yakkety-proposed. The package will build now and
be available at https://launchpad.net/ubuntu/+source/nova-
lxd/14.2.2-0ubuntu0.16.10.2 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 on 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!

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to Ubuntu Cloud Archive.
https://bugs.launchpad.net/bugs/1691428

Title:
  LXDAPIException: json: cannot unmarshal bool into Go value of type
  string when using config-drive

Status in Ubuntu Cloud Archive:
  Fix Committed
Status in Ubuntu Cloud Archive newton series:
  Fix Committed
Status in Ubuntu Cloud Archive ocata series:
  Fix Committed
Status in Ubuntu Cloud Archive pike series:
  Fix Committed
Status in nova-lxd:
  Fix Released
Status in nova-lxd package in Ubuntu:
  Fix Released
Status in nova-lxd source package in Yakkety:
  Fix Committed
Status in nova-lxd source package in Zesty:
  Fix Committed
Status in nova-lxd source package in Artful:
  Fix Released

Bug description:
  [Impact]
  Not possible to use the config-drive support (as currently in yakkety-proposed, zesty and artful)

  [Test Case]
  Deploy Nova-LXD based OpenStack Cloud
  openstack server create --wait --image xenial --flavor m1.small --key-name testkey --nic net-id=XXXX --min 1 --max 1 --config-drive True xenial-config-drive
  instance will go into ERROR state and fail to boot.

  [Regression Potential]
  Minimal; this feature has never worked correctly, the fix resolves and issue with passing the readonly flag for the config-drive device as a boolean rather than a string (as required by the LXD API).

  [Original Bug Report]
  When booting instances using the --config-drive flag, the instance fail to boot with the following error:

    LXDAPIException: json: cannot unmarshal bool into Go value of type
  string

  nova-lxd is passing the 'readonly' flag as a boolean, not as a string,
  and the LXD API fails to unmarshall it as a result.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1691428/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list