Bug ID | 1142988 |
---|---|
Summary | networking problems using cloud-init in leap 15.1 images |
Classification | openSUSE |
Product | openSUSE.org |
Version | unspecified |
Hardware | Other |
OS | Other |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | 3rd party software |
Assignee | bnc-team-screening@forge.provo.novell.com |
Reporter | choeger@open-xchange.com |
QA Contact | bnc-team-screening@forge.provo.novell.com |
Found By | --- |
Blocker | --- |
Created attachment 811728 [details] /var/log/cloud-init.log Using the image from 2019-07-24: http://download.opensuse.org/repositories/Cloud:/Images:/Leap_15.1/images/openSUSE-Leap-15.1-OpenStack.aarch64-0.0.4-Build6.7.qcow2 opensuse@buildservice:~> rpm -qa | grep cloud-init cloud-init-config-suse-19.1-lp151.6.1.x86_64 cloud-init-19.1-lp151.6.1.x86_64 in bootcmd of cloud-init there's a ping -c 1 build.opensuse.org, see below it fails resolving the hostname. after cloud-init is done, resolving that host is working opensuse@buildservice:~> ping -c 1 build.opensuse.org PING login.opensuse.org (195.135.221.133) 56(84) bytes of data. 64 bytes from login.opensuse.org (195.135.221.133): icmp_seq=1 ttl=56 time=11.5 ms --- login.opensuse.org ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 11.556/11.556/11.556/0.000 ms This issue might be the same as with bug 1116767 opensuse@buildservice:~> cat /var/log/cloud-init-output.log Cloud-init v. 19.1 running 'init-local' at Fri, 26 Jul 2019 09:15:56 +0000. Up 8.52 seconds. 2019-07-26 09:16:02,657 - stages.py[ERROR]: Unable to render networking. Network config is likely broken: No available network renderers found. Searched through list: ['eni', 'sysconfig', 'netplan'] Forcing raw metadata refresh Retrieving repository 'openSUSE-Leap-15.1-Cloud' metadata [.error] Repository 'openSUSE-Leap-15.1-Cloud' is invalid. [openSUSE-Leap-15.1-Cloud|http://download.opensuse.org/repositories/Cloud:/Tools/openSUSE_Leap_15.1/] Valid metadata not found at specified URL Please check if the URIs defined for this repository are pointing to a valid repository. Skipping repository 'openSUSE-Leap-15.1-Cloud' because of the above error. Forcing raw metadata refresh Retrieving repository 'openSUSE-Leap-15.1-Non-Oss' metadata [.error] Repository 'openSUSE-Leap-15.1-Non-Oss' is invalid. [openSUSE-Leap-15.1-Non-Oss|http://download.opensuse.org/distribution/leap/15.1/repo/non-oss/] Valid metadata not found at specified URL Please check if the URIs defined for this repository are pointing to a valid repository. Skipping repository 'openSUSE-Leap-15.1-Non-Oss' because of the above error. Forcing raw metadata refresh Retrieving repository 'openSUSE-Leap-15.1-Oss' metadata [.error] Repository 'openSUSE-Leap-15.1-Oss' is invalid. [openSUSE-Leap-15.1-Oss|http://download.opensuse.org/distribution/leap/15.1/repo/oss/] Valid metadata not found at specified URL Please check if the URIs defined for this repository are pointing to a valid repository. Skipping repository 'openSUSE-Leap-15.1-Oss' because of the above error. Forcing raw metadata refresh Retrieving repository 'openSUSE-Leap-15.1-Update' metadata [.error] Repository 'openSUSE-Leap-15.1-Update' is invalid. [openSUSE-Leap-15.1-Update|http://download.opensuse.org/update/leap/15.1/oss] Valid metadata not found at specified URL Please check if the URIs defined for this repository are pointing to a valid repository. Skipping repository 'openSUSE-Leap-15.1-Update' because of the above error. Forcing raw metadata refresh Retrieving repository 'openSUSE-Leap-15.1-Update-Non-Oss' metadata [.error] Repository 'openSUSE-Leap-15.1-Update-Non-Oss' is invalid. [repo-update-non-oss|http://download.opensuse.org/update/leap/15.1/non-oss/] Valid metadata not found at specified URL Please check if the URIs defined for this repository are pointing to a valid repository. Skipping repository 'openSUSE-Leap-15.1-Update-Non-Oss' because of the above error. Could not refresh the repositories because of errors. Retrieving repository 'openSUSE-Leap-15.1-Cloud' metadata [.error] Repository 'openSUSE-Leap-15.1-Cloud' is invalid. [openSUSE-Leap-15.1-Cloud|http://download.opensuse.org/repositories/Cloud:/Tools/openSUSE_Leap_15.1/] Valid metadata not found at specified URL Please check if the URIs defined for this repository are pointing to a valid repository. Warning: Skipping repository 'openSUSE-Leap-15.1-Cloud' because of the above error. Retrieving repository 'openSUSE-Leap-15.1-Non-Oss' metadata [.error] Repository 'openSUSE-Leap-15.1-Non-Oss' is invalid. [openSUSE-Leap-15.1-Non-Oss|http://download.opensuse.org/distribution/leap/15.1/repo/non-oss/] Valid metadata not found at specified URL Please check if the URIs defined for this repository are pointing to a valid repository. Warning: Skipping repository 'openSUSE-Leap-15.1-Non-Oss' because of the above error. Retrieving repository 'openSUSE-Leap-15.1-Oss' metadata [.error] Repository 'openSUSE-Leap-15.1-Oss' is invalid. [openSUSE-Leap-15.1-Oss|http://download.opensuse.org/distribution/leap/15.1/repo/oss/] Valid metadata not found at specified URL Please check if the URIs defined for this repository are pointing to a valid repository. Warning: Skipping repository 'openSUSE-Leap-15.1-Oss' because of the above error. Retrieving repository 'openSUSE-Leap-15.1-Update' metadata [.error] Repository 'openSUSE-Leap-15.1-Update' is invalid. [openSUSE-Leap-15.1-Update|http://download.opensuse.org/update/leap/15.1/oss] Valid metadata not found at specified URL Please check if the URIs defined for this repository are pointing to a valid repository. Warning: Skipping repository 'openSUSE-Leap-15.1-Update' because of the above error. Retrieving repository 'openSUSE-Leap-15.1-Update-Non-Oss' metadata [.error] Repository 'openSUSE-Leap-15.1-Update-Non-Oss' is invalid. [repo-update-non-oss|http://download.opensuse.org/update/leap/15.1/non-oss/] Valid metadata not found at specified URL Please check if the URIs defined for this repository are pointing to a valid repository. Warning: Skipping repository 'openSUSE-Leap-15.1-Update-Non-Oss' because of the above error. Some of the repositories have not been refreshed because of an error. Loading repository data... Reading installed packages... Package 'openssl-devel' not found. 'gcc' not found in package names. Trying capabilities. No provider of 'gcc' found. 'libffi48-devel' not found in package names. Trying capabilities. No provider of 'libffi48-devel' found. 'python-devel' not found in package names. Trying capabilities. No provider of 'python-devel' found. 'python-pip' not found in package names. Trying capabilities. No provider of 'python-pip' found. Loading repository data... Warning: No repositories defined. Operating only with the installed resolvables. Nothing can be installed. Reading installed packages... Resolving package dependencies... The following 3 packages are going to be REMOVED: gettext-runtime-mini grub2 grub2-i386-pc 3 packages to remove. After the operation, 37.6 MiB will be freed. Continue? [y/n/v/...? shows all options] (y): y (1/3) Removing grub2-i386-pc-2.02-lp151.21.3.1.noarch [.....done] (2/3) Removing grub2-2.02-lp151.21.3.1.x86_64 [.....done] Additional rpm output: warning: /etc/default/grub saved as /etc/default/grub.rpmsave (3/3) Removing gettext-runtime-mini-0.19.8.1-lp151.4.50.x86_64 [.....done] Retrieving repository 'openSUSE-Leap-15.1-Cloud' metadata [.error] Repository 'openSUSE-Leap-15.1-Cloud' is invalid. [openSUSE-Leap-15.1-Cloud|http://download.opensuse.org/repositories/Cloud:/Tools/openSUSE_Leap_15.1/] Valid metadata not found at specified URL Please check if the URIs defined for this repository are pointing to a valid repository. Warning: Skipping repository 'openSUSE-Leap-15.1-Cloud' because of the above error. Retrieving repository 'openSUSE-Leap-15.1-Non-Oss' metadata [.error] Repository 'openSUSE-Leap-15.1-Non-Oss' is invalid. [openSUSE-Leap-15.1-Non-Oss|http://download.opensuse.org/distribution/leap/15.1/repo/non-oss/] Valid metadata not found at specified URL Please check if the URIs defined for this repository are pointing to a valid repository. Warning: Skipping repository 'openSUSE-Leap-15.1-Non-Oss' because of the above error. Retrieving repository 'openSUSE-Leap-15.1-Oss' metadata [.error] Repository 'openSUSE-Leap-15.1-Oss' is invalid. [openSUSE-Leap-15.1-Oss|http://download.opensuse.org/distribution/leap/15.1/repo/oss/] Valid metadata not found at specified URL Please check if the URIs defined for this repository are pointing to a valid repository. Warning: Skipping repository 'openSUSE-Leap-15.1-Oss' because of the above error. Retrieving repository 'openSUSE-Leap-15.1-Update' metadata [.error] Repository 'openSUSE-Leap-15.1-Update' is invalid. [openSUSE-Leap-15.1-Update|http://download.opensuse.org/update/leap/15.1/oss] Valid metadata not found at specified URL Please check if the URIs defined for this repository are pointing to a valid repository. Warning: Skipping repository 'openSUSE-Leap-15.1-Update' because of the above error. Retrieving repository 'openSUSE-Leap-15.1-Update-Non-Oss' metadata [.error] Repository 'openSUSE-Leap-15.1-Update-Non-Oss' is invalid. [repo-update-non-oss|http://download.opensuse.org/update/leap/15.1/non-oss/] Valid metadata not found at specified URL Please check if the URIs defined for this repository are pointing to a valid repository. Warning: Skipping repository 'openSUSE-Leap-15.1-Update-Non-Oss' because of the above error. Some of the repositories have not been refreshed because of an error. Loading repository data... Reading installed packages... 'grub2' not found in package names. Trying capabilities. No provider of 'grub2' found. /run/cloud-init/tmp/tmpuhs9p2fn.sh: line 7: pip: command not found ping: build.opensuse.org: Name or service not known Cloud-init v. 19.1 running 'init' at Fri, 26 Jul 2019 09:16:03 +0000. Up 15.79 seconds. ci-info: +++++++++++++++++++++++++++Net device info++++++++++++++++++++++++++++ ci-info: +--------+-------+-----------+-----------+-------+-------------------+ ci-info: | Device | Up | Address | Mask | Scope | Hw-Address | ci-info: +--------+-------+-----------+-----------+-------+-------------------+ ci-info: | eth0 | False | . | . | . | fa:16:3e:30:20:e0 | ci-info: | lo | True | 127.0.0.1 | 255.0.0.0 | host | . | ci-info: | lo | True | ::1/128 | . | host | . | ci-info: +--------+-------+-----------+-----------+-------+-------------------+ ci-info: +++++++++++++++++++Route IPv6 info+++++++++++++++++++ ci-info: +-------+-------------+---------+-----------+-------+ ci-info: | Route | Destination | Gateway | Interface | Flags | ci-info: +-------+-------------+---------+-----------+-------+ ci-info: +-------+-------------+---------+-----------+-------+ 2019-07-26 09:16:11,219 - util.py[WARNING]: Failed to run bootcmd module bootcmd 2019-07-26 09:16:11,223 - util.py[WARNING]: Running module bootcmd (<module 'cloudinit.config.cc_bootcmd' from '/usr/lib/python3.6/site-packages/cloudinit/config/cc_bootcmd.py'>) failed 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:x3DgJiXezxe85+9HmzGMQkWAOxrimqRRVAYHEYGT5Uc root@buildservice The key's randomart image is: +---[RSA 2048]----+ | +BBE. o ..o. | | +..+. = o . . | | o. .o = o + | | ... + O . o | | . . . S B 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:Wk0jXSc4y+KRq3szQfIGqMl276CLU487RQ+ectKylxM root@buildservice The key's randomart image is: +---[DSA 1024]----+ | .o . | | .o. o | | . .o+o | | + o =+o. | | . * + *S+. | | X E .o* | | 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:5IMGxalDlioO5HV1+VQg+oG8YDKGrpq1YvJ8Cmg6aIo root@buildservice The key's randomart image is: +---[ECDSA 256]---+ | ooo o..o. | | ...+o+ +... | |o..Bo+ +..o | |+.o *..+o .. | |oo .o.S. | |o. . . | |=.. | |XB .. | |E+=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:erRbAWG5XsTBjmFINwDtcdIXdf0S+rYarjXF6jfFELA root@buildservice The key's randomart image is: +--[ED25519 256]--+ | .+o+=+o+o... | | =o*o= oo .| | . =.B E. o.| | . o.o ..o .| | .S.. .o+ | | o.. . oo o| | . o . =. o | | . o + o+ | | . ..+o . | +----[SHA256]-----+ Cloud-init v. 19.1 running 'modules:config' at Fri, 26 Jul 2019 09:16:28 +0000. Up 40.71 seconds.