[node-devel] boot loader install failed when exec vdsm-upgrade on node

Xu He Jie xuhj at linux.vnet.ibm.com
Thu Apr 26 06:13:47 UTC 2012


Hello, everyone,
I am trying execute vdsm-upgrade on ovirt-node.

But I get an error 'boot loader install failed' after execute
vdsm-upgrade. I found '/usr/libexec/ovirt-config-boot' will use 'grub'
to install bootloader. But it only installed grub2 in node.

I check the ovirt-node.spec found if the iso build on fedora will
install grub2, it only install grub on RHEL. so is it a bug, or I miss
something?

And when I build iso on rhel will get some error as below:

soulxu-rhel at thinkpad-xuhj ovirt-node-iso]$ make iso
rm -f *.ks
Node Creator script is:
/home/soulxu-rhel/work-code/ovirt-node/recipe//node-creator
cp /home/soulxu-rhel/work-code/ovirt-node/recipe//*.ks .
rm -f version.ks
( \
echo "PRODUCT='"oVirt Node Hypervisor"'" ;\
echo "PRODUCT_SHORT='"oVirt Node Hypervisor"'" ;\
echo "PACKAGE=ovirt-node-iso" ;\
echo "VERSION=2.3.0" ;\
echo "RELEASE=999.1.el6" ;\
) > version.ks
ksflatten -c ovirt-node-image.ks -o ovirt-node-iso.ks
/home/soulxu-rhel/work-code/ovirt-node/recipe//node-creator
ovirt-node-iso.ks
[sudo] password for soulxu-rhel:
mke2fs 1.41.12 (17-May-2010)
Filesystem label=ovirt-node-iso
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
81920 inodes, 327680 blocks
3276 blocks (1.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=335544320
10 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912

Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 31 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
tune2fs 1.41.12 (17-May-2010)
Setting maximal mount count to -1
Setting interval between checks to 0 seconds
mount: special device /home/soulxu-rhel/ovirt-cache/yum-x86_64/yum-cache
does not exist
Traceback (most recent call last):
File "/usr/bin/livecd-creator", line 1644, in <module>
sys.exit(main())
File "/usr/bin/livecd-creator", line 1614, in main
target.setup(options.base_on, options.cachedir)
File "/usr/bin/livecd-creator", line 521, in setup
b.mount()
File "/usr/bin/livecd-creator", line 67, in mount
raise MountError("Bind-mounting '%s' to '%s' failed" % (self.src,
self.dest))
__main__.MountError: Bind-mounting
'/home/soulxu-rhel/ovirt-cache/yum-x86_64/yum-cache' to
'/home/soulxu-rhel/ovirt-cache/node-creator-x86_64-tmp/livecd-creator-8I6OYO/install_root//var/cache/yum'
failed
ERROR: ISO build failed.
make: *** [iso] Error 1
---------------------------------------------------------------------
And I didn't find livecd-tools from repo, so download one from
'ftp://rpmfind.net/linux/dag/redhat/el5/en/x86_64/dag/RPMS/livecd-tools-013-9.el5.rf.x86_64.rpm'

I guess I install with wrong version. Which version of livecd-tools I
should install ?

Thanks!
He Jie

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/node-devel/attachments/20120426/4ab79215/attachment.html>


More information about the node-devel mailing list