
Hi, I tried today to create a new iso, but each time it fails with this error: Error creating Live CD : Failed to find package 'vdsm-cli' : No package(s) available to install The thing that is bothering me is that it worked ok yesterday. All the steps I perform are those, as an ordinary user (it fails at make ovirt-node-image.iso ): BASEDIR=$(rpm --eval %_topdir) sudo rm -rf ./ovirt-node sudo rm -rf $BASEDIR git clone http://gerrit.ovirt.org/p/ovirt-node.git cd ovirt-node mkdir -p $BASEDIR/{BUILD,BUILDROOT,RPMS,RPMS/x86_64,SOURCES,SPECS,SRPMS} OVIRT_CACHE_DIR=~/ovirt-cache #OVIRT_CACHE_DIR=`pwd`/ovirt-cache mkdir $OVIRT_CACHE_DIR OVIRT_LOCAL_REPO=file://${BASEDIR}/RPMS cd $BASEDIR/RPMS/x86_64 wget http://fsimonce.fedorapeople.org/vdsm/fedora-16/x86_64/vdsm-4.9.0-0.200.g2fc... wget http://fsimonce.fedorapeople.org/vdsm/fedora-16/x86_64/vdsm-bootstrap-4.9.0-... wget http://fsimonce.fedorapeople.org/vdsm/fedora-16/x86_64/vdsm-cli-4.9.0-0.200.... wget http://fsimonce.fedorapeople.org/vdsm/fedora-16/x86_64/vdsm-debug-plugin-4.9... wget http://fsimonce.fedorapeople.org/vdsm/fedora-16/x86_64/vdsm-debuginfo-4.9.0-... wget http://fsimonce.fedorapeople.org/vdsm/fedora-16/x86_64/vdsm-hook-faqemu-4.9.... wget http://fsimonce.fedorapeople.org/vdsm/fedora-16/x86_64/vdsm-hook-vhostmd-4.9... wget http://fsimonce.fedorapeople.org/vdsm/fedora-16/x86_64/vdsm-reg-4.9.0-0.200.... createrepo ../ cd - ./autogen.sh --with-image-minimizer make rm *tar.gz make dist EXTRA_RELEASE=.$USER$(date +%s) rpmbuild --nodeps --define "extra_release $EXTRA_RELEASE" -ta --clean *.tar.gz cd recipe make ovirt-node-image.iso Am I doing something wrong? How can I test for the local repo? Best regards, Cristian Falcas

On Tue, 2011-12-06 at 19:47 +0200, Cristian Falcas wrote:
Hi,
I tried today to create a new iso, but each time it fails with this error: Error creating Live CD : Failed to find package 'vdsm-cli' : No package(s) available to install
The thing that is bothering me is that it worked ok yesterday.
All the steps I perform are those, as an ordinary user (it fails at make ovirt-node-image.iso ):
BASEDIR=$(rpm --eval %_topdir) sudo rm -rf ./ovirt-node sudo rm -rf $BASEDIR
git clone http://gerrit.ovirt.org/p/ovirt-node.git cd ovirt-node
mkdir -p $BASEDIR/{BUILD,BUILDROOT,RPMS,RPMS/x86_64,SOURCES,SPECS,SRPMS} OVIRT_CACHE_DIR=~/ovirt-cache #OVIRT_CACHE_DIR=`pwd`/ovirt-cache mkdir $OVIRT_CACHE_DIR OVIRT_LOCAL_REPO=file://${BASEDIR}/RPMS
export OVIRT_LOCAL_REPO=file://${BASEDIR}/RPMS Also, you can apply http://gerrit.ovirt.org/#change,486 to your repo and not have to download the vdsm rpms. This patch will pull vdsm rpms from the ovirt.org repos. Mike
cd $BASEDIR/RPMS/x86_64 wget http://fsimonce.fedorapeople.org/vdsm/fedora-16/x86_64/vdsm-4.9.0-0.200.g2fc... wget http://fsimonce.fedorapeople.org/vdsm/fedora-16/x86_64/vdsm-bootstrap-4.9.0-... wget http://fsimonce.fedorapeople.org/vdsm/fedora-16/x86_64/vdsm-cli-4.9.0-0.200.... wget http://fsimonce.fedorapeople.org/vdsm/fedora-16/x86_64/vdsm-debug-plugin-4.9... wget http://fsimonce.fedorapeople.org/vdsm/fedora-16/x86_64/vdsm-debuginfo-4.9.0-... wget http://fsimonce.fedorapeople.org/vdsm/fedora-16/x86_64/vdsm-hook-faqemu-4.9.... wget http://fsimonce.fedorapeople.org/vdsm/fedora-16/x86_64/vdsm-hook-vhostmd-4.9... wget http://fsimonce.fedorapeople.org/vdsm/fedora-16/x86_64/vdsm-reg-4.9.0-0.200.... createrepo ../ cd -
./autogen.sh --with-image-minimizer make rm *tar.gz make dist EXTRA_RELEASE=.$USER$(date +%s) rpmbuild --nodeps --define "extra_release $EXTRA_RELEASE" -ta --clean *.tar.gz
cd recipe make ovirt-node-image.iso
Am I doing something wrong? How can I test for the local repo?
Best regards, Cristian Falcas _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Hi Cristian, On 12/06/2011 12:47 PM, Cristian Falcas wrote:
Hi,
I tried today to create a new iso, but each time it fails with this error: Error creating Live CD : Failed to find package 'vdsm-cli' : No package(s) available to install I can see this error if OVIRT_LOCAL_REPO variable is not defined or repodata is not updated.
I would suggest: Check if OVIRT_LOCAL_REPO variable is indeed defined in your environment and/or try to execute 'createrepo' command before 'make ovirt-node-image.iso' and see if it helps. Please let us know the results. -- Cheers Douglas

On Tue, Dec 6, 2011 at 23:42, Douglas Landgraf <dougsland@redhat.com> wrote:
Hi Cristian,
On 12/06/2011 12:47 PM, Cristian Falcas wrote:
Hi,
I tried today to create a new iso, but each time it fails with this error: Error creating Live CD : Failed to find package 'vdsm-cli' : No package(s) available to install
I can see this error if OVIRT_LOCAL_REPO variable is not defined or repodata is not updated.
I would suggest:
Check if OVIRT_LOCAL_REPO variable is indeed defined in your environment and/or try to execute 'createrepo' command before 'make ovirt-node-image.iso' and see if it helps.
Please let us know the results.
--
Cheers Douglas
Hi, Both methods worked: exporting the OVIRT_LOCAL_REPO instead of just defining it and also the patch without OVIRT_LOCAL_REPO. Thank you
participants (3)
-
Cristian Falcas
-
Douglas Landgraf
-
Mike Burns