aboutsummaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)AuthorFilesLines
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-29Move loc tool into tools directoryChristian Berendt1-0/+33
TrivialFix Change-Id: I95d8d011602556de3dd3591247cc6c63170425f7
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
2016-08-28Merge "Fix bandit gate jobs"Jenkins1-1/+1
2016-08-28Fix bandit gate jobsPaul Bourke1-1/+1
* Inspected each error and fixed / added nosec where appropriate. * build-swift-ring.py which was throwing sec errors is no longer used so removed it. * Removed the dev/ directory from being checked. Closes-Bug: #1617713 Change-Id: I25664cabca4137e5c9f499c1af3f5ce78b86fb56
2016-08-23Merge "add baremetal role to install kolla deps."Jenkins1-0/+6
2016-08-20Fix Ubuntu source gate deploymentJeffrey Zhang1-2/+17
In CI environment, MySQL-python wheel package has a wrong _mysql.so file, which is not compatible with Ubuntu. Disable wheel index in the CI for pip. Closes-Bug: #1615231 Change-Id: I127ebb017e09a5bf245e0fdad9bf052203e68e55
2016-08-19Merge "Add force flag to cleanup-images"Jenkins1-1/+1
2016-08-19Merge "Update cirros image visibility in init-runonce"Jenkins1-1/+1
2016-08-18Update cirros image visibility in init-runonceSwapnil Kulkarni (coolsvap)1-1/+1
During osic scale testing it is found that the cirros image added during kolla deployed infra init has private visibility. This need to be public. TrivialFix Change-Id: I39712f0a054f393a8450356e23d41170bc22166e
2016-08-17Add force flag to cleanup-imagesPaul Bourke1-1/+1
TrivialFix Change-Id: I83dfca7d0ad38411ac43ca89de439705a8e5aa12
2016-08-15Fix the Ubuntu Xenial build gateJeffrey Zhang1-4/+18
Ubuntu xenial use systemd service manager. Change the setup_Debian.sh script to handle this. Change-Id: I1f6487b73b1635e6dce0c68d3d7e1a158b427797 Partial-Bug: #1612887
2016-08-10add baremetal role to install kolla deps.Sean Mooney1-0/+6
Change-Id: Ie70db1b18a73528b1194e4fbcf53d09fed20f4a0 Implements: blueprint kolla-host
2016-08-08Change cleanup to destroy as cleanup is a misnomerDuane DeCapite1-5/+5
The cleanup command in the external API is a misnomer and should be called destroy. Change-Id: I083e80699e09bb24266ce1bf549772a5de92a49e Closes-Bug: 1610364
2016-08-03Cleanup images as part of kolla-ansible cleanupPaul Bourke1-0/+1
TrivialFix Change-Id: I88004f08c75e7d648a615e64d59ccf655b6a1a13
2016-07-29Use /etc file to overwrite the docker.service fileJeffrey Zhang1-2/+8
Docker engine is updated to 1.12. The docker.service in the rpm is change. Use the /etc/systemd/system/docker.service.d/kolla.conf file to overwrite the default parameters TrivialFix Change-Id: Ice56808f4a1ce1ee57bf5e48c779d033ea6c759c
2016-07-12Use local mirror of ceph and ucaSteven Dake1-2/+2
Change-Id: I75962ec416a8e4bedb0ad85c93b46cdcd80e8a72 Partially-Implements: blueprint mirrors
2016-07-05Merge "Fix publicURL endpoint not found issue in CI"Jenkins1-0/+4
2016-06-29Fix publicURL endpoint not found issue in CIJeffrey Zhang1-0/+4
Partial-Bug: #1587226 Change-Id: I8cec44fdd9e6b00fcffe5dd59cbe8c69214b40b8
2016-06-15Remove the pull action in the deploy_aio CIJeffrey Zhang1-1/+2
In the current CI, we have no regitry service. when running pull action, it will pull image form docker.io where has no such image too. The right direction is set up a local regitry service, then push and pull image from there. TrivialFix Change-Id: I3ebea5cdb539cb700487a2dbffa894fcce8f8723
2016-06-14Merge "Run more kolla-ansible task in the gate"Jenkins1-0/+8
2016-06-14Make cleanup remove restarting/exited containersMichal (inc0) Jastrzebski1-1/+1
If we have bug in contianer or it simplt somehow ended up in Exited state, cleanup doesn't flush it. It also means it doesn't flush volumes and that might cause an dirty env. Closes-Bug: #1587344 Change-Id: Ib5705992500ce7efdc66509df61c381bd33d1954