canonical / canonical/cloud-init

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

Open
#3,635 12 comments 0 reactions 0 assignees View on GitHub
incomplete launchpad
Dominant language
Python
Stars
3.8k
Forks
1.1k
Avg merge
2d 23h
Merged PRs (30d)
18

Description

This bug was originally filed in Launchpad as [LP: #1869181](https://bugs.launchpad.net/cloud-init/+bug/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...

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.