671 Commits

Author SHA1 Message Date
Jenkins
8df879a57a Merge "Make magnum demo start bashate compliant" 2015-06-08 15:50:47 +00:00
Jenkins
53de5ba287 Merge "Make update-build-links bashate compliant" 2015-06-08 15:50:11 +00:00
Jenkins
52d8b978b5 Merge "Make setup_docker.sh bashate compliant" 2015-06-08 15:50:07 +00:00
Jenkins
e08b9d0010 Merge "Make kolla script bashate compliant" 2015-06-08 15:50:04 +00:00
Jenkins
334fdc2962 Merge "Check compose cmd result" 2015-06-08 15:04:29 +00:00
Steven Dake
32b8f2b95e Make magnum demo start bashate compliant
Change-Id: I10ce1424c557453f061190913c93e3f5e91639d5
Partially-Implements: blueprint bashate-gate
2015-06-07 12:17:59 -07:00
Steven Dake
89edade6e5 Make update-build-links bashate compliant
Change-Id: I51841f90a1a291f6bc82372e048461afbb0b482b
Partially-Implements: blueprint bashate-gate
2015-06-07 12:17:59 -07:00
Steven Dake
83b2e10409 Make setup_docker.sh bashate compliant
Change-Id: I60ea3b103d1ebe6f9e1b02ef8c91868d7538cdee
Partially-Implements: blueprint bashate-gate
2015-06-07 12:17:59 -07:00
Steven Dake
70b8f4064e Make kolla script bashate compliant
Change-Id: Id02a4d20b9122d173f8ab56628cd055b4a5acf92
2015-06-07 12:17:59 -07:00
Harm Weites
88ba777bab Autogenerated value for DESIGNATE_POOLMAN_POOLID
Change-Id: I14eec402d4e9afbfc58b74938df01c858314e6f3
Closes-bug: #1462798
2015-06-07 20:51:11 +02:00
Jenkins
f70ccabe52 Merge "Add the Designate DNSaaS services." 2015-06-06 05:16:07 +00:00
Harm Weites
76c5d9a6c8 Add the Designate DNSaaS services.
This is a complete DNS solution, with hidden master and bind9 slave.

It lacks the designate-sink service, because there is no true specification
to implement that. It listens for Nova/Neutron events and creates records
though adding those to just 1 domain isn't helping much in an environment
with multiple tenants.

Change-Id: I500fb6058b118d25a4ccfd1d3479830c36af7e2a
Blueprint: designate-container
2015-06-05 21:06:06 +02:00
Martin André
9a5fed6608 Fail image build when build script is missing
When an image did not provide a build script, due to a broken link for
instance, the build-all-docker-images script was wrongly marking the
image as "up-to-date", and the functional gate was reporting success.

This commit restores the expected behavior, and mark the images with
non-existent build scripts as failures.

Change-Id: Ifedc8d9c312925fe5aa953ed8f8fdae02b756906
Closes-Bug: #1460959
2015-06-03 10:22:57 +09:00
Jenkins
f69084a5aa Merge "Make crux compatible with delorean packaging" 2015-06-02 16:57:10 +00:00
weiyu
0e00ad2188 fix ansible libary passing error arguments.
kolla is mandatory to run a version of docker-compose that 
includes pid: host support.docker-compose 1.3.0 to include the
necessary features.

docker-compose 1.3.0 project.up() abandoned the parameters 
detach and use allow_recreate replace recreate parameters.
closes-Bug: #1458116

Change-Id: I1235da58db5bedf208ebaea2a54568964dc802f8
2015-06-02 10:49:25 +00:00
Steven Dake
962e48970a Make crux compatible with delorean packaging
The previous version of crus 6-1 installed pbr hooks.  This is
incompatible with CentOS RDO.  Remove the requirements.txt file
from the RPM that is installed.  This required placing the files
in a new COPRS repository.  Since Lars no longer contributes to
Kolla, I imported his src rpm, made the necessary adjustments,
and created a new COPRS repo for it.

The result of the PBR hooks is that any container that ran crux
would fail with a distribution error about argparse not being
present when it was present.

