The genimage   command must be run on a system that is the same
architecture and same distro with same major release version as the nodes
it will be used on.  I think you might have just been lucky with 6.3.

We do have a process defined for what  you are trying to do:
https://sourceforge.net/apps/mediawiki/xcat/index.php?title=Building_a_Stateless_Image_of_a_Different_Architecture_or_OS



Lissa K. Valletta
8-3/B10
Poughkeepsie, NY 12601
(tie 293) 433-3102





From:   Russell Jones <[email protected]>
To:     [email protected],
Date:   07/05/2013 05:18 PM
Subject:        [xcat-user] CentOS 6.4 genimage of CentOS 5 compute image



Hi all,

I am running into the following issue when doing a genimage on a 6.4 MN for
a 5.4 compute image:


  Installing : compat-gcc-34-c++-3.4.6-4.x86_64
713/714

  Installing : compat-libstdc++-296-2.96-138.i386
714/714
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in <module>
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/yummain.py", line 285, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 219, in main
    return_code = base.doTransaction()
  File "/usr/share/yum-cli/cli.py", line 586, in doTransaction
    resultobject = self.runTransaction(cb=cb)
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 1588, in
runTransaction
    self.rpmdb.dropCachedDataPostTransaction(list(self.tsInfo))
  File "/usr/lib/python2.6/site-packages/yum/rpmsack.py", line 343, in
dropCachedDataPostTransaction
    pkg = self.searchNevra(n, e, v, r, a)
  File "/usr/lib/python2.6/site-packages/yum/rpmsack.py", line 1197, in
searchNevra
    return self._search(name, epoch, ver, rel, arch)
  File "/usr/lib/python2.6/site-packages/yum/rpmsack.py", line 1271, in
_search
    mi = ts.dbMatch('name', name)
_rpm.error: rpmdb open failed
yum invocation failed



Has anyone else ran into this before? I've tried several different things
to attempt to resolve it with no success. The extra weird thing is, 6.3
works fine, it's only when the MN is upgraded to 6.4 that it bombs out. I
checked the changelogs for rpm and yum between 6.3 and 6.4 and see nothing
that would indicate a cause for this.

I am able to reproduce this by just running the yum command directly that
genimage calls.

Thanks in advance for the advice!
------------------------------------------------------------------------------

This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

<<inline: graycol.gif>>

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to