summaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)AuthorFilesLines
2015-05-06Add a novnc container running the novnc-proxy.Harm Weites2-1/+13
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
2015-05-06Port to JunoSteven Dake1-1/+1
This represents the Juno release of the images. Partially-implements: blueprint port-kilo Change-Id: I2837ec25a2aa093b7fff7519f3ed608ec93736bf
2015-05-06Add heat-api-cfnSteven Dake2-2/+5
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
2015-05-05Initial support for taggable dependenciesMartin André2-5/+19
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
2015-05-01remove cirros download from post_start in tools/kollaJustin Riley1-6/+0
The cirros image download and creation now happens in tools/init-runonce. Change-Id: Icb83526c1fbe42b96957dd39ad9e46a1cf450471
2015-04-29neutron subnet-create requires args at the endJustin Riley1-1/+1
The network name must be next to the CIDR otherwise `neutron subnet-create` gets confused. Change-Id: Ie8b19d3824e5e25f80c61f0794595813c80b98da
2015-04-30Merge "Preserve file attributes when copying image dirs for build"Jenkins1-1/+1
2015-04-28Merge "Consolidate tools/conf-* scripts in tools/init-runonce"Jenkins4-119/+81
2015-04-28Merge "Change the default shell to bash"Jenkins6-6/+6
2015-04-28Preserve file attributes when copying image dirs for buildQiu Yu1-1/+1
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
2015-04-28Consolidate tools/conf-* scripts in tools/init-runonceMartin André4-119/+81
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
2015-04-27Add support for configuring via Neutron networkingSteven Dake1-0/+63
Configure the network for use with Neutron. Co-Authored-By: Daneyon Hansen (danehans@cisco.com) Change-Id: Iab0496cf40683ca29cbe38066ae446aa8c6c4c36
2015-04-27Add a conf-novanet to configure novaSteven Dake2-12/+60
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
2015-04-27Change the default shell to bashChen Zhiwei6-6/+6
Unify the shell to bash in all Kolla scripts. Change-Id: Ib9591b2f8f344eb88455c5e9b7ecf2164fb5960a Implements: blueprint use-bash-shell
2015-04-21Kolla runs process on rabbit, not rabbitmqSteven Dake1-1/+1
The kolla script runs its process on rabbit, not rabbitmq. This results in the rabbitmq compose scirpt not being executed. Change-Id: I80f8d537c36b6cd598cdcf87f77df418db8ed035
2015-04-21Merge "Introduce `tools/kolla` to interact with kolla"Jenkins5-285/+140
2015-04-17Merge "Fix validate-all-yaml.sh to check for files with yml extension"Jenkins1-1/+1
2015-04-16Introduce `tools/kolla` to interact with kollaMartin André5-285/+140
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
2015-04-16Merge "Adds a Status Script"Jenkins1-0/+47
2015-04-14genenv generated invalid variableSteven Dake1-1/+1
NEUTRON_SHARED_SECRET was being generated incorrectly. It had a colon at the front, which causes nova not to operate. Change-Id: Id0d9390fa60b3d946513098fed394aaba3a53c70
2015-04-14Adds a Status ScriptDaneyon Hansen1-0/+47
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
2015-04-14Adds Neutron to Start/Stop ScriptsDaneyon Hansen2-4/+22
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
2015-04-14Fix validate-all-yaml.sh to check for files with yml extensionMartin André1-1/+1
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
2015-04-14Merge "Sets debug logging to false"Jenkins1-2/+1
2015-04-13Merge "Changes Default Image Prefix"Jenkins1-1/+1
2015-04-13Sets debug logging to falseDaneyon Hansen1-2/+1
Previously, debug logging was enabled by default. Only verbose logging should be enabled by default. Change-Id: I5a1fc805284be777dd49c79cc344a5e8600a238d
2015-04-13Sets Neutron log_dir=/var/log/neutron as defaultDaneyon Hansen1-1/+1
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
2015-04-13Changes Default Image PrefixDaneyon Hansen1-1/+1
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
2015-04-13Adds Neutron Agents SupportDaneyon Hansen1-5/+16
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
2015-04-10Adds neutron-server to neutron container-setDaneyon Hansen1-3/+24
Adds neutron-server components of the neutron container set. Partially Implements: blueprint compute-operation-neutron Change-Id: I63525ae85f4ead4e010cdb9b6bc8059bb9d252e7
2015-04-07Adds Initial Logging SupportDaneyon Hansen1-0/+26
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
2015-04-06Merge "Remove mkdir of shared dir"Jenkins1-5/+0
2015-04-06Merge "Check for SELinux in enforcing mode and exit if found"Jenkins1-2/+9
2015-04-02Remove mkdir of shared dirSteven Dake1-5/+0
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
2015-04-02Check for SELinux in enforcing mode and exit if foundSteven Dake1-2/+9
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
2015-04-02Add a tools/pull toolSteven Dake1-0/+102
this uses docker-compose (-c flag) or docker (-d flag) to pull the latest images from docker hub. Change-Id: I7793178deeb2e37c92fb1518ae8666432e74d9b7
2015-03-30Merge "Loads ebtables from inside the containers"Jenkins1-4/+0
2015-03-28Loads ebtables from inside the containersSam Yaple1-4/+0
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
2015-03-27Partially Implements: Container set compute-operation-neutronDaneyon Hansen1-0/+4
Adds the neutron-linuxbridge-agent to the neutron container set. Change-Id: I20752611c24a3110cc5d2e4fca2d501fc32a4d87
2015-03-25Extends Nova Metadata Service Parameterization and CompositionDaneyon Hansen1-0/+4
Previously, nova enabled_apis was hard coded and metdata_host was using PUBLIC_IP param instead of exposing an individual param. Extending these params and creating a separate compose yml that includes compute/libvirt/network/api is required to support nova network multi_host. Additional details can be found here: http://docs.openstack.org/admin-guide-cloud/content/section_metadata-service.html Change-Id: I5d417a0ee460f8ad9b2982fe83d63ab57013918e
2015-03-24Refactor nova-networkDaneyon Hansen1-1/+1
Previously, eth0 was set as the nova flat interface. This interface is used to bridge VM traffic between instances and should not have an IP. It's a problem when you associate an interface with an IP to the FLAT_INTERFACE. Change-Id: I38c516094430e2d55b1b4c047a1bbcfe711a2dff
2015-03-24Merge "Have genenv offer some hepful hints about FLAT_INTERFACE"k3Jenkins1-0/+3
2015-03-23Merge "Fixes bug where heat container was not getting heat meta data"Jenkins1-0/+2
2015-03-23Fixes bug where heat container was not getting heat meta dataRyan Hallisey1-0/+2
Heat container is having trouble accessing heat meta data. Heat needs to have HEAT_CFN_API_SERVICE_HOST set in order to properly receive meta data. Closes-bug 1435288 Change-Id: Ia28ece3ae91ec7acc62cc86039612841ac487f36
2015-03-23Merge "Add a stop command to shut down Kolla AIO"Jenkins1-0/+35
2015-03-21Add a stop command to shut down Kolla AIOSteven Dake1-0/+35
Use docker-compose with the stop operation rather than cleanup-containers -f. Change-Id: I1b0f97589b04eaa4e3a0b4e5247294e4c4b0dc47
2015-03-21Check for root privilege in start.shJeff Peeler1-0/+5
This change was lost in 888bb9cc8c68bf61fddc0ca08a69f764a4012121. Both modprobe and setenforce require root, so I think this is a good sanity check. Change-Id: I431df44e0fed4a981df96a9a98bfbb5c350e49ac
2015-03-21Merge "Use -L flag in curl"Jenkins1-1/+1
2015-03-21Merge "Make the Horizon dashboard work properly"Jenkins1-0/+3
2015-03-21Merge "Improve Heat integration"Jenkins2-0/+13