cloud-init status reports done before boot is finished

Bug #1747965 reported by Ryan Harper on 2018-02-07
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init
Undecided
Unassigned
cloud-init (Ubuntu)
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-wait-online to complete before cloud-config and cloud-final can run.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: cloud-init 17.2-30-gf7deaf15-0ubuntu1
ProcVersionSignature: Ubuntu 4.13.0-31.34~16.04.1-generic 4.13.13
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
PackageArchitecture: all
ProcEnviron:
 TERM=xterm-256color
 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_keys:
   - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDeShzUvzOCPWKyfRt0IsiO4//nyDwe6JgL0ZTHO+Wq1nRsuwysdoX9sAMlhAdgx3q6qbJu6Xa3ug1c4rqyszBBovsoOieF4ZzZzrPV4ekzzAaPB5jqCIRostiIimTnxOrnyRtdZ0F81q1jzL9SfyzlzhIVYvdcleEE8c2ziaNZfAeL/cD9MB9jCcxRTNuMQw27QE2yQ4na2YAm3tB0l6vDfiLIx9hstgwyj13I5VsFcoHNohyN0R+Fq6/Zz5rOHiUieiMcs0+b/khnfYKuqygQRpPWAl35OVJUSUgVnbRQsM9TstOfy5IxFxI5oBtueVX1ZUp/xibsZo/1V3dJkKet rharper@brettanomyces

Related branches

Ryan Harper (raharper) wrote :
Changed in cloud-init (Ubuntu):
assignee: nobody → Chad Smith (chad.smith)
Chad Smith (chad.smith) on 2018-02-07
Changed in cloud-init (Ubuntu):
importance: Undecided → High
status: New → In Progress
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cloud-init - 17.2-34-g644048e3-0ubuntu1

---------------
cloud-init (17.2-34-g644048e3-0ubuntu1) bionic; urgency=medium

  * 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

Changed in cloud-init (Ubuntu):
status: In Progress → Fix Released

This bug is believed to be fixed in cloud-init in 18.1. 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: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers