cloud-init status reports done before boot is finished
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Fix Released
|
Undecided
|
Unassigned | ||
cloud-init (Ubuntu) |
Fix Released
|
High
|
Chad Smith |
Bug Description
lxc launch ubuntu-daily:bionic b3
lxc exec b3 -- /bin/bash
cloud-init status
This returns 'done' even though cloud-final unit has not even started, typically cloud-init init mode=local has completed but we're waiting on networkd-
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: cloud-init 17.2-30-
ProcVersionSign
Uname: Linux 4.13.0-31-generic x86_64
ApportVersion: 2.20.8-0ubuntu8
Architecture: amd64
CloudName: NoCloud
Date: Wed Feb 7 17:10:29 2018
PackageArchitec
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
LANG=C.UTF-8
SourcePackage: cloud-init
UpgradeStatus: No upgrade log present (probably fresh install)
user_data.txt:
#cloud-config
ssh_authorized
- ssh-rsa AAAAB3NzaC1yc2E
Related branches
- Scott Moser: Pending requested
-
Diff: 722 lines (+396/-58)11 files modifiedcloudinit/cmd/status.py (+4/-1)
cloudinit/cmd/tests/test_status.py (+28/-7)
cloudinit/net/__init__.py (+46/-17)
cloudinit/net/tests/test_init.py (+91/-0)
cloudinit/sources/DataSourceEc2.py (+6/-0)
cloudinit/ssh_util.py (+1/-4)
debian/changelog (+11/-0)
tests/cloud_tests/collect.py (+3/-2)
tests/cloud_tests/platforms/lxd/instance.py (+106/-26)
tests/unittests/test_datasource/test_ec2.py (+58/-1)
tests/unittests/test_sshutil.py (+42/-0)
- Scott Moser: Pending requested
-
Diff: 722 lines (+396/-58)11 files modifiedcloudinit/cmd/status.py (+4/-1)
cloudinit/cmd/tests/test_status.py (+28/-7)
cloudinit/net/__init__.py (+46/-17)
cloudinit/net/tests/test_init.py (+91/-0)
cloudinit/sources/DataSourceEc2.py (+6/-0)
cloudinit/ssh_util.py (+1/-4)
debian/changelog (+11/-0)
tests/cloud_tests/collect.py (+3/-2)
tests/cloud_tests/platforms/lxd/instance.py (+106/-26)
tests/unittests/test_datasource/test_ec2.py (+58/-1)
tests/unittests/test_sshutil.py (+42/-0)
- Ryan Harper: Approve
- Server Team CI bot: Approve (continuous-integration)
-
Diff: 140 lines (+32/-8)2 files modifiedcloudinit/cmd/status.py (+4/-1)
cloudinit/cmd/tests/test_status.py (+28/-7)
Changed in cloud-init (Ubuntu): | |
importance: | Undecided → High |
status: | New → In Progress |
This bug was fixed in the package cloud-init - 17.2-34- g644048e3- 0ubuntu1
--------------- g644048e3- 0ubuntu1) bionic; urgency=medium
cloud-init (17.2-34-
* New upstream snapshot.
- EC2: Fix get_instance_id called against cached datasource pickle.
[Chad Smith] (LP: #1748354)
- cli: fix cloud-init status to report running when before result.json
[Chad Smith] (LP: #1747965)
- net: accept network-config in netplan format for renaming interfaces
[Ryan Harper] (LP: #1709715)
- Fix ssh keys validation in ssh_util [Tatiana Kholkina]
-- Scott Moser <email address hidden> Fri, 09 Feb 2018 17:04:03 -0500