Hello, I have a trouble when build virt-p2v-0.9.9.tar.gz to generate an iso file. Search for help
I have install all the packet that virt-p2v depend on, and i run the follow commands successfully configure make rpm But when i enter "make build" command, wait minutes, i got the follow error: Setting maximal mount count to -1 Setting interval between checks to 0 seconds Error creating Live CD : Unable to download from repo : Cannot retrieve repository metadata (repomd.xml) for repository: released. Please verify its path and try again make: *** [build] error 1 Could anyone tell me where it want to get repository metadata , and which tools or command it use to get?
Arthur Wang Research Department, CPD Huawei Technologies Co., Ltd. Phone: 86-755-28976096 Email: wangjihai@huawei.com
2009-05-25
On Mon, May 25, 2009 at 09:21:37AM +0800, Arthur Wang wrote:
Hello, I have a trouble when build virt-p2v-0.9.9.tar.gz to generate an iso file. Search for help
I have install all the packet that virt-p2v depend on, and i run the follow commands successfully configure make rpm But when i enter "make build" command, wait minutes, i got the follow error: Setting maximal mount count to -1 Setting interval between checks to 0 seconds Error creating Live CD : Unable to download from repo : Cannot retrieve repository metadata (repomd.xml) for repository: released. Please verify its path and try again make: *** [build] error 1 Could anyone tell me where it want to get repository metadata , and which tools or command it use to get?
Just to check that you do have network access where you are trying to build, right?
The other things to change are the CD base version, eg:
./configure --enable-cd-base=10
which will base everything on Fedora 10.
Have a look also at the generated kickstart file, p2v.ks, to see what it contains.
Rich.
Hello, The p2v.ks contains the follows: lang en_US.UTF-8 keyboard us timezone US/Eastern auth --useshadow --enablemd5 selinux --enforcing firewall --disabled # This should enable the serial console. However it requires # livecd-tools 018 or above (is ignored on earlier versions). bootloader --append="console=tty0 console=ttyS0,9600n8" # Basic Fedora repository and updates. repo --name=released --baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/9/Everything/i38... repo --name=updates --baseurl=http://download.fedora.redhat.com/pub/fedora/linux/updates/9/i386/ #repo --name=released --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-9&arch=i386 # A local repository if selected by ./configure --enable-localrepo=... # The p2vrepo subdirectory, containing virt-p2v RPM. repo --name=p2v --baseurl=file:///home/w00135343/virt-p2v--devel/p2vrepo %packages --excludedocs bash kernel syslinux passwd policycoreutils chkconfig authconfig rootfiles # For unicode console support. kbd # dd, sleep, sync, etc. coreutils # For device mapping device-mapper util-linux-ng module-init-tools gzip kpartx # For remote communications openssh-clients nc # For the shell script grep sed
And i guess it is the repo command to cause this error, for the two line as follows repo --name=released --baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/9/Everything/i38... repo --name=updates --baseurl=http://download.fedora.redhat.com/pub/fedora/linux/updates/9/i386/ the reason is that in my company i have to use proxy for network access , but i don't know which tools repo command comes from , and how to set its proxy. Could you give me some suggestion? thank you.
2009-05-27
Sender: Richard W.M. Jones Send time: 2009-05-26 23:22:17 Receiver: Arthur Wang Copyto: Fedora-virt Topic: Re: [fedora-virt] how to build iso from virt-p2v
On Mon, May 25, 2009 at 09:21:37AM +0800, Arthur Wang wrote:
Hello, I have a trouble when build virt-p2v-0.9.9.tar.gz to generate an iso file. Search for help
I have install all the packet that virt-p2v depend on, and i run the follow commands successfully configure make rpm But when i enter "make build" command, wait minutes, i got the follow error: Setting maximal mount count to -1 Setting interval between checks to 0 seconds Error creating Live CD : Unable to download from repo : Cannot retrieve repository metadata (repomd.xml) for repository: released. Please verify its path and try again make: *** [build] error 1 Could anyone tell me where it want to get repository metadata , and which tools or command it use to get?
Just to check that you do have network access where you are trying to build, right? The other things to change are the CD base version, eg: ./configure --enable-cd-base=10 which will base everything on Fedora 10. Have a look also at the generated kickstart file, p2v.ks, to see what it contains. Rich.
On Wed, May 27, 2009 at 09:44:25AM +0800, Arthur Wang wrote:
And i guess it is the repo command to cause this error, for the two line as follows repo --name=released --baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/9/Everything/i38... repo --name=updates --baseurl=http://download.fedora.redhat.com/pub/fedora/linux/updates/9/i386/ the reason is that in my company i have to use proxy for network access , but i don't know which tools repo command comes from , and how to set its proxy. Could you give me some suggestion? thank you.
This is a kickstart script, and the 'repo' command is part of kickstart. See:
http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Installatio...
http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Installatio...
I actually have no idea how to specify a proxy for kickstart - it doesn't seem to be covered in the manual. However you might try setting the environment variables $http_proxy and/or $ftp_proxy to point to your internal proxy. eg:
export http_proxy=http://11.22.33.44:3128/
Rich.
Thank you for your advice, i have solved the proxy problem after set as you say. but i meet a new error, the error log is as follows: Retrieving http://download.fedora.redhat.com/pub/fedora/linux/releases/10/Everything/i3... ...OK Retrieving http://download.fedora.redhat.com/pub/fedora/linux/releases/10/Everything/i3... ...OK Retrieving http://download.fedora.redhat.com/pub/fedora/linux/releases/10/Everything/i3... ...OK Retrieving http://download.fedora.redhat.com/pub/fedora/linux/releases/10/Everything/i3... ...OK Traceback (most recent call last): File "/usr/share/yum-cli/callback.py", line 124, in callback fd = os.open(rpmloc, os.O_RDONLY) OSError: [Errno 2] No such file or directory: '/var/tmp/imgcreate-FmND9q/install_root/var/cache/yum/updates/packages/setup-2.7.4-4.fc10.noarch.rpm' error: python callback <bound method RPMInstallCallback.callback of <callback.RPMInstallCallback instance at 0xac997ec>> failed, aborting! make: *** [build] error 1 My build entironment is fedora 10.
2009-06-01
Sender: Richard W.M. Jones Send time: 2009-05-27 15:20:27 Receiver: Arthur Wang Copyto: Fedora-virt Topic: Re: [fedora-virt] how to build iso from virt-p2v
On Wed, May 27, 2009 at 09:44:25AM +0800, Arthur Wang wrote:
And i guess it is the repo command to cause this error, for the two line as follows repo --name=released --baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/9/Everything/i38... repo --name=updates --baseurl=http://download.fedora.redhat.com/pub/fedora/linux/updates/9/i386/ the reason is that in my company i have to use proxy for network access , but i don't know which tools repo command comes from , and how to set its proxy. Could you give me some suggestion? thank you.
This is a kickstart script, and the 'repo' command is part of kickstart. See: http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Installatio... http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Installatio... I actually have no idea how to specify a proxy for kickstart - it doesn't seem to be covered in the manual. However you might try setting the environment variables $http_proxy and/or $ftp_proxy to point to your internal proxy. eg: export http_proxy=http://11.22.33.44:3128/ Rich.
On Mon, Jun 01, 2009 at 03:16:21PM +0800, Arthur Wang wrote:
Thank you for your advice, i have solved the proxy problem after set as you say. but i meet a new error, the error log is as follows: Retrieving http://download.fedora.redhat.com/pub/fedora/linux/releases/10/Everything/i3... ...OK Retrieving http://download.fedora.redhat.com/pub/fedora/linux/releases/10/Everything/i3... ...OK Retrieving http://download.fedora.redhat.com/pub/fedora/linux/releases/10/Everything/i3... ...OK Retrieving http://download.fedora.redhat.com/pub/fedora/linux/releases/10/Everything/i3... ...OK Traceback (most recent call last): File "/usr/share/yum-cli/callback.py", line 124, in callback fd = os.open(rpmloc, os.O_RDONLY) OSError: [Errno 2] No such file or directory: '/var/tmp/imgcreate-FmND9q/install_root/var/cache/yum/updates/packages/setup-2.7.4-4.fc10.noarch.rpm' error: python callback <bound method RPMInstallCallback.callback of <callback.RPMInstallCallback instance at 0xac997ec>> failed, aborting! make: *** [build] error 1 My build entironment is fedora 10.
This looks a lot like a livecd-creator problem / bug.
One suggestion is to make sure /var/tmp and any other directories that livecd-creator might have are on the local machine (eg. not NFS mounted etc).
But apart from that I don't know. You'll have to ask the livecd devs:
http://www.redhat.com/mailman/listinfo/fedora-livecd-list
Rich.