21 Commits

Author SHA1 Message Date
Liping Mao
be4832cde3 Kuryr did not detect neutron tag plugin in devstack
Change-Id: I70dc32fd16a0daeb01896daca89f14cfdc2804a1
Closes-Bug: #1587522
2016-06-06 16:47:06 +08:00
Salvatore Orlando
d32f09ffb6 Do not attempt to re-install docker, regardless of its running status
Commit c96032ecc11b44b53f60c6240ffb05439fe57a91 changed the devstack
plugin to avoid reinstalling docker if the service was running.
However, there are a few meaningful cases where the service is not
running but the package is however installed and the user does not
want devstack to reinstall it.

This patch uses the distro package manager to find whether
docker-engine is insstalled already, rather than systemd or init.d.
The docker installation script will take care of cases where docker
was manually installed from binaries.

Change-Id: I6f66fdd3c35739486a6453b484eab81dfb4a9545
2016-05-23 16:43:02 -07:00
Christophe Sauthier
711d5bcfe2 Enable the change of docker-engine and etcd listen TCP port in devstack
Change-Id: I2671cecbe3705fedd47a927fbb58274a7110e1fe
Closes-Bug: bug/1527975
2016-05-03 14:43:57 +02:00
Jenkins
bc885f2bf4 Merge "Only install docker in case it is not installed" 2016-05-02 15:28:38 +00:00
Frederick F. Kautz IV
07dca2a49b Activate libnetwork plugin with .spec instead of .json
Docker 1.11.0 fails to activate libnetwork plugins specified with .json files.
Using .spec files still works. Adding a .spec file and configuring devstack to
work around the bug.

Change-Id: I041a5e9a526c2e63c92f3d01411afda8b7beb601
Closes-Bug: #1572369
Signed-off-by: Frederick F. Kautz IV <fkautz@redhat.com>
2016-04-21 18:15:56 -07:00
Jaume Devesa
c96032ecc1 Only install docker in case it is not installed
Add a conditional statement in devstack plugin to avoid install docker
in the host if it is already installed.

Change-Id: I27b2f576a3efa3f404bb0b55722b587c7b250997
Signed-off-by: Jaume Devesa <devvesa@gmail.com>
2016-03-10 13:55:53 +00:00
Frederick F. Kautz IV
7f0304b8e8 plugin.sh stops docker service rather than kill docker daemon.
* Docker services is now gracefully shut down
* Renames docker service back to docker-engine

Change-Id: I17c42ecadfd9c418ab8eb2f94c2283f5dd5e9afc
2016-02-22 08:52:00 -08:00
Kyle Mestery
4670033c7d devstack: Workaround shebang insanities
Fix issue with Ubuntu defaulting to the dash sh linked to /bin/sh,
and install_docker.sh using a shebang of /bin/sh but using bash
shell constructs.

Change-Id: I2b89ddc8a001bbf93b71cef5c646f5e0cad3514d
Signed-off-by: Kyle Mestery <mestery@mestery.com>
2016-02-09 11:26:56 -06:00
Liping Mao
881afd9c5a Try to fix gate-install-dsvm-kuryr error.
gate-install-dsvm-kuryr is failed since yesterday afternoon
in all kuryr patch.

Change-Id: I743a62cfff064e70ec1f127d5333dcaca6fb6819
2016-02-05 10:01:56 +08:00
Jenkins
57833192b7 Merge "Change generator config file from tox to oslo-config-generator" 2015-12-28 03:04:15 +00:00
Gal Sagie
a6513a59c3 Configure Docker engine to listen to TCP port
This patch will allow us to run the tests in the gate
from user that is not root

Change-Id: I6a06e54b754965914b14dba96e30bf0912eb7658
2015-12-23 16:13:51 +02:00
kexiaodong
1f86c28000 Change generator config file from tox to oslo-config-generator
When restart tox script it will remove all python libraries and
download libraries again. In the case that git/pip frequently
timeout, this may cause failure of installation.
Closes-Bug: #1527961

Change-Id: I4671bb8436f38686c1ca638ea33a797bd23389a0
2015-12-23 00:37:37 -08:00
Jenkins
ec2b65a1bc Merge "Make the script run on RedHat-like OS" 2015-12-22 11:44:15 +00:00
Jaume Devesa
e82c253a3b Make the script run on RedHat-like OS
A couple of slight changes to make the './devstack/plugin.sh' run on
RedHat/CentOS/Fedora machines.

Change-Id: If4141a50fc54e85b2f1eb2dec4ef25040a33c840
2015-12-18 15:46:14 +01:00
Gal Sagie
1bbfb6afb6 Create Kuryr subnet pool in the devstack process
Create the Neutron subnet pool for Kuryr in the devstack
stack process.

Closes-Bug: #1525827

Change-Id: I67df3186d89b9a7bf3addaf019a03b576a9575e4
2015-12-18 13:20:35 +02:00
Gal Sagie
c764cce9b5 Delete etcd DB data every stack
Previously the etcd DB was not cleaned between stacks
which meant that old data (networks) still exists.
This change delete the etcd DB every stack

Change-Id: I0ec52bac803d0f96683f1c6ea6b5996f39eab300
2015-12-14 17:01:19 +00:00
Mohammad Banikazemi
2f4686393a Completing the basic configuration for Kuryr
Adds support for providing a configuration file
for specifying Kuryr configuration options.

Updates the Kuryr scripts to use and if needed,
generate the configuration file.

Implements: blueprint kuryr-config
Change-Id: I6909ef21da13a7137ffff019383be19306f35152
2015-12-07 09:35:26 -05:00
Gal Sagie
4bd27cce7d Change ETCD version
Install the devstack plugin with a newer etcd version.
Make it easier to replace ETCD versions

Change-Id: I9a5426983e54bc2d3f589b16463b601ca6a8318e
2015-12-06 14:32:45 +02:00
Gal Sagie
58057cd711 Fix Kuryr devstack plugin
Add needed changes to make Kuryr devstack pass the gate

Change-Id: I1590b6ee4900f2faa4927d408a3232db1332f40d
2015-11-27 08:01:40 +02:00
Kyle Mestery
a68600fc6c Integrate devstack plugin with Vagrant setup
This integrates the freshly added devstack plugin with the Kuryr
Vagrant setup.

Also cleans up a few nits found while here in plugin.sh

Change-Id: I5de55e7d6415d4bffe8bb7a2b2e5e15188815c36
Signed-off-by: Kyle Mestery <mestery@mestery.com>
2015-11-25 09:57:28 -06:00
Gal Sagie
e8b93b8ada Add Kuryr devstack plugin
Add Kuryr devstack plugin
With default etcd as the K/V store

Change-Id: Idb9f4fec3ca393572b113490e7764ab4243642bd
2015-11-25 16:12:12 +02:00