Several installation error issues
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
quantum (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Precise |
Fix Released
|
High
|
Unassigned |
Bug Description
As reported in https:/
apt-get install quantum-server
- chown: cannot access `/etc/quantum/' : No such file or directory
- chown: cannot access `/var/run/quantum/' : No such file or directory
- plugins.ini and quantum.conf should be copied from "etc" directory in source to /etc/quantum . /etc/quantum is empty right now.
- "service quantum-server start" doesn't work. No init scripts.
- quantum-ryu-agent was installed in /usr/bin even though I didn't install the ryu plugin.
apt-get install quantum-
- quantum-
- no logging to /var/log/quantum (at least server logging should go here, ideally agents would have log as well)
- mysql, python-mysqldb should be a dependency for the quantum-
- I suspect agents should be separate packages from the main plugin packages. Plugins correspond to code that is running on the main quantum controller (i.e., the node running the API) . Agents run on each compute node, managing the vswitch.
- ovs quantum agent package should depend on python-mysqldb and openvswitch-switch
Ideally, agent would have init scripts as well.
Attached patch fix most of them. Separated agents and the init (starup) scripts bugs are remaining. I'll open a separate bug for them.
Confirmed:
Adding system user `quantum' (UID 134) ...
ldconfig deferred processing now taking place
Adding new user `quantum' (UID 134) 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-server:
quantum-server depends on quantum-common; however:
Package quantum-common is not configured yet.
dpkg: error processing quantum-server (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc-bin ...
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-server