Your message dated Thu, 09 Jul 2020 20:32:08 +0000 with message-id <[email protected]> and subject line Bug#936030: fixed in cloud-init 20.2-2~deb10u1 has caused the Debian Bug report #936030, regarding /usr/bin/cloud-init: cloud-init 18.3 failed to detect network link type: cascading (datasource: OpenStack) to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 936030: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=936030 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: cloud-init Version: 18.3-6 Environment: OpenTelekomCloud (OpenStack) KVM VM Debian 10 buster DataSource: OpenStack Dear Maintainer, Boot a new installed VM in OpenTelekomCloud on KVM or manual run 'cloud-init -d init' results in error message in /var/log/cloud-init-output.log that network interface can not be detected right. Error msg: ValueError: Unknown network_data link type: cascading # cloud-init clean -l; cloud-init -d init (...) 2019-08-29 07:23:35,025 - util.py[WARNING]: failed stage init failed run of stage init ------------------------------------------------------------ Traceback (most recent call last): File "/usr/lib/python3/dist-packages/cloudinit/cmd/main.py", line 655, in status_wrapper ret = functor(name, args) File "/usr/lib/python3/dist-packages/cloudinit/cmd/main.py", line 361, in main_init init.apply_network_config(bring_up=bool(mode != sources.DSMODE_LOCAL)) File "/usr/lib/python3/dist-packages/cloudinit/stages.py", line 640, in apply_network_config netcfg, src = self._find_networking_config() File "/usr/lib/python3/dist-packages/cloudinit/stages.py", line 627, in _find_networking_config if self.datasource and hasattr(self.datasource, 'network_config'): File "/usr/lib/python3/dist-packages/cloudinit/sources/DataSourceOpenStack.py", line 114, in network_config self.network_json, known_macs=None) File "/usr/lib/python3/dist-packages/cloudinit/sources/helpers/openstack.py", line 628, in convert_net_json 'Unknown network_data link type: %s' % link['type']) ValueError: Unknown network_data link type: cascading ------------------------------------------------------------ Scanning network_data.json get from dataSource OpenStack is not successfully. Additional I'm wondering if it is even necessary to scan network_data.jso when network configuration set to disabled for cloud-init # cat /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg network: {config: disabled} More information about running VM: =============================== # lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 10 (buster) Release: 10 Codename: buster # cloud-init --version /usr/bin/cloud-init 18.3 # dpkg -l | grep cloud-init ii cloud-init 18.3-6 all initialization system for infrastructure cloud instances ii cloud-initramfs-growroot 0.18.debian7 all automatically resize the root partition on first boot # systemd-detect-virt kvm # cat ds-identify.log [up 3.04s] ds-identify policy loaded: mode=search report=false found=all maybe=all notfound=disabled /etc/cloud/cloud.cfg.d/90_dpkg.cfg set datasource_list: [ NoCloud, ConfigDrive, OpenNebula, Azure, AltCloud, OVF, MAAS, GCE, OpenStack, CloudSigma, SmartOS, Ec2, CloudStack, None ] DMI_PRODUCT_NAME=OpenStack Nova DMI_SYS_VENDOR=OpenStack Foundation DMI_PRODUCT_SERIAL=65a965de-870a-4b0f-b3cd-698cca8ded47 DMI_PRODUCT_UUID=43ee03d1-7e16-409d-9e19-f65afb7f09da PID_1_PRODUCT_NAME=unavailable DMI_CHASSIS_ASSET_TAG= FS_LABELS=cloudimg-rootfs ISO9660_DEVS= KERNEL_CMDLINE=BOOT_IMAGE=/boot/vmlinuz-4.19.0-5-amd64 root=LABEL=cloudimg-rootfs ro console=tty0 console=ttyS0,115200 no_timer_check console=ttyS0,115200n8 console=tty0 VIRT=kvm UNAME_KERNEL_NAME=Linux UNAME_KERNEL_RELEASE=4.19.0-5-amd64 UNAME_KERNEL_VERSION=#1 SMP Debian 4.19.37-5+deb10u2 (2019-08-08) UNAME_MACHINE=x86_64 UNAME_NODENAME=test-debian-10-x86-64-20190828-1143-jenkins-143 UNAME_OPERATING_SYSTEM=GNU/Linux DSNAME= DSLIST=NoCloud ConfigDrive OpenNebula Azure AltCloud OVF MAAS GCE OpenStack CloudSigma SmartOS Ec2 CloudStack None MODE=search ON_FOUND=all ON_MAYBE=all ON_NOTFOUND=disabled pid=216 ppid=198 is_container=false is_ds_enabled(IBMCloud) = false. is_ds_enabled(IBMCloud) = false. check for 'OpenStack' returned found ec2 platform is 'Unknown'. Found single datasource: OpenStack [up 3.09s] returning 0 # w3m -dump http://169.254.169.254/openstack/latest/network_data.json | jq '' { "services": [ { "type": "dns", "address": "100.125.4.25" }, { "type": "dns", "address": "8.8.8.8" }, { "type": "dns", "address": "4.2.2.2" } ], "networks": [ { "network_id": "16795ad2-e09f-4512-b8a7-8abeb6ff068f", "type": "ipv4_dhcp", "link": "tap81eb42ef-23", "id": "network0" } ], "links": [ { "type": "cascading", "vif_id": "81eb42ef-23d6-4fa8-b9ec-98b7409b0878", "ethernet_mac_address": "fa:16:3e:81:37:ea", "id": "tap81eb42ef-23", "mtu": null } ] } # ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: ens3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether fa:16:3e:81:37:ea brd ff:ff:ff:ff:ff:ff inet 172.24.9.149/24 brd 172.24.9.255 scope global dynamic ens3 valid_lft 58916sec preferred_lft 58916sec inet6 fe80::f816:3eff:fe81:37ea/64 scope link valid_lft forever preferred_lft forever More information from reportbug -- System Information: Debian Release: 10.0 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.19.0-5-amd64 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) Versions of packages cloud-init depends on: ii cloud-guest-utils 0.29-1 ii fdisk 2.33.1-0.1 ii gdisk 1.0.3-1.1 ii ifupdown 0.8.35 ii locales 2.28-10 ii lsb-base 10.2019051400 ii lsb-release 10.2019051400 ii net-tools 1.60+git20180626.aebd88e-1 ii procps 2:3.3.15-2 ii python3 3.7.3-1 ii python3-configobj 5.0.6-3 ii python3-jinja2 2.10-2 ii python3-jsonpatch 1.21-1 ii python3-jsonschema 2.6.0-4 ii python3-oauthlib 2.1.0-1 ii python3-requests 2.21.0-1 ii python3-six 1.12.0-1 ii python3-yaml 3.13-2 ii util-linux 2.33.1-0.1 Versions of packages cloud-init recommends: pn eatmydata <none> ii sudo 1.8.27-1 Versions of packages cloud-init suggests: pn btrfs-progs <none> ii e2fsprogs 1.44.5-1 pn xfsprogs <none> -- Configuration Files: /etc/cloud/cloud.cfg changed [not included] /etc/cloud/templates/sources.list.debian.tmpl changed [not included] -- debconf information: cloud-init/datasources: NoCloud, ConfigDrive, OpenNebula, Azure, AltCloud, OVF, MAAS, GCE, OpenStack, CloudSigma, SmartOS, Ec2, CloudStack, None
--- End Message ---
--- Begin Message ---Source: cloud-init Source-Version: 20.2-2~deb10u1 Done: Noah Meyerhans <[email protected]> We believe that the bug you reported is fixed in the latest version of cloud-init, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Noah Meyerhans <[email protected]> (supplier of updated cloud-init package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Tue, 30 Jun 2020 17:20:38 -0700 Source: cloud-init Architecture: source Version: 20.2-2~deb10u1 Distribution: buster Urgency: medium Maintainer: Debian Cloud Team <[email protected]> Changed-By: Noah Meyerhans <[email protected]> Closes: 866613 931173 936030 942968 949940 951362 951363 954276 954363 Changes: cloud-init (20.2-2~deb10u1) buster; urgency=medium . * Release for buster. No further changes. . cloud-init (20.2-2) unstable; urgency=medium . * Add missing Build-Dep on python3-pytest . cloud-init (20.2-1) unstable; urgency=medium . * New upstream version * Drop patches that have been merged upstream * Switch to pytest for running tests, per upstream change . cloud-init (20.1-2) unstable; urgency=medium . * Fix python 3.8 incompatibility (Closes: #954276) * Cherry-pick fa1abfec2705 (ec2: only redact token request headers in logs, avoid altering request) from upstream. (Closes: #954363) * Cherry-pick 1f860e5ac7eb (ec2: Do not fallback to IMDSv1 on EC2) from upstream. . cloud-init (20.1-1) unstable; urgency=medium . * New upstream release * Remove patches applied upstream: - CVE-2020-8631.patch - CVE-2020-8632.patch * Refresh patches: - 0009-Drop-all-unused-extended-version-handling.patch * Reduce cloud-guest-utils from Depends to Recommends * Bump standards version to 4.5.0 (no changes needed) * Remove Charles Plessy <[email protected]> from uploaders, as he is no longer active in the cloud team. . cloud-init (19.4-2) unstable; urgency=medium . * Import upstream fix for CVE-2020-8632. rand_user_password generates passwords of insufficient length. (Closes: #951363) * Import upstream fix for CVE-2020-8631. Cloud-init uses an insufficient source of randomness when generating passwords. (Closes: #951362) . cloud-init (19.4-1) unstable; urgency=medium . * New upstream release. * Update debian/copyright to note dual-dual license status (Closes: #866613) . cloud-init (19.3-2) unstable; urgency=medium . * Build-depends on python3-pep8 instead of just pep8 (Closes: #949940). . cloud-init (19.3-1) unstable; urgency=medium . * New upstream release. . cloud-init (19.2-4) unstable; urgency=medium . * Removed the last bit of Python2 build-depends (Closes: #942968). . cloud-init (19.2-3) unstable; urgency=medium . * Remove the patch for sources.list, and activate the option to preserve the sources.list by default (ie: apt_preserve_sources_list: true). . cloud-init (19.2-2) unstable; urgency=medium . * Comment out backports by default in apt/sources.list. * Standards-Version bump to 4.4.1. . cloud-init (19.2-1) unstable; urgency=medium . * New upstream release. (Closes: #931173, #936030) * Drop 0008-opennebula-also-exclude-epochseconds-from-changed-en.patch applied upstream. * Drop CVE-2019-0816_Filter_list_of_ssh_keys_pulled_from_fabric.patch also applied upstream. * Rebased patches: - 0009-Drop-all-unused-extended-version-handling.patch - 0012-Fix-message-when-a-local-is-missing.patch Checksums-Sha1: fe764826b5534935923e9a584a9c72c0a30cafce 2431 cloud-init_20.2-2~deb10u1.dsc eb57352354a456aaa445582cf63ae473d6c1d957 24584 cloud-init_20.2-2~deb10u1.debian.tar.xz 55040f321790848fac55d22fc72c42115105f330 6811 cloud-init_20.2-2~deb10u1_source.buildinfo Checksums-Sha256: 7cdf98518ba4f43310871e4d053ad6249f3fa80711af0843c00798826f945c1a 2431 cloud-init_20.2-2~deb10u1.dsc 8a2c8f7fd71b2aa0ffd87a4bd2eafdb1cbbaa678fb258a6dfc948b267989b776 24584 cloud-init_20.2-2~deb10u1.debian.tar.xz 0765e7a161cd788e0d7ec79c4e851fec0ea88f2c2906c7efc24aba2c5537b1ce 6811 cloud-init_20.2-2~deb10u1_source.buildinfo Files: 09c97cecb5a7a6af6e79a27d4f16cd3d 2431 admin optional cloud-init_20.2-2~deb10u1.dsc d52bad7a8f97a029fd425786303b19da 24584 admin optional cloud-init_20.2-2~deb10u1.debian.tar.xz 54248fa5f8985a08396bd120ffe0495a 6811 admin optional cloud-init_20.2-2~deb10u1_source.buildinfo -----BEGIN PGP SIGNATURE----- iQJFBAEBCgAvFiEE65xaF5r2LDCTz+zyV68+Bn2yWDMFAl7/dG0RHG5vYWhtQGRl Ymlhbi5vcmcACgkQV68+Bn2yWDNgqA/+IHrfnlmz8nBSpBEBa5Qz1/vQrpA+HaYn V1DLZyO7/hcZcHlcT2S1OudeHnbjjhdfjVVjndj+Dum8MpTZBEbXyBcte7IvaUSm SGFc86RPeHpM9PrPgQCOBHf/7nquSQ0hn0OE9Liko1y3aWpKmYo3KMvXnCo4R1ov abgtxoh9AtTMyauaZh+jUnfV9b+opkyUk7bVhAATDfoXH8jJ1BveDLzoFo5Q7kcZ cViz0rib8eEqBoCBtWE+JYIPD37Ts0RzW/F/10XAgQeIAh1Ut5+lx5BvhjPt5BfM IE7E0ddJrdLCI70CO0IPAQPaeFF6BO6mp40Jp2ffvCMovU5dzVNWHc1aLyJ94R9F NQJJmAchkuSum2fWBO5U7vqKMB8rkWzMg3qnH6PnOeSKU58jKqFIfkqxN7zwWZLD klpP5fty6CD+IAY6EDv4C1c4DIg6DBZsovKkPef5+hPtO/vaWADQJDJdcxmyDRn2 U7ughSDdGyiimlXeN5vqHPsDles2XuWT4z7hdTi9qCpzwXj4Je3y45FEsmXGLIOQ IL+ieo1mqj9RPtp8foyS5dBHQLZR++hRIdJYvVEEH/itGRAYQ94mO9b0qnAOm3Y8 ZmWEst4Njp4Yt3kkik548eN89sfPgSCZFpupa4Nf8993KFpUAVHTdpsKf4BL8h7i hpijyxlTYH0= =Rkhl -----END PGP SIGNATURE-----
--- End Message ---
