[xen-tools-discuss] Possible bug in rinse with yum dependencies

Cory Von Wallenstein cvonwallenstein at dyn-inc.com
Tue Apr 21 18:23:18 CEST 2009


We've been successfully using rinse for our Spring Server VPS deployments with CentOS and Fedora for nearly six months now, and then all of a sudden the CentOS builds started failing.  Digging into the xen-tools log outputs for each domU, it looked like "yum" was failing in all calls with errors such as:

=========================
BUGFIX
BUGFIX: yumrepo
  Mounting /proc
  Bootstrapping yum
  Authfix
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

   libnss3.so: cannot open shared object file: No such file or directory

Please install a package which provides this module, or
verify that the module is installed correctly.

It's possible that the above module doesn't match the
current version of Python, which is:
2.4.3 (#1, Jan 21 2009, 01:11:33)
[GCC 4.1.2 20071124 (Red Hat 4.1.2-42)]

If you cannot solve this problem yourself, please go to
the yum faq at:
  http://wiki.linux.duke.edu/YumFaq
=========================

I was able to fix this by adding some additional packages to the "minimum yum installation" in /etc/rinse/centos-5.packages:

====================
# Added by CvW 4-21-2009 to get a working yum install
nss
nspr
python-iniparse
====================

Hopefully this helps some other folks out.

-- 
Cory von Wallenstein 
Dynamic Network Services Inc. 
P: +1.508.340.0958 
http://dynamicnetworkservices.com/ 





More information about the xen-tools-discuss mailing list