summaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)AuthorFilesLines
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
2016-06-08Run more kolla-ansible task in the gateJeffrey Zhang1-0/+8
Change-Id: I99871d3d86e5ab56be95dd9865f17f7d525704a5 Partially-Implements: blueprint functional-gating
2016-06-07setup_{RedHat,Debian}.sh, make more idempotentDave Walker (Daviey)2-18/+26
Previously, when either setup_{RedHat,Debian}.sh was ran multiple times a mess was created due to multiple loop devices being setup. This change now looks to see if '/docker' or '/swapfile' already exist, and not re-create them if they do. *However*, /var/lib/docker (/docker) is still wiped - but it means that the script can run and bring the system into a constant vanilla state. Change-Id: I169662fa04c2bf644672ca75c3ee579795943727 Closes-Bug: #1586563 Signed-off-by: Dave Walker (Daviey) <email@daviey.com>
2016-05-31Add passwords parameter to LONG_OPTS in kolla-ansible scriptChristian Berendt1-1/+1
Change-Id: I8b139d716deeb7eee8eb22beda8ac6d3b82e66ee Closes-bug: #1587648
2016-05-31Merge "change keyfile to key"Jenkins1-3/+3
2016-05-31change keyfile to keySteven Dake1-3/+3
All files used by kolla-ansible do not have a file ending. keyfile was added as an anomoly. I noticed this during a review that coolsvap had underway where he did a similar thing. I think --key is fine. TrivialFix Change-Id: I99867a1a04a4dd881dcb2af39946122ea6b7d8a3
2016-05-26Add support to lint the install commands in DockerfilesSwapnil Kulkarni (coolsvap)3-2/+18
Change-Id: Icb47ba8b13b13889e28bb285321f11344400edc2 Closes-Bug:#1582618
2016-05-26Merge "Update ubuntu dockerfiles for formatting"Jenkins1-1/+1
2016-05-26Merge "Bump the ansible to 2"Jenkins1-1/+1
2016-05-26Update ubuntu dockerfiles for formattingSwapnil Kulkarni (coolsvap)1-1/+1
Change-Id: If4be00b937e14ec93443dcb7249cf17099d57cbe Closes-Bug: #1569417
2016-05-25Merge "Make passwords.yml file generation configurable"Jenkins1-11/+16
2016-05-24Bump the ansible to 2Jeffrey Zhang1-1/+1
DocImpact Change-Id: I3cdfbf84919de80f535c030bd146787ecda40dec partial-Implements: blueprint ansible2
2016-05-23Merge "Fix the rabbitmq crash on CentOS binary and source deploy"Jenkins2-9/+8
2016-05-22Fix the rabbitmq crash on CentOS binary and source deployJeffrey Zhang2-9/+8
this is a wordround fix for the rabbitmq failed when deploy on CentOS in the CI gate. the ideal fix should set the hostname in setup_gate.sh script. But it do not work as expect with unknown reason Partial-Bug: #1581301 Change-Id: Ia692794aadf11d3ebe75e4e2bf6b42d9a5f3996f
2016-05-21Make passwords.yml file generation configurableSwapnil Kulkarni (coolsvap)1-11/+16
partially implements blueprint multiple-clouds Change-Id: I676c4245e6f058ffbed345970ee78d1750dd0f2f
2016-05-19Add generate-config option to kolla-ansibleRyan Hallisey1-8/+13
In order for the ansible configuration to be consumable, we need to be able to generate it without deploying anything. Change-Id: I2bbdd74d62d00f509a4fa5e4100906ed658d3974 Implements: blueprint generate-config
2016-05-18Collect more info from the gate for debugJeffrey Zhang2-5/+9
* enable the openstack logging debug in the gate * copy the /etc/kolla files out * copy the /var/log files out TrivialFix Change-Id: I9cf5fa773ec5f41c6ea93325076a64dd24ce22da
2016-05-13Fix the virt_type in the gateJeffrey Zhang1-1/+2
Change-Id: Iafa27677fc2ed2103c3ac8efeb0f0e13330a95f4 Closes-Bug: #1581021
2016-05-10Merge "Make "cleanup-containers" script works dynamically"Jenkins1-52/+6
2016-05-09Merge "Add extension to file"Jenkins1-1/+1
2016-05-09Merge "Fix the copy docker log typo"Jenkins1-1/+1
2016-05-09Merge "Diagnostics for Environment"Jenkins1-0/+29
2016-05-07Fix the copy docker log typoJeffrey Zhang1-1/+1
Change-Id: I86259d9b997cd10a11079c4834f135d58570968d
2016-05-06Add extension to fileMauricio Lima1-1/+1
TrivialFix Change-Id: I161526927ae32f2bbfec1ade610f7b712f4c5163
2016-05-06Make "cleanup-containers" script works dynamicallyCarlos Cesario1-52/+6
Make cleanup-containers works dynamically. The script removes the containers and its volumes dynamically based on label contained in each kolla container, this way is not needed create a big container and volume lists to be deleted. http://paste.openstack.org/show/496357/ Closes-Bug: #1579044 Change-Id: Ie0d8a38ba2cf77c8d5da655958407145f4105bec
2016-05-06Merge "Fix the gate lying"Jenkins1-22/+20
2016-05-06Diagnostics for EnvironmentMauricio Lima1-0/+29
Change-Id: I99726387d8daf99e85e5502e27710de60c0066bc Implements: blueprint diag-env
2016-05-05Deleting only images from kolla buildMauricio Lima1-4/+6
Co-Authored-By: Carlos Cesario <carloscesario@gmail.com> Change-Id: I3e9652e1cac156f822b388d2b9fd910180b4a892 Closes-Bug: #1551933
2016-05-05Deletes fake containers on cleanupprithiv1-1/+2
Closes-Bug: #1576277 Change-Id: Ie68d1d5da620f26a0aa21aa5c6473bc464994ed8
2016-05-03Merge "Remove unecessary blank lines"Jenkins3-3/+0
2016-05-02Merge "Handle multi Ethernets case in the gate"Jenkins1-1/+3
2016-05-02Merge "Use a random virtual_router_id in the keepalived"Jenkins1-0/+2