Re: [Users] Reverse DNS really necessary?
- Original Message - Hi, oVirt's setup procedure seems to insist reverse DNS records are present. When running engine-setup interactively, you are able to override this, but with automated installations it flat outs refuses to install: == [root@ovirt ~]# engine-setup --answer-file=answers Welcome to oVirt Engine setup utility The IP 192.168.88.102 does not hold a PTR record for the FQDN: ovirt.maxnet.eu Failed handling answer file: Error reading parameter HOST_FQDN from answer file == The interactive setup allows you to force using a specific host name. This force command doesn't exists (iirc) in the answer-file mode. Kinda annoying requirment, when you only want to create a quick test setup. Was wondering where it is actually using reverse DNS for? -- Yours sincerely, Floris Bos ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Pxeboot
Mike, Two quick questions before I kick off a build: 1. Git errors. Do they matter? [lid@FC16-1 node-archipel-2.2.2]$ git clone http://gerrit.ovirt.org/p/ovirt-node.git refs/changes/38/1738/1git checkout FETCH_HEAD Cloning into refs/changes/38/1738/1... remote: Counting objects: 14791, done remote: Finding sources: 100% (14791/14791) remote: Total 14791 (delta 10855), reused 14778 (delta 10855) Receiving objects: 100% (14791/14791), 16.92 MiB | 154 KiB/s, done. Resolving deltas: 100% (10855/10855), done. fatal: Not a git repository (or any of the parent directories): .git 2. Build machine. I am using a x86_64 FC16 VM as the build machine. My target is x86_64 Intel board. Is this ok? - David From: Mike Burns [mbu...@redhat.com] Sent: Thursday, February 09, 2012 8:16 AM To: Li, David Cc: Perry Myers; users@ovirt.org Subject: RE: [Users] Pxeboot On Thu, 2012-02-09 at 08:10 -0800, Li, David wrote: Not sure where the boot log is since I can't login. I got the source from https://github.com/primalmotion/archipel-node and followed the build instructions in http://ovirt.org/wiki/Node_Building maybe I should rebuild the iso from the ovirt node source tree as you have pulled in archipel changes yesterday. How do I do that? git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/38/1738/1 git checkout FETCH_HEAD That command will checkout the current version of the archipel-node changes. Then you can just follow the Node_Building process. Note that the changes aren't merged into master yet. I'm still in the process of reviewing them. Mike - David -Original Message- From: Mike Burns [mailto:mbu...@redhat.com] Sent: Thursday, February 09, 2012 7:22 AM To: Li, David Cc: Perry Myers; users@ovirt.org Subject: Re: [Users] Pxeboot On Thu, 2012-02-09 at 07:06 -0800, Li, David wrote: Mike, I added adminpw as a kernel option. After boot, I tried admin/abc123 and root/abc123 but not able to login. Any idea? Are there any errors in your build or boot logs? Mike David -Original Message- From: Mike Burns [mailto:mbu...@redhat.com] Sent: Wednesday, February 08, 2012 6:53 PM To: Li, David Cc: Perry Myers; users@ovirt.org Subject: Re: [Users] Pxeboot On Wed, 2012-02-08 at 17:11 -0800, Li, David wrote: Ok, I built an iso out of archipel and pxebooted it with stateless option. Now I got a localhost login prompt. Any idea what should I put in as user/pwd? David You will need to pass a password in on the command line as well adminpw=hashed_password You can generate the hashed password using: $ openssl passwd Assuming the password was abc123 $ openssl passwd abc123 tKrQfufCbosr6 adminpw=tKrQfufCbosr6 Mike -Original Message- From: Mike Burns [mailto:mbu...@redhat.com] Sent: Wednesday, February 08, 2012 4:31 PM To: Li, David Cc: Perry Myers; users@ovirt.org Subject: RE: [Users] Pxeboot On Wed, 2012-02-08 at 15:43 -0800, Li, David wrote: Ok, I think we are on the same page now regarding stateless node. It looks like the achipel diff you just pulled in might be able to do this. But I can't quite make it out what the kernel option should be. Is it stateless=1? stateless=1 or just stateless, both will work. David -Original Message- From: Mike Burns [mailto:mbu...@redhat.com] Sent: Wednesday, February 08, 2012 3:27 PM To: Li, David Cc: Perry Myers; users@ovirt.org Subject: Re: [Users] Pxeboot On Wed, 2012-02-08 at 15:19 -0800, Li, David wrote: Perry, I am glad you brought this up. I 'd be perfectly happy to run the root fs entirely in RAM. In fact that would be ideal for me. It's just I am not quite sure how to use pxeboot to achieve this. I am doing a test now using the tftpboot files created from the iso. As far as I see, the kernel boot options (pxelinux.cfg/default) has: root=live:/ovirt-node-image-2.2.2-1.1.fc16.iso With this I can only pxeboot to the intall screen. What should I use to let the kernel mount the root fs in memory? Something like root=/dev/ram0? David It's not currently possible with ovirt-node. That's the whole stateless feature that we outlined. Once we actually have it implemented, it will be something along the lines of adding stateless to the kernel commandline. Mike -Original Message- From: Perry Myers [mailto:pmy...@redhat.com] Sent: Wednesday, February 08, 2012 2:54 PM To: Mike Burns Cc: Li, David; users@ovirt.org Subject: Re: [Users] Pxeboot On 02/08/2012 05:03 PM, Mike Burns wrote: On Wed, 2012-02-08 at 13:46 -0800, Li, David wrote: Mike, If I understand this correctly,
[Users] Hey using NFS as my main datastore
I am using NFS share on an Openfile server as my main datastore went to fire up a virtual instance this is the error I get: VM Building_Automation is down. Exit message internal error process exited while connecting to monitor: qemu-kvm: -drive file=/rhev/data-center/c10c25e0-526a-11e1-a5e4-87fa674ffb5d/340dad49-2ec7-475e-b6c6-668504bdb5b1/images/da582689-2248-4d0e-a017-b09f8cfa9410/78340ab7-b1f5-4fad-9150-437e7ff9d14c,if=none,id=drive-virtio-disk0,format=raw,serial=0e-a017-b09f8cfa9410,cache=none,werror=stop,rerror=stop,aio=threads: could not open disk image /rhev/data-center/c10c25e0-526a-11e1-a5e4-87fa674ffb5d/340dad49-2ec7-475e-b6c6-668504bdb5b1/images/da582689-2248-4d0e-a017-b09f8cfa9410/78340ab7-b1f5-4fad-9150-437e7ff9d14c: Permission denied . Does vdsm have to be installed on the server that shares the main datastore? Export and ISO are fine no problems. -- Dominic Kaiser Greater Boston Vineyard Director of Operations cell: 617-230-1412 fax: 617-252-0238 email: domi...@bostonvineyard.org ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Hey using NFS as my main datastore
So I have fixed it! Thanks Itamar! It was chown -R 36:36 /path to my shared folder. I should have looked at the ovirt wiki also: http://www.ovirt.org/wiki/Troubleshooting_NFS_Storage_Issues. So all NFS shares up and my virtual servers are starting. Dominic On Thu, Feb 9, 2012 at 12:41 PM, Dominic Kaiser domi...@bostonvineyard.orgwrote: I am using NFS share on an Openfile server as my main datastore went to fire up a virtual instance this is the error I get: VM Building_Automation is down. Exit message internal error process exited while connecting to monitor: qemu-kvm: -drive file=/rhev/data-center/c10c25e0-526a-11e1-a5e4-87fa674ffb5d/340dad49-2ec7-475e-b6c6-668504bdb5b1/images/da582689-2248-4d0e-a017-b09f8cfa9410/78340ab7-b1f5-4fad-9150-437e7ff9d14c,if=none,id=drive-virtio-disk0,format=raw,serial=0e-a017-b09f8cfa9410,cache=none,werror=stop,rerror=stop,aio=threads: could not open disk image /rhev/data-center/c10c25e0-526a-11e1-a5e4-87fa674ffb5d/340dad49-2ec7-475e-b6c6-668504bdb5b1/images/da582689-2248-4d0e-a017-b09f8cfa9410/78340ab7-b1f5-4fad-9150-437e7ff9d14c: Permission denied . Does vdsm have to be installed on the server that shares the main datastore? Export and ISO are fine no problems. -- Dominic Kaiser Greater Boston Vineyard Director of Operations cell: 617-230-1412 fax: 617-252-0238 email: domi...@bostonvineyard.org -- Dominic Kaiser Greater Boston Vineyard Director of Operations cell: 617-230-1412 fax: 617-252-0238 email: domi...@bostonvineyard.org ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Hey using NFS as my main datastore
- Original Message - From: Itamar Heim ih...@redhat.com To: Dominic Kaiser domi...@bostonvineyard.org Cc: users@ovirt.org Sent: Thursday, February 9, 2012 7:44:54 PM Subject: Re: [Users] Hey using NFS as my main datastore On 02/09/2012 07:41 PM, Dominic Kaiser wrote: I am using NFS share on an Openfile server as my main datastore went to fire up a virtual instance this is the error I get: VM Building_Automation is down. Exit message internal error process exited while connecting to monitor: qemu-kvm: -drive file=/rhev/data-center/c10c25e0-526a-11e1-a5e4-87fa674ffb5d/340dad49-2ec7-475e-b6c6-668504bdb5b1/images/da582689-2248-4d0e-a017-b09f8cfa9410/78340ab7-b1f5-4fad-9150-437e7ff9d14c,if=none,id=drive-virtio-disk0,format=raw,serial=0e-a017-b09f8cfa9410,cache=none,werror=stop,rerror=stop,aio=threads: could not open disk image /rhev/data-center/c10c25e0-526a-11e1-a5e4-87fa674ffb5d/340dad49-2ec7-475e-b6c6-668504bdb5b1/images/da582689-2248-4d0e-a017-b09f8cfa9410/78340ab7-b1f5-4fad-9150-437e7ff9d14c: Permission denied . It might be an selinux issue, please run the following: 1) run getenforce - if getenforce == enforcing, please run 'setenforce 0' and re-run the vm 2) ls -Zl /rhev/data-center/c10c25e0-526a-11e1-a5e4-87fa674ffb5d/340dad49-2ec7-475e-b6c6-668504bdb5b1/images/da582689-2248-4d0e-a017-b09f8cfa9410/78340ab7-b1f5-4fad-9150-437e7ff9d14c 3) rpm -qa | egrep selinux|qemu-kvm|vdsm|libvirt Does vdsm have to be installed on the server that shares the main datastore? Export and ISO are fine no problems. no need (say you would use a netapp, you couldn't install vdsm on it). but you get a permission denied. what does ls -l shows on that path? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Pxeboot
ok, that's my bad:) Ran into error at the last iso build step: Start building ISO image ( \ echo PRODUCT='oVirt Node Hypervisor' ;\ echo PRODUCT_SHORT='oVirt Node Hypervisor' ;\ echo PACKAGE=ovirt-node-image ;\ echo VERSION=2.2.3 ;\ echo RELEASE=0.1.fc16.git16688ea ;\ ) version.ks ./node-creator ovirt-node-image.ks Error creating Live CD : Unable to download from repo : Cannot retrieve repository metadata (repomd.xml) for repository: local. Please verify its path and try again mv ovirt-node-image.iso ovirt-node-image-2.2.3-0.1.fc16.git16688ea.iso mv: cannot stat `ovirt-node-image.iso': No such file or directory make: *** [ovirt-node-image.iso] Error 1 I wonder which repo my machine is lacking? - David From: Mike Burns [mbu...@redhat.com] Sent: Thursday, February 09, 2012 10:02 AM To: Li, David Cc: Perry Myers; users@ovirt.org Subject: Re: [Users] Pxeboot On Thu, 2012-02-09 at 09:47 -0800, Li, David wrote: Got an error: [lid@FC16-1 ovirt-node]$ git fetch http://gerrit.ovirt.org/ refs/changes/38/1738/1git cherry-pick FETCH_HEAD fatal: http://gerrit.ovirt.org/info/refs not found: did you run git update-server-info on the server? Bad copy/paste: git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/38/1738/1 git cherry-pick FETCH_HEAD any ideas? - David From: Mike Burns [mbu...@redhat.com] Sent: Thursday, February 09, 2012 8:37 AM To: Li, David Cc: Perry Myers; users@ovirt.org Subject: Re: [Users] Pxeboot On Thu, 2012-02-09 at 08:30 -0800, Li, David wrote: Mike, Two quick questions before I kick off a build: 1. Git errors. Do they matter? [lid@FC16-1 node-archipel-2.2.2]$ git clone http://gerrit.ovirt.org/p/ovirt-node.git refs/changes/38/1738/1git checkout FETCH_HEAD Cloning into refs/changes/38/1738/1... remote: Counting objects: 14791, done remote: Finding sources: 100% (14791/14791) remote: Total 14791 (delta 10855), reused 14778 (delta 10855) Receiving objects: 100% (14791/14791), 16.92 MiB | 154 KiB/s, done. Resolving deltas: 100% (10855/10855), done. fatal: Not a git repository (or any of the parent directories): .git try this instead: git clone http://gerrit.ovirt.org/p/ovirt-node.git cd ovirt-node git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/38/1738/1 git cherry-pick FETCH_HEAD 2. Build machine. I am using a x86_64 FC16 VM as the build machine. My target is x86_64 Intel board. Is this ok? Should be fine. Mike - David From: Mike Burns [mbu...@redhat.com] Sent: Thursday, February 09, 2012 8:16 AM To: Li, David Cc: Perry Myers; users@ovirt.org Subject: RE: [Users] Pxeboot On Thu, 2012-02-09 at 08:10 -0800, Li, David wrote: Not sure where the boot log is since I can't login. I got the source from https://github.com/primalmotion/archipel-node and followed the build instructions in http://ovirt.org/wiki/Node_Building maybe I should rebuild the iso from the ovirt node source tree as you have pulled in archipel changes yesterday. How do I do that? git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/38/1738/1 git checkout FETCH_HEAD That command will checkout the current version of the archipel-node changes. Then you can just follow the Node_Building process. Note that the changes aren't merged into master yet. I'm still in the process of reviewing them. Mike - David -Original Message- From: Mike Burns [mailto:mbu...@redhat.com] Sent: Thursday, February 09, 2012 7:22 AM To: Li, David Cc: Perry Myers; users@ovirt.org Subject: Re: [Users] Pxeboot On Thu, 2012-02-09 at 07:06 -0800, Li, David wrote: Mike, I added adminpw as a kernel option. After boot, I tried admin/abc123 and root/abc123 but not able to login. Any idea? Are there any errors in your build or boot logs? Mike David -Original Message- From: Mike Burns [mailto:mbu...@redhat.com] Sent: Wednesday, February 08, 2012 6:53 PM To: Li, David Cc: Perry Myers; users@ovirt.org Subject: Re: [Users] Pxeboot On Wed, 2012-02-08 at 17:11 -0800, Li, David wrote: Ok, I built an iso out of archipel and pxebooted it with stateless option. Now I got a localhost login prompt. Any idea what should I put in as user/pwd? David You will need to pass a password in on the command line as well adminpw=hashed_password You can generate the hashed password using: $ openssl passwd Assuming the password was abc123 $ openssl passwd abc123 tKrQfufCbosr6 adminpw=tKrQfufCbosr6 Mike -Original Message- From: Mike Burns [mailto:mbu...@redhat.com] Sent: Wednesday, February 08, 2012
[Users] ANNOUNCE: oVirt First Release
I'm happy to announce the first community release of oVirt since the code was open sourced. The first release includes: * All the components required to operate a running oVirt installation * oVirt Engine is now running on Jboss AS7 as the application server * A new Python SDK to support the development of software utilizing the ovirt-engine APIs * Fedora based oVirt Node The release can be downloaded from: http://www.ovirt.org/get-ovirt/ The direct download links are: http://ovirt.org/releases/stable/src/ovirt-engine-3.0.0_0001.tar.gz http://ovirt.org/releases/stable/src/ovirt-engine-sdk-1.3.tar.gz http://ovirt.org/releases/stable/src/ovirt-node-2.2.2.tar.gz Release notes: http://www.ovirt.org/wiki/Release_Notes Installation Guide: http://www.ovirt.org/w/images/a/a9/OVirt-3.0-Installation_Guide-en-US.pdf For the entire oVirt community, thanks for your participation in making this release happen. In particular, thanks to anyone who contributed to this first release through testing, submitting patches, and bug reporting. Ofer oVirt release manager, on behalf of the oVirt team. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Hey using NFS as my main datastore
Hi Dominic, On 02/09/2012 01:49 PM, Dominic Kaiser wrote: So I have fixed it! Thanks Itamar! It was chown -R 36:36 /path to my shared folder. I should have looked at the ovirt wiki also: http://www.ovirt.org/wiki/Troubleshooting_NFS_Storage_Issues. So all NFS shares up and my virtual servers are starting. Nice! Next time something similar happens, you might want to try nfs-check script: http://gerrit.ovirt.org/gitweb?p=vdsm.git;a=commitdiff;h=578cfe90239d5c3f6f11f1fc063c148606e991dc Thanks! -- Cheers Douglas ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] ANNOUNCE: oVirt First Release
Congratulations to the team - great job. - Original Message - From: Ofer Schreiber oschr...@redhat.com To: annou...@ovirt.org, users@ovirt.org Sent: Thursday, February 9, 2012 2:15:15 PM Subject: ANNOUNCE: oVirt First Release I'm happy to announce the first community release of oVirt since the code was open sourced. The first release includes: * All the components required to operate a running oVirt installation * oVirt Engine is now running on Jboss AS7 as the application server * A new Python SDK to support the development of software utilizing the ovirt-engine APIs * Fedora based oVirt Node The release can be downloaded from: http://www.ovirt.org/get-ovirt/ The direct download links are: http://ovirt.org/releases/stable/src/ovirt-engine-3.0.0_0001.tar.gz http://ovirt.org/releases/stable/src/ovirt-engine-sdk-1.3.tar.gz http://ovirt.org/releases/stable/src/ovirt-node-2.2.2.tar.gz Release notes: http://www.ovirt.org/wiki/Release_Notes Installation Guide: http://www.ovirt.org/w/images/a/a9/OVirt-3.0-Installation_Guide-en-US.pdf For the entire oVirt community, thanks for your participation in making this release happen. In particular, thanks to anyone who contributed to this first release through testing, submitting patches, and bug reporting. Ofer oVirt release manager, on behalf of the oVirt team. ___ Announce mailing list annou...@ovirt.org http://lists.ovirt.org/mailman/listinfo/announce ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] oVirt Fedora repository
I'm trying to install the new oVirt packages on a fresh minimal install of Fedora as described on http://www.ovirt.org/get-ovirt/. I'm getting the following error when trying to run: sudo yum install -y ovirt-engine Error: Package: ovirt-engine-jboss-deps-3.0.0_0001-1.6.fc16.x86_64 (ovirt-engine-stable) Requires: ovirt-engine-jbossas Has anyone been successful in installing the ovirt-engine Fedora packages? Thanks, -Shawn ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Pxeboot
On Thu, 2012-02-09 at 11:52 -0800, Li, David wrote: It's still the same error: [lid@FC16-1 ovirt-node]$ cd recipe/ [lid@FC16-1 recipe]$ make ovirt-node-image.iso ( \ echo PRODUCT='oVirt Node Hypervisor' ;\ echo PRODUCT_SHORT='oVirt Node Hypervisor' ;\ echo PACKAGE=ovirt-node-image ;\ echo VERSION=2.2.3 ;\ echo RELEASE=0.1fc16.git16688ea ;\ ) version.ks ./node-creator ovirt-node-image.ks Error creating Live CD : Failed to find package '===' : No package(s) available to install mv ovirt-node-image.iso ovirt-node-image-2.2.3-0.1fc16.git16688ea.iso mv: cannot stat `ovirt-node-image.iso': No such file or directory make: *** [ovirt-node-image.iso] Error 1 [lid@FC16-1 recipe]$ echo $OVIRT_LOCAL_REPO file:///home/lid/ovirt-cache/ovirt [lid@FC16-1 recipe]$ ll /home/lid/ovirt-cache/ovirt/ total 12 drwxr-xr-x. 2 lid lid 4096 Feb 9 11:10 noarch drwxrwxr-x. 2 lid lid 4096 Feb 9 11:10 repodata drwxrwxr-x. 2 lid lid 4096 Feb 9 11:10 src That's a bug in the patch. edit recipe/common-pkgs.ks and remove the last line which is === Mike Did make publish store the rpms in $OVIRT_LOCAL_REPO? - David From: Mike Burns [mbu...@redhat.com] Sent: Thursday, February 09, 2012 11:44 AM To: Li, David Cc: Perry Myers; users@ovirt.org Subject: RE: [Users] Pxeboot On Thu, 2012-02-09 at 11:40 -0800, Li, David wrote: The error seems a little stubborn. [lid@FC16-1 recipe]$ echo $OVIRT_LOCAL_REPO file://home/lid/ovirt-cache/ovirt You need 3 slashes. file:///home/lid/ovirt-cache/ovirt [lid@FC16-1 recipe]$ make ovirt-node-image.iso ( \ echo PRODUCT='oVirt Node Hypervisor' ;\ echo PRODUCT_SHORT='oVirt Node Hypervisor' ;\ echo PACKAGE=ovirt-node-image ;\ echo VERSION=2.2.3 ;\ echo RELEASE=0.1fc16.git16688ea ;\ ) version.ks ./node-creator ovirt-node-image.ks Error creating Live CD : Unable to download from repo : Cannot retrieve repository metadata (repomd.xml) for repository: local. Please verify its path and try again mv ovirt-node-image.iso ovirt-node-image-2.2.3-0.1fc16.git16688ea.iso mv: cannot stat `ovirt-node-image.iso': No such file or directory make: *** [ovirt-node-image.iso] Error 1 There is also a pop-up window: Unable to open a folder for _ovirt-node-imag maybe it's looking at the wrong place? - David From: Mike Burns [mbu...@redhat.com] Sent: Thursday, February 09, 2012 11:15 AM To: Li, David Cc: Perry Myers; users@ovirt.org Subject: RE: [Users] Pxeboot On Thu, 2012-02-09 at 10:57 -0800, Li, David wrote: ok, that's my bad:) Ran into error at the last iso build step: Start building ISO image ( \ echo PRODUCT='oVirt Node Hypervisor' ;\ echo PRODUCT_SHORT='oVirt Node Hypervisor' ;\ echo PACKAGE=ovirt-node-image ;\ echo VERSION=2.2.3 ;\ echo RELEASE=0.1.fc16.git16688ea ;\ ) version.ks ./node-creator ovirt-node-image.ks Error creating Live CD : Unable to download from repo : Cannot retrieve repository metadata (repomd.xml) for repository: local. Please verify its path and try again mv ovirt-node-image.iso ovirt-node-image-2.2.3-0.1.fc16.git16688ea.iso mv: cannot stat `ovirt-node-image.iso': No such file or directory make: *** [ovirt-node-image.iso] Error 1 IIRC, this is usually because you have OVIRT_LOCAL_REPO defined, but not correctly. It needs to be like this: file:///home/mburns/rpmbuild/RPMS Ok, I just looked at the Node Building page, and it needs some updates. Try this from the base directory of the git repo $ export OVIRT_CACHE_DIR=${HOME}/ovirt-cache $ export OVIRT_LOCAL_REPO=file://${OVIRT_CACHE_DIR}/ovirt $ ./autogen.sh --with-image-minimizer $ make publish #this builds the rpms and puts them in ${OVIRT_CACHE_DIR} $ cd recipe $ make ovirt-node-image.iso Mike I wonder which repo my machine is lacking? - David From: Mike Burns [mbu...@redhat.com] Sent: Thursday, February 09, 2012 10:02 AM To: Li, David Cc: Perry Myers; users@ovirt.org Subject: Re: [Users] Pxeboot On Thu, 2012-02-09 at 09:47 -0800, Li, David wrote: Got an error: [lid@FC16-1 ovirt-node]$ git fetch http://gerrit.ovirt.org/ refs/changes/38/1738/1git cherry-pick FETCH_HEAD fatal: http://gerrit.ovirt.org/info/refs not found: did you run git update-server-info on the server? Bad copy/paste: git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/38/1738/1 git cherry-pick FETCH_HEAD any ideas? - David From: Mike Burns [mbu...@redhat.com] Sent: Thursday, February 09, 2012 8:37 AM To: Li, David Cc: Perry Myers; users@ovirt.org Subject: Re: [Users] Pxeboot On Thu, 2012-02-09 at 08:30 -0800,
Re: [Users] oVirt Fedora repository
On Thu, 2012-02-09 at 15:00 -0500, Shawn Wilcox wrote: I'm trying to install the new oVirt packages on a fresh minimal install of Fedora as described on http://www.ovirt.org/get-ovirt/. I'm getting the following error when trying to run: sudo yum install -y ovirt-engine Error: Package: ovirt-engine-jboss-deps-3.0.0_0001-1.6.fc16.x86_64 (ovirt-engine-stable) Requires: ovirt-engine-jbossas Has anyone been successful in installing the ovirt-engine Fedora packages? That package was mistakenly missed when setting up the repository. I'm moving it and regenerating the repo metadata now. You'll need to clean your yum cache (/var/cache/yum/x86_64/16/ovirt-engine) in order to see it. Mike Thanks, -Shawn ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] oVirt Fedora repository
Good stuff, thanks Mike. On Thu, Feb 9, 2012 at 3:15 PM, Mike Burns mbu...@redhat.com wrote: On Thu, 2012-02-09 at 15:00 -0500, Shawn Wilcox wrote: I'm trying to install the new oVirt packages on a fresh minimal install of Fedora as described on http://www.ovirt.org/get-ovirt/. I'm getting the following error when trying to run: sudo yum install -y ovirt-engine Error: Package: ovirt-engine-jboss-deps-3.0.0_0001-1.6.fc16.x86_64 (ovirt-engine-stable) Requires: ovirt-engine-jbossas Has anyone been successful in installing the ovirt-engine Fedora packages? That package was mistakenly missed when setting up the repository. I'm moving it and regenerating the repo metadata now. You'll need to clean your yum cache (/var/cache/yum/x86_64/16/ovirt-engine) in order to see it. Mike Thanks, -Shawn ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Pxeboot
Mike, It seems it needs couple vdsm pkgs: ./node-creator ovirt-node-image.ks Error creating Live CD : Failed to find package 'vdsm-cli' : No package(s) available to install mv ovirt-node-image.iso ovirt-node-image-2.2.3-0.1fc16.git16688ea.iso mv: cannot stat `ovirt-node-image.iso': No such file or directory make: *** [ovirt-node-image.iso] Error 1 can I remove them from ks files? - David From: Mike Burns [mbu...@redhat.com] Sent: Thursday, February 09, 2012 12:07 PM To: Li, David Cc: Perry Myers; users@ovirt.org Subject: Re: [Users] Pxeboot On Thu, 2012-02-09 at 11:52 -0800, Li, David wrote: It's still the same error: [lid@FC16-1 ovirt-node]$ cd recipe/ [lid@FC16-1 recipe]$ make ovirt-node-image.iso ( \ echo PRODUCT='oVirt Node Hypervisor' ;\ echo PRODUCT_SHORT='oVirt Node Hypervisor' ;\ echo PACKAGE=ovirt-node-image ;\ echo VERSION=2.2.3 ;\ echo RELEASE=0.1fc16.git16688ea ;\ ) version.ks ./node-creator ovirt-node-image.ks Error creating Live CD : Failed to find package '===' : No package(s) available to install mv ovirt-node-image.iso ovirt-node-image-2.2.3-0.1fc16.git16688ea.iso mv: cannot stat `ovirt-node-image.iso': No such file or directory make: *** [ovirt-node-image.iso] Error 1 [lid@FC16-1 recipe]$ echo $OVIRT_LOCAL_REPO file:///home/lid/ovirt-cache/ovirt [lid@FC16-1 recipe]$ ll /home/lid/ovirt-cache/ovirt/ total 12 drwxr-xr-x. 2 lid lid 4096 Feb 9 11:10 noarch drwxrwxr-x. 2 lid lid 4096 Feb 9 11:10 repodata drwxrwxr-x. 2 lid lid 4096 Feb 9 11:10 src That's a bug in the patch. edit recipe/common-pkgs.ks and remove the last line which is === Mike Did make publish store the rpms in $OVIRT_LOCAL_REPO? - David From: Mike Burns [mbu...@redhat.com] Sent: Thursday, February 09, 2012 11:44 AM To: Li, David Cc: Perry Myers; users@ovirt.org Subject: RE: [Users] Pxeboot On Thu, 2012-02-09 at 11:40 -0800, Li, David wrote: The error seems a little stubborn. [lid@FC16-1 recipe]$ echo $OVIRT_LOCAL_REPO file://home/lid/ovirt-cache/ovirt You need 3 slashes. file:///home/lid/ovirt-cache/ovirt [lid@FC16-1 recipe]$ make ovirt-node-image.iso ( \ echo PRODUCT='oVirt Node Hypervisor' ;\ echo PRODUCT_SHORT='oVirt Node Hypervisor' ;\ echo PACKAGE=ovirt-node-image ;\ echo VERSION=2.2.3 ;\ echo RELEASE=0.1fc16.git16688ea ;\ ) version.ks ./node-creator ovirt-node-image.ks Error creating Live CD : Unable to download from repo : Cannot retrieve repository metadata (repomd.xml) for repository: local. Please verify its path and try again mv ovirt-node-image.iso ovirt-node-image-2.2.3-0.1fc16.git16688ea.iso mv: cannot stat `ovirt-node-image.iso': No such file or directory make: *** [ovirt-node-image.iso] Error 1 There is also a pop-up window: Unable to open a folder for _ovirt-node-imag maybe it's looking at the wrong place? - David From: Mike Burns [mbu...@redhat.com] Sent: Thursday, February 09, 2012 11:15 AM To: Li, David Cc: Perry Myers; users@ovirt.org Subject: RE: [Users] Pxeboot On Thu, 2012-02-09 at 10:57 -0800, Li, David wrote: ok, that's my bad:) Ran into error at the last iso build step: Start building ISO image ( \ echo PRODUCT='oVirt Node Hypervisor' ;\ echo PRODUCT_SHORT='oVirt Node Hypervisor' ;\ echo PACKAGE=ovirt-node-image ;\ echo VERSION=2.2.3 ;\ echo RELEASE=0.1.fc16.git16688ea ;\ ) version.ks ./node-creator ovirt-node-image.ks Error creating Live CD : Unable to download from repo : Cannot retrieve repository metadata (repomd.xml) for repository: local. Please verify its path and try again mv ovirt-node-image.iso ovirt-node-image-2.2.3-0.1.fc16.git16688ea.iso mv: cannot stat `ovirt-node-image.iso': No such file or directory make: *** [ovirt-node-image.iso] Error 1 IIRC, this is usually because you have OVIRT_LOCAL_REPO defined, but not correctly. It needs to be like this: file:///home/mburns/rpmbuild/RPMS Ok, I just looked at the Node Building page, and it needs some updates. Try this from the base directory of the git repo $ export OVIRT_CACHE_DIR=${HOME}/ovirt-cache $ export OVIRT_LOCAL_REPO=file://${OVIRT_CACHE_DIR}/ovirt $ ./autogen.sh --with-image-minimizer $ make publish #this builds the rpms and puts them in ${OVIRT_CACHE_DIR} $ cd recipe $ make ovirt-node-image.iso Mike I wonder which repo my machine is lacking? - David From: Mike Burns [mbu...@redhat.com] Sent: Thursday, February 09, 2012 10:02 AM To: Li, David Cc: Perry Myers; users@ovirt.org Subject: Re: [Users] Pxeboot On Thu, 2012-02-09 at 09:47 -0800, Li, David wrote: Got an error: [lid@FC16-1 ovirt-node]$ git fetch http://gerrit.ovirt.org/
Re: [Users] Pxeboot
On Thu, 2012-02-09 at 13:34 -0800, Li, David wrote: Mike, It seems it needs couple vdsm pkgs: ./node-creator ovirt-node-image.ks Error creating Live CD : Failed to find package 'vdsm-cli' : No package(s) available to install mv ovirt-node-image.iso ovirt-node-image-2.2.3-0.1fc16.git16688ea.iso mv: cannot stat `ovirt-node-image.iso': No such file or directory make: *** [ovirt-node-image.iso] Error 1 can I remove them from ks files? Not if you want to use ovirt-node with ovirt-engine. There was a bug in that patch set that is fixed in patch set 2 (along with the bad = package). I hadn't pulled the patch set together and uploaded to gerrit yet, but it's there now. git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/38/1738/2 git checkout FETCH_HEAD This should fix the problem. Mike - David From: Mike Burns [mbu...@redhat.com] Sent: Thursday, February 09, 2012 12:07 PM To: Li, David Cc: Perry Myers; users@ovirt.org Subject: Re: [Users] Pxeboot On Thu, 2012-02-09 at 11:52 -0800, Li, David wrote: It's still the same error: [lid@FC16-1 ovirt-node]$ cd recipe/ [lid@FC16-1 recipe]$ make ovirt-node-image.iso ( \ echo PRODUCT='oVirt Node Hypervisor' ;\ echo PRODUCT_SHORT='oVirt Node Hypervisor' ;\ echo PACKAGE=ovirt-node-image ;\ echo VERSION=2.2.3 ;\ echo RELEASE=0.1fc16.git16688ea ;\ ) version.ks ./node-creator ovirt-node-image.ks Error creating Live CD : Failed to find package '===' : No package(s) available to install mv ovirt-node-image.iso ovirt-node-image-2.2.3-0.1fc16.git16688ea.iso mv: cannot stat `ovirt-node-image.iso': No such file or directory make: *** [ovirt-node-image.iso] Error 1 [lid@FC16-1 recipe]$ echo $OVIRT_LOCAL_REPO file:///home/lid/ovirt-cache/ovirt [lid@FC16-1 recipe]$ ll /home/lid/ovirt-cache/ovirt/ total 12 drwxr-xr-x. 2 lid lid 4096 Feb 9 11:10 noarch drwxrwxr-x. 2 lid lid 4096 Feb 9 11:10 repodata drwxrwxr-x. 2 lid lid 4096 Feb 9 11:10 src That's a bug in the patch. edit recipe/common-pkgs.ks and remove the last line which is === Mike Did make publish store the rpms in $OVIRT_LOCAL_REPO? - David From: Mike Burns [mbu...@redhat.com] Sent: Thursday, February 09, 2012 11:44 AM To: Li, David Cc: Perry Myers; users@ovirt.org Subject: RE: [Users] Pxeboot On Thu, 2012-02-09 at 11:40 -0800, Li, David wrote: The error seems a little stubborn. [lid@FC16-1 recipe]$ echo $OVIRT_LOCAL_REPO file://home/lid/ovirt-cache/ovirt You need 3 slashes. file:///home/lid/ovirt-cache/ovirt [lid@FC16-1 recipe]$ make ovirt-node-image.iso ( \ echo PRODUCT='oVirt Node Hypervisor' ;\ echo PRODUCT_SHORT='oVirt Node Hypervisor' ;\ echo PACKAGE=ovirt-node-image ;\ echo VERSION=2.2.3 ;\ echo RELEASE=0.1fc16.git16688ea ;\ ) version.ks ./node-creator ovirt-node-image.ks Error creating Live CD : Unable to download from repo : Cannot retrieve repository metadata (repomd.xml) for repository: local. Please verify its path and try again mv ovirt-node-image.iso ovirt-node-image-2.2.3-0.1fc16.git16688ea.iso mv: cannot stat `ovirt-node-image.iso': No such file or directory make: *** [ovirt-node-image.iso] Error 1 There is also a pop-up window: Unable to open a folder for _ovirt-node-imag maybe it's looking at the wrong place? - David From: Mike Burns [mbu...@redhat.com] Sent: Thursday, February 09, 2012 11:15 AM To: Li, David Cc: Perry Myers; users@ovirt.org Subject: RE: [Users] Pxeboot On Thu, 2012-02-09 at 10:57 -0800, Li, David wrote: ok, that's my bad:) Ran into error at the last iso build step: Start building ISO image ( \ echo PRODUCT='oVirt Node Hypervisor' ;\ echo PRODUCT_SHORT='oVirt Node Hypervisor' ;\ echo PACKAGE=ovirt-node-image ;\ echo VERSION=2.2.3 ;\ echo RELEASE=0.1.fc16.git16688ea ;\ ) version.ks ./node-creator ovirt-node-image.ks Error creating Live CD : Unable to download from repo : Cannot retrieve repository metadata (repomd.xml) for repository: local. Please verify its path and try again mv ovirt-node-image.iso ovirt-node-image-2.2.3-0.1.fc16.git16688ea.iso mv: cannot stat `ovirt-node-image.iso': No such file or directory make: *** [ovirt-node-image.iso] Error 1 IIRC, this is usually because you have OVIRT_LOCAL_REPO defined, but not correctly. It needs to be like this: file:///home/mburns/rpmbuild/RPMS Ok, I just looked at the Node Building page, and it needs some updates. Try this from the base directory of the git repo $ export OVIRT_CACHE_DIR=${HOME}/ovirt-cache $ export OVIRT_LOCAL_REPO=file://${OVIRT_CACHE_DIR}/ovirt $ ./autogen.sh --with-image-minimizer
Re: [Users] Pxeboot
Mike, I 'd like to start again clean. Will the following give me the latest stateless source and iso build: git clone http://gerrit.ovirt.org/p/ovirt-node.git cd ovirt-node git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/38/1738/1 git cherry-pick FETCH_HEAD git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/38/1738/2 git checkout FETCH_HEAD -David -Original Message- From: Mike Burns [mailto:mbu...@redhat.com] Sent: Thursday, February 09, 2012 2:12 PM To: Li, David Cc: Perry Myers; users@ovirt.org Subject: Re: [Users] Pxeboot On Thu, 2012-02-09 at 13:34 -0800, Li, David wrote: Mike, It seems it needs couple vdsm pkgs: ./node-creator ovirt-node-image.ks Error creating Live CD : Failed to find package 'vdsm-cli' : No package(s) available to install mv ovirt-node-image.iso ovirt-node-image-2.2.3-0.1fc16.git16688ea.iso mv: cannot stat `ovirt-node-image.iso': No such file or directory make: *** [ovirt-node-image.iso] Error 1 can I remove them from ks files? Not if you want to use ovirt-node with ovirt-engine. There was a bug in that patch set that is fixed in patch set 2 (along with the bad = package). I hadn't pulled the patch set together and uploaded to gerrit yet, but it's there now. git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/38/1738/2 git checkout FETCH_HEAD This should fix the problem. Mike - David From: Mike Burns [mbu...@redhat.com] Sent: Thursday, February 09, 2012 12:07 PM To: Li, David Cc: Perry Myers; users@ovirt.org Subject: Re: [Users] Pxeboot On Thu, 2012-02-09 at 11:52 -0800, Li, David wrote: It's still the same error: [lid@FC16-1 ovirt-node]$ cd recipe/ [lid@FC16-1 recipe]$ make ovirt-node-image.iso ( \ echo PRODUCT='oVirt Node Hypervisor' ;\ echo PRODUCT_SHORT='oVirt Node Hypervisor' ;\ echo PACKAGE=ovirt-node-image ;\ echo VERSION=2.2.3 ;\ echo RELEASE=0.1fc16.git16688ea ;\ ) version.ks ./node-creator ovirt-node-image.ks Error creating Live CD : Failed to find package '===' : No package(s) available to install mv ovirt-node-image.iso ovirt-node-image-2.2.3-0.1fc16.git16688ea.iso mv: cannot stat `ovirt-node-image.iso': No such file or directory make: *** [ovirt-node-image.iso] Error 1 [lid@FC16-1 recipe]$ echo $OVIRT_LOCAL_REPO file:///home/lid/ovirt-cache/ovirt [lid@FC16-1 recipe]$ ll /home/lid/ovirt-cache/ovirt/ total 12 drwxr-xr-x. 2 lid lid 4096 Feb 9 11:10 noarch drwxrwxr-x. 2 lid lid 4096 Feb 9 11:10 repodata drwxrwxr-x. 2 lid lid 4096 Feb 9 11:10 src That's a bug in the patch. edit recipe/common-pkgs.ks and remove the last line which is === Mike Did make publish store the rpms in $OVIRT_LOCAL_REPO? - David From: Mike Burns [mbu...@redhat.com] Sent: Thursday, February 09, 2012 11:44 AM To: Li, David Cc: Perry Myers; users@ovirt.org Subject: RE: [Users] Pxeboot On Thu, 2012-02-09 at 11:40 -0800, Li, David wrote: The error seems a little stubborn. [lid@FC16-1 recipe]$ echo $OVIRT_LOCAL_REPO file://home/lid/ovirt-cache/ovirt You need 3 slashes. file:///home/lid/ovirt-cache/ovirt [lid@FC16-1 recipe]$ make ovirt-node-image.iso ( \ echo PRODUCT='oVirt Node Hypervisor' ;\ echo PRODUCT_SHORT='oVirt Node Hypervisor' ;\ echo PACKAGE=ovirt-node-image ;\ echo VERSION=2.2.3 ;\ echo RELEASE=0.1fc16.git16688ea ;\ ) version.ks ./node-creator ovirt-node-image.ks Error creating Live CD : Unable to download from repo : Cannot retrieve repository metadata (repomd.xml) for repository: local. Please verify its path and try again mv ovirt-node-image.iso ovirt-node-image-2.2.3-0.1fc16.git16688ea.iso mv: cannot stat `ovirt-node-image.iso': No such file or directory make: *** [ovirt-node-image.iso] Error 1 There is also a pop-up window: Unable to open a folder for _ovirt-node-imag maybe it's looking at the wrong place? - David From: Mike Burns [mbu...@redhat.com] Sent: Thursday, February 09, 2012 11:15 AM To: Li, David Cc: Perry Myers; users@ovirt.org Subject: RE: [Users] Pxeboot On Thu, 2012-02-09 at 10:57 -0800, Li, David wrote: ok, that's my bad:) Ran into error at the last iso build step: Start building ISO image ( \ echo PRODUCT='oVirt Node Hypervisor' ;\ echo PRODUCT_SHORT='oVirt Node Hypervisor' ;\ echo PACKAGE=ovirt-node-image ;\ echo VERSION=2.2.3 ;\ echo RELEASE=0.1.fc16.git16688ea ;\ ) version.ks ./node-creator ovirt-node-image.ks Error creating Live CD : Unable to download from repo : Cannot retrieve repository metadata (repomd.xml) for repository: local. Please verify its path and try again mv ovirt-node-image.iso ovirt-node-image-2.2.3-0.1.fc16.git16688ea.iso
Re: [Users] Pxeboot
On Thu, 2012-02-09 at 15:24 -0800, Li, David wrote: Mike, I 'd like to start again clean. Will the following give me the latest stateless source and iso build: git clone http://gerrit.ovirt.org/p/ovirt-node.git cd ovirt-node git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/38/1738/1 git cherry-pick FETCH_HEAD Don't need this one ^^ git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/38/1738/2 git checkout FETCH_HEAD If you want any sort of stateless, then yes, you need this one ^^ -David -Original Message- From: Mike Burns [mailto:mbu...@redhat.com] Sent: Thursday, February 09, 2012 2:12 PM To: Li, David Cc: Perry Myers; users@ovirt.org Subject: Re: [Users] Pxeboot On Thu, 2012-02-09 at 13:34 -0800, Li, David wrote: Mike, It seems it needs couple vdsm pkgs: ./node-creator ovirt-node-image.ks Error creating Live CD : Failed to find package 'vdsm-cli' : No package(s) available to install mv ovirt-node-image.iso ovirt-node-image-2.2.3-0.1fc16.git16688ea.iso mv: cannot stat `ovirt-node-image.iso': No such file or directory make: *** [ovirt-node-image.iso] Error 1 can I remove them from ks files? Not if you want to use ovirt-node with ovirt-engine. There was a bug in that patch set that is fixed in patch set 2 (along with the bad = package). I hadn't pulled the patch set together and uploaded to gerrit yet, but it's there now. git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/38/1738/2 git checkout FETCH_HEAD This should fix the problem. Mike - David From: Mike Burns [mbu...@redhat.com] Sent: Thursday, February 09, 2012 12:07 PM To: Li, David Cc: Perry Myers; users@ovirt.org Subject: Re: [Users] Pxeboot On Thu, 2012-02-09 at 11:52 -0800, Li, David wrote: It's still the same error: [lid@FC16-1 ovirt-node]$ cd recipe/ [lid@FC16-1 recipe]$ make ovirt-node-image.iso ( \ echo PRODUCT='oVirt Node Hypervisor' ;\ echo PRODUCT_SHORT='oVirt Node Hypervisor' ;\ echo PACKAGE=ovirt-node-image ;\ echo VERSION=2.2.3 ;\ echo RELEASE=0.1fc16.git16688ea ;\ ) version.ks ./node-creator ovirt-node-image.ks Error creating Live CD : Failed to find package '===' : No package(s) available to install mv ovirt-node-image.iso ovirt-node-image-2.2.3-0.1fc16.git16688ea.iso mv: cannot stat `ovirt-node-image.iso': No such file or directory make: *** [ovirt-node-image.iso] Error 1 [lid@FC16-1 recipe]$ echo $OVIRT_LOCAL_REPO file:///home/lid/ovirt-cache/ovirt [lid@FC16-1 recipe]$ ll /home/lid/ovirt-cache/ovirt/ total 12 drwxr-xr-x. 2 lid lid 4096 Feb 9 11:10 noarch drwxrwxr-x. 2 lid lid 4096 Feb 9 11:10 repodata drwxrwxr-x. 2 lid lid 4096 Feb 9 11:10 src That's a bug in the patch. edit recipe/common-pkgs.ks and remove the last line which is === Mike Did make publish store the rpms in $OVIRT_LOCAL_REPO? - David From: Mike Burns [mbu...@redhat.com] Sent: Thursday, February 09, 2012 11:44 AM To: Li, David Cc: Perry Myers; users@ovirt.org Subject: RE: [Users] Pxeboot On Thu, 2012-02-09 at 11:40 -0800, Li, David wrote: The error seems a little stubborn. [lid@FC16-1 recipe]$ echo $OVIRT_LOCAL_REPO file://home/lid/ovirt-cache/ovirt You need 3 slashes. file:///home/lid/ovirt-cache/ovirt [lid@FC16-1 recipe]$ make ovirt-node-image.iso ( \ echo PRODUCT='oVirt Node Hypervisor' ;\ echo PRODUCT_SHORT='oVirt Node Hypervisor' ;\ echo PACKAGE=ovirt-node-image ;\ echo VERSION=2.2.3 ;\ echo RELEASE=0.1fc16.git16688ea ;\ ) version.ks ./node-creator ovirt-node-image.ks Error creating Live CD : Unable to download from repo : Cannot retrieve repository metadata (repomd.xml) for repository: local. Please verify its path and try again mv ovirt-node-image.iso ovirt-node-image-2.2.3-0.1fc16.git16688ea.iso mv: cannot stat `ovirt-node-image.iso': No such file or directory make: *** [ovirt-node-image.iso] Error 1 There is also a pop-up window: Unable to open a folder for _ovirt-node-imag maybe it's looking at the wrong place? - David From: Mike Burns [mbu...@redhat.com] Sent: Thursday, February 09, 2012 11:15 AM To: Li, David Cc: Perry Myers; users@ovirt.org Subject: RE: [Users] Pxeboot On Thu, 2012-02-09 at 10:57 -0800, Li, David wrote: ok, that's my bad:) Ran into error at the last iso build step: Start building ISO image ( \ echo PRODUCT='oVirt Node Hypervisor' ;\ echo PRODUCT_SHORT='oVirt Node Hypervisor' ;\ echo PACKAGE=ovirt-node-image ;\ echo VERSION=2.2.3 ;\ echo RELEASE=0.1.fc16.git16688ea ;\ ) version.ks
Re: [Users] Pxeboot
On Thu, 2012-02-09 at 15:50 -0800, Li, David wrote: MIke, Got something new this time in make publish: /bin/sh: -c: line 36: syntax error near unexpected token `)' /bin/sh: -c: line 36: `)' make[1]: *** [repos.ks] Error 1 make[1]: Leaving directory `/home/lid/workspace/ovirt/node-archipel-2.2.2/ovirt-node/recipe' make: *** [distdir] Error 1 [lid@FC16-1 ovirt-node]$ echo $OVIRT_CACHE_DIR $OVIRT_LOCAL_REPO /home/lid/ovirt-cache file:///home/lid/ovirt-cache/ovirt [lid@FC16-1 ovirt-node]$ Oops, bad merge on my part. $ git reset --hard origin/master #sets you back to head of the master branch $ git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/38/1738/3 git cherry-pick FETCH_HEAD # checks out the new version of the patch set. Mike - David From: Mike Burns [mbu...@redhat.com] Sent: Thursday, February 09, 2012 2:12 PM To: Li, David Cc: Perry Myers; users@ovirt.org Subject: Re: [Users] Pxeboot On Thu, 2012-02-09 at 13:34 -0800, Li, David wrote: Mike, It seems it needs couple vdsm pkgs: ./node-creator ovirt-node-image.ks Error creating Live CD : Failed to find package 'vdsm-cli' : No package(s) available to install mv ovirt-node-image.iso ovirt-node-image-2.2.3-0.1fc16.git16688ea.iso mv: cannot stat `ovirt-node-image.iso': No such file or directory make: *** [ovirt-node-image.iso] Error 1 can I remove them from ks files? Not if you want to use ovirt-node with ovirt-engine. There was a bug in that patch set that is fixed in patch set 2 (along with the bad = package). I hadn't pulled the patch set together and uploaded to gerrit yet, but it's there now. git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/38/1738/2 git checkout FETCH_HEAD This should fix the problem. Mike - David From: Mike Burns [mbu...@redhat.com] Sent: Thursday, February 09, 2012 12:07 PM To: Li, David Cc: Perry Myers; users@ovirt.org Subject: Re: [Users] Pxeboot On Thu, 2012-02-09 at 11:52 -0800, Li, David wrote: It's still the same error: [lid@FC16-1 ovirt-node]$ cd recipe/ [lid@FC16-1 recipe]$ make ovirt-node-image.iso ( \ echo PRODUCT='oVirt Node Hypervisor' ;\ echo PRODUCT_SHORT='oVirt Node Hypervisor' ;\ echo PACKAGE=ovirt-node-image ;\ echo VERSION=2.2.3 ;\ echo RELEASE=0.1fc16.git16688ea ;\ ) version.ks ./node-creator ovirt-node-image.ks Error creating Live CD : Failed to find package '===' : No package(s) available to install mv ovirt-node-image.iso ovirt-node-image-2.2.3-0.1fc16.git16688ea.iso mv: cannot stat `ovirt-node-image.iso': No such file or directory make: *** [ovirt-node-image.iso] Error 1 [lid@FC16-1 recipe]$ echo $OVIRT_LOCAL_REPO file:///home/lid/ovirt-cache/ovirt [lid@FC16-1 recipe]$ ll /home/lid/ovirt-cache/ovirt/ total 12 drwxr-xr-x. 2 lid lid 4096 Feb 9 11:10 noarch drwxrwxr-x. 2 lid lid 4096 Feb 9 11:10 repodata drwxrwxr-x. 2 lid lid 4096 Feb 9 11:10 src That's a bug in the patch. edit recipe/common-pkgs.ks and remove the last line which is === Mike Did make publish store the rpms in $OVIRT_LOCAL_REPO? - David From: Mike Burns [mbu...@redhat.com] Sent: Thursday, February 09, 2012 11:44 AM To: Li, David Cc: Perry Myers; users@ovirt.org Subject: RE: [Users] Pxeboot On Thu, 2012-02-09 at 11:40 -0800, Li, David wrote: The error seems a little stubborn. [lid@FC16-1 recipe]$ echo $OVIRT_LOCAL_REPO file://home/lid/ovirt-cache/ovirt You need 3 slashes. file:///home/lid/ovirt-cache/ovirt [lid@FC16-1 recipe]$ make ovirt-node-image.iso ( \ echo PRODUCT='oVirt Node Hypervisor' ;\ echo PRODUCT_SHORT='oVirt Node Hypervisor' ;\ echo PACKAGE=ovirt-node-image ;\ echo VERSION=2.2.3 ;\ echo RELEASE=0.1fc16.git16688ea ;\ ) version.ks ./node-creator ovirt-node-image.ks Error creating Live CD : Unable to download from repo : Cannot retrieve repository metadata (repomd.xml) for repository: local. Please verify its path and try again mv ovirt-node-image.iso ovirt-node-image-2.2.3-0.1fc16.git16688ea.iso mv: cannot stat `ovirt-node-image.iso': No such file or directory make: *** [ovirt-node-image.iso] Error 1 There is also a pop-up window: Unable to open a folder for _ovirt-node-imag maybe it's looking at the wrong place? - David From: Mike Burns [mbu...@redhat.com] Sent: Thursday, February 09, 2012 11:15 AM To: Li, David Cc: Perry Myers; users@ovirt.org Subject: RE: [Users] Pxeboot On Thu, 2012-02-09 at 10:57 -0800, Li, David wrote: ok, that's my bad:) Ran into error at the last iso build step: Start
Re: [Users] Pxeboot
Mike, Built it finally! Thanks a lot! -Original Message- From: Mike Burns [mailto:mbu...@redhat.com] Sent: Thursday, February 09, 2012 4:18 PM To: Li, David Cc: Perry Myers; users@ovirt.org Subject: Re: [Users] Pxeboot On Thu, 2012-02-09 at 15:50 -0800, Li, David wrote: MIke, Got something new this time in make publish: /bin/sh: -c: line 36: syntax error near unexpected token `)' /bin/sh: -c: line 36: `)' make[1]: *** [repos.ks] Error 1 make[1]: Leaving directory `/home/lid/workspace/ovirt/node-archipel- 2.2.2/ovirt-node/recipe' make: *** [distdir] Error 1 [lid@FC16-1 ovirt-node]$ echo $OVIRT_CACHE_DIR $OVIRT_LOCAL_REPO /home/lid/ovirt-cache file:///home/lid/ovirt-cache/ovirt [lid@FC16-1 ovirt-node]$ Oops, bad merge on my part. $ git reset --hard origin/master #sets you back to head of the master branch $ git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/38/1738/3 git cherry-pick FETCH_HEAD # checks out the new version of the patch set. Mike - David From: Mike Burns [mbu...@redhat.com] Sent: Thursday, February 09, 2012 2:12 PM To: Li, David Cc: Perry Myers; users@ovirt.org Subject: Re: [Users] Pxeboot On Thu, 2012-02-09 at 13:34 -0800, Li, David wrote: Mike, It seems it needs couple vdsm pkgs: ./node-creator ovirt-node-image.ks Error creating Live CD : Failed to find package 'vdsm-cli' : No package(s) available to install mv ovirt-node-image.iso ovirt-node-image-2.2.3-0.1fc16.git16688ea.iso mv: cannot stat `ovirt-node-image.iso': No such file or directory make: *** [ovirt-node-image.iso] Error 1 can I remove them from ks files? Not if you want to use ovirt-node with ovirt-engine. There was a bug in that patch set that is fixed in patch set 2 (along with the bad = package). I hadn't pulled the patch set together and uploaded to gerrit yet, but it's there now. git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/38/1738/2 git checkout FETCH_HEAD This should fix the problem. Mike - David From: Mike Burns [mbu...@redhat.com] Sent: Thursday, February 09, 2012 12:07 PM To: Li, David Cc: Perry Myers; users@ovirt.org Subject: Re: [Users] Pxeboot On Thu, 2012-02-09 at 11:52 -0800, Li, David wrote: It's still the same error: [lid@FC16-1 ovirt-node]$ cd recipe/ [lid@FC16-1 recipe]$ make ovirt-node-image.iso ( \ echo PRODUCT='oVirt Node Hypervisor' ;\ echo PRODUCT_SHORT='oVirt Node Hypervisor' ;\ echo PACKAGE=ovirt-node-image ;\ echo VERSION=2.2.3 ;\ echo RELEASE=0.1fc16.git16688ea ;\ ) version.ks ./node-creator ovirt-node-image.ks Error creating Live CD : Failed to find package '===' : No package(s) available to install mv ovirt-node-image.iso ovirt-node-image-2.2.3-0.1fc16.git16688ea.iso mv: cannot stat `ovirt-node-image.iso': No such file or directory make: *** [ovirt-node-image.iso] Error 1 [lid@FC16-1 recipe]$ echo $OVIRT_LOCAL_REPO file:///home/lid/ovirt-cache/ovirt [lid@FC16-1 recipe]$ ll /home/lid/ovirt-cache/ovirt/ total 12 drwxr-xr-x. 2 lid lid 4096 Feb 9 11:10 noarch drwxrwxr-x. 2 lid lid 4096 Feb 9 11:10 repodata drwxrwxr-x. 2 lid lid 4096 Feb 9 11:10 src That's a bug in the patch. edit recipe/common-pkgs.ks and remove the last line which is === Mike Did make publish store the rpms in $OVIRT_LOCAL_REPO? - David From: Mike Burns [mbu...@redhat.com] Sent: Thursday, February 09, 2012 11:44 AM To: Li, David Cc: Perry Myers; users@ovirt.org Subject: RE: [Users] Pxeboot On Thu, 2012-02-09 at 11:40 -0800, Li, David wrote: The error seems a little stubborn. [lid@FC16-1 recipe]$ echo $OVIRT_LOCAL_REPO file://home/lid/ovirt-cache/ovirt You need 3 slashes. file:///home/lid/ovirt-cache/ovirt [lid@FC16-1 recipe]$ make ovirt-node-image.iso ( \ echo PRODUCT='oVirt Node Hypervisor' ;\ echo PRODUCT_SHORT='oVirt Node Hypervisor' ;\ echo PACKAGE=ovirt-node-image ;\ echo VERSION=2.2.3 ;\ echo RELEASE=0.1fc16.git16688ea ;\ ) version.ks ./node-creator ovirt-node-image.ks Error creating Live CD : Unable to download from repo : Cannot retrieve repository metadata (repomd.xml) for repository: local. Please verify its path and try again mv ovirt-node-image.iso ovirt-node-image-2.2.3-0.1fc16.git16688ea.iso mv: cannot stat `ovirt-node-image.iso': No such file or directory make: *** [ovirt-node-image.iso] Error 1 There is also a pop-up window: Unable to open a folder for _ovirt-node-imag maybe it's looking at the wrong place? - David From: Mike Burns [mbu...@redhat.com] Sent: Thursday, February 09, 2012 11:15 AM To: Li, David Cc: Perry Myers;
Re: [Users] Pxeboot
On Thu, 2012-02-09 at 17:05 -0800, Li, David wrote: Mike, Built it finally! Thanks a lot! Woot! -Original Message- From: Mike Burns [mailto:mbu...@redhat.com] Sent: Thursday, February 09, 2012 4:18 PM To: Li, David Cc: Perry Myers; users@ovirt.org Subject: Re: [Users] Pxeboot On Thu, 2012-02-09 at 15:50 -0800, Li, David wrote: MIke, Got something new this time in make publish: /bin/sh: -c: line 36: syntax error near unexpected token `)' /bin/sh: -c: line 36: `)' make[1]: *** [repos.ks] Error 1 make[1]: Leaving directory `/home/lid/workspace/ovirt/node-archipel- 2.2.2/ovirt-node/recipe' make: *** [distdir] Error 1 [lid@FC16-1 ovirt-node]$ echo $OVIRT_CACHE_DIR $OVIRT_LOCAL_REPO /home/lid/ovirt-cache file:///home/lid/ovirt-cache/ovirt [lid@FC16-1 ovirt-node]$ Oops, bad merge on my part. $ git reset --hard origin/master #sets you back to head of the master branch $ git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/38/1738/3 git cherry-pick FETCH_HEAD # checks out the new version of the patch set. Mike - David From: Mike Burns [mbu...@redhat.com] Sent: Thursday, February 09, 2012 2:12 PM To: Li, David Cc: Perry Myers; users@ovirt.org Subject: Re: [Users] Pxeboot On Thu, 2012-02-09 at 13:34 -0800, Li, David wrote: Mike, It seems it needs couple vdsm pkgs: ./node-creator ovirt-node-image.ks Error creating Live CD : Failed to find package 'vdsm-cli' : No package(s) available to install mv ovirt-node-image.iso ovirt-node-image-2.2.3-0.1fc16.git16688ea.iso mv: cannot stat `ovirt-node-image.iso': No such file or directory make: *** [ovirt-node-image.iso] Error 1 can I remove them from ks files? Not if you want to use ovirt-node with ovirt-engine. There was a bug in that patch set that is fixed in patch set 2 (along with the bad = package). I hadn't pulled the patch set together and uploaded to gerrit yet, but it's there now. git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/38/1738/2 git checkout FETCH_HEAD This should fix the problem. Mike - David From: Mike Burns [mbu...@redhat.com] Sent: Thursday, February 09, 2012 12:07 PM To: Li, David Cc: Perry Myers; users@ovirt.org Subject: Re: [Users] Pxeboot On Thu, 2012-02-09 at 11:52 -0800, Li, David wrote: It's still the same error: [lid@FC16-1 ovirt-node]$ cd recipe/ [lid@FC16-1 recipe]$ make ovirt-node-image.iso ( \ echo PRODUCT='oVirt Node Hypervisor' ;\ echo PRODUCT_SHORT='oVirt Node Hypervisor' ;\ echo PACKAGE=ovirt-node-image ;\ echo VERSION=2.2.3 ;\ echo RELEASE=0.1fc16.git16688ea ;\ ) version.ks ./node-creator ovirt-node-image.ks Error creating Live CD : Failed to find package '===' : No package(s) available to install mv ovirt-node-image.iso ovirt-node-image-2.2.3-0.1fc16.git16688ea.iso mv: cannot stat `ovirt-node-image.iso': No such file or directory make: *** [ovirt-node-image.iso] Error 1 [lid@FC16-1 recipe]$ echo $OVIRT_LOCAL_REPO file:///home/lid/ovirt-cache/ovirt [lid@FC16-1 recipe]$ ll /home/lid/ovirt-cache/ovirt/ total 12 drwxr-xr-x. 2 lid lid 4096 Feb 9 11:10 noarch drwxrwxr-x. 2 lid lid 4096 Feb 9 11:10 repodata drwxrwxr-x. 2 lid lid 4096 Feb 9 11:10 src That's a bug in the patch. edit recipe/common-pkgs.ks and remove the last line which is === Mike Did make publish store the rpms in $OVIRT_LOCAL_REPO? - David From: Mike Burns [mbu...@redhat.com] Sent: Thursday, February 09, 2012 11:44 AM To: Li, David Cc: Perry Myers; users@ovirt.org Subject: RE: [Users] Pxeboot On Thu, 2012-02-09 at 11:40 -0800, Li, David wrote: The error seems a little stubborn. [lid@FC16-1 recipe]$ echo $OVIRT_LOCAL_REPO file://home/lid/ovirt-cache/ovirt You need 3 slashes. file:///home/lid/ovirt-cache/ovirt [lid@FC16-1 recipe]$ make ovirt-node-image.iso ( \ echo PRODUCT='oVirt Node Hypervisor' ;\ echo PRODUCT_SHORT='oVirt Node Hypervisor' ;\ echo PACKAGE=ovirt-node-image ;\ echo VERSION=2.2.3 ;\ echo RELEASE=0.1fc16.git16688ea ;\ ) version.ks ./node-creator ovirt-node-image.ks Error creating Live CD : Unable to download from repo : Cannot retrieve repository metadata (repomd.xml) for repository: local. Please verify its path and try again mv ovirt-node-image.iso ovirt-node-image-2.2.3-0.1fc16.git16688ea.iso mv: cannot stat `ovirt-node-image.iso': No such file or directory make: *** [ovirt-node-image.iso] Error 1 There is also a pop-up window: Unable to open a folder for _ovirt-node-imag maybe it's looking at the wrong
Re: [Users] Unable to add ISOs to default ISO storage domain
FYI - i also created a new ISO domain, attached it, uploaded my iso - and it still doesnt appear in the webUI I also disabled the firewall on both hypervisor and managment servers - but did not make any difference.. does the iso need to be of a specific type? is there some requirement that it must be bootable, or contain an OS, or something else for it not to register? I still get the message of unknown pool id, pool not connected when i run vdsClient -s 0 getIsoList fe82b63a-3207-4ce7-a952-ae76a3ef5f24 (with the new pool id) on the hypervisor, its mounted correctly and i can see the data in /rhev/data-center/mnt/ovirtmgr.foo.com:_mnt_ISO not sure where to go from here now :( - Original Message - From: Spyro Polymiadis sp...@rsp.com.au To: Keith Robertson krobe...@redhat.com Cc: Itamar Heim ih...@redhat.com, Andrew Dunlop ajdun...@gmail.com, users@ovirt.org, Spyro Polymiadis sp...@rsp.com.au Sent: Friday, 10 February, 2012 9:25:20 AM Subject: Re: [Users] Unable to add ISOs to default ISO storage domain yeppers its a test domain.. the iso path mounts just fine on the hypervisor ;) - Original Message - From: Keith Robertson krobe...@redhat.com To: Spyro Polymiadis sp...@rsp.com.au Cc: Itamar Heim ih...@redhat.com, Andrew Dunlop ajdun...@gmail.com, users@ovirt.org Sent: Friday, 10 February, 2012 1:31:52 AM Subject: Re: [Users] Unable to add ISOs to default ISO storage domain Looking at the output, I'm a little curious about the address of the NFS server for the ISO domain. You've got this... addressovirtmgr.foo.com/address Can you actually mount that NFS export from your hyper-visor? Try this... 1. On the hyper-visor do this: mkdir /mnt/isodir 2. mount ovirtmgr.foo.com:/mnt/iso /mnt/isodir Does that actually work? Cheers, Keith On 02/09/2012 09:11 AM, Spyro Polymiadis wrote: Heres the output mate - cheers :) DEBUG: URL is https://ovirtmgr.foo.com:8443/api/datacenters DEBUG: Returned XML is ?xml version=1.0 encoding=UTF-8 standalone=yes? data_centers data_center href=/api/datacenters/bf61bdea-5265-11e1-bd4b-7b05db53545c id=bf61bdea-5265-11e1-bd4b-7b05db53545c nameDefault/name descriptionThe default Data Center/description link href=/api/datacenters/bf61bdea-5265-11e1-bd4b-7b05db53545c/storagedomains rel=storagedomains/ link href=/api/datacenters/bf61bdea-5265-11e1-bd4b-7b05db53545c/permissions rel=permissions/ storage_typenfs/storage_type storage_formatv1/storage_format version major=3 minor=0/ supported_versions version major=3 minor=0/ /supported_versions status stateup/state /status /data_center /data_centers DEBUG: URL is https://ovirtmgr.foo.com:8443/api/datacenters/bf61bdea-5265-11e1-bd4b-7b05db53545c/storagedomains DEBUG: Returned XML is ?xml version=1.0 encoding=UTF-8 standalone=yes? storage_domains storage_domain href=/api/datacenters/bf61bdea-5265-11e1-bd4b-7b05db53545c/storagedomains/23340f35-95ca-4b46-90ec-0c8b83a82786 id=23340f35-95ca-4b46-90ec-0c8b83a82786 nameISO/name actions link href=/api/datacenters/bf61bdea-5265-11e1-bd4b-7b05db53545c/storagedomains/23340f35-95ca-4b46-90ec-0c8b83a82786/activate rel=activate/ link href=/api/datacenters/bf61bdea-5265-11e1-bd4b-7b05db53545c/storagedomains/23340f35-95ca-4b46-90ec-0c8b83a82786/deactivate rel=deactivate/ /actions data_center href=/api/datacenters/bf61bdea-5265-11e1-bd4b-7b05db53545c id=bf61bdea-5265-11e1-bd4b-7b05db53545c/ typeiso/type status stateactive/state /status masterfalse/master storage typenfs/type addressovirtmgr.foo.com/address path/mnt/iso/path /storage available1073741824/available used3221225472/used committed0/committed storage_formatv1/storage_format /storage_domain storage_domain href=/api/datacenters/bf61bdea-5265-11e1-bd4b-7b05db53545c/storagedomains/a864b2ed-ecb9-4f7b-be7f-c39e214b868f id=a864b2ed-ecb9-4f7b-be7f-c39e214b868f nameDATASTORE/name actions link href=/api/datacenters/bf61bdea-5265-11e1-bd4b-7b05db53545c/storagedomains/a864b2ed-ecb9-4f7b-be7f-c39e214b868f/activate rel=activate/ link href=/api/datacenters/bf61bdea-5265-11e1-bd4b-7b05db53545c/storagedomains/a864b2ed-ecb9-4f7b-be7f-c39e214b868f/deactivate rel=deactivate/ /actions data_center href=/api/datacenters/bf61bdea-5265-11e1-bd4b-7b05db53545c id=bf61bdea-5265-11e1-bd4b-7b05db53545c/ typedata/type status stateactive/state /status mastertrue/master storage typenfs/type address10.250.1.1/address