Openstack libvirt install fails with error

I ran into this a few times with different OpenStack Distros

Installing RDO Red Hat Openstack I got the following error with CentOS 6.4

ERROR : Error during puppet run : err: /Stage[main]/Nova::Compute::Libvirt/Package[libvirt]/ensure: change from absent to present failed: Execution of ‘/usr/bin/yum -d 0 -e 0 -y install libvirt’ returned 1: Error: Package: libvirt-0.10.2-18.el6_4.8.x86_64 (updates)

If you manually run yum -d 0 -e 0 -y install libvirt

yum -d 0 -e 0 -y install libvirt
Error: Package: libvirt-0.10.2-18.el6_4.8.x86_64 (updates)
Requires: libparted-2.1.so.0()(64bit)
Available: parted-2.1-19.el6.x86_64 (base)
libparted-2.1.so.0()(64bit)
Installed: parted-2.3-11.fu2012.x86_64 (installed)

Ok so parted-2.3-11.fu2012.x86_64 (installed)

How I got around the issue was on a fresh install CentOS 6.4 before running the OpenStack  install

Verify the version of parted by running

rpm -qa parted

if = parted-2.3-11.fu2012.x86_64 (installed)

Then uninstall parted-2.3-11.fu2012.x86_64 (installed)

Use the following command

rpm -e –nodeps parted

Now you can proceed with your OpenStack install.

Thanks to my Buddy Roddy Rodstein at Mokum Solutions for the Tip!

Advertisements
This entry was posted in OpenStack. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s