← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1801364] Re: persisting OpenStack metadata fails

 

This bug is believed to be fixed in cloud-init in version 19.2-53. If
this is still a problem for you, please make a comment and set the state
back to New

Thank you.

** Changed in: cloud-init
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1801364

Title:
  persisting OpenStack metadata fails

Status in cloud-init:
  Fix Released

Bug description:
  Persistsing OpenStack metadata may fail.

  OpenStack has an entry named "random_seed" in the metadata [1]. This
  entry is treaded specially in the openstack.py helper when the metadat
  is read [2]. The attempt to decode the read data my result in a string
  that is not utf-8 compliant which eventually results in an error when
  we attempt to persist the metadata as follows:

  2018-11-02 12:14:13,755 - __init__.py[WARNING]: Error persisting
  instance-data.json: 'utf8' codec can't decode byte 0xc8 in position 2:
  invalid continuation byte

  
  [1] https://docs.openstack.org/nova/latest/user/metadata-service.html
  [2] https://github.com/cloud-init/cloud-init/blob/master/cloudinit/sources/helpers/openstack.py#L294

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


References