Change-Id: Ibdbccd9e0dd5aeb6d6292bd633b9d2dde8c7b4ce
Closes-bug: #1460886
2015-06-01 20:19:14 -07:00
Steven Dake
59a2cd4089 Make clenaup-containers bashate compliant
Change-Id: I5469e6e60b9e20ee98c9149697f663e94e58077d
Partially-Implements: blueprint bashate-gate
2015-05-28 08:35:41 -07:00
Steven Dake
07b6000fe9 Make build-all-docker-iamges bashate compliant
Change-Id: I62dbd2c3e0e6f66b1be5777bb8bbda4e43b2b5db
Partially-Implements: blueprint bashate-gate
2015-05-28 08:35:38 -07:00
Jenkins
c59b94a1fe Merge "Clean up the image functional test" 2015-05-27 13:49:55 +00:00
Jenkins
1061cc7692 Merge "Remove unnecessary dependencies" 2015-05-27 04:28:10 +00:00
Jeff Peeler
314b6d4c3c Remove unnecessary dependencies
Glance RPM has been confirmed to depend on python-oslo-log and
python-oslo-policy, so remove explicit package installs.

Change-Id: Ia390b4ff1b57a079032e1f3fb2403b9fb78f038f
2015-05-26 17:25:39 -04:00
Jeff Peeler
78b27e3e60 Clean up the image functional test
1. Move setup_docker.sh to tools directory

2. Make a setup_gate.sh that installs necessary packages including
   docker and starts docker.

3. Add logging output.

4. Add default test timeout of 2 hours.

5. Add user to the docker group before running test cases.

6. Run image build as dockerroot group.

This patch has to be one commit to fix the gate in one go.

Co-Authored-By: Steven Dake <stdake@cisco.com>

Change-Id: I83f3cdb1dabf0dfface589c581cb22c155467acc
2015-05-26 15:01:28 -04:00
Steven Dake
751180ae01 Force developers not to run build-docker-image as root
Instead recommend developer run build within the docker group.
This script is non-functional as the root user.

Change-Id: Ib70ab55e5e9bc2e7b8639d5d5ffc32a2b8795058
2015-05-26 13:45:00 -04:00
Steven Dake
23370e52d4 Use latest delorean repo location
The latest delorean repo location is needed instead of the "rc2"
location used previously.

Also document what the repos do in the dockerfile.

Change-Id: Ic9033d08784d67a2629b2f5c60fb9a4f6db53529
2015-05-26 13:44:57 -04:00
Jenkins
e832e35295 Merge "Switch Fedora base image to fedora:21" 2015-05-26 14:39:58 +00:00
Martin André
2844a25102 Always provide a tag when building with build-all-docker-images
When we're not providing a tag, the build script will use one based on
the short SHA of the tip of the current git branch.

Make the `build-all-docker-images` script always provide a tag to
`build-docker-image` in order to prevent issues with Docker not being
able to find the base image when changing branches during an ongoing
build.

Closes-Bug: #1458739
Change-Id: Id6925b792f46d14b20a7dbebfaf0d351ddec6538
2015-05-26 14:20:51 +09:00
Martin André
17aed1ebb3 Switch Fedora base image to fedora:21
Install required iproute package on fedora 21 for 'ip' command to work.

Change-Id: Id98035dbe1eb5c0c76321784956ec15ac5d69068
2015-05-26 10:56:02 +09:00
Jenkins
9249ed0d1d Merge "fix subnet-create call for demo-net" 2015-05-25 13:17:45 +00:00
Jenkins
6b5e691c86 Merge "Restructure builds to allow more flexibility" 2015-05-24 17:52:39 +00:00
Jenkins
ac97b74052 Merge "Set release tag to 'latest' for development branch" 2015-05-18 21:45:03 +00:00
Justin Riley
f77ca0e05b fix subnet-create call for demo-net
(neutron client version: 2.5.0)

The option is --dns-nameservers not --dns_namservers and the
subnet-create subcommand expects the NETWORK and CIDR to be adjacent
args.

Change-Id: I4f776632902fd001c38ee5c8c87a213883ca87be
2015-05-18 13:24:40 -04:00
Sam Yaple
13062e23e8 Restructure builds to allow more flexibility
As a restructure, nothing is changed from the original behaviour and
naming despite the file structure changing. The symlinks to build had
to be updated generating lots of "deleted" and "new_file".

The new structure is:

docker/${base_distro}/${type}/${container}

base_distro == centos, ubuntu, fedora, etc
type == source, binary, rdo

type rdo is a symlink to binary for backwards compatibility

Two new flags are added to the build-all script to support the ability
to support different base distros and a flag to support binary or source
containers.

There are several added folders that are empty to hold the directory
structure for future containers of these types.

To use a prefix other than centos-rdo- you can set PREFIX in the toplevel
directory .buildconf file

