Comment 6 for bug 1834190

Revision history for this message
Chad Smith (chad.smith) wrote : Re: Modules steps not taken into account since 19.1

Hi Jeremy,
thanks for the bug file and for making cloud-init better, taking your cloud-init.log and running cloud-init analyze show on it, it seems you environment isn't running either modules-config stage or modules-final stage. Just init-local and init-network stages which is why status.json has no timestamps for those boot stages. I'm wondering if something in the environment has disabled/avoided running those stages (like a broken systemd dependency chain)

Starting stage: init-local
|`->no cache found @00.00400s +00.00000s
|`->found local data from DataSourceConfigDrive @00.01400s +00.38300s
Finished stage: (init-local) 00.82400 seconds

Starting stage: init-network
|`->restored from cache with run check: DataSourceConfigDrive [net,ver=2][source=/dev/sda4] @06.75200s +00.00400s
|`->setting up datasource @06.80200s +00.00000s
|`->reading and applying user-data @06.82300s +00.00200s
|`->reading and applying vendor-data @06.82500s +00.00400s
|`->activating datasource @06.84900s +00.00100s
|`->config-migrator ran successfully @06.90200s +00.00000s
|`->config-seed_random ran successfully @06.90300s +00.00000s
|`->config-bootcmd ran successfully @06.90400s +00.00000s
|`->config-write-files ran successfully @06.90400s +00.00100s
|`->config-growpart ran successfully @06.90500s +00.01900s
|`->config-resizefs ran successfully @06.92400s +00.37100s
|`->config-disk_setup ran successfully @07.29500s +00.00100s
|`->config-mounts ran successfully @07.29600s +00.14700s
|`->config-set_hostname ran successfully @07.44300s +00.00100s
|`->config-update_hostname ran successfully @07.44500s +00.00000s
|`->config-update_etc_hosts ran successfully @07.44600s +00.00000s
|`->config-ca-certs ran successfully @07.44600s +00.00100s
|`->config-rsyslog ran successfully @07.44700s +00.00000s
|`->config-users-groups ran successfully @07.44800s +00.88100s
|`->config-ssh ran successfully @08.32900s +00.30600s
Finished stage: (init-network) 01.90700 seconds

Total Time: 2.73100 seconds

-- Boot Record 02 --
The total time elapsed since completing an event is printed after the "@" character.
The time the event takes is printed after the "+" character.

Starting stage: init-local
|`->cache invalid in datasource: DataSourceConfigDrive [net,ver=2][source=/dev/sda4] @00.02200s +00.05000s
|`->found local data from DataSourceConfigDrive @00.07400s +00.48400s
Finished stage: (init-local) 00.70800 seconds

Starting stage: init-network
|`->restored from cache with run check: DataSourceConfigDrive [net,ver=2][source=/dev/sda4] @06.43400s +00.00300s
|`->setting up datasource @06.48600s +00.00000s
|`->reading and applying user-data @06.51700s +00.01000s
|`->reading and applying vendor-data @06.52700s +00.00400s
|`->activating datasource @06.55100s +00.00100s
|`->config-migrator ran successfully @06.59200s +00.00100s
|`->config-seed_random previously ran @06.59300s +00.00000s
|`->config-bootcmd ran successfully @06.59300s +00.00100s
|`->config-write-files previously ran @06.59400s +00.00000s
|`->config-growpart ran successfully @06.59400s +00.01900s
|`->config-resizefs ran successfully @06.61400s +00.28000s
|`->config-disk_setup previously ran @06.89500s +00.00000s
|`->config-mounts previously ran @06.89500s +00.00000s
|`->config-set_hostname previously ran @06.89600s +00.00000s
|`->config-update_hostname ran successfully @06.89600s +00.01600s
|`->config-update_etc_hosts ran successfully @06.91200s +00.00100s
|`->config-ca-certs previously ran @06.91300s +00.00000s
|`->config-rsyslog previously ran @06.91300s +00.00000s
|`->config-users-groups previously ran @06.91300s +00.00100s
|`->config-ssh previously ran @06.91400s +00.00000s
Finished stage: (init-network) 00.50400 seconds

Total Time: 1.21200 seconds

2 boot records analyzed