[Focal] cloud-init service never get nework actived during MaaS deploy.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OEM Priority Project |
New
|
High
|
Alex Tu | ||
cloud-init |
Expired
|
Undecided
|
Unassigned |
Bug Description
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-
三 26 18:34:18 CANONICALID cloud-init[816]: ci-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.
.....[skip]....
三 26 18:36:25 CANONICALID systemd[1]: Starting Network Manager...
Changed in oem-priority: | |
importance: | Undecided → Critical |
tags: | added: oem-priority |
Changed in oem-priority: | |
importance: | Critical → High |
Hello Alex, is it possible for you to collect the full cloud-init logs (using the `cloud-init collect-logs` command) and the full NetworkManager logs, and attach them to this report? Thanks!