Skip to content

Instantly share code, notes, and snippets.

@igalic
Created December 19, 2019 21:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save igalic/c4201008d52bc1bab7bd9cc81d217956 to your computer and use it in GitHub Desktop.
Save igalic/c4201008d52bc1bab7bd9cc81d217956 to your computer and use it in GitHub Desktop.
Cloud-init v. 19.4 running 'init-local' at Thu, 19 Dec 2019 20:57:56 +0000. Up 1576789076.0785627 seconds.
2019-12-19 20:57:56,455 - util.py[WARNING]: failed stage init-local
failed run of stage init-local
------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/cloudinit/cmd/main.py", line 653, in status_wrapper
ret = functor(name, args)
File "/usr/local/lib/python3.6/site-packages/cloudinit/cmd/main.py", line 362, in main_init
init.apply_network_config(bring_up=bool(mode != sources.DSMODE_LOCAL))
File "/usr/local/lib/python3.6/site-packages/cloudinit/stages.py", line 710, in apply_network_config
return self.distro.apply_network_config(netcfg, bring_up=bring_up)
File "/usr/local/lib/python3.6/site-packages/cloudinit/distros/__init__.py", line 178, in apply_network_config
dev_names = self._write_network_config(netconfig)
File "/usr/local/lib/python3.6/site-packages/cloudinit/distros/freebsd.py", line 197, in _write_network_config
return self._supported_write_network_config(netconfig)
File "/usr/local/lib/python3.6/site-packages/cloudinit/distros/__init__.py", line 93, in _supported_write_network_config
renderer.render_network_config(network_config)
File "/usr/local/lib/python3.6/site-packages/cloudinit/net/renderer.py", line 56, in render_network_config
templates=templates, target=target)
File "/usr/local/lib/python3.6/site-packages/cloudinit/net/freebsd.py", line 145, in render_network_state
self._write_network(network_state, target=target)
File "/usr/local/lib/python3.6/site-packages/cloudinit/net/freebsd.py", line 138, in _write_network
self._write_ifconfig_entries(settings, target=target)
File "/usr/local/lib/python3.6/site-packages/cloudinit/net/freebsd.py", line 59, in _write_ifconfig_entries
subnet.get('netmask'))
TypeError: must be str, not NoneType
------------------------------------------------------------
Cloud-init v. 19.4 running 'init' at Thu, 19 Dec 2019 20:57:57 +0000. Up 1576789077.91531 seconds.
ci-info: ++++++++++++++++++++++++++++++Net device info++++++++++++++++++++++++++++++
ci-info: +--------+------+----------------+------------+-------+-------------------+
ci-info: | Device | Up | Address | Mask | Scope | Hw-Address |
ci-info: +--------+------+----------------+------------+-------+-------------------+
ci-info: | eth0 | True | 78.47.97.202 | 0xffffffff | . | 96:00:00:3a:01:94 |
ci-info: | lo0 | True | 127.0.0.1 | 0xff000000 | . | . |
ci-info: | lo0 | True | ::1/128 | . | . | . |
ci-info: | lo0 | True | fe80::1%lo0/64 | . | 0x2 | . |
ci-info: +--------+------+----------------+------------+-------+-------------------+
ci-info:
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:g9GG+FObVFgTPnfoJBVD8ez0e1ukBlEQswnYC+4YTC4 root@ubuntu-2gb-fsn1-1
The key's randomart image is:
+---[RSA 2048]----+
| =*oX=. |
| ..o+o.+ X |
| .+o.=.+.B = |
| E.+*.o.* = . |
| .++S o . o|
| .... . o.|
| o.o|
| . +|
| . |
+----[SHA256]-----+
Generating public/private dsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_dsa_key.
Your public key has been saved in /etc/ssh/ssh_host_dsa_key.pub.
The key fingerprint is:
SHA256:YgExl6tdRHw7i4+W5yXOc4Zic3k1CPasmWt+zu/T5is root@ubuntu-2gb-fsn1-1
The key's randomart image is:
+---[DSA 1024]----+
| +..+. |
| +. o . |
| .o . . |
| ... = |
| oo.So * . |
| ..... . + o |
| +.*.. o |
| Bo%+=E. o|
| o O*Ooo+=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:/P9i3TlXYdKDnxCL/cfr+0kmxO63Umg8LP8DcrKV5mA root@ubuntu-2gb-fsn1-1
The key's randomart image is:
+---[ECDSA 256]---+
| |
| . |
| o = |
| . ..* = |
| S ooO.+|
| . Eo% =+|
| o &+++=|
| 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:KaQT3eyroc7GN4/HiL7p0GU5AvejEofQBFyXABliuUk root@ubuntu-2gb-fsn1-1
The key's randomart image is:
+--[ED25519 256]--+
|+=Bo... |
|oE .o o |
|o = o o o |
| + + = o . |
| o = O S |
| + * + . |
| o.o..o. |
| ++o++o |
| =Ooo+. |
+----[SHA256]-----+
Cloud-init v. 19.4 running 'modules:final' at Thu, 19 Dec 2019 20:58:00 +0000. Up 1576789080.2623858 seconds.
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
Updating FreeBSD-Latest repository catalogue...
FreeBSD-Latest repository is up to date.
All repositories are up to date.
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
Updating FreeBSD-Latest repository catalogue...
FreeBSD-Latest repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The most recent versions of packages are already installed
2019-12-19 21:00:55,615 - util.py[WARNING]: Failed running /var/lib/cloud/instance/scripts/vendor/hc-boot-script [-]
2019-12-19 21:00:55,619 - cc_scripts_vendor.py[WARNING]: Failed to run module scripts-vendor (vendor in /var/lib/cloud/instance/scripts/vendor)
2019-12-19 21:00:55,620 - util.py[WARNING]: Running module scripts-vendor (<module 'cloudinit.config.cc_scripts_vendor' from '/usr/local/lib/python3.6/site-packages/cloudinit/config/cc_scripts_vendor.py'>) failed
Cloud-init v. 19.4 finished at Thu, 19 Dec 2019 21:00:55 +0000. Datasource DataSourceHetzner. Up 1576789255.6922395 seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment