Last active
July 25, 2024 16:50
-
-
Save dch/a7c0c546fba7f65240fb681c5f1c9f1d to your computer and use it in GitHub Desktop.
cloudinit 24.1.4 on FreeBSD fails to use NoCloud provider
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
datasource: | |
NoCloud: | |
seedfrom: file:///root/cloud/ | |
network: | |
config: disabled | |
timeout: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Cloud-init v. 24.1.4 running 'init-local' at Thu, 25 Jul 2024 16:48:33 +0000. Up 273915.0695464611 seconds. | |
2024-07-25 16:48:33,539 - util.py[WARNING]: Getting data from <class 'cloudinit.sources.DataSourceOpenStack.DataSourceOpenStackLocal'> failed | |
Cloud-init v. 24.1.4 running 'init' at Thu, 25 Jul 2024 16:48:33 +0000. Up 273915.3027648926 seconds. | |
ci-info: ++++++++++++++++++++++++++++++++++++++++++++Net device info+++++++++++++++++++++++++++++++++++++++++++++ | |
ci-info: +-----------------+------+------------------------------------+------------+-------+-------------------+ | |
ci-info: | Device | Up | Address | Mask | Scope | Hw-Address | | |
ci-info: +-----------------+------+------------------------------------+------------+-------+-------------------+ | |
ci-info: | igc0 | True | . | . | . | 10:7c:61:1e:67:1e | | |
ci-info: | lo0 | True | . | . | . | . | | |
ci-info: | lo1 | True | 100.64.184.215 | 0xffffffff | . | . | | |
ci-info: | vm-public | True | . | . | . | 16:bb:ff:6b:a3:e0 | | |
ci-info: | zt1flo98dm17np8 | True | . | . | . | 58:9c:fc:10:65:16 | | |
ci-info: | ztagim5o45dhe4c | True | fca2:927d:4de2:8e50:6c98::b8d7/128 | . | . | 58:9c:fc:00:16:3e | | |
ci-info: +-----------------+------+------------------------------------+------------+-------+-------------------+ | |
ci-info: | |
2024-07-25 16:48:54,070 - url_helper.py[ERROR]: Timed out, no response from urls: ['http://[fe80::a9fe:a9fe]/openstack', 'http://169.254.169.254/openstack'] | |
2024-07-25 16:48:54,070 - util.py[WARNING]: No active metadata service found | |
2024-07-25 16:48:54,169 - util.py[WARNING]: Failed to non-persistently adjust the system hostname to clowninit.skunkwerks.at | |
Generating public/private rsa key pair. | |
Your identification has been saved in /etc/ssh/ssh_host_rsa_key | |
Your public key has been saved in /etc/ssh/ssh_host_rsa_key.pub | |
The key fingerprint is: | |
SHA256:kZk2IT3wB6m8V2R3AqWRullPoqL258Ta+AFf1fCKIlE [email protected] | |
The key's randomart image is: | |
+---[RSA 3072]----+ | |
| ooE.o+o | | |
| ++*+oo+. | | |
| ...O=o..oo | | |
| oo.++o.. | | |
| o.S*o+. | | |
| o==o . | | |
| . o= | | |
| o =.. | | |
| . .+++ | | |
+----[SHA256]-----+ | |
Generating public/private ecdsa key pair. | |
Your identification has been saved in /etc/ssh/ssh_host_ecdsa_key | |
Your public key has been saved in /etc/ssh/ssh_host_ecdsa_key.pub | |
The key fingerprint is: | |
SHA256:6ADgTxj0n+IDE4Aj41Q0Im1hTl/gO08gEeb6stsRYrI [email protected] | |
The key's randomart image is: | |
+---[ECDSA 256]---+ | |
|*=X*... | | |
|OOB+.. | | |
|+B=o+ | | |
| o+o.o.. | | |
|++.o+oo S | | |
|o++..* | | |
|E oo o | | |
| + .. | | |
|o.. | | |
+----[SHA256]-----+ | |
Generating public/private ed25519 key pair. | |
Your identification has been saved in /etc/ssh/ssh_host_ed25519_key | |
Your public key has been saved in /etc/ssh/ssh_host_ed25519_key.pub | |
The key fingerprint is: | |
SHA256:6q/ZzEXWD45QSzTYzvuhdyPKCeZ763P1SnRLe+/5yk4 [email protected] | |
The key's randomart image is: | |
+--[ED25519 256]--+ | |
| oo | | |
| .... | | |
| oo | | |
| ooo | | |
| S +.o ...| | |
| . +.o.+o.o| | |
| . o oo.oE+.| | |
| . B ++.=+o =| | |
| +oB+** +=*=| | |
+----[SHA256]-----+ | |
Cloud-init v. 24.1.4 running 'modules:config' at Thu, 25 Jul 2024 16:48:55 +0000. Up 273936.75622057915 seconds. | |
Cloud-init v. 24.1.4 running 'modules:final' at Thu, 25 Jul 2024 16:48:55 +0000. Up 273936.9978647232 seconds. | |
Cloud-init v. 24.1.4 finished at Thu, 25 Jul 2024 16:48:55 +0000. Datasource DataSourceNone. Up 273937.06209254265 seconds | |
2024-07-25 16:48:55,495 - cc_final_message.py[WARNING]: Used fallback datasource |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2024-07-25 16:48:33,514 - util.py[DEBUG]: Cloud-init v. 24.1.4 running 'init-local' at Thu, 25 Jul 2024 16:48:33 +0000. Up 273915.0695464611 seconds. | |
2024-07-25 16:48:33,514 - main.py[DEBUG]: No kernel command line url found. | |
2024-07-25 16:48:33,514 - main.py[DEBUG]: Closing stdin. | |
2024-07-25 16:48:33,515 - util.py[DEBUG]: Writing to /var/log/cloud-init.log - ab: [640] 0 bytes | |
2024-07-25 16:48:33,515 - util.py[DEBUG]: Changing the ownership of /var/log/cloud-init.log to 0:0 | |
2024-07-25 16:48:33,515 - util.py[DEBUG]: Writing to /var/lib/cloud/data/python-version - wb: [644] 4 bytes | |
2024-07-25 16:48:33,515 - util.py[DEBUG]: Attempting to remove /var/lib/cloud/instance/boot-finished | |
2024-07-25 16:48:33,516 - handlers.py[DEBUG]: start: init-local/check-cache: attempting to read from cache [check] | |
2024-07-25 16:48:33,516 - util.py[DEBUG]: Reading from /var/lib/cloud/instance/obj.pkl (quiet=False) | |
2024-07-25 16:48:33,516 - stages.py[DEBUG]: no cache found | |
2024-07-25 16:48:33,516 - handlers.py[DEBUG]: finish: init-local/check-cache: SUCCESS: no cache found | |
2024-07-25 16:48:33,516 - util.py[DEBUG]: Attempting to remove /var/lib/cloud/instance | |
2024-07-25 16:48:33,516 - stages.py[DEBUG]: Using distro class <class 'cloudinit.distros.freebsd.Distro'> | |
2024-07-25 16:48:33,516 - subp.py[DEBUG]: Running command ['ifconfig', '-a'] with allowed return codes [0] (shell=False, capture=True) | |
2024-07-25 16:48:33,524 - sources[DEBUG]: Looking for data source in: ['OpenStack', 'None'], via packages ['', 'cloudinit.sources'] that matches dependencies ['FILESYSTEM'] | |
2024-07-25 16:48:33,526 - sources[DEBUG]: Searching for local data source in: ['DataSourceOpenStackLocal'] | |
2024-07-25 16:48:33,526 - handlers.py[DEBUG]: start: init-local/search-OpenStackLocal: searching for local data from DataSourceOpenStackLocal | |
2024-07-25 16:48:33,526 - sources[DEBUG]: Seeing if we can get any data from <class 'cloudinit.sources.DataSourceOpenStack.DataSourceOpenStackLocal'> | |
2024-07-25 16:48:33,526 - sources[DEBUG]: Update datasource metadata and network config due to events: boot-new-instance | |
2024-07-25 16:48:33,527 - sources[DEBUG]: Detected platform: DataSourceOpenStackLocal [net,ver=None]. Checking for active instance data | |
2024-07-25 16:48:33,527 - subp.py[DEBUG]: Running command ['ifconfig', '-l', '-u', 'ether'] with allowed return codes [0] (shell=False, capture=True) | |
2024-07-25 16:48:33,533 - distros[DEBUG]: DHCP client not found: dhcpcd | |
2024-07-25 16:48:33,533 - distros[DEBUG]: DHCP client selected: dhclient | |
2024-07-25 16:48:33,533 - dhcp.py[DEBUG]: Performing a dhcp discovery on igc0 | |
2024-07-25 16:48:33,533 - subp.py[DEBUG]: Running command ['ifconfig', 'igc0', 'up'] with allowed return codes [0] (shell=False, capture=True) | |
2024-07-25 16:48:33,539 - handlers.py[DEBUG]: finish: init-local/search-OpenStackLocal: FAIL: no local data found from DataSourceOpenStackLocal | |
2024-07-25 16:48:33,539 - util.py[WARNING]: Getting data from <class 'cloudinit.sources.DataSourceOpenStack.DataSourceOpenStackLocal'> failed | |
2024-07-25 16:48:33,539 - util.py[DEBUG]: Getting data from <class 'cloudinit.sources.DataSourceOpenStack.DataSourceOpenStackLocal'> failed | |
Traceback (most recent call last): | |
File "/usr/local/lib/python3.11/site-packages/cloudinit/sources/__init__.py", line 1028, in find_source | |
if s.update_metadata_if_supported( | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File "/usr/local/lib/python3.11/site-packages/cloudinit/sources/__init__.py", line 914, in update_metadata_if_supported | |
result = self.get_data() | |
^^^^^^^^^^^^^^^ | |
File "/usr/local/lib/python3.11/site-packages/cloudinit/sources/__init__.py", line 460, in get_data | |
return_value = self._check_and_get_data() | |
^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File "/usr/local/lib/python3.11/site-packages/cloudinit/sources/__init__.py", line 392, in _check_and_get_data | |
return self._get_data() | |
^^^^^^^^^^^^^^^^ | |
File "/usr/local/lib/python3.11/site-packages/cloudinit/sources/DataSourceOpenStack.py", line 156, in _get_data | |
with EphemeralDHCPv4( | |
File "/usr/local/lib/python3.11/site-packages/cloudinit/net/ephemeral.py", line 269, in __enter__ | |
return self.obtain_lease() | |
^^^^^^^^^^^^^^^^^^^ | |
File "/usr/local/lib/python3.11/site-packages/cloudinit/net/ephemeral.py", line 292, in obtain_lease | |
self.lease = maybe_perform_dhcp_discovery( | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File "/usr/local/lib/python3.11/site-packages/cloudinit/net/dhcp.py", line 103, in maybe_perform_dhcp_discovery | |
return distro.dhcp_client.dhcp_discovery(interface, dhcp_log_func, distro) | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File "/usr/local/lib/python3.11/site-packages/cloudinit/net/dhcp.py", line 329, in dhcp_discovery | |
distro.net_ops.link_up(interface) | |
File "/usr/local/lib/python3.11/site-packages/cloudinit/net/netops/bsd_netops.py", line 10, in link_up | |
subp.subp(["ifconfig", interface, "up"]) | |
File "/usr/local/lib/python3.11/site-packages/cloudinit/subp.py", line 298, in subp | |
raise ProcessExecutionError( | |
cloudinit.subp.ProcessExecutionError: Unexpected error while running command. | |
Command: ['ifconfig', 'igc0', 'up'] | |
Exit code: 1 | |
Reason: - | |
Stdout: | |
Stderr: ifconfig: up: permission denied | |
2024-07-25 16:48:33,540 - main.py[DEBUG]: No local datasource found | |
2024-07-25 16:48:33,540 - subp.py[DEBUG]: Running command ['ifconfig', '-a', 'ether'] with allowed return codes [0] (shell=False, capture=True) | |
2024-07-25 16:48:33,542 - util.py[DEBUG]: Reading from /sys/class/net/igc0/address (quiet=False) | |
2024-07-25 16:48:33,542 - util.py[DEBUG]: Reading from /sys/class/net/zt1flo98dm17np8/address (quiet=False) | |
2024-07-25 16:48:33,543 - util.py[DEBUG]: Reading from /sys/class/net/ztagim5o45dhe4c/address (quiet=False) | |
2024-07-25 16:48:33,543 - util.py[DEBUG]: Reading from /sys/class/net/vm-public/address (quiet=False) | |
2024-07-25 16:48:33,543 - stages.py[DEBUG]: network config disabled by system_cfg | |
2024-07-25 16:48:33,543 - stages.py[INFO]: network config is disabled by system_cfg | |
2024-07-25 16:48:33,543 - main.py[DEBUG]: [local] Exiting without datasource | |
2024-07-25 16:48:33,543 - atomic_helper.py[DEBUG]: Atomically writing to file /var/lib/cloud/data/status.json (via temporary file /var/lib/cloud/data/tmpftcnn4uf) - w: [644] 651 bytes/chars | |
2024-07-25 16:48:33,543 - util.py[DEBUG]: cloud-init mode 'init' took 0.076 seconds (0.08) | |
2024-07-25 16:48:33,543 - handlers.py[DEBUG]: finish: init-local: FAIL: searching for local datasources | |
2024-07-25 16:48:33,747 - util.py[DEBUG]: Cloud-init v. 24.1.4 running 'init' at Thu, 25 Jul 2024 16:48:33 +0000. Up 273915.3027648926 seconds. | |
2024-07-25 16:48:33,747 - main.py[DEBUG]: No kernel command line url found. | |
2024-07-25 16:48:33,747 - main.py[DEBUG]: Closing stdin. | |
2024-07-25 16:48:33,748 - util.py[DEBUG]: Writing to /var/log/cloud-init.log - ab: [640] 0 bytes | |
2024-07-25 16:48:33,748 - util.py[DEBUG]: Changing the ownership of /var/log/cloud-init.log to 0:0 | |
2024-07-25 16:48:33,748 - subp.py[DEBUG]: Running command ['ifconfig', '-a'] with allowed return codes [0, 1] (shell=False, capture=True) | |
2024-07-25 16:48:33,755 - subp.py[DEBUG]: Running command ['netstat', '--route', '--numeric', '--extend'] with allowed return codes [0, 1] (shell=False, capture=True) | |
2024-07-25 16:48:33,761 - subp.py[DEBUG]: Running command ['netstat', '-A', 'inet6', '--route', '--numeric'] with allowed return codes [0, 1] (shell=False, capture=True) | |
2024-07-25 16:48:33,767 - handlers.py[DEBUG]: start: init-network/check-cache: attempting to read from cache [trust] | |
2024-07-25 16:48:33,767 - util.py[DEBUG]: Reading from /var/lib/cloud/instance/obj.pkl (quiet=False) | |
2024-07-25 16:48:33,767 - stages.py[DEBUG]: no cache found | |
2024-07-25 16:48:33,767 - handlers.py[DEBUG]: finish: init-network/check-cache: SUCCESS: no cache found | |
2024-07-25 16:48:33,767 - util.py[DEBUG]: Attempting to remove /var/lib/cloud/instance | |
2024-07-25 16:48:33,768 - stages.py[DEBUG]: Using distro class <class 'cloudinit.distros.freebsd.Distro'> | |
2024-07-25 16:48:33,768 - subp.py[DEBUG]: Running command ['ifconfig', '-a'] with allowed return codes [0] (shell=False, capture=True) | |
2024-07-25 16:48:33,776 - sources[DEBUG]: Looking for data source in: ['OpenStack', 'None'], via packages ['', 'cloudinit.sources'] that matches dependencies ['FILESYSTEM', 'NETWORK'] | |
2024-07-25 16:48:33,778 - sources[DEBUG]: Searching for network data source in: ['DataSourceOpenStack', 'DataSourceNone'] | |
2024-07-25 16:48:33,778 - handlers.py[DEBUG]: start: init-network/search-OpenStack: searching for network data from DataSourceOpenStack | |
2024-07-25 16:48:33,778 - sources[DEBUG]: Seeing if we can get any data from <class 'cloudinit.sources.DataSourceOpenStack.DataSourceOpenStack'> | |
2024-07-25 16:48:33,778 - sources[DEBUG]: Update datasource metadata and network config due to events: boot-new-instance | |
2024-07-25 16:48:33,778 - sources[DEBUG]: Detected platform: DataSourceOpenStack [net,ver=None]. Checking for active instance data | |
2024-07-25 16:48:44,068 - util.py[DEBUG]: Resolving URL: http://[fe80::a9fe:a9fe] took 10.290 seconds | |
2024-07-25 16:48:44,068 - util.py[DEBUG]: Resolving URL: http://169.254.169.254 took 0.000 seconds | |
2024-07-25 16:48:44,068 - url_helper.py[DEBUG]: [0/1] open 'http://[fe80::a9fe:a9fe]/openstack' with {'url': 'http://[fe80::a9fe:a9fe]/openstack', 'stream': False, 'allow_redirects': True, 'method': 'GET', 'timeout': 10.0, 'headers': {'User-Agent': 'Cloud-Init/24.1.4'}} configuration | |
2024-07-25 16:48:44,219 - url_helper.py[DEBUG]: [0/1] open 'http://169.254.169.254/openstack' with {'url': 'http://169.254.169.254/openstack', 'stream': False, 'allow_redirects': True, 'method': 'GET', 'timeout': 10.0, 'headers': {'User-Agent': 'Cloud-Init/24.1.4'}} configuration | |
2024-07-25 16:48:54,070 - url_helper.py[DEBUG]: Calling 'url ? None' failed [10/-1s]: unexpected error [sequence item 0: expected str instance, UrlError found] | |
2024-07-25 16:48:54,070 - url_helper.py[ERROR]: Timed out, no response from urls: ['http://[fe80::a9fe:a9fe]/openstack', 'http://169.254.169.254/openstack'] | |
2024-07-25 16:48:54,070 - DataSourceOpenStack.py[DEBUG]: Giving up on OpenStack md from ['http://[fe80::a9fe:a9fe]/openstack', 'http://169.254.169.254/openstack'] after 10 seconds | |
2024-07-25 16:48:54,070 - util.py[WARNING]: No active metadata service found | |
2024-07-25 16:48:54,070 - util.py[DEBUG]: No active metadata service found | |
Traceback (most recent call last): | |
File "/usr/local/lib/python3.11/site-packages/cloudinit/sources/DataSourceOpenStack.py", line 169, in _get_data | |
results = self._crawl_metadata() | |
^^^^^^^^^^^^^^^^^^^^^^ | |
File "/usr/local/lib/python3.11/site-packages/cloudinit/sources/DataSourceOpenStack.py", line 213, in _crawl_metadata | |
raise sources.InvalidMetaDataException( | |
cloudinit.sources.InvalidMetaDataException: No active metadata service found | |
2024-07-25 16:48:54,071 - sources[DEBUG]: Datasource DataSourceOpenStack [net,ver=None] not updated for events: boot-new-instance | |
2024-07-25 16:48:54,071 - handlers.py[DEBUG]: finish: init-network/search-OpenStack: SUCCESS: no network data found from DataSourceOpenStack | |
2024-07-25 16:48:54,071 - handlers.py[DEBUG]: start: init-network/search-None: searching for network data from DataSourceNone | |
2024-07-25 16:48:54,071 - sources[DEBUG]: Seeing if we can get any data from <class 'cloudinit.sources.DataSourceNone.DataSourceNone'> | |
2024-07-25 16:48:54,071 - sources[DEBUG]: Update datasource metadata and network config due to events: boot-new-instance | |
2024-07-25 16:48:54,071 - sources[DEBUG]: Detected platform: DataSourceNone. Checking for active instance data | |
2024-07-25 16:48:54,071 - util.py[DEBUG]: Reading from /etc/hosts (quiet=False) | |
2024-07-25 16:48:54,071 - util.py[DEBUG]: Read 1035 bytes from /etc/hosts | |
2024-07-25 16:48:54,072 - util.py[DEBUG]: Writing to /var/run/cloud-init/cloud-id-none - wb: [644] 5 bytes | |
2024-07-25 16:48:54,072 - util.py[DEBUG]: Creating symbolic link from '/var/run/cloud-init/cloud-id' => '/var/run/cloud-init/cloud-id-none' | |
2024-07-25 16:48:54,072 - atomic_helper.py[DEBUG]: Atomically writing to file /var/run/cloud-init/instance-data-sensitive.json (via temporary file /var/run/cloud-init/tmpd7zgqs88) - w: [600] 7770 bytes/chars | |
2024-07-25 16:48:54,072 - atomic_helper.py[DEBUG]: Atomically writing to file /var/run/cloud-init/instance-data.json (via temporary file /var/run/cloud-init/tmpnam4cvlw) - w: [644] 1425 bytes/chars | |
2024-07-25 16:48:54,073 - handlers.py[DEBUG]: finish: init-network/search-None: SUCCESS: found network data from DataSourceNone | |
2024-07-25 16:48:54,073 - stages.py[INFO]: Loaded datasource DataSourceNone - DataSourceNone | |
2024-07-25 16:48:54,073 - util.py[DEBUG]: Reading from /usr/local/etc/cloud/cloud.cfg (quiet=False) | |
2024-07-25 16:48:54,073 - util.py[DEBUG]: Read 2236 bytes from /usr/local/etc/cloud/cloud.cfg | |
2024-07-25 16:48:54,073 - util.py[DEBUG]: Attempting to load yaml from string of length 2236 with allowed root types (<class 'dict'>,) | |
2024-07-25 16:48:54,075 - util.py[DEBUG]: Reading from /usr/local/etc/cloud/cloud.cfg.d/99_freebsd.cfg (quiet=False) | |
2024-07-25 16:48:54,075 - util.py[DEBUG]: Read 59 bytes from /usr/local/etc/cloud/cloud.cfg.d/99_freebsd.cfg | |
2024-07-25 16:48:54,075 - util.py[DEBUG]: Attempting to load yaml from string of length 59 with allowed root types (<class 'dict'>,) | |
2024-07-25 16:48:54,075 - util.py[DEBUG]: Reading from /usr/local/etc/cloud/cloud.cfg.d/05_logging.cfg (quiet=False) | |
2024-07-25 16:48:54,075 - util.py[DEBUG]: Read 2071 bytes from /usr/local/etc/cloud/cloud.cfg.d/05_logging.cfg | |
2024-07-25 16:48:54,075 - util.py[DEBUG]: Attempting to load yaml from string of length 2071 with allowed root types (<class 'dict'>,) | |
2024-07-25 16:48:54,076 - util.py[DEBUG]: Reading from /usr/local/etc/cloud/cloud.cfg.d/00_nocloud.cfg (quiet=False) | |
2024-07-25 16:48:54,076 - util.py[DEBUG]: Read 98 bytes from /usr/local/etc/cloud/cloud.cfg.d/00_nocloud.cfg | |
2024-07-25 16:48:54,076 - util.py[DEBUG]: Attempting to load yaml from string of length 98 with allowed root types (<class 'dict'>,) | |
2024-07-25 16:48:54,076 - util.py[DEBUG]: Reading from /run/cloud-init/cloud.cfg (quiet=False) | |
2024-07-25 16:48:54,076 - util.py[DEBUG]: Attempting to load yaml from string of length 0 with allowed root types (<class 'dict'>,) | |
2024-07-25 16:48:54,076 - util.py[DEBUG]: loaded blob returned None, returning default. | |
2024-07-25 16:48:54,076 - util.py[DEBUG]: Reading from /usr/local/etc/cloud/cloud.cfg (quiet=False) | |
2024-07-25 16:48:54,076 - util.py[DEBUG]: Read 2236 bytes from /usr/local/etc/cloud/cloud.cfg | |
2024-07-25 16:48:54,076 - util.py[DEBUG]: Attempting to load yaml from string of length 2236 with allowed root types (<class 'dict'>,) | |
2024-07-25 16:48:54,078 - util.py[DEBUG]: Reading from /usr/local/etc/cloud/cloud.cfg.d/99_freebsd.cfg (quiet=False) | |
2024-07-25 16:48:54,078 - util.py[DEBUG]: Read 59 bytes from /usr/local/etc/cloud/cloud.cfg.d/99_freebsd.cfg | |
2024-07-25 16:48:54,078 - util.py[DEBUG]: Attempting to load yaml from string of length 59 with allowed root types (<class 'dict'>,) | |
2024-07-25 16:48:54,078 - util.py[DEBUG]: Reading from /usr/local/etc/cloud/cloud.cfg.d/05_logging.cfg (quiet=False) | |
2024-07-25 16:48:54,078 - util.py[DEBUG]: Read 2071 bytes from /usr/local/etc/cloud/cloud.cfg.d/05_logging.cfg | |
2024-07-25 16:48:54,078 - util.py[DEBUG]: Attempting to load yaml from string of length 2071 with allowed root types (<class 'dict'>,) | |
2024-07-25 16:48:54,079 - util.py[DEBUG]: Reading from /usr/local/etc/cloud/cloud.cfg.d/00_nocloud.cfg (quiet=False) | |
2024-07-25 16:48:54,079 - util.py[DEBUG]: Read 98 bytes from /usr/local/etc/cloud/cloud.cfg.d/00_nocloud.cfg | |
2024-07-25 16:48:54,079 - util.py[DEBUG]: Attempting to load yaml from string of length 98 with allowed root types (<class 'dict'>,) | |
2024-07-25 16:48:54,080 - util.py[DEBUG]: Reading from /var/run/cloud-init/cloud.cfg (quiet=False) | |
2024-07-25 16:48:54,080 - util.py[DEBUG]: Read 37 bytes from /var/run/cloud-init/cloud.cfg | |
2024-07-25 16:48:54,080 - util.py[DEBUG]: Attempting to load yaml from string of length 37 with allowed root types (<class 'dict'>,) | |
2024-07-25 16:48:54,080 - util.py[DEBUG]: Attempting to load yaml from string of length 0 with allowed root types (<class 'dict'>,) | |
2024-07-25 16:48:54,080 - util.py[DEBUG]: loaded blob returned None, returning default. | |
2024-07-25 16:48:54,080 - util.py[DEBUG]: Attempting to remove /var/lib/cloud/instance | |
2024-07-25 16:48:54,080 - util.py[DEBUG]: Creating symbolic link from '/var/lib/cloud/instance' => '/var/lib/cloud/instances/iid-datasource-none' | |
2024-07-25 16:48:54,080 - util.py[DEBUG]: Reading from /var/lib/cloud/instances/iid-datasource-none/datasource (quiet=False) | |
2024-07-25 16:48:54,081 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/iid-datasource-none/datasource - wb: [644] 31 bytes | |
2024-07-25 16:48:54,081 - util.py[DEBUG]: Writing to /var/lib/cloud/data/previous-datasource - wb: [644] 31 bytes | |
2024-07-25 16:48:54,081 - util.py[DEBUG]: Reading from /var/lib/cloud/data/instance-id (quiet=False) | |
2024-07-25 16:48:54,081 - stages.py[DEBUG]: previous iid found to be NO_PREVIOUS_INSTANCE_ID | |
2024-07-25 16:48:54,081 - util.py[DEBUG]: Writing to /var/lib/cloud/data/instance-id - wb: [644] 20 bytes | |
2024-07-25 16:48:54,081 - util.py[DEBUG]: Writing to /var/run/cloud-init/.instance-id - wb: [644] 20 bytes | |
2024-07-25 16:48:54,081 - util.py[DEBUG]: Writing to /var/lib/cloud/data/previous-instance-id - wb: [644] 24 bytes | |
2024-07-25 16:48:54,081 - util.py[DEBUG]: Writing to /var/lib/cloud/instance/obj.pkl - wb: [400] 6442 bytes | |
2024-07-25 16:48:54,082 - main.py[DEBUG]: [net] init will now be targeting instance id: iid-datasource-none. new=True | |
2024-07-25 16:48:54,082 - util.py[DEBUG]: Reading from /usr/local/etc/cloud/cloud.cfg (quiet=False) | |
2024-07-25 16:48:54,082 - util.py[DEBUG]: Read 2236 bytes from /usr/local/etc/cloud/cloud.cfg | |
2024-07-25 16:48:54,082 - util.py[DEBUG]: Attempting to load yaml from string of length 2236 with allowed root types (<class 'dict'>,) | |
2024-07-25 16:48:54,083 - util.py[DEBUG]: Reading from /usr/local/etc/cloud/cloud.cfg.d/99_freebsd.cfg (quiet=False) | |
2024-07-25 16:48:54,084 - util.py[DEBUG]: Read 59 bytes from /usr/local/etc/cloud/cloud.cfg.d/99_freebsd.cfg | |
2024-07-25 16:48:54,084 - util.py[DEBUG]: Attempting to load yaml from string of length 59 with allowed root types (<class 'dict'>,) | |
2024-07-25 16:48:54,084 - util.py[DEBUG]: Reading from /usr/local/etc/cloud/cloud.cfg.d/05_logging.cfg (quiet=False) | |
2024-07-25 16:48:54,084 - util.py[DEBUG]: Read 2071 bytes from /usr/local/etc/cloud/cloud.cfg.d/05_logging.cfg | |
2024-07-25 16:48:54,084 - util.py[DEBUG]: Attempting to load yaml from string of length 2071 with allowed root types (<class 'dict'>,) | |
2024-07-25 16:48:54,084 - util.py[DEBUG]: Reading from /usr/local/etc/cloud/cloud.cfg.d/00_nocloud.cfg (quiet=False) | |
2024-07-25 16:48:54,085 - util.py[DEBUG]: Read 98 bytes from /usr/local/etc/cloud/cloud.cfg.d/00_nocloud.cfg | |
2024-07-25 16:48:54,085 - util.py[DEBUG]: Attempting to load yaml from string of length 98 with allowed root types (<class 'dict'>,) | |
2024-07-25 16:48:54,085 - util.py[DEBUG]: Reading from /run/cloud-init/cloud.cfg (quiet=False) | |
2024-07-25 16:48:54,085 - util.py[DEBUG]: Attempting to load yaml from string of length 0 with allowed root types (<class 'dict'>,) | |
2024-07-25 16:48:54,085 - util.py[DEBUG]: loaded blob returned None, returning default. | |
2024-07-25 16:48:54,085 - util.py[DEBUG]: Reading from /usr/local/etc/cloud/cloud.cfg (quiet=False) | |
2024-07-25 16:48:54,085 - util.py[DEBUG]: Read 2236 bytes from /usr/local/etc/cloud/cloud.cfg | |
2024-07-25 16:48:54,085 - util.py[DEBUG]: Attempting to load yaml from string of length 2236 with allowed root types (<class 'dict'>,) | |
2024-07-25 16:48:54,087 - util.py[DEBUG]: Reading from /usr/local/etc/cloud/cloud.cfg.d/99_freebsd.cfg (quiet=False) | |
2024-07-25 16:48:54,087 - util.py[DEBUG]: Read 59 bytes from /usr/local/etc/cloud/cloud.cfg.d/99_freebsd.cfg | |
2024-07-25 16:48:54,087 - util.py[DEBUG]: Attempting to load yaml from string of length 59 with allowed root types (<class 'dict'>,) | |
2024-07-25 16:48:54,087 - util.py[DEBUG]: Reading from /usr/local/etc/cloud/cloud.cfg.d/05_logging.cfg (quiet=False) | |
2024-07-25 16:48:54,087 - util.py[DEBUG]: Read 2071 bytes from /usr/local/etc/cloud/cloud.cfg.d/05_logging.cfg | |
2024-07-25 16:48:54,087 - util.py[DEBUG]: Attempting to load yaml from string of length 2071 with allowed root types (<class 'dict'>,) | |
2024-07-25 16:48:54,088 - util.py[DEBUG]: Reading from /usr/local/etc/cloud/cloud.cfg.d/00_nocloud.cfg (quiet=False) | |
2024-07-25 16:48:54,088 - util.py[DEBUG]: Read 98 bytes from /usr/local/etc/cloud/cloud.cfg.d/00_nocloud.cfg | |
2024-07-25 16:48:54,088 - util.py[DEBUG]: Attempting to load yaml from string of length 98 with allowed root types (<class 'dict'>,) | |
2024-07-25 16:48:54,088 - util.py[DEBUG]: Reading from /var/run/cloud-init/cloud.cfg (quiet=False) | |
2024-07-25 16:48:54,088 - util.py[DEBUG]: Read 37 bytes from /var/run/cloud-init/cloud.cfg | |
2024-07-25 16:48:54,088 - util.py[DEBUG]: Attempting to load yaml from string of length 37 with allowed root types (<class 'dict'>,) | |
2024-07-25 16:48:54,089 - util.py[DEBUG]: Attempting to load yaml from string of length 0 with allowed root types (<class 'dict'>,) | |
2024-07-25 16:48:54,089 - util.py[DEBUG]: loaded blob returned None, returning default. | |
2024-07-25 16:48:54,089 - subp.py[DEBUG]: Running command ['ifconfig', '-a', 'ether'] with allowed return codes [0] (shell=False, capture=True) | |
2024-07-25 16:48:54,095 - util.py[DEBUG]: Reading from /sys/class/net/igc0/address (quiet=False) | |
2024-07-25 16:48:54,095 - util.py[DEBUG]: Reading from /sys/class/net/zt1flo98dm17np8/address (quiet=False) | |
2024-07-25 16:48:54,095 - util.py[DEBUG]: Reading from /sys/class/net/ztagim5o45dhe4c/address (quiet=False) | |
2024-07-25 16:48:54,095 - util.py[DEBUG]: Reading from /sys/class/net/vm-public/address (quiet=False) | |
2024-07-25 16:48:54,096 - stages.py[DEBUG]: network config disabled by system_cfg | |
2024-07-25 16:48:54,096 - stages.py[INFO]: network config is disabled by system_cfg | |
2024-07-25 16:48:54,096 - handlers.py[DEBUG]: start: init-network/setup-datasource: setting up datasource | |
2024-07-25 16:48:54,096 - handlers.py[DEBUG]: finish: init-network/setup-datasource: SUCCESS: setting up datasource | |
2024-07-25 16:48:54,096 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/iid-datasource-none/user-data.txt - wb: [600] 0 bytes | |
2024-07-25 16:48:54,097 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/iid-datasource-none/user-data.txt.i - wb: [600] 308 bytes | |
2024-07-25 16:48:54,097 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/iid-datasource-none/vendor-data.txt - wb: [600] 0 bytes | |
2024-07-25 16:48:54,097 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/iid-datasource-none/vendor-data.txt.i - wb: [600] 308 bytes | |
2024-07-25 16:48:54,098 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/iid-datasource-none/vendor-data2.txt - wb: [600] 0 bytes | |
2024-07-25 16:48:54,098 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/iid-datasource-none/vendor-data2.txt.i - wb: [600] 308 bytes | |
2024-07-25 16:48:54,098 - stages.py[DEBUG]: Using distro class <class 'cloudinit.distros.freebsd.Distro'> | |
2024-07-25 16:48:54,098 - subp.py[DEBUG]: Running command ['ifconfig', '-a'] with allowed return codes [0] (shell=False, capture=True) | |
2024-07-25 16:48:54,106 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/iid-datasource-none/sem/consume_data - wb: [644] 26 bytes | |
2024-07-25 16:48:54,106 - helpers.py[DEBUG]: Running consume_data using lock (<FileLock using file '/var/lib/cloud/instances/iid-datasource-none/sem/consume_data'>) | |
2024-07-25 16:48:54,106 - handlers.py[DEBUG]: start: init-network/consume-user-data: reading and applying user-data | |
2024-07-25 16:48:54,106 - stages.py[DEBUG]: Added default handler for {'text/cloud-config', 'text/cloud-config-jsonp'} from CloudConfigPartHandler: [['text/cloud-config', 'text/cloud-config-jsonp']] | |
2024-07-25 16:48:54,106 - stages.py[DEBUG]: Added default handler for {'text/x-shellscript'} from ShellScriptPartHandler: [['text/x-shellscript']] | |
2024-07-25 16:48:54,106 - stages.py[DEBUG]: Added default handler for {'text/x-shellscript-per-boot'} from ShellScriptByFreqPartHandler: [['text/x-shellscript-per-boot']] | |
2024-07-25 16:48:54,106 - stages.py[DEBUG]: Added default handler for {'text/x-shellscript-per-instance'} from ShellScriptByFreqPartHandler: [['text/x-shellscript-per-instance']] | |
2024-07-25 16:48:54,106 - stages.py[DEBUG]: Added default handler for {'text/x-shellscript-per-once'} from ShellScriptByFreqPartHandler: [['text/x-shellscript-per-once']] | |
2024-07-25 16:48:54,106 - stages.py[DEBUG]: Added default handler for {'text/cloud-boothook'} from BootHookPartHandler: [['text/cloud-boothook']] | |
2024-07-25 16:48:54,106 - stages.py[DEBUG]: Added default handler for {'text/jinja2'} from JinjaTemplatePartHandler: [['text/jinja2']] | |
2024-07-25 16:48:54,106 - handlers[DEBUG]: Calling handler CloudConfigPartHandler: [['text/cloud-config', 'text/cloud-config-jsonp']] (__begin__, None, 3) with frequency once-per-instance | |
2024-07-25 16:48:54,106 - handlers[DEBUG]: Calling handler ShellScriptPartHandler: [['text/x-shellscript']] (__begin__, None, 2) with frequency once-per-instance | |
2024-07-25 16:48:54,106 - handlers[DEBUG]: Calling handler ShellScriptByFreqPartHandler: [['text/x-shellscript-per-boot']] (__begin__, None, 2) with frequency once-per-instance | |
2024-07-25 16:48:54,106 - handlers[DEBUG]: Calling handler ShellScriptByFreqPartHandler: [['text/x-shellscript-per-instance']] (__begin__, None, 2) with frequency once-per-instance | |
2024-07-25 16:48:54,106 - handlers[DEBUG]: Calling handler ShellScriptByFreqPartHandler: [['text/x-shellscript-per-once']] (__begin__, None, 2) with frequency once-per-instance | |
2024-07-25 16:48:54,106 - handlers[DEBUG]: Calling handler BootHookPartHandler: [['text/cloud-boothook']] (__begin__, None, 2) with frequency once-per-instance | |
2024-07-25 16:48:54,106 - handlers[DEBUG]: Calling handler JinjaTemplatePartHandler: [['text/jinja2']] (__begin__, None, 3) with frequency once-per-instance | |
2024-07-25 16:48:54,107 - handlers[DEBUG]: {'MIME-Version': '1.0', 'Content-Type': 'text/x-not-multipart', 'Content-Disposition': 'attachment; filename="part-001"'} | |
2024-07-25 16:48:54,107 - handlers[DEBUG]: Empty payload of type text/x-not-multipart | |
2024-07-25 16:48:54,107 - handlers[DEBUG]: Calling handler CloudConfigPartHandler: [['text/cloud-config', 'text/cloud-config-jsonp']] (__end__, None, 3) with frequency once-per-instance | |
2024-07-25 16:48:54,107 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/iid-datasource-none/cloud-config.txt - wb: [600] 0 bytes | |
2024-07-25 16:48:54,107 - handlers[DEBUG]: Calling handler ShellScriptPartHandler: [['text/x-shellscript']] (__end__, None, 2) with frequency once-per-instance | |
2024-07-25 16:48:54,107 - handlers[DEBUG]: Calling handler ShellScriptByFreqPartHandler: [['text/x-shellscript-per-boot']] (__end__, None, 2) with frequency once-per-instance | |
2024-07-25 16:48:54,107 - handlers[DEBUG]: Calling handler ShellScriptByFreqPartHandler: [['text/x-shellscript-per-instance']] (__end__, None, 2) with frequency once-per-instance | |
2024-07-25 16:48:54,107 - handlers[DEBUG]: Calling handler ShellScriptByFreqPartHandler: [['text/x-shellscript-per-once']] (__end__, None, 2) with frequency once-per-instance | |
2024-07-25 16:48:54,107 - handlers[DEBUG]: Calling handler BootHookPartHandler: [['text/cloud-boothook']] (__end__, None, 2) with frequency once-per-instance | |
2024-07-25 16:48:54,107 - handlers[DEBUG]: Calling handler JinjaTemplatePartHandler: [['text/jinja2']] (__end__, None, 3) with frequency once-per-instance | |
2024-07-25 16:48:54,107 - handlers.py[DEBUG]: finish: init-network/consume-user-data: SUCCESS: reading and applying user-data | |
2024-07-25 16:48:54,107 - handlers.py[DEBUG]: start: init-network/consume-vendor-data: reading and applying vendor-data | |
2024-07-25 16:48:54,107 - stages.py[DEBUG]: no vendordata from datasource | |
2024-07-25 16:48:54,107 - handlers.py[DEBUG]: finish: init-network/consume-vendor-data: SUCCESS: reading and applying vendor-data | |
2024-07-25 16:48:54,107 - handlers.py[DEBUG]: start: init-network/consume-vendor-data2: reading and applying vendor-data2 | |
2024-07-25 16:48:54,107 - stages.py[DEBUG]: no vendordata2 from datasource | |
2024-07-25 16:48:54,107 - handlers.py[DEBUG]: finish: init-network/consume-vendor-data2: SUCCESS: reading and applying vendor-data2 | |
2024-07-25 16:48:54,107 - util.py[DEBUG]: Reading from /usr/local/etc/cloud/cloud.cfg (quiet=False) | |
2024-07-25 16:48:54,107 - util.py[DEBUG]: Read 2236 bytes from /usr/local/etc/cloud/cloud.cfg | |
2024-07-25 16:48:54,107 - util.py[DEBUG]: Attempting to load yaml from string of length 2236 with allowed root types (<class 'dict'>,) | |
2024-07-25 16:48:54,109 - util.py[DEBUG]: Reading from /usr/local/etc/cloud/cloud.cfg.d/99_freebsd.cfg (quiet=False) | |
2024-07-25 16:48:54,109 - util.py[DEBUG]: Read 59 bytes from /usr/local/etc/cloud/cloud.cfg.d/99_freebsd.cfg | |
2024-07-25 16:48:54,109 - util.py[DEBUG]: Attempting to load yaml from string of length 59 with allowed root types (<class 'dict'>,) | |
2024-07-25 16:48:54,109 - util.py[DEBUG]: Reading from /usr/local/etc/cloud/cloud.cfg.d/05_logging.cfg (quiet=False) | |
2024-07-25 16:48:54,109 - util.py[DEBUG]: Read 2071 bytes from /usr/local/etc/cloud/cloud.cfg.d/05_logging.cfg | |
2024-07-25 16:48:54,109 - util.py[DEBUG]: Attempting to load yaml from string of length 2071 with allowed root types (<class 'dict'>,) | |
2024-07-25 16:48:54,110 - util.py[DEBUG]: Reading from /usr/local/etc/cloud/cloud.cfg.d/00_nocloud.cfg (quiet=False) | |
2024-07-25 16:48:54,110 - util.py[DEBUG]: Read 98 bytes from /usr/local/etc/cloud/cloud.cfg.d/00_nocloud.cfg | |
2024-07-25 16:48:54,110 - util.py[DEBUG]: Attempting to load yaml from string of length 98 with allowed root types (<class 'dict'>,) | |
2024-07-25 16:48:54,111 - util.py[DEBUG]: Reading from /run/cloud-init/cloud.cfg (quiet=False) | |
2024-07-25 16:48:54,111 - util.py[DEBUG]: Attempting to load yaml from string of length 0 with allowed root types (<class 'dict'>,) | |
2024-07-25 16:48:54,111 - util.py[DEBUG]: loaded blob returned None, returning default. | |
2024-07-25 16:48:54,111 - util.py[DEBUG]: Reading from /var/lib/cloud/instance/cloud-config.txt (quiet=False) | |
2024-07-25 16:48:54,111 - util.py[DEBUG]: Read 0 bytes from /var/lib/cloud/instance/cloud-config.txt | |
2024-07-25 16:48:54,111 - util.py[DEBUG]: Attempting to load yaml from string of length 0 with allowed root types (<class 'dict'>,) | |
2024-07-25 16:48:54,111 - util.py[DEBUG]: loaded blob returned None, returning default. | |
2024-07-25 16:48:54,111 - util.py[DEBUG]: Reading from /usr/local/etc/cloud/cloud.cfg (quiet=False) | |
2024-07-25 16:48:54,111 - util.py[DEBUG]: Read 2236 bytes from /usr/local/etc/cloud/cloud.cfg | |
2024-07-25 16:48:54,111 - util.py[DEBUG]: Attempting to load yaml from string of length 2236 with allowed root types (<class 'dict'>,) | |
2024-07-25 16:48:54,113 - util.py[DEBUG]: Reading from /usr/local/etc/cloud/cloud.cfg.d/99_freebsd.cfg (quiet=False) | |
2024-07-25 16:48:54,113 - util.py[DEBUG]: Read 59 bytes from /usr/local/etc/cloud/cloud.cfg.d/99_freebsd.cfg | |
2024-07-25 16:48:54,113 - util.py[DEBUG]: Attempting to load yaml from string of length 59 with allowed root types (<class 'dict'>,) | |
2024-07-25 16:48:54,113 - util.py[DEBUG]: Reading from /usr/local/etc/cloud/cloud.cfg.d/05_logging.cfg (quiet=False) | |
2024-07-25 16:48:54,113 - util.py[DEBUG]: Read 2071 bytes from /usr/local/etc/cloud/cloud.cfg.d/05_logging.cfg | |
2024-07-25 16:48:54,113 - util.py[DEBUG]: Attempting to load yaml from string of length 2071 with allowed root types (<class 'dict'>,) | |
2024-07-25 16:48:54,114 - util.py[DEBUG]: Reading from /usr/local/etc/cloud/cloud.cfg.d/00_nocloud.cfg (quiet=False) | |
2024-07-25 16:48:54,114 - util.py[DEBUG]: Read 98 bytes from /usr/local/etc/cloud/cloud.cfg.d/00_nocloud.cfg | |
2024-07-25 16:48:54,114 - util.py[DEBUG]: Attempting to load yaml from string of length 98 with allowed root types (<class 'dict'>,) | |
2024-07-25 16:48:54,114 - util.py[DEBUG]: Reading from /var/run/cloud-init/cloud.cfg (quiet=False) | |
2024-07-25 16:48:54,114 - util.py[DEBUG]: Read 37 bytes from /var/run/cloud-init/cloud.cfg | |
2024-07-25 16:48:54,114 - util.py[DEBUG]: Attempting to load yaml from string of length 37 with allowed root types (<class 'dict'>,) | |
2024-07-25 16:48:54,114 - util.py[DEBUG]: Attempting to load yaml from string of length 0 with allowed root types (<class 'dict'>,) | |
2024-07-25 16:48:54,115 - util.py[DEBUG]: loaded blob returned None, returning default. | |
2024-07-25 16:48:54,115 - util.py[DEBUG]: Reading from /var/lib/cloud/instance/cloud-config.txt (quiet=False) | |
2024-07-25 16:48:54,115 - util.py[DEBUG]: Read 0 bytes from /var/lib/cloud/instance/cloud-config.txt | |
2024-07-25 16:48:54,115 - util.py[DEBUG]: Attempting to load yaml from string of length 0 with allowed root types (<class 'dict'>,) | |
2024-07-25 16:48:54,115 - util.py[DEBUG]: loaded blob returned None, returning default. | |
2024-07-25 16:48:54,115 - atomic_helper.py[DEBUG]: Atomically writing to file /var/run/cloud-init/combined-cloud-config.json (via temporary file /var/run/cloud-init/tmpcgvi47ui) - w: [600] 4058 bytes/chars | |
2024-07-25 16:48:54,115 - util.py[DEBUG]: Reading from /var/run/cloud-init/instance-data-sensitive.json (quiet=False) | |
2024-07-25 16:48:54,115 - util.py[DEBUG]: Read 7770 bytes from /var/run/cloud-init/instance-data-sensitive.json | |
2024-07-25 16:48:54,116 - atomic_helper.py[DEBUG]: Atomically writing to file /var/run/cloud-init/instance-data-sensitive.json (via temporary file /var/run/cloud-init/tmposkbokza) - w: [600] 8544 bytes/chars | |
2024-07-25 16:48:54,116 - main.py[DEBUG]: Skipping user-data validation. No user-data found. | |
2024-07-25 16:48:54,116 - util.py[DEBUG]: Reading from /var/lib/cloud/instance/cloud-config.txt (quiet=False) | |
2024-07-25 16:48:54,116 - util.py[DEBUG]: Read 0 bytes from /var/lib/cloud/instance/cloud-config.txt | |
2024-07-25 16:48:54,116 - util.py[DEBUG]: Attempting to load yaml from string of length 0 with allowed root types (<class 'dict'>,) | |
2024-07-25 16:48:54,116 - util.py[DEBUG]: loaded blob returned None, returning default. | |
2024-07-25 16:48:54,117 - handlers.py[DEBUG]: start: init-network/activate-datasource: activating datasource | |
2024-07-25 16:48:54,117 - util.py[DEBUG]: Writing to /var/lib/cloud/instance/obj.pkl - wb: [400] 8009 bytes | |
2024-07-25 16:48:54,117 - handlers.py[DEBUG]: finish: init-network/activate-datasource: SUCCESS: activating datasource | |
2024-07-25 16:48:54,117 - main.py[DEBUG]: no di_report found in config. | |
2024-07-25 16:48:54,118 - util.py[DEBUG]: Reading from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json (quiet=False) | |
2024-07-25 16:48:54,118 - util.py[DEBUG]: Read 144875 bytes from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json | |
2024-07-25 16:48:54,119 - util.py[DEBUG]: Reading from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json (quiet=False) | |
2024-07-25 16:48:54,119 - util.py[DEBUG]: Read 144875 bytes from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json | |
2024-07-25 16:48:54,120 - util.py[DEBUG]: Reading from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json (quiet=False) | |
2024-07-25 16:48:54,120 - util.py[DEBUG]: Read 144875 bytes from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json | |
2024-07-25 16:48:54,121 - util.py[DEBUG]: Reading from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json (quiet=False) | |
2024-07-25 16:48:54,121 - util.py[DEBUG]: Read 144875 bytes from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json | |
2024-07-25 16:48:54,122 - util.py[DEBUG]: Reading from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json (quiet=False) | |
2024-07-25 16:48:54,122 - util.py[DEBUG]: Read 144875 bytes from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json | |
2024-07-25 16:48:54,122 - util.py[DEBUG]: Reading from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json (quiet=False) | |
2024-07-25 16:48:54,122 - util.py[DEBUG]: Read 144875 bytes from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json | |
2024-07-25 16:48:54,123 - util.py[DEBUG]: Reading from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json (quiet=False) | |
2024-07-25 16:48:54,123 - util.py[DEBUG]: Read 144875 bytes from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json | |
2024-07-25 16:48:54,124 - util.py[DEBUG]: Reading from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json (quiet=False) | |
2024-07-25 16:48:54,124 - util.py[DEBUG]: Read 144875 bytes from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json | |
2024-07-25 16:48:54,125 - util.py[DEBUG]: Reading from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json (quiet=False) | |
2024-07-25 16:48:54,125 - util.py[DEBUG]: Read 144875 bytes from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json | |
2024-07-25 16:48:54,126 - util.py[DEBUG]: Reading from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json (quiet=False) | |
2024-07-25 16:48:54,126 - util.py[DEBUG]: Read 144875 bytes from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json | |
2024-07-25 16:48:54,127 - util.py[DEBUG]: Reading from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json (quiet=False) | |
2024-07-25 16:48:54,127 - util.py[DEBUG]: Read 144875 bytes from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json | |
2024-07-25 16:48:54,128 - stages.py[DEBUG]: Using distro class <class 'cloudinit.distros.freebsd.Distro'> | |
2024-07-25 16:48:54,128 - subp.py[DEBUG]: Running command ['ifconfig', '-a'] with allowed return codes [0] (shell=False, capture=True) | |
2024-07-25 16:48:54,136 - modules.py[INFO]: Skipping modules 'bootcmd,write_files,update_etc_hosts,ca_certs,rsyslog' because no applicable config is provided. | |
2024-07-25 16:48:54,136 - modules.py[DEBUG]: Running module seed_random (<module 'cloudinit.config.cc_seed_random' from '/usr/local/lib/python3.11/site-packages/cloudinit/config/cc_seed_random.py'>) with frequency once-per-instance | |
2024-07-25 16:48:54,136 - handlers.py[DEBUG]: start: init-network/config-seed_random: running config-seed_random with frequency once-per-instance | |
2024-07-25 16:48:54,136 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/iid-datasource-none/sem/config_seed_random - wb: [644] 26 bytes | |
2024-07-25 16:48:54,136 - helpers.py[DEBUG]: Running config-seed_random using lock (<FileLock using file '/var/lib/cloud/instances/iid-datasource-none/sem/config_seed_random'>) | |
2024-07-25 16:48:54,136 - cc_seed_random.py[DEBUG]: no command provided | |
2024-07-25 16:48:54,136 - handlers.py[DEBUG]: finish: init-network/config-seed_random: SUCCESS: config-seed_random ran successfully | |
2024-07-25 16:48:54,136 - modules.py[DEBUG]: Running module growpart (<module 'cloudinit.config.cc_growpart' from '/usr/local/lib/python3.11/site-packages/cloudinit/config/cc_growpart.py'>) with frequency always | |
2024-07-25 16:48:54,137 - handlers.py[DEBUG]: start: init-network/config-growpart: running config-growpart with frequency always | |
2024-07-25 16:48:54,137 - helpers.py[DEBUG]: Running config-growpart using lock (<cloudinit.helpers.DummyLock object at 0x21d39ac72290>) | |
2024-07-25 16:48:54,137 - cc_growpart.py[DEBUG]: No 'growpart' entry in cfg. Using default: {'mode': 'auto', 'devices': ['/'], 'ignore_growroot_disabled': False} | |
2024-07-25 16:48:54,137 - subp.py[DEBUG]: Running command ['growpart', '--help'] with allowed return codes [0] (shell=False, capture=True) | |
2024-07-25 16:48:54,142 - subp.py[DEBUG]: Running command ['mount'] with allowed return codes [0] (shell=False, capture=True) | |
2024-07-25 16:48:54,148 - util.py[DEBUG]: found line in mount -> devpth: zroot/jails/instances/14.1-RELEASE-amd64-amd64/clowninit, mount_point: /, fs_type: zfs, options: 'local,noatime,nfsv4acls' | |
2024-07-25 16:48:54,149 - util.py[DEBUG]: resize_devices took 0.006 seconds | |
2024-07-25 16:48:54,149 - cc_growpart.py[DEBUG]: '/' SKIPPED: stat of 'zroot/jails/instances/14.1-RELEASE-amd64-amd64/clowninit' failed: [Errno 2] No such file or directory: 'zroot/jails/instances/14.1-RELEASE-amd64-amd64/clowninit' | |
2024-07-25 16:48:54,149 - handlers.py[DEBUG]: finish: init-network/config-growpart: SUCCESS: config-growpart ran successfully | |
2024-07-25 16:48:54,149 - modules.py[DEBUG]: Running module resizefs (<module 'cloudinit.config.cc_resizefs' from '/usr/local/lib/python3.11/site-packages/cloudinit/config/cc_resizefs.py'>) with frequency always | |
2024-07-25 16:48:54,149 - handlers.py[DEBUG]: start: init-network/config-resizefs: running config-resizefs with frequency always | |
2024-07-25 16:48:54,149 - helpers.py[DEBUG]: Running config-resizefs using lock (<cloudinit.helpers.DummyLock object at 0x21d39ac712d0>) | |
2024-07-25 16:48:54,149 - subp.py[DEBUG]: Running command ['mount'] with allowed return codes [0] (shell=False, capture=True) | |
2024-07-25 16:48:54,155 - util.py[DEBUG]: found line in mount -> devpth: zroot/jails/instances/14.1-RELEASE-amd64-amd64/clowninit, mount_point: /, fs_type: zfs, options: 'local,noatime,nfsv4acls' | |
2024-07-25 16:48:54,155 - subp.py[DEBUG]: Running command ['zpool', 'status', 'zroot'] with allowed return codes [0] (shell=False, capture=True) | |
2024-07-25 16:48:54,162 - cc_resizefs.py[DEBUG]: Unable to get zpool status of zroot: Unexpected error while running command. | |
Command: ['zpool', 'status', 'zroot'] | |
Exit code: 1 | |
Reason: - | |
Stdout: | |
Stderr: cannot open 'zroot': no such pool | |
2024-07-25 16:48:54,162 - handlers.py[DEBUG]: finish: init-network/config-resizefs: SUCCESS: config-resizefs ran successfully | |
2024-07-25 16:48:54,162 - modules.py[DEBUG]: Running module set_hostname (<module 'cloudinit.config.cc_set_hostname' from '/usr/local/lib/python3.11/site-packages/cloudinit/config/cc_set_hostname.py'>) with frequency once-per-instance | |
2024-07-25 16:48:54,162 - handlers.py[DEBUG]: start: init-network/config-set_hostname: running config-set_hostname with frequency once-per-instance | |
2024-07-25 16:48:54,162 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/iid-datasource-none/sem/config_set_hostname - wb: [644] 25 bytes | |
2024-07-25 16:48:54,162 - helpers.py[DEBUG]: Running config-set_hostname using lock (<FileLock using file '/var/lib/cloud/instances/iid-datasource-none/sem/config_set_hostname'>) | |
2024-07-25 16:48:54,163 - util.py[DEBUG]: Reading from /etc/hosts (quiet=False) | |
2024-07-25 16:48:54,163 - util.py[DEBUG]: Read 1035 bytes from /etc/hosts | |
2024-07-25 16:48:54,163 - util.py[DEBUG]: Reading from /etc/hosts (quiet=False) | |
2024-07-25 16:48:54,163 - util.py[DEBUG]: Read 1035 bytes from /etc/hosts | |
2024-07-25 16:48:54,163 - cc_set_hostname.py[DEBUG]: Setting the hostname to clowninit.skunkwerks.at (clowninit) | |
2024-07-25 16:48:54,163 - util.py[DEBUG]: Reading from /etc/rc.conf (quiet=False) | |
2024-07-25 16:48:54,163 - util.py[DEBUG]: Read 260 bytes from /etc/rc.conf | |
2024-07-25 16:48:54,163 - util.py[DEBUG]: Writing to /etc/rc.conf - wb: [644] 275 bytes | |
2024-07-25 16:48:54,163 - distros[DEBUG]: Non-persistently setting the system hostname to clowninit.skunkwerks.at | |
2024-07-25 16:48:54,163 - subp.py[DEBUG]: Running command ['hostname', 'clowninit.skunkwerks.at'] with allowed return codes [0] (shell=False, capture=True) | |
2024-07-25 16:48:54,169 - util.py[WARNING]: Failed to non-persistently adjust the system hostname to clowninit.skunkwerks.at | |
2024-07-25 16:48:54,169 - util.py[DEBUG]: Failed to non-persistently adjust the system hostname to clowninit.skunkwerks.at | |
Traceback (most recent call last): | |
File "/usr/local/lib/python3.11/site-packages/cloudinit/distros/__init__.py", line 492, in _apply_hostname | |
subp.subp(["hostname", hostname]) | |
File "/usr/local/lib/python3.11/site-packages/cloudinit/subp.py", line 298, in subp | |
raise ProcessExecutionError( | |
cloudinit.subp.ProcessExecutionError: Unexpected error while running command. | |
Command: ['hostname', 'clowninit.skunkwerks.at'] | |
Exit code: 1 | |
Reason: - | |
Stdout: | |
Stderr: hostname: sethostname: Operation not permitted | |
2024-07-25 16:48:54,169 - atomic_helper.py[DEBUG]: Atomically writing to file /var/lib/cloud/data/set-hostname (via temporary file /var/lib/cloud/data/tmpn2dozurz) - w: [644] 65 bytes/chars | |
2024-07-25 16:48:54,170 - handlers.py[DEBUG]: finish: init-network/config-set_hostname: SUCCESS: config-set_hostname ran successfully | |
2024-07-25 16:48:54,170 - modules.py[DEBUG]: Running module update_hostname (<module 'cloudinit.config.cc_update_hostname' from '/usr/local/lib/python3.11/site-packages/cloudinit/config/cc_update_hostname.py'>) with frequency always | |
2024-07-25 16:48:54,170 - handlers.py[DEBUG]: start: init-network/config-update_hostname: running config-update_hostname with frequency always | |
2024-07-25 16:48:54,170 - helpers.py[DEBUG]: Running config-update_hostname using lock (<cloudinit.helpers.DummyLock object at 0x21d39acd5c90>) | |
2024-07-25 16:48:54,170 - util.py[DEBUG]: Reading from /etc/hosts (quiet=False) | |
2024-07-25 16:48:54,170 - util.py[DEBUG]: Read 1035 bytes from /etc/hosts | |
2024-07-25 16:48:54,170 - util.py[DEBUG]: Reading from /etc/hosts (quiet=False) | |
2024-07-25 16:48:54,170 - util.py[DEBUG]: Read 1035 bytes from /etc/hosts | |
2024-07-25 16:48:54,170 - cc_update_hostname.py[DEBUG]: Updating hostname to clowninit.skunkwerks.at (clowninit) | |
2024-07-25 16:48:54,170 - util.py[DEBUG]: Reading from /etc/rc.conf (quiet=False) | |
2024-07-25 16:48:54,170 - util.py[DEBUG]: Read 275 bytes from /etc/rc.conf | |
2024-07-25 16:48:54,170 - distros[DEBUG]: Attempting to update hostname to clowninit.skunkwerks.at in 1 files | |
2024-07-25 16:48:54,170 - util.py[DEBUG]: Reading from /etc/rc.conf (quiet=False) | |
2024-07-25 16:48:54,170 - util.py[DEBUG]: Read 275 bytes from /etc/rc.conf | |
2024-07-25 16:48:54,170 - handlers.py[DEBUG]: finish: init-network/config-update_hostname: SUCCESS: config-update_hostname ran successfully | |
2024-07-25 16:48:54,170 - modules.py[DEBUG]: Running module users_groups (<module 'cloudinit.config.cc_users_groups' from '/usr/local/lib/python3.11/site-packages/cloudinit/config/cc_users_groups.py'>) with frequency once-per-instance | |
2024-07-25 16:48:54,170 - handlers.py[DEBUG]: start: init-network/config-users_groups: running config-users_groups with frequency once-per-instance | |
2024-07-25 16:48:54,170 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/iid-datasource-none/sem/config_users_groups - wb: [644] 26 bytes | |
2024-07-25 16:48:54,170 - helpers.py[DEBUG]: Running config-users_groups using lock (<FileLock using file '/var/lib/cloud/instances/iid-datasource-none/sem/config_users_groups'>) | |
2024-07-25 16:48:54,171 - freebsd.py[INFO]: Adding user freebsd | |
2024-07-25 16:48:54,171 - subp.py[DEBUG]: Running hidden command to protect sensitive input/output logstring: ['pw', 'useradd', '-n', 'freebsd', '-d/usr/home/freebsd', '-m'] | |
2024-07-25 16:48:54,227 - subp.py[DEBUG]: Running command ['pw', 'usermod', 'freebsd', '-w', 'no'] with allowed return codes [0] (shell=False, capture=True) | |
2024-07-25 16:48:54,257 - distros[DEBUG]: Checking if user 'freebsd' is referenced in doas rule 'permit nopass freebsd' | |
2024-07-25 16:48:54,257 - distros[DEBUG]: User 'freebsd' referenced in doas rule | |
2024-07-25 16:48:54,257 - distros[DEBUG]: Correct user is referenced in doas rule | |
2024-07-25 16:48:54,257 - util.py[DEBUG]: Writing to /etc/doas.conf - wb: [440] 128 bytes | |
2024-07-25 16:48:54,258 - util.py[DEBUG]: Writing to /etc/sudoers - wb: [440] 169 bytes | |
2024-07-25 16:48:54,258 - distros[DEBUG]: Added '#includedir /usr/local/etc/sudoers.d' to /etc/sudoers | |
2024-07-25 16:48:54,258 - util.py[DEBUG]: Writing to /usr/local/etc/sudoers.d/90-cloud-init-users - wb: [440] 126 bytes | |
2024-07-25 16:48:54,258 - handlers.py[DEBUG]: finish: init-network/config-users_groups: SUCCESS: config-users_groups ran successfully | |
2024-07-25 16:48:54,258 - modules.py[DEBUG]: Running module ssh (<module 'cloudinit.config.cc_ssh' from '/usr/local/lib/python3.11/site-packages/cloudinit/config/cc_ssh.py'>) with frequency once-per-instance | |
2024-07-25 16:48:54,258 - handlers.py[DEBUG]: start: init-network/config-ssh: running config-ssh with frequency once-per-instance | |
2024-07-25 16:48:54,259 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/iid-datasource-none/sem/config_ssh - wb: [644] 25 bytes | |
2024-07-25 16:48:54,259 - helpers.py[DEBUG]: Running config-ssh using lock (<FileLock using file '/var/lib/cloud/instances/iid-datasource-none/sem/config_ssh'>) | |
2024-07-25 16:48:54,259 - util.py[DEBUG]: Reading from /proc/sys/crypto/fips_enabled (quiet=False) | |
2024-07-25 16:48:54,259 - subp.py[DEBUG]: Running command ['ssh-keygen', '-t', 'rsa', '-N', '', '-f', '/etc/ssh/ssh_host_rsa_key'] with allowed return codes [0] (shell=False, capture=True) | |
2024-07-25 16:48:54,995 - subp.py[DEBUG]: command ['ssh-keygen', '-t', 'rsa', '-N', '', '-f', '/etc/ssh/ssh_host_rsa_key'] took 0.7s to run | |
2024-07-25 16:48:54,996 - util.py[DEBUG]: Group ssh_keys is not a valid group name | |
2024-07-25 16:48:54,996 - subp.py[DEBUG]: Running command ['ssh-keygen', '-t', 'ecdsa', '-N', '', '-f', '/etc/ssh/ssh_host_ecdsa_key'] with allowed return codes [0] (shell=False, capture=True) | |
2024-07-25 16:48:55,004 - util.py[DEBUG]: Group ssh_keys is not a valid group name | |
2024-07-25 16:48:55,004 - subp.py[DEBUG]: Running command ['ssh-keygen', '-t', 'ed25519', '-N', '', '-f', '/etc/ssh/ssh_host_ed25519_key'] with allowed return codes [0] (shell=False, capture=True) | |
2024-07-25 16:48:55,012 - util.py[DEBUG]: Group ssh_keys is not a valid group name | |
2024-07-25 16:48:55,013 - util.py[DEBUG]: Reading from /etc/ssh/ssh_host_ecdsa_key.pub (quiet=False) | |
2024-07-25 16:48:55,013 - util.py[DEBUG]: Read 190 bytes from /etc/ssh/ssh_host_ecdsa_key.pub | |
2024-07-25 16:48:55,013 - util.py[DEBUG]: Reading from /etc/ssh/ssh_host_ed25519_key.pub (quiet=False) | |
2024-07-25 16:48:55,013 - util.py[DEBUG]: Read 110 bytes from /etc/ssh/ssh_host_ed25519_key.pub | |
2024-07-25 16:48:55,013 - util.py[DEBUG]: Reading from /etc/ssh/ssh_host_rsa_key.pub (quiet=False) | |
2024-07-25 16:48:55,013 - util.py[DEBUG]: Read 582 bytes from /etc/ssh/ssh_host_rsa_key.pub | |
2024-07-25 16:48:55,013 - util.py[DEBUG]: Reading from /etc/ssh/sshd_config (quiet=False) | |
2024-07-25 16:48:55,013 - util.py[DEBUG]: Read 3315 bytes from /etc/ssh/sshd_config | |
2024-07-25 16:48:55,014 - util.py[DEBUG]: Changing the ownership of /usr/home/freebsd/.ssh to 1001:1001 | |
2024-07-25 16:48:55,014 - util.py[DEBUG]: Writing to /usr/home/freebsd/.ssh/authorized_keys - wb: [600] 0 bytes | |
2024-07-25 16:48:55,014 - util.py[DEBUG]: Changing the ownership of /usr/home/freebsd/.ssh/authorized_keys to 1001:1001 | |
2024-07-25 16:48:55,014 - util.py[DEBUG]: Reading from /usr/home/freebsd/.ssh/authorized_keys (quiet=False) | |
2024-07-25 16:48:55,014 - util.py[DEBUG]: Read 0 bytes from /usr/home/freebsd/.ssh/authorized_keys | |
2024-07-25 16:48:55,014 - util.py[DEBUG]: Writing to /usr/home/freebsd/.ssh/authorized_keys - wb: [600] 0 bytes | |
2024-07-25 16:48:55,014 - util.py[DEBUG]: Reading from /etc/ssh/sshd_config (quiet=False) | |
2024-07-25 16:48:55,014 - util.py[DEBUG]: Read 3315 bytes from /etc/ssh/sshd_config | |
2024-07-25 16:48:55,014 - util.py[DEBUG]: Changing the ownership of /root/.ssh to 0:0 | |
2024-07-25 16:48:55,014 - util.py[DEBUG]: Writing to /root/.ssh/authorized_keys - wb: [600] 0 bytes | |
2024-07-25 16:48:55,015 - util.py[DEBUG]: Changing the ownership of /root/.ssh/authorized_keys to 0:0 | |
2024-07-25 16:48:55,015 - util.py[DEBUG]: Reading from /root/.ssh/authorized_keys (quiet=False) | |
2024-07-25 16:48:55,015 - util.py[DEBUG]: Read 0 bytes from /root/.ssh/authorized_keys | |
2024-07-25 16:48:55,015 - util.py[DEBUG]: Writing to /root/.ssh/authorized_keys - wb: [600] 0 bytes | |
2024-07-25 16:48:55,015 - handlers.py[DEBUG]: finish: init-network/config-ssh: SUCCESS: config-ssh ran successfully | |
2024-07-25 16:48:55,015 - main.py[DEBUG]: Ran 7 modules with 0 failures | |
2024-07-25 16:48:55,015 - atomic_helper.py[DEBUG]: Atomically writing to file /var/lib/cloud/data/status.json (via temporary file /var/lib/cloud/data/tmp0a5aqyfj) - w: [644] 1109 bytes/chars | |
2024-07-25 16:48:55,015 - util.py[DEBUG]: cloud-init mode 'init' took 21.313 seconds (21.31) | |
2024-07-25 16:48:55,015 - handlers.py[DEBUG]: finish: init-network: SUCCESS: searching for network datasources | |
2024-07-25 16:48:55,205 - util.py[DEBUG]: Cloud-init v. 24.1.4 running 'modules:config' at Thu, 25 Jul 2024 16:48:55 +0000. Up 273936.75622057915 seconds. | |
2024-07-25 16:48:55,205 - util.py[DEBUG]: Reading from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json (quiet=False) | |
2024-07-25 16:48:55,206 - util.py[DEBUG]: Read 144875 bytes from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json | |
2024-07-25 16:48:55,206 - util.py[DEBUG]: Reading from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json (quiet=False) | |
2024-07-25 16:48:55,206 - util.py[DEBUG]: Read 144875 bytes from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json | |
2024-07-25 16:48:55,208 - util.py[DEBUG]: Reading from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json (quiet=False) | |
2024-07-25 16:48:55,208 - util.py[DEBUG]: Read 144875 bytes from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json | |
2024-07-25 16:48:55,208 - util.py[DEBUG]: Reading from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json (quiet=False) | |
2024-07-25 16:48:55,209 - util.py[DEBUG]: Read 144875 bytes from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json | |
2024-07-25 16:48:55,209 - util.py[DEBUG]: Reading from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json (quiet=False) | |
2024-07-25 16:48:55,209 - util.py[DEBUG]: Read 144875 bytes from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json | |
2024-07-25 16:48:55,210 - util.py[DEBUG]: Reading from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json (quiet=False) | |
2024-07-25 16:48:55,210 - util.py[DEBUG]: Read 144875 bytes from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json | |
2024-07-25 16:48:55,211 - util.py[DEBUG]: Reading from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json (quiet=False) | |
2024-07-25 16:48:55,211 - util.py[DEBUG]: Read 144875 bytes from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json | |
2024-07-25 16:48:55,212 - util.py[DEBUG]: Reading from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json (quiet=False) | |
2024-07-25 16:48:55,212 - util.py[DEBUG]: Read 144875 bytes from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json | |
2024-07-25 16:48:55,212 - stages.py[DEBUG]: Using distro class <class 'cloudinit.distros.freebsd.Distro'> | |
2024-07-25 16:48:55,212 - subp.py[DEBUG]: Running command ['ifconfig', '-a'] with allowed return codes [0] (shell=False, capture=True) | |
2024-07-25 16:48:55,217 - modules.py[INFO]: Skipping modules 'keyboard,ntp,timezone,disable_ec2_metadata,runcmd' because no applicable config is provided. | |
2024-07-25 16:48:55,217 - modules.py[INFO]: Skipping modules 'ssh_import_id' because they are not verified on distro 'freebsd'. To run anyway, add them to 'unverified_modules' in config. | |
2024-07-25 16:48:55,217 - modules.py[DEBUG]: Running module locale (<module 'cloudinit.config.cc_locale' from '/usr/local/lib/python3.11/site-packages/cloudinit/config/cc_locale.py'>) with frequency once-per-instance | |
2024-07-25 16:48:55,217 - handlers.py[DEBUG]: start: modules-config/config-locale: running config-locale with frequency once-per-instance | |
2024-07-25 16:48:55,217 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/iid-datasource-none/sem/config_locale - wb: [644] 25 bytes | |
2024-07-25 16:48:55,217 - helpers.py[DEBUG]: Running config-locale using lock (<FileLock using file '/var/lib/cloud/instances/iid-datasource-none/sem/config_locale'>) | |
2024-07-25 16:48:55,217 - cc_locale.py[DEBUG]: Setting locale to en_US.UTF-8 | |
2024-07-25 16:48:55,217 - util.py[DEBUG]: Reading from /etc/login.conf (quiet=False) | |
2024-07-25 16:48:55,217 - util.py[DEBUG]: Read 7094 bytes from /etc/login.conf | |
2024-07-25 16:48:55,218 - util.py[DEBUG]: Copying /etc/login.conf to /etc/login.conf.orig | |
2024-07-25 16:48:55,218 - util.py[DEBUG]: Writing to /etc/login.conf - wb: [644] 7111 bytes | |
2024-07-25 16:48:55,218 - freebsd.py[DEBUG]: Running cap_mkdb for en_US.UTF-8 | |
2024-07-25 16:48:55,218 - subp.py[DEBUG]: Running command ['cap_mkdb', '/etc/login.conf'] with allowed return codes [0] (shell=False, capture=True) | |
2024-07-25 16:48:55,225 - handlers.py[DEBUG]: finish: modules-config/config-locale: SUCCESS: config-locale ran successfully | |
2024-07-25 16:48:55,225 - modules.py[DEBUG]: Running module set_passwords (<module 'cloudinit.config.cc_set_passwords' from '/usr/local/lib/python3.11/site-packages/cloudinit/config/cc_set_passwords.py'>) with frequency once-per-instance | |
2024-07-25 16:48:55,225 - handlers.py[DEBUG]: start: modules-config/config-set_passwords: running config-set_passwords with frequency once-per-instance | |
2024-07-25 16:48:55,226 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/iid-datasource-none/sem/config_set_passwords - wb: [644] 26 bytes | |
2024-07-25 16:48:55,226 - helpers.py[DEBUG]: Running config-set_passwords using lock (<FileLock using file '/var/lib/cloud/instances/iid-datasource-none/sem/config_set_passwords'>) | |
2024-07-25 16:48:55,226 - cc_set_passwords.py[DEBUG]: Leaving SSH config 'PasswordAuthentication' unchanged. ssh_pwauth=None | |
2024-07-25 16:48:55,226 - handlers.py[DEBUG]: finish: modules-config/config-set_passwords: SUCCESS: config-set_passwords ran successfully | |
2024-07-25 16:48:55,226 - main.py[DEBUG]: Ran 2 modules with 0 failures | |
2024-07-25 16:48:55,226 - atomic_helper.py[DEBUG]: Atomically writing to file /var/lib/cloud/data/status.json (via temporary file /var/lib/cloud/data/tmpqho5plhc) - w: [644] 1286 bytes/chars | |
2024-07-25 16:48:55,226 - util.py[DEBUG]: cloud-init mode 'modules' took 0.061 seconds (0.06) | |
2024-07-25 16:48:55,226 - handlers.py[DEBUG]: finish: modules-config: SUCCESS: running modules for config | |
2024-07-25 16:48:55,448 - util.py[DEBUG]: Cloud-init v. 24.1.4 running 'modules:final' at Thu, 25 Jul 2024 16:48:55 +0000. Up 273936.9978647232 seconds. | |
2024-07-25 16:48:55,449 - util.py[DEBUG]: Reading from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json (quiet=False) | |
2024-07-25 16:48:55,449 - util.py[DEBUG]: Read 144875 bytes from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json | |
2024-07-25 16:48:55,450 - util.py[DEBUG]: Reading from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json (quiet=False) | |
2024-07-25 16:48:55,450 - util.py[DEBUG]: Read 144875 bytes from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json | |
2024-07-25 16:48:55,452 - util.py[DEBUG]: Reading from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json (quiet=False) | |
2024-07-25 16:48:55,452 - util.py[DEBUG]: Read 144875 bytes from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json | |
2024-07-25 16:48:55,453 - util.py[DEBUG]: Reading from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json (quiet=False) | |
2024-07-25 16:48:55,453 - util.py[DEBUG]: Read 144875 bytes from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json | |
2024-07-25 16:48:55,454 - util.py[DEBUG]: Reading from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json (quiet=False) | |
2024-07-25 16:48:55,454 - util.py[DEBUG]: Read 144875 bytes from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json | |
2024-07-25 16:48:55,455 - util.py[DEBUG]: Reading from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json (quiet=False) | |
2024-07-25 16:48:55,455 - util.py[DEBUG]: Read 144875 bytes from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json | |
2024-07-25 16:48:55,456 - util.py[DEBUG]: Reading from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json (quiet=False) | |
2024-07-25 16:48:55,456 - util.py[DEBUG]: Read 144875 bytes from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json | |
2024-07-25 16:48:55,457 - util.py[DEBUG]: Reading from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json (quiet=False) | |
2024-07-25 16:48:55,457 - util.py[DEBUG]: Read 144875 bytes from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json | |
2024-07-25 16:48:55,458 - util.py[DEBUG]: Reading from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json (quiet=False) | |
2024-07-25 16:48:55,458 - util.py[DEBUG]: Read 144875 bytes from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json | |
2024-07-25 16:48:55,458 - util.py[DEBUG]: Reading from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json (quiet=False) | |
2024-07-25 16:48:55,458 - util.py[DEBUG]: Read 144875 bytes from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json | |
2024-07-25 16:48:55,459 - util.py[DEBUG]: Reading from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json (quiet=False) | |
2024-07-25 16:48:55,459 - util.py[DEBUG]: Read 144875 bytes from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json | |
2024-07-25 16:48:55,459 - util.py[DEBUG]: Reading from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json (quiet=False) | |
2024-07-25 16:48:55,460 - util.py[DEBUG]: Read 144875 bytes from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json | |
2024-07-25 16:48:55,460 - util.py[DEBUG]: Reading from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json (quiet=False) | |
2024-07-25 16:48:55,460 - util.py[DEBUG]: Read 144875 bytes from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json | |
2024-07-25 16:48:55,461 - util.py[DEBUG]: Reading from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json (quiet=False) | |
2024-07-25 16:48:55,461 - util.py[DEBUG]: Read 144875 bytes from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json | |
2024-07-25 16:48:55,462 - util.py[DEBUG]: Reading from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json (quiet=False) | |
2024-07-25 16:48:55,462 - util.py[DEBUG]: Read 144875 bytes from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json | |
2024-07-25 16:48:55,462 - util.py[DEBUG]: Reading from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json (quiet=False) | |
2024-07-25 16:48:55,462 - util.py[DEBUG]: Read 144875 bytes from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json | |
2024-07-25 16:48:55,463 - util.py[DEBUG]: Reading from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json (quiet=False) | |
2024-07-25 16:48:55,463 - util.py[DEBUG]: Read 144875 bytes from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json | |
2024-07-25 16:48:55,464 - util.py[DEBUG]: Reading from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json (quiet=False) | |
2024-07-25 16:48:55,464 - util.py[DEBUG]: Read 144875 bytes from /usr/local/lib/python3.11/site-packages/cloudinit/config/schemas/schema-cloud-config-v1.json | |
2024-07-25 16:48:55,464 - stages.py[DEBUG]: Using distro class <class 'cloudinit.distros.freebsd.Distro'> | |
2024-07-25 16:48:55,465 - subp.py[DEBUG]: Running command ['ifconfig', '-a'] with allowed return codes [0] (shell=False, capture=True) | |
2024-07-25 16:48:55,471 - modules.py[INFO]: Skipping modules 'package_update_upgrade_install,write_files_deferred,puppet,chef,ansible,mcollective,salt_minion,phone_home,power_state_change' because no applicable config is provided. | |
2024-07-25 16:48:55,471 - modules.py[DEBUG]: Running module reset_rmc (<module 'cloudinit.config.cc_reset_rmc' from '/usr/local/lib/python3.11/site-packages/cloudinit/config/cc_reset_rmc.py'>) with frequency once-per-instance | |
2024-07-25 16:48:55,471 - handlers.py[DEBUG]: start: modules-final/config-reset_rmc: running config-reset_rmc with frequency once-per-instance | |
2024-07-25 16:48:55,471 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/iid-datasource-none/sem/config_reset_rmc - wb: [644] 26 bytes | |
2024-07-25 16:48:55,471 - helpers.py[DEBUG]: Running config-reset_rmc using lock (<FileLock using file '/var/lib/cloud/instances/iid-datasource-none/sem/config_reset_rmc'>) | |
2024-07-25 16:48:55,471 - cc_reset_rmc.py[DEBUG]: Skipping creation of new ct_node_id node | |
2024-07-25 16:48:55,471 - handlers.py[DEBUG]: finish: modules-final/config-reset_rmc: SUCCESS: config-reset_rmc ran successfully | |
2024-07-25 16:48:55,471 - modules.py[DEBUG]: Running module scripts_vendor (<module 'cloudinit.config.cc_scripts_vendor' from '/usr/local/lib/python3.11/site-packages/cloudinit/config/cc_scripts_vendor.py'>) with frequency once-per-instance | |
2024-07-25 16:48:55,471 - handlers.py[DEBUG]: start: modules-final/config-scripts_vendor: running config-scripts_vendor with frequency once-per-instance | |
2024-07-25 16:48:55,472 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/iid-datasource-none/sem/config_scripts_vendor - wb: [644] 26 bytes | |
2024-07-25 16:48:55,472 - helpers.py[DEBUG]: Running config-scripts_vendor using lock (<FileLock using file '/var/lib/cloud/instances/iid-datasource-none/sem/config_scripts_vendor'>) | |
2024-07-25 16:48:55,472 - handlers.py[DEBUG]: finish: modules-final/config-scripts_vendor: SUCCESS: config-scripts_vendor ran successfully | |
2024-07-25 16:48:55,472 - modules.py[DEBUG]: Running module scripts_per_once (<module 'cloudinit.config.cc_scripts_per_once' from '/usr/local/lib/python3.11/site-packages/cloudinit/config/cc_scripts_per_once.py'>) with frequency once | |
2024-07-25 16:48:55,472 - handlers.py[DEBUG]: start: modules-final/config-scripts_per_once: running config-scripts_per_once with frequency once | |
2024-07-25 16:48:55,472 - util.py[DEBUG]: Writing to /var/lib/cloud/sem/config_scripts_per_once.once - wb: [644] 26 bytes | |
2024-07-25 16:48:55,472 - helpers.py[DEBUG]: Running config-scripts_per_once using lock (<FileLock using file '/var/lib/cloud/sem/config_scripts_per_once.once'>) | |
2024-07-25 16:48:55,472 - handlers.py[DEBUG]: finish: modules-final/config-scripts_per_once: SUCCESS: config-scripts_per_once ran successfully | |
2024-07-25 16:48:55,472 - modules.py[DEBUG]: Running module scripts_per_boot (<module 'cloudinit.config.cc_scripts_per_boot' from '/usr/local/lib/python3.11/site-packages/cloudinit/config/cc_scripts_per_boot.py'>) with frequency always | |
2024-07-25 16:48:55,472 - handlers.py[DEBUG]: start: modules-final/config-scripts_per_boot: running config-scripts_per_boot with frequency always | |
2024-07-25 16:48:55,472 - helpers.py[DEBUG]: Running config-scripts_per_boot using lock (<cloudinit.helpers.DummyLock object at 0x21f2031f2290>) | |
2024-07-25 16:48:55,472 - handlers.py[DEBUG]: finish: modules-final/config-scripts_per_boot: SUCCESS: config-scripts_per_boot ran successfully | |
2024-07-25 16:48:55,472 - modules.py[DEBUG]: Running module scripts_per_instance (<module 'cloudinit.config.cc_scripts_per_instance' from '/usr/local/lib/python3.11/site-packages/cloudinit/config/cc_scripts_per_instance.py'>) with frequency once-per-instance | |
2024-07-25 16:48:55,472 - handlers.py[DEBUG]: start: modules-final/config-scripts_per_instance: running config-scripts_per_instance with frequency once-per-instance | |
2024-07-25 16:48:55,473 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/iid-datasource-none/sem/config_scripts_per_instance - wb: [644] 26 bytes | |
2024-07-25 16:48:55,473 - helpers.py[DEBUG]: Running config-scripts_per_instance using lock (<FileLock using file '/var/lib/cloud/instances/iid-datasource-none/sem/config_scripts_per_instance'>) | |
2024-07-25 16:48:55,473 - handlers.py[DEBUG]: finish: modules-final/config-scripts_per_instance: SUCCESS: config-scripts_per_instance ran successfully | |
2024-07-25 16:48:55,473 - modules.py[DEBUG]: Running module scripts_user (<module 'cloudinit.config.cc_scripts_user' from '/usr/local/lib/python3.11/site-packages/cloudinit/config/cc_scripts_user.py'>) with frequency once-per-instance | |
2024-07-25 16:48:55,473 - handlers.py[DEBUG]: start: modules-final/config-scripts_user: running config-scripts_user with frequency once-per-instance | |
2024-07-25 16:48:55,473 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/iid-datasource-none/sem/config_scripts_user - wb: [644] 26 bytes | |
2024-07-25 16:48:55,473 - helpers.py[DEBUG]: Running config-scripts_user using lock (<FileLock using file '/var/lib/cloud/instances/iid-datasource-none/sem/config_scripts_user'>) | |
2024-07-25 16:48:55,473 - handlers.py[DEBUG]: finish: modules-final/config-scripts_user: SUCCESS: config-scripts_user ran successfully | |
2024-07-25 16:48:55,473 - modules.py[DEBUG]: Running module ssh_authkey_fingerprints (<module 'cloudinit.config.cc_ssh_authkey_fingerprints' from '/usr/local/lib/python3.11/site-packages/cloudinit/config/cc_ssh_authkey_fingerprints.py'>) with frequency once-per-instance | |
2024-07-25 16:48:55,473 - handlers.py[DEBUG]: start: modules-final/config-ssh_authkey_fingerprints: running config-ssh_authkey_fingerprints with frequency once-per-instance | |
2024-07-25 16:48:55,473 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/iid-datasource-none/sem/config_ssh_authkey_fingerprints - wb: [644] 26 bytes | |
2024-07-25 16:48:55,473 - helpers.py[DEBUG]: Running config-ssh_authkey_fingerprints using lock (<FileLock using file '/var/lib/cloud/instances/iid-datasource-none/sem/config_ssh_authkey_fingerprints'>) | |
2024-07-25 16:48:55,473 - cc_ssh_authkey_fingerprints.py[DEBUG]: Skipping module named ssh_authkey_fingerprints, logging of SSH fingerprints disabled | |
2024-07-25 16:48:55,473 - handlers.py[DEBUG]: finish: modules-final/config-ssh_authkey_fingerprints: SUCCESS: config-ssh_authkey_fingerprints ran successfully | |
2024-07-25 16:48:55,473 - modules.py[DEBUG]: Running module keys_to_console (<module 'cloudinit.config.cc_keys_to_console' from '/usr/local/lib/python3.11/site-packages/cloudinit/config/cc_keys_to_console.py'>) with frequency once-per-instance | |
2024-07-25 16:48:55,474 - handlers.py[DEBUG]: start: modules-final/config-keys_to_console: running config-keys_to_console with frequency once-per-instance | |
2024-07-25 16:48:55,474 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/iid-datasource-none/sem/config_keys_to_console - wb: [644] 26 bytes | |
2024-07-25 16:48:55,474 - helpers.py[DEBUG]: Running config-keys_to_console using lock (<FileLock using file '/var/lib/cloud/instances/iid-datasource-none/sem/config_keys_to_console'>) | |
2024-07-25 16:48:55,474 - subp.py[DEBUG]: Running command ['/usr/local/lib/cloud-init/write-ssh-key-fingerprints', '', ''] with allowed return codes [0] (shell=False, capture=True) | |
2024-07-25 16:48:55,492 - handlers.py[DEBUG]: finish: modules-final/config-keys_to_console: SUCCESS: config-keys_to_console ran successfully | |
2024-07-25 16:48:55,492 - modules.py[DEBUG]: Running module install_hotplug (<module 'cloudinit.config.cc_install_hotplug' from '/usr/local/lib/python3.11/site-packages/cloudinit/config/cc_install_hotplug.py'>) with frequency once-per-instance | |
2024-07-25 16:48:55,492 - handlers.py[DEBUG]: start: modules-final/config-install_hotplug: running config-install_hotplug with frequency once-per-instance | |
2024-07-25 16:48:55,492 - util.py[DEBUG]: Writing to /var/lib/cloud/instances/iid-datasource-none/sem/config_install_hotplug - wb: [644] 26 bytes | |
2024-07-25 16:48:55,492 - helpers.py[DEBUG]: Running config-install_hotplug using lock (<FileLock using file '/var/lib/cloud/instances/iid-datasource-none/sem/config_install_hotplug'>) | |
2024-07-25 16:48:55,492 - util.py[DEBUG]: Reading from /var/lib/cloud/hotplug.enabled (quiet=False) | |
2024-07-25 16:48:55,492 - util.py[DEBUG]: File not found: /var/lib/cloud/hotplug.enabled | |
2024-07-25 16:48:55,492 - stages.py[DEBUG]: Allowed events: {<EventScope.NETWORK: 'network'>: {<EventType.BOOT_NEW_INSTANCE: 'boot-new-instance'>}} | |
2024-07-25 16:48:55,492 - stages.py[DEBUG]: Event Denied: scopes=['network'] EventType=hotplug | |
2024-07-25 16:48:55,492 - cc_install_hotplug.py[DEBUG]: Skipping hotplug install, not enabled | |
2024-07-25 16:48:55,492 - handlers.py[DEBUG]: finish: modules-final/config-install_hotplug: SUCCESS: config-install_hotplug ran successfully | |
2024-07-25 16:48:55,492 - modules.py[DEBUG]: Running module final_message (<module 'cloudinit.config.cc_final_message' from '/usr/local/lib/python3.11/site-packages/cloudinit/config/cc_final_message.py'>) with frequency always | |
2024-07-25 16:48:55,493 - handlers.py[DEBUG]: start: modules-final/config-final_message: running config-final_message with frequency always | |
2024-07-25 16:48:55,493 - helpers.py[DEBUG]: Running config-final_message using lock (<cloudinit.helpers.DummyLock object at 0x21f203607c90>) | |
2024-07-25 16:48:55,495 - util.py[DEBUG]: Cloud-init v. 24.1.4 finished at Thu, 25 Jul 2024 16:48:55 +0000. Datasource DataSourceNone. Up 273937.06209254265 seconds | |
2024-07-25 16:48:55,495 - util.py[DEBUG]: Writing to /var/lib/cloud/instance/boot-finished - wb: [644] 65 bytes | |
2024-07-25 16:48:55,495 - cc_final_message.py[WARNING]: Used fallback datasource | |
2024-07-25 16:48:55,495 - handlers.py[DEBUG]: finish: modules-final/config-final_message: SUCCESS: config-final_message ran successfully | |
2024-07-25 16:48:55,495 - main.py[DEBUG]: Ran 10 modules with 0 failures | |
2024-07-25 16:48:55,495 - atomic_helper.py[DEBUG]: Atomically writing to file /var/lib/cloud/data/status.json (via temporary file /var/lib/cloud/data/tmpx0pzcspd) - w: [644] 1496 bytes/chars | |
2024-07-25 16:48:55,495 - atomic_helper.py[DEBUG]: Atomically writing to file /var/lib/cloud/data/result.json (via temporary file /var/lib/cloud/data/tmpnvzmuv2o) - w: [644] 65 bytes/chars | |
2024-07-25 16:48:55,496 - util.py[DEBUG]: Creating symbolic link from '/var/run/cloud-init/result.json' => '../../lib/cloud/data/result.json' | |
2024-07-25 16:48:55,496 - util.py[DEBUG]: cloud-init mode 'modules' took 0.089 seconds (0.09) | |
2024-07-25 16:48:55,496 - handlers.py[DEBUG]: finish: modules-final: SUCCESS: running modules for final |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#cloud-config | |
# deploy ssh key to primary user | |
# create a new account, one true shell, sudo, join wheel | |
users: | |
- default | |
- name: ansible | |
groups: wheel | |
shell: /bin/sh | |
sudo: 'ALL=(ALL) NOPASSWD:ALL' | |
ssh_authorized_keys: | |
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJZ0cNlRkFRRleUZhFjIZYJ2p7h7wNWvODGBLEzfSfvr | |
# touch an arbitrary file very early on | |
write_files: | |
- content: | | |
awesome | |
path: /var/tmp/cloudinit_was_here | |
# run an arbitrary command which happens after that | |
bootcmd: | |
- touch /var/tmp/cloudinit_was_early | |
# run an arbitrary command later on | |
runcmd: | |
- touch /var/tmp/cloudinit_was_late | |
packages: | |
- www/gurl | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment