This bug was originally filed in Launchpad as LP: #2007149
Launchpad details
affected_projects = []
assignee = None
assignee_name = None
date_closed = 2023-02-23T07:45:47.228941+00:00
date_created = 2023-02-13T13:09:39.495644+00:00
date_fix_committed = None
date_fix_released = None
id = 2007149
importance = undecided
is_complete = True
lp_url = https://bugs.launchpad.net/cloud-init/+bug/2007149
milestone = None
owner = rblom
owner_name = Ron
private = False
status = invalid
submitter = rblom
submitter_name = Ron
tags = []
duplicates = []
Launchpad user Ron(rblom) wrote on 2023-02-13T13:09:39.495644+00:00
Hi,
I'm using the latest AlmaLinux 9 GenericCloud image. This has cloud-init 22.1-5.el9.alma and works with OpenNebula. Booting is very slow on OpenNebula because of a 120 seconds timeout.
systemd-analyze blame give me:
2min 3.083s cloud-init-local.service
In de cloud-init.log I see:
2023-02-09 11:30:10,244 - util.py[DEBUG]: Reading from /run/cloud-init/tmp/tmpac937qy0/context.sh (quiet=False)
2023-02-09 11:30:10,245 - util.py[DEBUG]: Read 3674 bytes from /run/cloud-init/tmp/tmpac937qy0/context.sh
2023-02-09 11:30:10,245 - subp.py[DEBUG]: Running command ['sudo', '-u', 'nobody', 'bash', '-e'] with allowed return codes [0] (shell=False, capture=True)
2023-02-09 11:32:10,667 - util.py[DEBUG]: Reading from /sys/class/net/eth0/addr_assign_type (quiet=False)
2023-02-09 11:32:10,668 - util.py[DEBUG]: Read 2 bytes from /sys/class/net/eth0/addr_assign_type
2023-02-09 11:32:10,669 - util.py[DEBUG]: Reading from /sys/class/net/eth0/uevent (quiet=False)
See the two minute timeout after subp.py command.
When running the cloud-init-local.service manually when the machine is started I get the same logging but without the 120 seconds timeout.
This bug was originally filed in Launchpad as LP: #2007149
Launchpad details
Launchpad user Ron(rblom) wrote on 2023-02-13T13:09:39.495644+00:00
Hi,
I'm using the latest AlmaLinux 9 GenericCloud image. This has cloud-init 22.1-5.el9.alma and works with OpenNebula. Booting is very slow on OpenNebula because of a 120 seconds timeout.
systemd-analyze blame give me:
2min 3.083s cloud-init-local.service
In de cloud-init.log I see:
2023-02-09 11:30:10,244 - util.py[DEBUG]: Reading from /run/cloud-init/tmp/tmpac937qy0/context.sh (quiet=False) 2023-02-09 11:30:10,245 - util.py[DEBUG]: Read 3674 bytes from /run/cloud-init/tmp/tmpac937qy0/context.sh 2023-02-09 11:30:10,245 - subp.py[DEBUG]: Running command ['sudo', '-u', 'nobody', 'bash', '-e'] with allowed return codes [0] (shell=False, capture=True) 2023-02-09 11:32:10,667 - util.py[DEBUG]: Reading from /sys/class/net/eth0/addr_assign_type (quiet=False) 2023-02-09 11:32:10,668 - util.py[DEBUG]: Read 2 bytes from /sys/class/net/eth0/addr_assign_type 2023-02-09 11:32:10,669 - util.py[DEBUG]: Reading from /sys/class/net/eth0/uevent (quiet=False)See the two minute timeout after subp.py command.
When running the cloud-init-local.service manually when the machine is started I get the same logging but without the 120 seconds timeout.