summaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)AuthorFilesLines
2016-03-16Remove useless dependency on ifconfigMartin André1-10/+10
We can use the ip command to achieve the same thing. TrivialFix Change-Id: I903467c90495388cbc592b56d96bd3a4675df430
2016-03-15Change libvirt volume name to libvirtdSamYaple1-1/+2
This change is a "futureproofing" thing. It has already been discussed that libvirt should not be a child of nova and should be removed out to the base docker directory (just like openvswitch isn't a child of neutron). That is not going to happen this cycle but when it does we can't change the name of the volume. This updates the volumes to the proper name of libvirtd. This is in contrast with the libvirtlogd volume that will be needed in newton due to libvirt 1.3 Of note, the container can remain named nova_libvirt since we can change that on the fly later without breaking instances. This wont break liberty as named_volumes are not backported yet. TrivialFix Change-Id: I16cf9e1b1dbba9b5a9f5cc883494580e276d4f72
2016-03-14Use ubuntu Mitaka repoSamYaple1-1/+1
The rabbitmq-server package is upgraded to 3.5.7 in cloud-archive so we update centos to match The xen-utils package now needs an explict version, xen-utils-4.6 is what is provided by cloud-archive mitaka Libvirt 1.3 is in the ubuntu cloud-archive. This has a new daemon for logging that needs further implementation in newton. For now, it has been disabled within the qemu.conf Co-Authored-By: Jeffrey Zhang <jeffrey.zhang@99cloud.net> TrivialFix Change-Id: I84217824817c484b6800a64cbd7767b127a3098e
2016-03-09Add cron image and playbookÉric Lemoine1-0/+1
Add cron image and playbook for logrotate. The "common" Ansible playbook includes configuration files for logrotate. At this point the operator cannot customize/override the logrotate configuration. Closes-Bug: #1553244 Change-Id: Ic9fdda9a273c9ccd90502f0acc7614d2c7157dca
2016-03-08Rename validate-docker-execute with .sh extensionSteven Dake3-2/+2
TrivialFix Change-Id: I3ad67fd802f7fe3ed7deb88eddebe520ff410a4f
2016-03-09Merge "Copy the logs out of the container"Jenkins2-5/+3
2016-03-09Copy the logs out of the containerJeffrey Zhang2-5/+3
Heka logs almost done. When testing, The collected logs can copy to the /tmp/logs folder, which will be handle by the gate. This will be very useful for our gate debug. TrivialFix Change-Id: I06ca8ebd13933bfd15cb2fb5e53fc3038b17b8c3
2016-03-08Checks the installation of curl command, Nova, Neutron and OpenStack packagesprithiv1-1/+6
related-bug: 1552433 Change-Id: If89e2a1bc959039fc7088c8295e88a199eabbedc
2016-03-08Merge "Add documentation for two-VIP and TLS blueprints"Jenkins1-1/+1
2016-03-08Add documentation for two-VIP and TLS blueprintsDave McCowan1-1/+1
Relates-to: blueprint kolla-ssl Change-Id: Id82d22c2195be5d897c781f28087a1ea422b8bea
2016-03-08Add a new tool to help find the latest versionsSam Yaple1-0/+129
As we will be switching to pinning versions in Kolla this tool will help remove the 'manual' part of that equation by looking up the versions we want. The idea would be to eventually turn this into an autoproposal bot so we only ever need to approve changes. More work can be done here like automatically updating the kolla-build.conf Co-Authored-By: Martin André <m.andre@redhat.com> Partially-Implements: blueprint upgrade-kolla Change-Id: I052159850b2579ca6db79be71672be382be8a3a3
2016-03-06Merge "Add two more examples of openrc for use with public endpoints"Jenkins1-0/+38
2016-03-05Add two more examples of openrc for use with public endpointsDave McCowan1-0/+38
Relates-to: blueprint kolla-ssl Change-Id: I6d9531ce4513ed06f1d13081418b167ad264aaff
2016-03-05Merge "Use alphabetical order in cleanup-containers"2.0.0.0b3Jenkins1-12/+12
2016-03-05Merge "Make Heka send logs to Elasticsearch"Jenkins1-2/+5
2016-03-05Use alphabetical order in cleanup-containersÉric Lemoine1-12/+12
TrivialFix Change-Id: I95f2e6d17ba7960b2f87344f30b7884d621f9ecb
2016-03-05Make Heka send logs to ElasticsearchÉric Lemoine1-2/+5
This patch includes changes relative to integrating Heka with Elasticsearch and Kibana. The main change is the addition of an Heka ElasticSearchOutput plugin to make Heka send the logs it collects to Elasticsearch. Since Logstash is not used the enable_elk deploy variable is renamed to enable_central_logging. If enable_central_logging is false then Elasticsearch and Kibana are not started, and Heka won't attempt to send logs to Elasticsearch. By default enable_central_logging is set to false. If enable_central_logging is set to true after deployment then the Heka container needs to be recreated (for Heka to get the new configuration). The Kibana configuration used property names that are deprecated in Kibana 4.2. This is changed to use non-deprecated property names. Previously logs read from files and from Syslog had a different Type in Heka. This is changed to always use "log" for the Type. In this way just one index instead of two is used in Elasticsearch, making things easier to the user on the visualization side. The HAProxy configuration is changed to add entries for Kibana. Kibana server is now accessible via the internal VIP, and also via the external VIP if there's one configured. The HAProxy configuration is changed to add an entry for Elasticsearch. So Elasticsearch is now accessible via the internal VIP. Heka uses that channel for communicating with Elasticsearch. Note that currently the Heka logs include "Plugin elasticsearch_output" errors when Heka starts. This occurs when Heka starts processing logs while Elasticsearch is not yet started. These are transient errors that go away when Elasticsearch is ready. And with buffering enabled on the ElasticSearchOuput plugin logs will be buffered and then retransmitted when Elasticsearch is ready. Change-Id: I6ff7a4f0ad04c4c666e174693a35ff49914280bb Implements: blueprint central-logging-service
2016-03-02heatclient has invalid json validation picks upSamYaple1-1/+1
We shouldn't be scanning .tox dir anyway. TrivialFix Change-Id: If570abdfa69375091751199dcce637682e8de1ef
2016-03-01Merge "Update cleanup-containers to remove ceph containers"Jenkins1-1/+3
2016-03-01Update cleanup-containers to remove ceph containersMauricio Lima1-1/+3
TrivialFix Change-Id: Ia47429a38503d4982049c3fa1fc6fca4a8000fbd
2016-02-29Move ironic-discoverd to ironic-inspectorAllen Gao1-1/+1
Closes-Bug: #1551052 Change-Id: Ic226287bbf1f1e8d5cc2e1d80ce2975448b1f95c
2016-02-27Merge "Change kolla_internal_address variable"Jenkins2-3/+3
2016-02-26Change kolla_internal_address variableSamYaple2-3/+3
Due to poor planning on our variable names we have a situation where we have "internal_address" which must be a VIP, but "external_address" which should be a DNS name. Now with two vips "external_vip_address" is a new variable. This corrects that issue by deprecating kolla_internal_address and replacing it with 4 nicely named variables. kolla_internal_vip_address kolla_internal_fqdn kolla_external_vip_address kolla_external_fqdn The default behaviour will remain the same, and the way the variable inheritance is setup the kolla_internal_address variable can still be set in globals.yml and propogate out to these 4 new variables like it normally would, but all reference to kolla_internal_address has been completely removed. Change-Id: I4556dcdbf4d91a8d2751981ef9c64bad44a719e5 Partially-Implements: blueprint ssl-kolla
2016-02-26Add Ansible scripts to generate TLS certificates for testingDave McCowan1-0/+6
Working towards the blueprint that will add TLS protection for the external endpoints, kolla needs certificates. When kolla deploys OpenStack, the external VIP will need a server side certifcate. Clients that access those endpoints will need the public CA certificate that signed that certificate. This ansible script will create these two certificates to make it easy to use TLS in a test environment. The generated certificate files are: /etc/kolla/certificates/haproxy.pem (server side certificate) /etc/kolla/certificates/haproxy-ca.pem (CA certificate) The generated certificates are not suitable for use in a production environment, but will be useful for testing and verifying operations. Partially-implements: blueprint ssl-kolla Change-Id: I208777f9e5eee3bfb06810c7b18a2727beda234d
2016-02-25Add the default empty reconfigure.yml file to all rolesJeffrey Zhang1-1/+4
DocImpact Partially-implements: bp kolla-reconfig Change-Id: I9738e80960bcfbef18d1ef1b7942f81c45684e85
2016-02-23Remove Rsyslog entirelyÉric Lemoine2-3/+1
Partially implements: blueprint heka Change-Id: I1322d2dc870e6f8fe052926995d993e8a08a25db
2016-02-23Merge "Add elasticsearch repo to gate"Jenkins1-0/+1
2016-02-22Add elasticsearch repo to gateSamYaple1-0/+1
TrivialFix Change-Id: I0f083654df901fb765e9517308ac94316859d971
2016-02-22Merge "Make cleanup-containers remove bootstrap_heka"Jenkins1-1/+1
2016-02-22Make cleanup-containers remove Heka volumesÉric Lemoine1-1/+3
TrivialFix Partially implements: blueprint heka Change-Id: Ie8f393515c464020f079db41c05d023319920136
2016-02-22Make cleanup-containers remove bootstrap_hekaÉric Lemoine1-1/+1
TrivialFix Partially implements: blueprint heka Change-Id: I5f91056590250f2a477018c1773905b412536f24
2016-02-19Add Heka to common roleÉric Lemoine1-0/+1
Partially implements: blueprint heka Change-Id: I9ddad09b3f16b323c7ed535243458b0de6620cdb
2016-02-19Quick gate fixSamYaple1-6/+9
I accidentally merged a patch with +W that does not work on all gates that infra uses. Specifically it breaks on RAX for unknown reasons. This is a quick patch to not fully revert, but allow the gate to stay green while I work out the issue Change-Id: I02fc66bbc53103f2d71c648d5e2959f10f0130c0 Partially-Implements: blueprint functional-testing-gate
2016-02-19Merge "Keep consistent with others for ironic containers"Jenkins1-2/+2
2016-02-19Keep consistent with others for ironic containersAllen Gao1-2/+2
Make the containers and volumes names of ironic to be consistent with others. Partially-implements: blueprint ironic-container Change-Id: If78b020c81157a948c5c3283f1410bcb6e5c1e61
2016-02-18Launch VM in gateSamYaple2-8/+35
Change-Id: I18b1015ca62a352e193ef01bd49cd6d6f9372193 Partially-Implements: blueprint functional-testing-gate
2016-02-18Also remove the volumes when cleaning up containersJeffrey Zhang1-0/+18
TrivialFix Change-Id: Ia52451d2c0de09ee9dcf79211389a3b1ce4ae738
2016-02-18Merge "Adds support for cleaning up bootstrap containers in the ↵Jenkins1-1/+4
toos/cleanup-containers script."
2016-02-17Fix the mistral services name typoJeffrey Zhang1-1/+1
missing a "_" TrivialFix Change-Id: Id7624f4f35c3c53c068d7c6646b363332363c3d5
2016-02-17Adds support for cleaning up bootstrap containers in theShaun Smekel1-2/+5
toos/cleanup-containers script. Dynamic Ceph OSD bootstrap containers also included. Change-Id: Ifb5b54c5b78a894ed6e8b9980a6eb9919e52364c Closes-Bug: #1515544 Signed-off-by: Shaun Smekel <shaun.smekel@theorem.net.au>
2016-02-16Reduce gate resource usageSamYaple1-5/+37
Change-Id: Ic6cd45ec708efe4f573e19f3bc910717ac3b4fbb Partially-Implements: blueprint functional-testing-gate
2016-02-14Merge "Fix detect_distro"Jenkins1-5/+8
2016-02-14Merge "Fix non-root deploys"Jenkins1-3/+11
2016-02-14rabbitmq_data container is removedAllen Gao1-1/+1
TrivialFix Change-Id: I5168191182c249df68fd0b5c70a778f223326974
2016-02-12Fix detect_distroSamYaple1-5/+8
It was run before ansible was installed and did not properly fail. This prevented the mirrors for apt from being properly used. TrivialFix Change-Id: I5331020993b62c8635a4a97dc3a3d2e01e3d4360
2016-02-12Fix non-root deploysSamYaple1-3/+11
TrivialFix Change-Id: Id0e7cf9e1c0c4259b8a50c39e95214103256517b
2016-02-12Merge "Use Infra provided mirrors in gate"Jenkins1-1/+18
2016-02-10Trap error exit in deploy aio scriptJeffrey Zhang1-2/+2
This make sure the check_failure called whenever the script exits unexpectedly. TrivialFix Change-Id: If38e9ad42810deec48afd3f8b57387ae6ffd926c
2016-02-09Merge "Increase ansible verbosity during gate deploy"Jenkins2-4/+12
2016-02-09Add all neutron agents to cleanup-containers scriptMartin André1-1/+1
When breaking neutron-agents into thin containers, we forgot to update the cleanup-containers script. TrivialFix Change-Id: Idad2eb73a4de7c66109ad5bffcce3173970e2af9