| Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
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
(cherry picked from commit 78b27e3e6017ceda4e15c5b2c87516ec3750fd98)
|
|
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
(cherry picked from commit 21cd478cbd0bf14f9522e088c99399886a8fcf28)
|
|
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
(cherry picked from commit 4443392f6e7315328880a2744cd89492045d8507)
|
|
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
(cherry picked from commit fa51eb4b5377e4725c0438fbfe85cdacdab8b3fe)
|
|
Make a Magnum demonstration that creates a baymodel and bay. Just
run demos/magnum/launch to make it work. This depends on Neutron.
Borrow the v1beta3 redis example from the examples repository in
Kubernetes.
Change-Id: I448a5890bfe0c1675914ae7dbd02fad03f4b1eeb
|
|
This adds Magnum Containers as a Service to Kolla.
Change-Id: I572cd62845515f42a6a16291d2bd87ad8d972e24
Implements-blueprint: container-magnum
|
|
|
|
Previously cleanup-containers suffered from the following
limitations:
1. The docker rm command would fail if all the containers were not
stopped.
2. The script would throw an error if no containers existed.
3. Artifacts such as veths, bridges, etc.. would remain on the host
after containers were removed. These artifacts should be removed
if the containers are removed.
Change-Id: I5eadb23fec9e34125a32f6c3e39c241d97932910
|
|
Use kilo upstream RPM packages
Partially-implements: blueprint port-kilo
Change-Id: Ia0b4db5dc8e40c01184871e77458dc718c3c46cd
|
|
All VNC-specific configuration bits are moved from nova-api-base to
nova-compute and the new nova-novncproxy and nova-consoleauth
containers. The compose specification has been updated to reflect this.
A future patch will make the desired backend configurable (spice/vnc).
Change-Id: I8b64abf125fd1ecd7d3463515e3717dd9bd60420
Blueprint: novnc-container
|
|
This represents the Juno release of the images.
Partially-implements: blueprint port-kilo
Change-Id: I2837ec25a2aa093b7fff7519f3ed608ec93736bf
|
|
Add Heat-api-cfn for wait conditions
Magnum needs wait conditions in order to operate properly. heat-api-cfn
is where wait conditions connect.
Change-Id: I56742dd96e4607dc0042d0cef4e18c922f9ed736
Implements: blueprint container-heat-api-cfn
|
|
Introduce a new --no-use-released-parent option to `build-docker-image`
that allows specifying whether the parent image uses the same tag as
the one that's currently build or the release tag.
Default is to use the release tag for parent image, however
`build-all-docker-images` script forces it to be the current tag.
Change to Dockerfile is coming next.
Change-Id: Ief11c9abb722c181ca85f38ee11800dbf4332a5f
|
|
The cirros image download and creation now happens in
tools/init-runonce.
Change-Id: Icb83526c1fbe42b96957dd39ad9e46a1cf450471
|
|
The network name must be next to the CIDR otherwise `neutron
subnet-create` gets confused.
Change-Id: Ie8b19d3824e5e25f80c61f0794595813c80b98da
|
|
|
|
|
|
|
|
Add "-a" to preserve file attributes so that unnecessary Docker image
build can be avoided. Otherwise, build-all-docker-images will generate
additional image layer due to timestamp change.
Change-Id: I893fa0637937c521198f50b1bba203a27c9f00a3
Closes-Bug: 1449287
|
|
Fix issues reported in https://review.openstack.org/#/c/177681/3, and
simplify detection of cirros images in glance.
Only add developer's SSH key to nova if ~/.ssh/id_rsa.pub exists and is
readable.
Change-Id: I5936c6db399d63902d460b0d3c959619073cc3cc
|
|
Configure the network for use with Neutron.
Co-Authored-By: Daneyon Hansen (danehans@cisco.com)
Change-Id: Iab0496cf40683ca29cbe38066ae446aa8c6c4c36
|
|
Configure nova networking and nova quotas to allow 40 m1.small
instances to run. Checks for keystone credentials set. May only
be run once.
Change-Id: I36e01d42ec283651babbb59268452a65e644626e
|
|
Unify the shell to bash in all Kolla scripts.
Change-Id: Ib9591b2f8f344eb88455c5e9b7ecf2164fb5960a
Implements: blueprint use-bash-shell
|
|
The kolla script runs its process on rabbit, not rabbitmq. This
results in the rabbitmq compose scirpt not being executed.
Change-Id: I80f8d537c36b6cd598cdcf87f77df418db8ed035
|
|
|
|
|
|
This is supposed to prevent proliferation of scripts in "tools"
directory and reduce code duplication.
This first patch replaces tools/{start,stop,pull,status} scripts and
more commands are to be added in the future.
Change-Id: I3d99cf5033be8631d8e6f32a4c34d3b5ffcae7e8
|
|
|
|
NEUTRON_SHARED_SECRET was being generated incorrectly. It had a colon
at the front, which causes nova not to operate.
Change-Id: Id0d9390fa60b3d946513098fed394aaba3a53c70
|
|
Previously, only start/stop scripts existed. The status script
runs docker-compose ps for each container so users can
get a quick snapshot of their Kolla environment.
Change-Id: I3204f3e7404ad906d5330cf67d091fc1f06d3030
|
|
Previously, Neutron was not included in the start/stop scripts.
This patch reads the NETWORK_MANAGER value from openstack.env
to start/stop either nova or neutron networking.
Change-Id: I85b31396c2b816b89f33206443c3d60cb4b7914b
|
|
YAML files can have .yaml or .yml extension. Make `validate-all-yaml.sh`
check for *.yml files in addition to *.yaml files since we now have some
of these in our source tree.
This should help to prevent bogus YAML files to land in the repository.
Change-Id: Id59273680fc2424f7b636033b1d641efcaaeba22
|
|
|
|
|
|
Previously, debug logging was enabled by default. Only verbose
logging should be enabled by default.
Change-Id: I5a1fc805284be777dd49c79cc344a5e8600a238d
|
|
Previously, the log_dir was blank, causing neutron to log
to stdout. The log_dir param must be set for this:
https://github.com/stackforge/kolla/blob/master/docker/neutron/neutron-agents/config-scripts/config-dhcp-agent.sh#L69
Change-Id: Ibf14224e5a6f27f2c0f9900828a7cd00f3babfab
|
|
Previously, Fedora was set as the default image prefix. Since our
reference architecture focuses on CentOS, the default image prefix
has been changed accordingly.
Change-Id: I794ac1aa035d793204fa315752ae8188ce872a3e
|
|
Previously, the agents ran in seperate containers. Since some of
the agents create and use network namespaces, runnning them in
seperate containers has become a challenge. This patch adds
neutron agent support in a single container.
Partially Implements: blueprint compute-operation-neutron
Change-Id: If4f893abd50d90b58e8435ec2659870dce36951c
|
|
Adds neutron-server components of the neutron container set.
Partially Implements: blueprint compute-operation-neutron
Change-Id: I63525ae85f4ead4e010cdb9b6bc8059bb9d252e7
|
|
Previously, logging was hard coded into the nova and neutron
containers. This patch creates two common params for logging:
DEBUG_LOGGING
VERBOSE_LOGGING
and sets default values of verbose=true and debug=false. This patch
implements logging for Nova and Neutron. Add'l OS service config
scripts and images will need to be updated to use the logging
params.
Change-Id: I03d48005d5b4789aa3c519879a20d963ef1cbaa3
|
|
|
|
|
|
We no longer bindmount qemu directories and instead use the
volume_from feature to get that job done. As such remove the
creation of the directory.
Change-Id: I20aa0b5d8b8e5e0bd9ccc69ab07009635c693b02
|
|
Previously the start script would disable SELinux That is a policy
choice by the administrator, not something that should be done in a
development tool. Instead suggest setting SELinux to permissive mode
manually.
Change-Id: I342a1614f9c10ec066cd2a8dc79280481e0b7570
|
|
this uses docker-compose (-c flag) or docker (-d flag) to pull the latest
images from docker hub.
Change-Id: I7793178deeb2e37c92fb1518ae8666432e74d9b7
|
|
|
|
We have to overlay the /lib/modules folder from the host to properly
`modprobe` from within a container. We don't have to give it write
permissions however, so the docker-compose volume is mounted in as 'ro'
Change-Id: I95101136dad56e9331d8b92cd394495f7bd0576a
|
|
Adds the neutron-linuxbridge-agent to the neutron container set.
Change-Id: I20752611c24a3110cc5d2e4fca2d501fc32a4d87
|