Public bug reported:

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...

** Affects: cloud-init
     Importance: Undecided
         Status: New

** Affects: oem-priority
     Importance: Critical
         Status: New

** Also affects: oem-priority
   Importance: Undecided
       Status: New

** Changed in: oem-priority
   Importance: Undecided => Critical

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1869181

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

Status in cloud-init:
  New
Status in OEM Priority Project:
  New

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-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...

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1869181/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to