| Age | Commit message (Collapse) | Author | Files | Lines |
|
The cirros image uses a redirect. Use curl -L to follow redirections.
Change-Id: I3a9309901ab3528442009fd6802600c51c98242f
|
|
|
|
The FLAT_INTERFACE is for vm communication, and should be
manually configured if necessary.
Change-Id: I79846705c18c2f0f2d4340e53d04183ec689e191
|
|
The genenv tool was generating the wrong password for the openrc
file as a result of recent keystone rework. This patch fixes that
problem.
Change-Id: I169e3255e3f3ef57938861c31ef4e342d9a32cbc
|
|
The Horizon dashboard was not working properly prior to this work.
Also a docker-compose file was added to start the dashboard.
Change-Id: I8a438c15b967b0cec00bfe44b997f833bf745191
|
|
Generate Heat environment variables.
Rename yml file to api and engine to follow other service conventions.
Add heat to compose/start
Modify integration guide to include new variables.
Change-Id: I058d829901881e28d6f4785f59fcf778058241e4
|
|
Previously, the database container was configured for use with
Kubernetes. This patch removed any k8s dependencies, adds a script
to manage mysql server.cnf settings and splits data and app
containers. Splitting the containers provides additional
portability and operational efficiencies compared to host mounts.
Change-Id: I80656450c02dda5f2959d187eec20d5877dc54a2
|
|
Rename them `genenv` and `start`.
Have `genenv` create the openrc file in the top-level directory.
Add openrc and compose/openstack.env to gitignore, as well as *.img.
Change-Id: I5d8006e97efd77cf364215f55d5e585139ae273e
|
|
Change-Id: Ie14063022aa1f4e1409421b8049ec75ec9a32802
|
|
|
|
By changing the PREFIX variable in the .buildconf one is now able to
build docker images from different bases.
For example, add the following line to your .buildconf file to build
CentOS based images:
PREFIX=centos-rdo-
Default base image is Fedora. For now only RH family is supported.
Additionally, changing the namespace either with the NAMESPACE variable
in .buildconf or via --namespace commandline option now changes the
source namespace as well from the default kollaglue one.
Implements: blueprint multi-baseos
Co-Authored-By: Steven Dake <stdake@cisco.com>
Change-Id: I3964cd2292789ea883a1f2d2738a5731a4fff49b
|
|
Make the build scripts work in copies of Kolla so that developers can
continue working while a build is is progress, which can be very long
in the case of build-all-docker-images.
Change-Id: I1b5d9b59ed34dfa622a42495e07d9a1d2ecde86e
|
|
Missing quotes around $FORCE_NAMESPACE was causing empty namespace
unless the --namespace switch was passed on the command line.
Change-Id: I474d67e133111bde7935b6f06ff3c8ca0f19d6cb
|
|
For some reason -n doesn't work with arrays, probably becuase
the array has an entry by the array's indexed value is empty.
By quoting it we get it as one unit, which behaves as expected.
Change-Id: Ic3243d13d3f8fc9978c460f816e33ad348302d8e
|
|
This patch permits symlinks in the docker build. Normally docker
does not permit symlinked files in the build context sent to the
docker server. To work around this problem, a secure directory
is created in /tmp and the container contents are copied to that
directory. Any symlinks are turned into their non-symlinked
equivalents.
Change-Id: I38cd5aeed4c73b90449354a0979fc6ddf7891ccb
Implements-blueprint: linked-build
|
|
|
|
|
|
|
|
The script wasn't reporting any errors due to a typo.
Also fix MAINTAINER field for ceilometer-collector image.
Change-Id: Idf1e2746ae395bb05ee679ca71a10a3f103ebfa8
|
|
Fix incorrect test in sh. Bash implements the new test with [[ that
accepts the double equal, however, this is not a bash script. On Debian
and derivates, this will be run by dash.
Make the script portable by not using GNU extensions of xargs.
Call `validate-all-*.sh` scripts whenever possible.
Have bashate look for /usr/bin/env style shebang as well.
Remove useless validate-json.sh file.
Change-Id: Id2d697f2e9ddaa66e25f71f410200528c1e0cf6b
|
|
Remove git and jq dependency in most scripts, allowing to run them on
latest atomic images, or even distribute Kolla in the form of tarball.
The only remainings of git dependency are in the git pre-commit hook,
and in the image build scripts. We can remove the latter one and have
the scripts running in degraded mode if we really want to.
I opted for a python based approach to finding the top-level directory
for portability, ensuring consistent result on Linux and BSD, including
OSX.
Change-Id: I987174032d11b2e9d6a993c563b5dc877c15dd2d
|
|
This allows to maintain the default behavior unchanged while making it
possible to force clean.
Follow-up to https://review.openstack.org/#/c/145921/
Change-Id: Ie5733b22bda9cdd7d08f5c5ecc5a3d94b984a125
|
|
Trap interrupt signal so that the build-all-docker-images script is
stopped on Ctrl-C, and not only the current build.
Additionally, the script now prints a summary of changes on exit.
Change-Id: I3f6ef97d776c7799c73bc709070d97d37406637a
|
|
Change-Id: I0642dcd36fe5af261b8f35744e3e88460a13fc85
|
|
|
|
|
|
|
|
Kubernetes no longer uses 'kubecfg', but rather 'kubectl'.
Therefore, the way that pods and services are being created
needs to be changed.
In order to create a pod, the parameter 'kind' needs to be set
to 'pod' in the yaml file and the api version specified.
The stop script now reads from k8s/{pod,service,replication}/ in order
to stop all the started pods, services, and replication controllers.
Change-Id: Ibd39fa402e9df883df83272c3aefbb69009dfbd2
|
|
The script is a wrapper for the `build-docker-image` script and thus
respond to the same options. It also responds to two additional `--from`
and `--to` options that allows building only images that have changed
between the specified git revisions.
Examples:
# Build all images contained in docker directory and push new release
build-all-docker-images --release --push
# Build only images modified in test-branch along with their children
build-all-docker-images --from master --to test-branch
Change-Id: Ib83bf475cd2a21965071c13eec4456df5c332edd
|
|
It is usually considered good practice for a script to respond to both
short style `-h` and long style `--help` options to display help
message.
This commits adds support for short style `-h` option.
Change-Id: I8426b5ec136d08b3a476beea3cb983089e08c401
|
|
Source .buildconf file in $IMGDIR last in order to prevent silently
overloading configuration by the less specific $TOPDIR/.buildconf.
Change-Id: Ia38101b6d4743b454dc2c8ba48d3b55af47ed53b
|
|
Previously, the k8s neutron-server service was using a selector
for the neutron pod that did not exist. The selector name defined
in the service yaml was more appropriate than the label (neutron)
defined in the pod yaml, so the label was updated in the pod
yaml.
Additionally, the naming convention for the neutron pod was
changed from neutron-controller to neutron-server to more
correctly depict the pods functionality.
Change-Id: I99465069bb3c37e7bf17c6d7a8f3559f87bf7140
|
|
Record the image directory path to a variable and use it instead of the
current directory to allow the build script to work independently of the
location.
Closes-Bug: 1398648
Change-Id: I84c52e41e43af10998f8e9267ccc059eca716c1c
|
|
Horizon requires that Nova, Neutron(Nova Network), Glance,
and Keystone are running. Therefore, the container needs to
check for the availablity of each service on startup.
The config file is not a .ini file, but rather a python file
so it requires using sed instead of crudini.
Change-Id: I5ed14514881fe9aef688ca08bcb94881ef5b25cb
|
|
|
|
|
|
The current implementation has been configured to use sqlite instead of
mongodb, since that container service is not yet available. Also, there
are no Icehouse RPMs available, so the Juno RPMs are fetched and
manually installed.
Implements: blueprint kube-zaqar-container
Change-Id: Ie875ab43ad3db92ae2712492ee151fbad0fec3cc
|
|
Previously, the nova-network service was not fully functional.
This patch adds multi-interface support to the nova-network
container. The eth0 configuration is moved to a bridge (br100 per
nova defaults), and configures eth0 and eth1 as bridged
interfaces. eth0 is used for the nova-flat network and eth1 for
foating-ip's. This model is identical to typical bare-metal
nova-network deployments. The patch depends on the following patch
to kube-heat template that provides multiple interfaces per minion:
https://github.com/larsks/heat-kubernetes/pull/8
Rebased. Fixed merge conflict with k8s/pod/nova-compute-pod.yaml
Change-Id: Ieb59f397981a226555ce55ca621ef578b987e3c6
|
|
Implements: blueprint kube-mongodb-container
Change-Id: If76f6c0be90c3025933795d262304a10bf1a880d
|
|
|
|
Implements: blueprint kube-ceilometer-container
Change-Id: Ic9be6f2fb57641aa77f7f3a31481b166adad3f36
|
|
Change-Id: I6ee985e694142aa7dadeb085b77910667ac6359f
|
|
The images are already updated, so this can be approved immediately
following the dependent implementation commit.
Change-Id: Ida3d6b5b64256a63652dffba9dff2365e3755286
|
|
|
|
When running Docker, you can unknowingly use up a lot
of memory. This tool will make it easier to clean up
Docker.
Change-Id: Icfd780f12b01956093a2933dd484cde1e2d6d5bc
|
|
Previously Kolla did not support Neutron. This patch provides
initial Neutron support by implementing neutron-server
functionality. It also creates a neutron-base image that
provides common config and packages for all Neutron-based
services.
Partially Implements: Blueprint Kubernetes Neutron Container
Change-Id: I2399a1331992fae0f387f01e5b5c1c1d34f0637d
|
|
nova-libvirt was not in the list of started services, so its port
was not available prior to this change.
Change-Id: I59cedb68ff87a9a54e93c85e60f748e5cc161a4c
|
|
replicaton controllers are now automatically started by the start
scripts and killed by the stop script
Change-Id: I15d15ff9b1b640bd0f8cace872a827ecfe476ca3
|
|
|
|
This patch adds a script for validating YAML files, and replaces the
existing JSON checks with one largely identical to the YAML check.
This also provides a script that can be installed as a pre-commit hook
that will perform this checks when you commit changes. You can install
the hook by running tools/pre-commit-hook --install.
Change-Id: Ib4742a9db062362cfa61d669c691151bc1ca376c
|