[Users] problems creating ovirt-node

Mike Burns mburns at redhat.com
Tue Dec 6 18:27:59 UTC 2011


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.g2fc4e63.fc16.x86_64.rpm
> wget http://fsimonce.fedorapeople.org/vdsm/fedora-16/x86_64/vdsm-bootstrap-4.9.0-0.200.g2fc4e63.fc16.noarch.rpm
> wget http://fsimonce.fedorapeople.org/vdsm/fedora-16/x86_64/vdsm-cli-4.9.0-0.200.g2fc4e63.fc16.noarch.rpm
> wget http://fsimonce.fedorapeople.org/vdsm/fedora-16/x86_64/vdsm-debug-plugin-4.9.0-0.200.g2fc4e63.fc16.noarch.rpm
> wget http://fsimonce.fedorapeople.org/vdsm/fedora-16/x86_64/vdsm-debuginfo-4.9.0-0.200.g2fc4e63.fc16.x86_64.rpm
> wget http://fsimonce.fedorapeople.org/vdsm/fedora-16/x86_64/vdsm-hook-faqemu-4.9.0-0.200.g2fc4e63.fc16.noarch.rpm
> wget http://fsimonce.fedorapeople.org/vdsm/fedora-16/x86_64/vdsm-hook-vhostmd-4.9.0-0.200.g2fc4e63.fc16.noarch.rpm
> wget http://fsimonce.fedorapeople.org/vdsm/fedora-16/x86_64/vdsm-reg-4.9.0-0.200.g2fc4e63.fc16.noarch.rpm
> 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 at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users





More information about the Users mailing list