[Bug 1190501] New: virt-builder fails to install packages when building an image
http://bugzilla.opensuse.org/show_bug.cgi?id=1190501 Bug ID: 1190501 Summary: virt-builder fails to install packages when building an image Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Virtualization:Tools Assignee: virt-bugs@suse.de Reporter: jfehlig@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Attempting to build a test image with virt-builder fails when installing packages in the image. As an example, by default libvirt-tck will build a fedora34 based image to use for its various tests with something like virt-builder --install dsniff --selinux-relabel --root-password password:123456 --ssh-inject root:file:/var/cache/libvirt-tck/ssh/id_rsa.pub --output /var/cache/libvirt-tck/os-x86_64-hvm/disk-fedora-34.img --memsize 1024 fedora-34 Them image build process fails when trying to install the dsniff package error: Curl error (6): Couldn't resolve host name for https://mirrors.fedoraproject.org/metalink?repo=fedora-cisco- openh264-34&arch=x86_64 [Could not resolve host: mirrors.fedoraproject.org] ... virt-builder: error: dnf --verbose -y install 'dsniff': command exited with an error Apparently there is a network problem within the libguestfs appliance used to install packages in the image. The verbose output of the virt-builder command contains this suspect line from the appliance [ 1.691749] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 2.099182] NET: Registered protocol family 17 /sbin/netconfig: line 52: /dev/fd/63: No such file or directory Although eth0 in the appliance did received a configuration 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether 52:54:00:12:34:56 brd ff:ff:ff:ff:ff:ff inet 169.254.2.15/16 brd 169.254.255.255 scope global eth0 valid_lft forever preferred_lft forever The same issue is observed on SLE15 SP3, but not on SLE15 SP2. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1190501 http://bugzilla.opensuse.org/show_bug.cgi?id=1190501#c1 --- Comment #1 from James Fehlig <jfehlig@suse.com> --- Created attachment 852515 --> http://bugzilla.opensuse.org/attachment.cgi?id=852515&action=edit verbose output from virt-builder -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1190501 http://bugzilla.opensuse.org/show_bug.cgi?id=1190501#c7 --- Comment #7 from James Fehlig <jfehlig@suse.com> --- Created attachment 852550 --> http://bugzilla.opensuse.org/attachment.cgi?id=852550&action=edit Another virt-builder verbose output I updated the libguestfs and related packages on my TW machine and things seem worse. virt-builder does not progress far at all now and fails with curl: (7) Failed to connect to archive.libguestfs.org port 80 after 1193 ms: No route to host virt-builder: error: external command ���'curl' -q --config '/tmp/virt-builder.ad8HNd/guestfscurl885f8c.conf'��� exited with error 7 Full log attached, although I didn't find anything interesting in there. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1190501 Al Cho <acho@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |acho@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1190501 http://bugzilla.opensuse.org/show_bug.cgi?id=1190501#c18 --- Comment #18 from OBSbugzilla Bot <bwiedemann+obsbugzillabot@suse.com> --- This is an autogenerated message for OBS integration: This bug (1190501) was mentioned in https://build.opensuse.org/request/show/980688 Factory / libguestfs -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com