Add pid: host to libvirt

Without pid: host, nova-compute and libvirt fail to operate correctly
together.  I don't understand why, and I wish it weren't so, but it means
folks will have to install docker-compose from my personal github account
until the pull request is merged upstream.

Change-Id: I24e55405139c831f2df246f54c5b6fd39d00656a
This commit is contained in:
Steven Dake 2015-03-19 19:01:24 -07:00
parent fb425db56d
commit 5bfc3e11f6
2 changed files with 13 additions and 1 deletions

View File

@ -2,6 +2,7 @@ libvirt:
image: kollaglue/centos-rdo-nova-libvirt image: kollaglue/centos-rdo-nova-libvirt
name: libvirt name: libvirt
net: host net: host
pid: host
privileged: true privileged: true
restart: always restart: always
env_file: env_file:
@ -33,7 +34,6 @@ novacompute:
image: kollaglue/centos-rdo-nova-compute image: kollaglue/centos-rdo-nova-compute
name: nova-compute name: nova-compute
net: host net: host
pid: host
privileged: true privileged: true
restart: always restart: always
env_file: env_file:

View File

@ -1,5 +1,17 @@
# Developer env # Developer env
In order to run Kolla, it is mandatory to run a version of
`docker-compose` that includes pid: host support. One of the
authors of kolla has a pull request outstanding that the
docker-compose maintainers have said they would merge shortly.
It must be retrieved via git and installed:
git pull http://github.com/sdake/fig
cd fig
sudo pip install .
sudo pip install -U docker-py
The basic starting environment will be created using `docker-compose`. The basic starting environment will be created using `docker-compose`.
This environment will start up the openstack services listed in the This environment will start up the openstack services listed in the
compose directory. compose directory.