Skip to content

[Focal] cloud-init service never get nework actived during MaaS deploy. #3635

@ubuntu-server-builder

Description

@ubuntu-server-builder

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

Launchpad details
affected_projects = ['oem-priority']
assignee = None
assignee_name = None
date_closed = None
date_created = 2020-03-26T11:09:18.855722+00:00
date_fix_committed = 2020-04-08T15:29:51.126221+00:00
date_fix_released = 2020-04-08T15:29:51.126221+00:00
id = 1869181
importance = undecided
is_complete = False
lp_url = https://bugs.launchpad.net/cloud-init/+bug/1869181
milestone = None
owner = alextu
owner_name = Alex Tu
private = False
status = incomplete
submitter = alextu
submitter_name = Alex Tu
tags = ['oem-priority']
duplicates = [1880089]

Launchpad user Alex Tu(alextu) wrote on 2020-03-26T11:09:18.855722+00:00

MaaS server used to wait for cloud-init on target reporting status.
It works well on Bionic desktop but failed on Focal desktop.
It might be caused by the ordering of systemd service because the network service always is started after the cloud-init service.

Journalctl:
三 26 18:34:18 CANONICALID cloud-init[816]: Cloud-init v. 20.1-10-g71af48df-0ubuntu2 running 'init' at Thu, 26 Mar 2020 10:34:18 +0000. Up 6.59 seconds.
三 26 18:34:18 CANONICALID cloud-init[816]: ci-info: ++++++++++++++++++++++++++++++++Net device info++++++++++++++++++++++++++++++++
三 26 18:34:18 CANONICALID cloud-init[816]: ci-info: +-----------------+-------+-----------+-----------+-------+-------------------+
三 26 18:34:18 CANONICALID cloud-init[816]: ci-info: | Device | Up | Address | Mask | Scope | Hw-Address |
三 26 18:34:18 CANONICALID cloud-init[816]: ci-info: +-----------------+-------+-----------+-----------+-------+-------------------+
三 26 18:34:18 CANONICALID cloud-init[816]: ci-info: | enx00e04c70045f | False | . | . | . | 00:e0:4c:70:04:5f |
三 26 18:34:18 CANONICALID cloud-init[816]: ci-info: | lo | True | 127.0.0.1 | 255.0.0.0 | host | . |
三 26 18:34:18 CANONICALID cloud-init[816]: ci-info: | lo | True | ::1/128 | . | host | . |
三 26 18:34:18 CANONICALID cloud-init[816]: ci-info: | wlp2s0 | False | . | . | . | 9c:b6:d0:8e:90:81 |
三 26 18:34:18 CANONICALID cloud-init[816]: ci-info: +-----------------+-------+-----------+-----------+-------+-------------------+
.....[skip]....
三 26 18:34:18 CANONICALID cloud-init[816]: 2020-03-26 10:34:18,361 - handlers.py[WARNING]: failed posting event: start: init-network/check-cache: attempting to read from cache [trust]
.....[skip]....
三 26 18:36:25 CANONICALID systemd[1]: Starting Network Manager...

Metadata

Metadata

Assignees

No one assigned

    Labels

    incompleteAction required by submitterlaunchpadMigrated from Launchpad

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions