Ask Your Question
0

Quantum-common install fails?

asked 2013-09-19 11:42:13 -0600

soundscape gravatar image

Hi,

We're running a multi-node Openstack environment (Grizzly) on Ubuntu 12.04. Recently, when adding a compute node to the cluster, the following error occurs when installing quantum-common:

Setting up quantum-common (2012.1-0ubuntu4) ...
Adding system user `quantum' (UID 110) ...
Adding new user `quantum' (UID 110) with group `quantum' ...
Not creating home directory `/var/lib/quantum'.
chown: cannot access `/etc/quantum/': No such file or directory
dpkg: error processing quantum-common (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of quantum-plugin-openvswitch-agent:
quantum-plugin-openvswitch-agent depends on quantum-common; however:
  Package quantum-common is not configured yet.
dpkg: error processing quantum-plugin-openvswitch-agent (--configure):
dependency problems - leaving unconfigured Processing triggers for libc-bin ...
ldconfig deferred processing now taking place No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          Errors were encountered while processing:
quantum-common
quantum-plugin-openvswitch-agent
E: Sub-process /usr/bin/dpkg returned an error code (1)

The quantum-plugin-openvswitch-agent also fails because of its dependency on quantum-common.

We've tried creating /etc/quantum manually and installing the package, however the directory remains empty.

This bug was reportedly fixed in version 2012.1-0ubuntu3 in April of 2012. https://bugs.launchpad.net/ubuntu/+source/quantum/+bug/979159

Our cluster was initially set up using the guide here: https://github.com/mseknibilel/OpenStack-Grizzly-Install-Guide/blob/OVS_MultiNode/OpenStack_Grizzly_Install_Guide.rst

We've been following these instructions to add compute nodes in the past without issue.

Has anyone else been experiencing this, or have any insight into what's happening?

Thanks.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2013-11-04 11:42:04 -0600

monitorjbl gravatar image

I had this exact thing happen to me following that guide. Turns out this command didn't run successfully (I must have fat-fingered something):

echo deb http://ubuntu-cloud.archive.canonical.com/ubuntu precise-updates/grizzly main >> /etc/apt/sources.list.d/grizzly.list

I ran that, made sure it worked, and then ran the commands that @marcelodieder suggested. Depending on how far you got on the install, you'll need to rerun the first steps too:

apt-get update -y
apt-get upgrade -y
apt-get dist-upgrade -y

To be safe, I just started over and rechecked all the configs.

edit flag offensive delete link more
0

answered 2013-09-24 23:17:54 -0600

marcelodieder gravatar image

updated 2013-09-24 23:18:38 -0600

What's is the repository?

You can try remove quantum, update and install again.

 # sudo apt-get remove quantum* 
 # sudo apt-get update
 # sudo apt-get upgrade
 # sudo apt-get install quantum-plugin-openvswitch-agent
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

Asked: 2013-09-19 11:42:13 -0600

Seen: 482 times

Last updated: Nov 04 '13