canonical / cloud-init

Official upstream for the cloud-init: cloud instance initialization
https://cloud-init.io/
Other
2.93k stars 875 forks source link

cloud-init uses openstack latest version due to decoding bug #3232

Closed ubuntu-server-builder closed 1 year ago

ubuntu-server-builder commented 1 year ago

This bug was originally filed in Launchpad as LP: #1792157

Launchpad details
affected_projects = ['cloud-init (Ubuntu)']
assignee = None
assignee_name = None
date_closed = 2018-10-02T21:13:14.648003+00:00
date_created = 2018-09-12T14:29:08.551435+00:00
date_fix_committed = 2018-09-14T19:12:08.077689+00:00
date_fix_released = 2018-10-02T21:13:14.648003+00:00
id = 1792157
importance = medium
is_complete = True
lp_url = https://bugs.launchpad.net/cloud-init/+bug/1792157
milestone = None
owner = smoser
owner_name = Scott Moser
private = False
status = fix_released
submitter = smoser
submitter_name = Scott Moser
tags = ['amd64', 'apport-bug', 'cosmic', 'ec2-images']
duplicates = []

Launchpad user Scott Moser(smoser) wrote on 2018-09-12T14:29:08.551435+00:00

Line like this in the log shows the issue: 2018-09-12 10:36:25,462 - openstack.py[DEBUG]: Selected version 'latest' from [b'2012-08-10', b'2013-04-04', b'2013-10-17', b'2015-10-15', b'2016-06-30', b'2016-10-06', b'latest']

we're looking for a string in a list of bytes.

ProblemType: Bug DistroRelease: Ubuntu 18.10 Package: cloud-init 18.3-38-gd47d404e-0ubuntu1 ProcVersionSignature: Ubuntu 4.17.0-9.10-generic 4.17.17 Uname: Linux 4.17.0-9-generic x86_64 ApportVersion: 2.20.10-0ubuntu9 Architecture: amd64 CloudName: OpenStack Date: Wed Sep 12 14:15:16 2018 Ec2AMI: ami-00000131 Ec2AMIManifest: FIXME Ec2AvailabilityZone: nova Ec2InstanceType: m1.small Ec2Kernel: unavailable Ec2Ramdisk: unavailable PackageArchitecture: all ProcEnviron: TERM=xterm-256color PATH=(custom, no user) LANG=C.UTF-8 SHELL=/bin/bash SourcePackage: cloud-init UpgradeStatus: No upgrade log present (probably fresh install)

ubuntu-server-builder commented 1 year ago

Launchpad user Scott Moser(smoser) wrote on 2018-09-12T14:29:08.551435+00:00

Launchpad attachments: Dependencies.txt,ProcCpuinfoMinimal.txt,cloud-init-log-warnings.txt,cloud-init-output.log.txt.txt,logs.tgz.gz,lshw.txt.txt

ubuntu-server-builder commented 1 year ago

Launchpad user Server Team CI bot(server-team-bot) wrote on 2018-09-12T18:44:22.672995+00:00

This bug is fixed with commit c75c582e to cloud-init on branch master. To view that commit see the following URL: https://git.launchpad.net/cloud-init/commit/?id=c75c582e

ubuntu-server-builder commented 1 year ago

Launchpad user Scott Moser(smoser) wrote on 2018-10-02T21:13:16.439494+00:00

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

Thank you.

ubuntu-server-builder commented 1 year ago

Launchpad user Scott Moser(smoser) wrote on 2018-10-03T14:11:51.256177+00:00

This is fixed in Ubuntu 18.10. This bug was fixed in the package cloud-init - 18.4-0ubuntu1

cloud-init (18.4-0ubuntu1) cosmic; urgency=medium