[Bug 1142988] New: networking problems using cloud-init in leap 15.1 images
http://bugzilla.opensuse.org/show_bug.cgi?id=1142988
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
--> http://bugzilla.opensuse.org/attachment.cgi?id=811728&action=edit
/var/log/cloud-init.log
Using the image from 2019-07-24:
http://download.opensuse.org/repositories/Cloud:/Images:/Leap_15.1/images/op...
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 (
http://bugzilla.opensuse.org/show_bug.cgi?id=1142988
http://bugzilla.opensuse.org/show_bug.cgi?id=1142988#c1
--- Comment #1 from Carsten Hoeger
http://bugzilla.opensuse.org/show_bug.cgi?id=1142988
http://bugzilla.opensuse.org/show_bug.cgi?id=1142988#c2
--- Comment #2 from Carsten Hoeger
http://bugzilla.opensuse.org/show_bug.cgi?id=1142988
http://bugzilla.opensuse.org/show_bug.cgi?id=1142988#c3
--- Comment #3 from Carsten Hoeger
http://bugzilla.opensuse.org/show_bug.cgi?id=1142988
Raymond Finzel
http://bugzilla.opensuse.org/show_bug.cgi?id=1142988
http://bugzilla.opensuse.org/show_bug.cgi?id=1142988#c5
--- Comment #5 from Raymond Finzel
http://bugzilla.opensuse.org/show_bug.cgi?id=1142988
Raymond Finzel
http://bugzilla.opensuse.org/show_bug.cgi?id=1142988
http://bugzilla.opensuse.org/show_bug.cgi?id=1142988#c6
--- Comment #6 from Robert Schweikert
http://bugzilla.opensuse.org/show_bug.cgi?id=1142988
http://bugzilla.opensuse.org/show_bug.cgi?id=1142988#c7
--- Comment #7 from Raymond Finzel
http://bugzilla.opensuse.org/show_bug.cgi?id=1142988
http://bugzilla.opensuse.org/show_bug.cgi?id=1142988#c8
Robert Schweikert
http://bugzilla.opensuse.org/show_bug.cgi?id=1142988
http://bugzilla.opensuse.org/show_bug.cgi?id=1142988#c9
--- Comment #9 from Raymond Finzel
http://bugzilla.opensuse.org/show_bug.cgi?id=1142988
http://bugzilla.opensuse.org/show_bug.cgi?id=1142988#c10
--- Comment #10 from Raymond Finzel
http://bugzilla.opensuse.org/show_bug.cgi?id=1142988
http://bugzilla.opensuse.org/show_bug.cgi?id=1142988#c11
--- Comment #11 from Robert Schweikert
http://bugzilla.opensuse.org/show_bug.cgi?id=1142988
http://bugzilla.opensuse.org/show_bug.cgi?id=1142988#c12
--- Comment #12 from Robert Schweikert
http://bugzilla.opensuse.org/show_bug.cgi?id=1142988
Robert Schweikert
http://bugzilla.opensuse.org/show_bug.cgi?id=1142988
http://bugzilla.opensuse.org/show_bug.cgi?id=1142988#c13
--- Comment #13 from Raymond Finzel
OK, the next build in Cloud:Tools should fix the issue.
Another quick test?
Thanks
By jove it works! Thanks so much for this, was going to give up but I'm so glad
I get to use opensuse for this project now.
If anyone else needs to get this working fast, grab the qcow2 cloud image,
install libguestfs (command for opensuse host)
$ sudo zypper in libguestfs
run
$ virt-customize -a
http://bugzilla.opensuse.org/show_bug.cgi?id=1142988
http://bugzilla.opensuse.org/show_bug.cgi?id=1142988#c17
Carsten Hoeger
http://bugzilla.opensuse.org/show_bug.cgi?id=1142988
http://bugzilla.opensuse.org/show_bug.cgi?id=1142988#c18
Carsten Hoeger
participants (1)
-
bugzilla_noreply@novell.com