Change-Id: Ifc7bac0d827470f506c8b5c004a833da9ce13b90
2015-05-15 01:32:22 -05:00
Jenkins
354ba01c8f Merge "Fixes Nova NoVNC" 2015-05-14 17:49:46 +00:00
Jenkins
b7d5053978 Merge "Add functional tests to tox" 2015-05-13 21:54:51 +00:00
Jenkins
a19f8fd990 Merge "Fix image build for barbican" 2015-05-13 21:13:12 +00:00
Jeff Peeler
21cd478cbd Add functional tests to tox
This adds functional tests to tox, along with a number of prerequisite
steps. Since this is primarily a bash project, pbr usage has been avoided.
Tests are to be written in python and put in the tests directory.

Running tox -e setupenv will execute a setup script
(tests/setup_docker.sh) to ensure the running instance of docker meets
the minimum version requirement.

Running tox -e images will execute the image building script
(tools/build-all-docker-images) and will parse the resulting output to report
failures.

Running tox -e startenv will generate the environment file, run
"tools/kolla start", and run first time initialization (eventually).

Running tox -e functional is for actually testing the deployed OpenStack
environment via a series of tests utilizing the client APIs.

Change-Id: Iff6dfdca43f0c44d471e7540a7836e56a0de4507
2015-05-13 15:38:07 -04:00
Jenkins
abe4a9ccb2 Merge "Improves Heat Demo Functionality" 2015-05-13 12:56:16 +00:00
Jenkins
4911917805 Merge "add restart and destroy subcommands to tools/kolla" 2015-05-13 12:55:21 +00:00
Sam Yaple
e057343c2f Allow private docker registries
Change the sed seperator to accept a namespace with a private registry
and add an option to specify the registry. Below is an example for a
registry located at 192.168.0.10:5000.

$ ./build-all-docker-images -r 192.168.0.10:5000

The final image name would be something like this:
'192.168.0.10:5000/kollaglue/centos-rdo-base'

All build, push, and pull commands will still function the same.

Change-Id: Ic0ff96bb8119ddfab15b99e9f1e21cfe8d321dab
2015-05-12 22:16:59 -05:00
Daneyon Hansen
e65e059852 Improves Heat Demo Functionality
Previously, the Heat demo suffered from the following limitations:

1. The number of Nova instances to spawn and the image flavor were
   hard coded in the Heat template.

2. No outputs existed. This required users to run nova-list to
   obtain the IP's of VMs.

3. No documentation existed.

This patch addresses the above limitations.

Change-Id: I495aa9c73a91200c01cecc1719ee5532c1f6c9cb
2015-05-12 15:51:37 -07:00
Daneyon Hansen
fa51eb4b53 Fixes Nova NoVNC
Previously, vnc was not completely working properly because
nova.conf config flags were not properly implemented in t he correct
containers.

This patch moves the nova.conf config flags for vnc to the proper
containers. Additionally, the patch modifies the proxy client ip
param to be consistent with the param within nova.conf and adds
all the novnc params to docs.

Change-Id: I1944baca64ccd113bbca582784b08f90dc0eff69
2015-05-12 12:11:40 -07:00
Jenkins
52847aa1b9 Merge "fix net-create call for public1 in tools/init-runonce" 2015-05-12 17:34:00 +00:00
Jenkins
427fc0b680 Merge "Fix setup script misspelling and pkill flag" 2015-05-12 16:05:27 +00:00
Jenkins
4aacc43e96 Merge "Additional option to cleanup even failed containers" 2015-05-12 15:48:25 +00:00
Justin Riley
4443392f6e fix net-create call for public1 in tools/init-runonce
The --router:external option is a boolean flag that doesn't take a value
(neutron client version 2.5.0). Passing True results in the following
error:

Invalid values_specs True

This patch simply removes the 'True' value.

Change-Id: If4b5305f37d50c14c767393eb21223b0e0b59494
2015-05-12 11:23:52 -04:00
Justin Riley
68e4dba46a add restart and destroy subcommands to tools/kolla
Convenience commands for restarting all containers and destroying all
containers

Change-Id: I9c4759dbe699bd4b609cefa694ecc897355ff60a
2015-05-12 11:13:29 -04:00
Martin André
d1b8a1db91 Set release tag to 'latest' for development branch
Change-Id: I418583af2d2795f4b63ded2aa3e2cbedd70993c8
2015-05-12 13:18:09 +09:00
Jenkins
57990a94ae Merge "Add heat-api-cfn to heat-api-engine yml" 2015-05-11 20:00:31 +00:00
Jenkins
603e4b702d Merge "Make a demo for Magnum" 2015-05-11 19:43:20 +00:00
Jenkins
91b283ad10 Merge "Add Magnum Containers as a Service to Kolla" 2015-05-11 19:22:00 +00:00