summaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)AuthorFilesLines
2016-11-04Merge "Improve playbook to setup gate nodes"Jenkins2-5/+11
2016-11-03Unmount Ceph OSD disks as part of destroyPaul Bourke1-0/+5
Change-Id: Ic0b0f5efb12eab58e7872b30611a39640dc44cc2 Closes-Bug: #1629224
2016-11-03Move precheck into its own roleJeffrey Zhang1-1/+1
* Merge prechecks.yml and site.yml playbook * Create empty precheck.yml into all roles. Change-Id: I8a138558a26c0a2a66c5fd48ed37be657c99c1dd Implements: blueprint condition-pre-check
2016-11-02Merge "Unpin ARA, update callback location"Jenkins1-2/+2
2016-10-29Update the way of loading the admin-openrc.sh filecaoyuan1-1/+1
TrivialFix Change-Id: I3cfa94d9f6202664a06c24d691376eb8759b922a
2016-10-24Print all docker images in gateJeffrey Zhang1-0/+1
TrivialFix Change-Id: I65ba1828fccee52194eb2b76c4055c922236d97b
2016-10-22Unpin ARA, update callback locationDavid Moreau-Simard1-2/+2
ARA 0.9.2 was released which deprecates the previous callback location in favor of a new one. The deprecated location still works but let's move to the new one right away. Change-Id: I8a10d5855ab6f813e52cc6efce5bcfe91d9c3f92
2016-10-20Pin ARA to 0.9.1 temporarilyDavid Moreau-Simard1-1/+1
The next release of ARA (0.10.0) contains a change to the callback plugin location that /should/ be backwards compatible but let's control the update to the newer version to be safe and avoid breaking the gate needlessly. Change-Id: I32176166e8ebcbfdf0baa8bd7ec30e5ec6d795a5
2016-10-20Merge "Use xenial repos for Ubuntu in the gate"Jenkins1-2/+2
2016-10-19Add validate no new line at end of fileJeffrey Zhang1-0/+60
TrivialFix Change-Id: I817aa52caf56b7d54b266e553db6db1ceb38b773 Signed-off-by: Jeffrey Zhang <zhang.lei.fly@gmail.com>
2016-10-19Use xenial repos for Ubuntu in the gatePaul Bourke1-2/+2
The gate jobs are using Xenial as the base OS so it seems we should be using the same non-infra repos as our base image. TrivialFix Change-Id: I6e5d27364054c474c16120a3195cae819861c8a1
2016-10-19Merge "Use correct Kibana version on the gates"Jenkins1-1/+1
2016-10-19Merge "Consistently set sys path when using local tools"Jenkins1-4/+3
2016-10-17Use correct Kibana version on the gatesChristian Berendt1-1/+1
We bumped the Kibana version from 4.4 to 4.6 with Ia18cb89e0951359226add5cbd96d3a91c7fcfd8a. This version should be used on the gates as well. Change-Id: I21ccac9a12e4b604d3cf336c6263f2e4cd925524 Closes-bug: #1634049
2016-10-14Merge "Use sudo to create loop device on gate nodes"Jenkins2-2/+2
2016-10-14Consistently set sys path when using local toolsMartin André1-4/+3
Consistently set the search path to prefer PROJECT_ROOT as the source of packages to import if we are using local tools instead of pip installed kolla tools. TrivialFix Change-Id: Idd1d98bb82a8f1ddb32d1bdb23f346b461534b9f
2016-10-14Move demos and dev directory into a new contrib directoryChristian Berendt1-2/+2
TrivialFix Change-Id: Ifb8f19afa1514488bd288670d08b96f84982a4e1
2016-10-13Merge "Move loc tool into tools directory"Jenkins1-0/+33
2016-10-13Cleanup container script improvementliyingjun1-1/+1
Currently, when there are some qemu processes which may be some useful virtual machines running by the operator running on non compute node, the cleanup script will fail the cleanup operation for that node. We need to ignore the qemu process check for non compute nodes. Change-Id: If49a1a30764063935b2a65312de8f3b2357c7fbc Closes-bug: 1633005
2016-10-09Choose node with largest seqno number for mariadb recoveryJeffrey Zhang1-1/+1
When all mariadb nodes are stopped gracefully, mariadb galera will write it's last executed position into the grastate.dat file. Need find the node with largest seqno number in that file and recovery from that node. Closes-Bug: #1627717 Change-Id: I6e97c190eec99c966bffde0698f783e519ba14bd
2016-09-30Use sudo to create loop device on gate nodesChristian Berendt2-2/+2
TrivialFix Change-Id: Iaa8ff2592d89a91081383e1f9c23c860bb73bba5
2016-09-29Improve playbook to setup gate nodesChristian Berendt2-5/+11
* use become instead of sudo * use file instead of shell to change file modes * rename setup_nodes.yml to playbook-setup-nodes.yml Change-Id: I69eda1f034b97d13be76efc91458b6d762c76baf
2016-09-29Move loc tool into tools directoryChristian Berendt1-0/+33
TrivialFix Change-Id: I95d8d011602556de3dd3591247cc6c63170425f7
2016-09-26Adding the steps of generateing ssh key in tools/init-runoncecaowei1-0/+4
TrivialFix Change-Id: I66857a92b0ae61cd8300955e2bf9605f93937b1d
2016-09-17Optimized the serial upgrade and reconfigureJeffrey Zhang1-2/+2
* add serial for reconfigure * set playbook serial by using variable * fix serial for barbican, influxdb and vmtp Closes-Bug: #1624607 Change-Id: I66530c7736e1673a592eddbde75637825d12d9e2
2016-09-16Merge "Add ara to collect ansible playbook running statics"Jenkins2-0/+8
2016-09-16Merge "Use "type" to take place of "which" and update the output"Jenkins1-4/+8
2016-09-16Use "type" to take place of "which" and update the outputcaoyuan1-4/+8
When run tools/init-runonce without some client installed,it's retrun not friendly and confuse people,such as user does not install python-openstackclient, it will return "openstack not installed".This patch update it. Use "type" command to avoid "which" TrivialFix Change-Id: I53789a767b3a2727bf2cb848c2881272e313e14c
2016-09-15Add a tip at the end of tools/init-runoncePaul Bourke1-0/+16
Give the user an easy to run way to test their deploy after running init-runonce. TrivialFix Change-Id: I7d984433c8f1b56d0b74be06b3e411044e897790
2016-09-13Merge "move ovs cleanup to tools/cleanup-host"Jenkins2-5/+6
2016-09-12move ovs cleanup to tools/cleanup-hostSean Mooney2-5/+6
- One of the usecase supported by tools/cleanup-containers was the ablity to remove container with a regex so that you could redepoloy just that single componet. - By cleaning up ovs in cleanup-containers that is nolonger possible. - This change move the cleanup of ovs from, tools/cleanup-contianers to tools/cleanup-hosts TrivialFix Change-Id: If2001130f4a2400555ce4d9ac5ee506482e4c25e
2016-09-12Clean imports in codeNguyen Hung Phuong1-5/+5
In some part in the code we import objects. In the Openstack style guidelines they recommend to import only modules. http://docs.openstack.org/developer/hacking/#imports Change-Id: I4b55cae8c2672f82025a95112b14d441d66f9d6d
2016-09-11Add ara to collect ansible playbook running staticsJeffrey Zhang2-0/+8
TrivialFix Change-Id: Id2a13be9c04920b5326534005750286f842aa731 Signed-off-by: Jeffrey Zhang <zhang.lei.fly@gmail.com>
2016-09-11Merge "TrivialFix: Delete virtual bridge artifacts when cleaning hosts"Jenkins1-0/+5
2016-09-09Merge "Change ceph version to Jewel"Jenkins1-1/+0
2016-09-09Change ceph version to JewelMichal (inc0) Jastrzebski1-1/+0
This patch changes version of ceph from hammer to jewel. Also removed versionlock as it seems we don't use it in ubuntu, and actually might be risky if we miss security patch on ceph. Change-Id: Ib8f88c2f914a4b635e59a509fa0194605eb73165 Implements: blueprint upgrade-ceph-to-jewel
2016-09-08Merge "Improve script to check used source versions"Jenkins1-20/+55
2016-09-08Merge "Keepalived leaves VIP on the host in case of accidental removal."Jenkins1-0/+12
2016-09-07Keepalived leaves VIP on the host in case of accidental removal.Takashi Sogabe1-0/+12
This patch removes VIPs when 'kolla-ansible destroy' is invoked. Change-Id: I263b9bc852c7bc3448a6a15b3115b1f226071afc Closes-Bug: #1605442
2016-09-07Merge "Update destroy include images arg to LONGOPT"Jenkins1-2/+11
2016-09-06TrivialFix: Delete virtual bridge artifacts when cleaning hostsluyao1-0/+5
After cleaning hosts by using tools/cleanup_host, some of the ovs bridge devices such as ovs-system still exist. This will result in {{neutron_external_interface}} not working properly because it had been added to the ovs-system bridge. The solution is calling neutron-ovs-cleanup script in neutron_openvswitch_agent container before removing it. TrivialFix Change-Id: Ib3b096d842f2210b8bd223892a3492ef2fcf7c52 Signed-off-by: luyao <lu.yao135@zte.com.cn>
2016-09-06Improve script to check used source versionsChristian Berendt1-20/+55
* rename version_check.py to version-check.py * move requirement beautifulsoup4 from requirements to test-requirements * add new requirement PrettyTable to test-requirements * add debug logging messages (can be enabled with --debug parameter) * add support to load configured versions from a kolla-build.conf file (can be used with --config-file parameter) * use PrettyTable to print out a nice result table ---snip--- +---------+-----------------+----------------+------------------... | Project | Current version | Latest version | Comparing changes... +---------+-----------------+----------------+------------------... | aodh | 2.0.3 | 2.0.4 | https://github.co... | cinder | 8.0.0 | 8.1.0 | https://github.co... | ironic | 5.1.1 | 5.1.2 | https://github.co... | murano | 2.0.0 | 2.0.1 | https://github.co... | nova | 13.1.0 | 13.1.1 | https://github.co... +---------+-----------------+----------------+------------------... ---snap--- TrivialFix Change-Id: I5b5d3db34396b2fc95714273612563ea14e78cf8
2016-09-02Update destroy include images arg to LONGOPTPaul Bourke1-2/+11
Change the argument for including images as part of destroy from '-e destroy_include_images=yes' to a more consistent --include-images. TrivialFix Change-Id: I0a29c69121697cab751578093cc7ca58011eb853
2016-09-01Use a local docker image namespace in gateJeffrey Zhang2-0/+5
use different a docker namespace name in case it pull image from hub.docker.io when deplying in gate TrivialFix Change-Id: I643000e5d9e597a254a4f12c0c10186d4eb20429 Signed-off-by: Jeffrey Zhang <zhang.lei.fly@gmail.com>
2016-09-01Merge "add deploy-servers command"3.0.0.0b3Jenkins1-6/+13
2016-08-31Merge "add bifrost deploy ansible support"Jenkins1-0/+5
2016-08-31Merge "Add warning to kolla-ansible destroy action"Jenkins1-1/+16
2016-08-31Add warning to kolla-ansible destroy actionJeffrey Zhang1-1/+16
Change-Id: Id7591dff978b8fb7ba2c59331ffd83a77ecf46ab Closes-Bug: #1610546 Signed-off-by: Jeffrey Zhang <zhang.lei.fly@gmail.com>
2016-08-31add deploy-servers commandSean Mooney1-6/+13
- This change extends kolla-ansible with a deploy-server command to enroll and deploy physical servers with bifrost. Change-Id: Iaa9f34b00e676569f6e3df679b7454b1ec0b8e34 Implements: blueprint bifrost-support
2016-08-31add bifrost deploy ansible supportSean Mooney1-0/+5
- This change addes the ability to deploy and bootstrap bifrost. - This change introduces a deploy-bifrost command to kolla-ansible. Change-Id: I62afcf348661add900c98904e90a15a0eddffd4b Implements: blueprint bifrost-support