Re: [Libguestfs] virt-builder problem
On Tue, Jun 23, 2020 at 06:14:06PM +0800, 雁渡寒潭 wrote:
hello: I yum install libguestfs-tools,when I run virt-builder -l error: curl: (56) Recv failure: Connection reset by peer virt-builder: error: external command ‘'curl' -q --config '/tmp/virt-builder.sVjrSV/guestfscurl53f9ac.conf'’ exited with error 56
Possibly a problem reaching http://builder.libguestfs.org/ ? It might be blocked in some countries.
this is detailed: /usr/bin/gpg2 --homedir /tmp/virt-builder.sVjrSV/vb.gpghome.1AUiGm --verify --status-file '/tmp/virt-builder.sVjrSV/vbstatc04e44.txt' '/tmp/virt-builder.sVjrSV/vbcache1f47e5.txt' gpg: Signature made Tue 16 Jun 2020 07:48:27 PM CST using RSA key ID E1B768A0 gpg: Good signature from "Richard W.M. Jones <rjones@redhat.com>" gpg: aka "Richard W.M. Jones <rich@annexia.org>" /usr/bin/gpg2 --homedir /tmp/virt-builder.sVjrSV/vb.gpghome.YDYcXd --list-keys gpg: keyring `/tmp/virt-builder.sVjrSV/vb.gpghome.YDYcXd/pubring.gpg' created gpg: /tmp/virt-builder.sVjrSV/vb.gpghome.YDYcXd/trustdb.gpg: trustdb created /usr/bin/gpg2 --homedir /tmp/virt-builder.sVjrSV/vb.gpghome.YDYcXd --status-file '/tmp/virt-builder.sVjrSV/vbstatf02a5b.txt' --import '/etc/xdg/virt-builder/repos.d/libguestfs.gpg' gpg: keyring `/tmp/virt-builder.sVjrSV/vb.gpghome.YDYcXd/secring.gpg' created gpg: key E1B768A0: public key "Richard W.M. Jones <rjones@redhat.com>" imported gpg: Total number processed: 1 gpg: imported: 1 (RSA: 1) /usr/bin/gpg2 --homedir /tmp/virt-builder.sVjrSV/vb.gpghome.YDYcXd --trusted-key '91738F73E1B768A0' --list-keys gpg: key E1B768A0 marked as ultimately trusted gpg: checking the trustdb gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model gpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 1u /tmp/virt-builder.sVjrSV/vb.gpghome.YDYcXd/pubring.gpg ------------------------------------------------------ pub 4096R/E1B768A0 2011-10-11 uid Richard W.M. Jones <rjones@redhat.com> uid Richard W.M. Jones <rich@annexia.org> sub 4096R/2D07308A 2011-10-11
/usr/bin/gpg2 --homedir /tmp/virt-builder.sVjrSV/vb.gpghome.YDYcXd --with-colons --with-fingerprint --with-fingerprint --list-keys F7774FB1AD074A7E8C8767EA91738F73E1B768A0 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 curl: (56) Recv failure: Connection reset by peer virt-builder: error: external command ‘'curl' -q --config '/tmp/virt-builder.sVjrSV/guestfscurl53f9ac.conf'’ exited with error 56 rm -rf '/tmp/virt-builder.sVjrSV' index file (http://download.opensuse.org/repositories/Virtualization:/virt-builder-image...) after parsing (C parser): [opensuse-13.1] name=openSUSE 13.1 osinfo=opensuse13.1 file=http://download.opensuse.org/repositories/Virtualization:/virt-builder-image... arch=x86_64 checksum[sha512]=feca65e4801e93c63ed6361f03c8577fc23e1e83f2f23404483ab1980d5c1da2520ba55542df8097832d9d3fbc4be231648c206d7089d5aec5efb369fb88f41a revision=232 format=qcow2 size=6441402368 compressed_size=337112892 expand=/dev/sda1 notes=This openSUSE image only contains the base pattern. It is designed to run as either KVM or Xen HVM guest.
Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org
THINK YOU! I'm from China! but,my network is can reaching http://builder.libguestfs.org/ ------------------ 原始邮件 ------------------ 发件人: "rjones"<rjones@redhat.com>; 发送时间: 2020年6月23日(星期二) 晚上6:37 收件人: "雁渡寒潭"<chnlcq@qq.com>;"libguestfs"<libguestfs@redhat.com>; 主题: Re: virt-builder problem On Tue, Jun 23, 2020 at 06:14:06PM +0800, 雁渡寒潭 wrote: > hello: I yum install libguestfs-tools,when I run virt-builder -l > error: > curl: (56) Recv failure: Connection reset by peer > virt-builder: error: external command ‘'curl' -q --config > '/tmp/virt-builder.sVjrSV/guestfscurl53f9ac.conf'’ exited with error 56 Possibly a problem reaching http://builder.libguestfs.org/ ? It might be blocked in some countries. > this is detailed: > /usr/bin/gpg2 --homedir /tmp/virt-builder.sVjrSV/vb.gpghome.1AUiGm --verify --status-file '/tmp/virt-builder.sVjrSV/vbstatc04e44.txt' '/tmp/virt-builder.sVjrSV/vbcache1f47e5.txt' > gpg: Signature made Tue 16 Jun 2020 07:48:27 PM CST using RSA key ID E1B768A0 > gpg: Good signature from "Richard W.M. Jones <rjones@redhat.com>" > gpg: aka "Richard W.M. Jones <rich@annexia.org>" > /usr/bin/gpg2 --homedir /tmp/virt-builder.sVjrSV/vb.gpghome.YDYcXd --list-keys > gpg: keyring `/tmp/virt-builder.sVjrSV/vb.gpghome.YDYcXd/pubring.gpg' created > gpg: /tmp/virt-builder.sVjrSV/vb.gpghome.YDYcXd/trustdb.gpg: trustdb created > /usr/bin/gpg2 --homedir /tmp/virt-builder.sVjrSV/vb.gpghome.YDYcXd --status-file '/tmp/virt-builder.sVjrSV/vbstatf02a5b.txt' --import '/etc/xdg/virt-builder/repos.d/libguestfs.gpg' > gpg: keyring `/tmp/virt-builder.sVjrSV/vb.gpghome.YDYcXd/secring.gpg' created > gpg: key E1B768A0: public key "Richard W.M. Jones <rjones@redhat.com>" imported > gpg: Total number processed: 1 > gpg: imported: 1 (RSA: 1) > /usr/bin/gpg2 --homedir /tmp/virt-builder.sVjrSV/vb.gpghome.YDYcXd --trusted-key '91738F73E1B768A0' --list-keys > gpg: key E1B768A0 marked as ultimately trusted > gpg: checking the trustdb > gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model > gpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 1u > /tmp/virt-builder.sVjrSV/vb.gpghome.YDYcXd/pubring.gpg > ------------------------------------------------------ > pub 4096R/E1B768A0 2011-10-11 > uid Richard W.M. Jones <rjones@redhat.com> > uid Richard W.M. Jones <rich@annexia.org> > sub 4096R/2D07308A 2011-10-11 > > > /usr/bin/gpg2 --homedir /tmp/virt-builder.sVjrSV/vb.gpghome.YDYcXd --with-colons --with-fingerprint --with-fingerprint --list-keys F7774FB1AD074A7E8C8767EA91738F73E1B768A0 > % Total % Received % Xferd Average Speed Time Time Time Current > Dload Upload Total Spent Left Speed > 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 > curl: (56) Recv failure: Connection reset by peer > virt-builder: error: external command ‘'curl' -q --config > '/tmp/virt-builder.sVjrSV/guestfscurl53f9ac.conf'’ exited with error 56 > rm -rf '/tmp/virt-builder.sVjrSV' > index file (http://download.opensuse.org/repositories/Virtualization:/virt-builder-image...) after parsing (C parser): > [opensuse-13.1] > name=openSUSE 13.1 > osinfo=opensuse13.1 > file=http://download.opensuse.org/repositories/Virtualization:/virt-builder-image... > arch=x86_64 > checksum[sha512]=feca65e4801e93c63ed6361f03c8577fc23e1e83f2f23404483ab1980d5c1da2520ba55542df8097832d9d3fbc4be231648c206d7089d5aec5efb369fb88f41a > revision=232 > format=qcow2 > size=6441402368 > compressed_size=337112892 > expand=/dev/sda1 > notes=This openSUSE image only contains the base pattern. It is > designed to run as either KVM or Xen HVM guest. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org
Could you run this command and send the complete file /tmp/output to the list? virt-builder -v -x fedora-31 |& tee /tmp/output Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top
Please check the attachment. ------------------ Original ------------------ From: "rjones"<rjones@redhat.com>; Date: Tue, Jun 23, 2020 09:39 PM To: "雁渡寒潭"<chnlcq@qq.com>; Cc: "libguestfs"<libguestfs@redhat.com>; Subject: Re: [Libguestfs] 回复: virt-builder problem Could you run this command and send the complete file /tmp/output to the list? virt-builder -v -x fedora-31 |& tee /tmp/output Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top
On Tue, Jun 23, 2020 at 11:58:44PM +0800, 雁渡寒潭 wrote:
Please check the attachment.
Thanks for collecting that. As far as I can see the error is coming from one of the downloads. These is the full list of downloads that virt-builder makes in the default configuration: http://download.opensuse.org/repositories/Virtualization:/virt-builder-image... http://builder.libguestfs.org/index.asc http://archive.libguestfs.org/builder/index.asc I wonder if the problem is with archive.libguestfs.org? Can you access all of those URLs? Also you can disable particular archives by editing the files in /etc/virt-builder/repos.d/*.conf. Just comment out the sections that you don't want to download to see if that improves things. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into KVM guests. http://libguestfs.org/virt-v2v
participants (2)
-
Richard W.M. Jones -
雁渡寒潭