summaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)AuthorFilesLines
2015-01-05Start and stop scripts are outdated after Kubernetes updateRyan Hallisey6-13/+34
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
2014-12-12Fixed Neutron Service Proxy and Simplified NamingDaneyon Hansen1-1/+1
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
2014-12-04Allow building docker image from anywhereMartin André1-3/+4
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
2014-11-24Horizon container implementationRyan Hallisey2-0/+2
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
2014-11-21Merge "Adds support for Functional Nova-Network"Jenkins1-0/+1
2014-11-21Merge "Implement zaqar container"Jenkins2-0/+2
2014-11-19Implement zaqar containerJeff Peeler2-0/+2
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
2014-11-17Adds support for Functional Nova-NetworkDaneyon Hansen1-0/+1
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
2014-11-14Add support for mongodb containerPradeep Kilambi2-0/+2
Implements: blueprint kube-mongodb-container Change-Id: If76f6c0be90c3025933795d262304a10bf1a880d
2014-11-12Merge "Add Ceilometer service support"Jenkins2-0/+2
2014-11-12Add Ceilometer service supportPradeep Kilambi2-0/+2
Implements: blueprint kube-ceilometer-container Change-Id: Ic9be6f2fb57641aa77f7f3a31481b166adad3f36
2014-10-31add maintainer check to testsLars Kellogg-Stedman3-4/+33
Change-Id: I6ee985e694142aa7dadeb085b77910667ac6359f
2014-10-21Add heat service to tools/start scriptsJeff Peeler2-0/+2
The images are already updated, so this can be approved immediately following the dependent implementation commit. Change-Id: Ida3d6b5b64256a63652dffba9dff2365e3755286
2014-10-17Merge "Adds Neutron Server Support"Jenkins2-0/+2
2014-10-17Docker image and process cleaup toolRyan Hallisey2-0/+6
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
2014-10-16Adds Neutron Server SupportDaneyon Hansen2-0/+2
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
2014-10-15Add nova-libvirt to started servicesSteven Dake1-1/+2
nova-libvirt was not in the list of started services, so its port was not available prior to this change. Change-Id: I59cedb68ff87a9a54e93c85e60f748e5cc161a4c
2014-10-15Add replication controllers to start and stop scriptsSteven Dake4-0/+21
replicaton controllers are now automatically started by the start scripts and killed by the stop script Change-Id: I15d15ff9b1b640bd0f8cace872a827ecfe476ca3
2014-10-14Merge "add better validation checks (part 1)"Jenkins6-33/+131
2014-10-14add better validation checks (part 1)Lars Kellogg-Stedman6-33/+131
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
2014-10-14Start nova-controller services and podsSteven Dake2-0/+4
Start all of the nova-controller services and pods with the start-all-pods and start-all-services startup scripts Change-Id: I47fe15d67ef177fbecf342357bff44cf2fdb5d9e
2014-10-13update start/stop scriptsLars Kellogg-Stedman6-10/+55
- use new yaml config files - provide separate service- and pod- start/stop scripts Change-Id: Iaff2a5b4d5a33467a9d10b10e9bd5c922eeed3aa
2014-10-10Update start/stop scripts with updated paths/namesJeff Peeler2-9/+8
Change-Id: I931e02bfe4360548a404e0d22ca9dd9a39312771
2014-10-07Reorganize k8s structureSteven Dake1-5/+6
All services go to TLD/k8s/service All pods go to TLD/k8s/pod Change-Id: Iad2977a9f0cd5f430c4e0a566846bf4681618379
2014-10-05fix issues with build-docker-imageLars Kellogg-Stedman1-4/+14
- fix typo in --namespace option build-docker-image had a missing '$' in the code that handled the --namespace option. - force builds to kollaglue namespace with 'latest' tag to use the --release flag - build IMAGE after config and options processing to permit overriding PREFIX in .buildconf Change-Id: Icf70b33080ef19643f133f2b6f60087c524bd4fb
2014-10-04introduce a new build mechanismLars Kellogg-Stedman2-0/+104
This patch replaces the collection of individual "build" scripts with a single script (tools/build-docker-image), made available as "build" inside each image directory. The build-docker-image script will, by default, build images tagged with the current commit id in order to prevent developers from accidentally stepping on each other or on release images. Documentation in docs/image-building.md describes the script in more detail. Change-Id: I444d5c2256a85223f8750a0904cb4b07f18ab67f
2014-10-03Rename validate-json target as pep8 and improve itChmouel Boudjnah1-5/+20
When discussing with the infra guys they have mentioned it would be easier to call our linting job pep8, it's indeed badly named but that target has been used all over openstack for linting projects. As a bonus point it would make things easier to add the job to the gate. To make that patch much more interesting than a three characters change I have improved the validate-samples script to detect if jsonlint was present and if not fallback to the standard python -mjson.tool which give you less details but nonetheless works if jsonlint is present. Change-Id: I8d71a229917004dfd7223a16e4f270101cf2f0a8
2014-10-03Add validate-json tox targetChmouel Boudjnah1-0/+19
This is a simple JSON validation script based on demjson python library, we do some shell script trickeries to exit properly if there is a failure for tox (should probably patch demjson to properly exit instead). Change-Id: I930908336deef7daeaab5b55ba2031c64698d880 Implements: blueprint json-validation-gate
2014-09-27Add a start and stop commandSteven Dake2-0/+12
Start communicates with kubecfg to start the OpenStack services. Stop communicates with kubecfg to stpo the OpenStack services.