summaryrefslogtreecommitdiff
path: root/docker/nova-controller
AgeCommit message (Collapse)AuthorFilesLines
2015-05-14Fixes Nova NoVNCDaneyon Hansen1-5/+4
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)
2015-05-07Fixes Nova NOVNC and Consoleauth Startup FailureDaneyon Hansen2-3/+1
Previously these services would not start because the start script requires the associated log file to exist. The default settings for these 2 log files are blank causing the failure. Since the log files are not required for the services to start, this patch removes the parameter requirement from both start scripts. Change-Id: I84d3d128728075e52282b49d9df229917a34a7b5
2015-05-06Make nova read config files for KiloSteven Dake3-3/+3
In Kilo, nova no longer reads the config files automatically. They must be specified in the command line to run the nova-* tools. Change-Id: Ifbdf4fd3f952f7bb65e9937b46cf9b96e262c3b0 Paritally-Impleents: blueprint port-kilo
2015-05-06Add a novnc container running the novnc-proxy.Harm Weites6-0/+56
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 icehouseSteven Dake3-3/+3
This represents making build-docker-images --release build with the icehouse tag and causes docker-compsoe to pull from the icehouse tag. Partially-implements: blueprint port-kilo Change-Id: I66b2c39abc55c0f47152dd90e696fc46b9c58f50
2015-04-27Change the default shell to bashChen Zhiwei4-4/+4
Unify the shell to bash in all Kolla scripts. Change-Id: Ib9591b2f8f344eb88455c5e9b7ecf2164fb5960a Implements: blueprint use-bash-shell
2015-04-13Removes check_required_vars for Log FilesDaneyon Hansen3-5/+3
Previously, check_required_vars was requiring log file variables to be set in openstack.env. This would cause an error when starting nova/neutron containers that used default (blank) log file settings. Since the log files are not required for the services to start, the default log files are left blank (without a value in the K/V pair). This patch removes the log_file variable for check_required_vars in each nova/neutron script. Change-Id: I169baab28f63a0e0ae06c8aef21b5e8d3155bdda
2015-04-07Adds Initial Logging SupportDaneyon Hansen3-3/+20
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-06Remove EXPOSE options from DockerfilesSteven Dake1-2/+0
The EXPOSE options will create a local docker-proxy. This is unnecessary with --net=host mode. The docker-proxy adds about 20 microseconds of latency. Add documentation to the specification to indicate where to find the ports that are exposed by the services in case someone were to desire to add EXPOSE back to the Dockerfiles. Change-Id: I398e922fe096d6022a2d5985bb92498f89a5ea31
2015-04-01Allow check_for_* functions to be consumed by wait_forMartin André3-4/+4
In order for the `check_for_*` functions to be consumed by `wait_for`, they should notify of their success but not exit. As a consequence, the previous behavior is restored by the fail_unless_* companion functions. With this change, it is now possible to do: wait_for 30 1 check_for_os_service_running keystone Change-Id: I16ddf8913027030c3ccb5487713d172904508fd6
2015-03-02Allow changing base imageMartin André3-3/+3
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
2015-02-24Remove l3_ovs_wip tag from DockerfilesSteven Dake3-3/+3
These tags don't belong in docker files. Instead we should put them in the build system since the build system will be creating a custom From line in the Dockerfile. Partially-implements: blueprint multi-baseos Change-Id: I68d0a0e572e35f39dbe21f7c536d7ac4ca885da3
2015-01-21Check for nova DB availability in dependent containersMartin André2-1/+5
When nova-api start and the nova database hasn't yet been created, it would create it itself, preventing the migration in nova-conductor to run and making it unable to start. This commit ensures that nova-api container will not try to steal nova-conductor's job of creating the nova database. Nova-scheduler reacts differently to the missing database and simply exits with a backtrace. This commit also prevents nova-scheduler to start when the nova database cannot be found. Change-Id: Ib6f7521151815faa7a26ec1d170df5a1cdb7fd63 Related-Bug: #1335804
2015-01-19Cleanup required variables checks for all containersMartin André2-0/+5
This allows Kubernetes to reschedule containers in case a required variable is missing, for example when the Kubernetes pod is started before the service. The checks were cleaned using the following method: * remove duplicates * remove check for variables that get a default value in the same file * check for all variables used in the file * check for required services when it is obvious. Change-Id: Ib7e0530c410c61f828d36efe8925a20dc9781eab
2014-11-25Adds Neutron Networking SupportDaneyon Hansen3-3/+3
Implements: blueprint kube-neutron-container Previously, only the neutron-server service was functional. This patch adds support the the rest of the neutron services need by Nova instances to function. The linux-bridge agent is used instead of the OVS agent to realize network abstractions. This is because the ovs-agent package will install the kernel module version of OVS instead of the userspace version. Additionally, the OVS userspace code is still very experimental and reduces performance. Requires: https://github.com/larsks/heat-kubernetes/pull/8 Change-Id: I5ef34ddeb48d4954934571a928cc82ae7f3a0f20
2014-10-22Update MAINTAINER in Dockerfiles to Kolla ProjectLars Kellogg-Stedman3-3/+3
Remove individual MAINTAINER information from Dockerfiles. Change-Id: I777df5cde049599dc786176e1d5b4b9597f0b334
2014-10-17fix script name in nova-controller imagesLars Kellogg-Stedman3-3/+3
Change-Id: Ia0b9057887bf34423546ca36346d9253ef4c90b9
2014-10-17introduce a common base for compute and controllerLars Kellogg-Stedman7-184/+3
This moves nova-ctr-base one level up and renames it nova-base, so that we can share the same basic config between compute and controller pods. Change-Id: I325f70c278744a1e1fe99b891e05c59c4248c55f
2014-10-17fix nova auth configurationLars Kellogg-Stedman1-5/+10
Based on http://lists.openstack.org/pipermail/openstack/2014-January/004667.html, there is confusion in the openstack community on how auth_uri in nova.conf is supposed to interact with the other auth_* settings. I've modified our config to use both for now. Change-Id: I1433305e23d872cd773599c85053ba8f9aeb6145
2014-10-17Merge "Properly create endpoints for Nova services"Jenkins1-4/+16
2014-10-17Properly create endpoints for Nova servicesSteven Dake1-4/+16
The endpoints for Nova services needed to be properly created for ports 8773 (ec2/ec2) and 8774(nova/compute) and 8774(novav3/computev3). Change-Id: I5e1931d2e7ea35f741ab73b070e24926a3763054
2014-10-16configure nova database connectionLars Kellogg-Stedman1-1/+6
config-nova-controller.sh needs to set the nova database connection string. Change-Id: I82f61f1c003ef9068a664e2d4cafaab1b5c47a00
2014-10-16fix sql typo in nova-conductor start scriptLars Kellogg-Stedman1-1/+1
Change-Id: Ia01973ef10b1ab94a2cb5ddd9186adb916066beb
2014-10-16Merge "add /check.sh script to nova-api image"Jenkins2-0/+19
2014-10-16Merge "fix typo in crudini command"Jenkins1-1/+1
2014-10-16Merge "Wrong shell script specified in start.sh"Jenkins1-1/+1
2014-10-16add /check.sh script to nova-api imageLars Kellogg-Stedman2-0/+19
Change-Id: Ia0f796b3a580c57b9f84390bae3b1012f99dcce0
2014-10-16fix typo in crudini commandLars Kellogg-Stedman1-1/+1
Change-Id: I67f23c1fa987c33abef8607834dfface1de0fee2
2014-10-16correct missing backslash in config-nova-controller.shLars Kellogg-Stedman1-1/+1
Change-Id: I3d49c5647744fb7d4e13f2e1fb84dc62f0f7e2c6
2014-10-16Wrong shell script specified in start.shSteven Dake1-1/+1
start.sh was trying to run nova-config.sh which has been renamed nova-controller-config.sh Change-Id: I546ce046c0789144cb48668500ea4b206d07487d
2014-10-16Make shell scripts executibleSteven Dake4-0/+0
Without +x, docker will not run the shell scripts and the containers exit immediately. Change-Id: I03ca231d6e46131a58c01fae0f9b65e0a3722d36
2014-10-16renamed nova-controller -> nova-ctr-baseLars Kellogg-Stedman7-3/+3
there is a 31 character limit on image names in docker hub. Change-Id: I9624668fc2f09c397084eadf792d4d0cc8486ae1
2014-10-16introduce scheduler to common configurationLars Kellogg-Stedman1-36/+2
Change-Id: I56156ed59b6678180bcb5d1bdd00233d8f339643
2014-10-16introduce conductor to common configurationLars Kellogg-Stedman1-28/+5
- source in common configuration script - actually sync the database Change-Id: I61d50edb0b44a71800e172c4777d3b40026e8521
2014-10-16Nova has an undeclared dependency on python-cinderclientLars Kellogg-Stedman1-0/+1
Nova imports python-cinderclinet, which is not present by just installing python-nova-api. Hard yum-install it until upstream fixes packaging. Change-Id: I3187721d3eda7ce81da9540469fcc93b93560d3b
2014-10-16have start.sh source in common configuration scriptLars Kellogg-Stedman1-23/+15
Change-Id: I90fcd6ed43ce6c2b224eb43492586c8f4231ceda
2014-10-16changes to base nova configurationLars Kellogg-Stedman3-38/+89
- correct typos/syntax errors in configuration scripts - make config script consistent with other images - do not create keystone entries in base image script Change-Id: I42986fe1b9c80c5b0735fd70294bce1a6223a3ca
2014-10-14Merge "Expose ports needed by the nova-controller"Jenkins1-0/+2
2014-10-14Merge "Nova-controller needs a start script"Jenkins1-0/+36
2014-10-14Expose ports needed by the nova-controllerRyan Hallisey1-0/+2
The nova-controller will be using ports 8773, 8774, and 8775. Therefore, Docker needs to be made aware of this. Change-Id: Ia53dd50bdce4b328c246bad5399ab7ff44750d58
2014-10-14Nova-controller needs a start scriptRyan Hallisey1-0/+36
The nova-controller is going to make all the configurations so it needs a script to setup nova.conf. The config data is stored locally in nova.conf and will be read in and executed by line. Change-Id: Id501212671201ca68cd08018ce024db284dd8c54
2014-10-14Config will be done by the controllerRyan Hallisey1-2/+0
Remove config setup in nova-conductor. Change-Id: I0740e6a69601ab4a39c20a3287792013355a9262
2014-10-14Merge "Nova-api should not set up the database"Jenkins1-9/+0
2014-10-14Merge "Nova-controller config setup"Jenkins2-0/+75
2014-10-13Minor fixes for the nova-controller DockerfileRyan Hallisey1-4/+5
Instead of multiple install commands, add multiple packages into a single install. Change-Id: Id27cb53da76df50bf2500eb2d6de18c7401e5c6c
2014-10-13Nova-api should not set up the databaseRyan Hallisey1-9/+0
Instead, nova-conductor will setup the database. Change-Id: I91a46aa9bc3fc99fe58053b239929c8121864283
2014-10-13Nova-controller config setupRyan Hallisey2-0/+75
Configurations will exist in nova.conf. They will be read in and set by the start script. The mysql configuration will be made by nova-conductor. Change-Id: I1709ff6620b19ef5dbcf5efe8b72c329acf96123
2014-10-07Reorganize k8s structureSteven Dake1-98/+0
All services go to TLD/k8s/service All pods go to TLD/k8s/pod Change-Id: Iad2977a9f0cd5f430c4e0a566846bf4681618379
2014-10-07Initial setup for nova-controllerRyan Hallisey12-0/+257
Partial-blueprint: kube-nova-container Change-Id: Ib48e6318ae458bf03510725a220332d1920cbeae