aboutsummaryrefslogtreecommitdiff
path: root/ansible
AgeCommit message (Collapse)AuthorFilesLines
2016-05-13Avoid _ in rabbitmq_clusterer.configDavanum Srinivas4-4/+4
Trying to use ConfigMap's in Kubernetes leads to an interesting problem. We use the file name as the key and the contents of the file as the text value. The ConfigMap is mounted on the container as a volume and the key is then used as the name of the file. The problem is that kubernetes has a limitation on the name of the key https://github.com/kubernetes/kubernetes/blob/release-1.2/docs/design/identifiers.md Which means we cannot use '_' in the name of the file. Closes-Bug: #1581162 Change-Id: I2d9ec80f989c30893b019954fe18b3623d27a076
2016-05-09Adding variables for Cinder iSCSI backend configurationSerguei Bezverkhi2-9/+14
This fix adds several variables required for Cinder iSCSI backend configutation. Change-Id: I2f709f8589fdbf62e3d0b265452fd58f413bee65 Closes-Bug: #1579800
2016-05-09Adding Upgrade to iscsid/tgtd containerSerguei Bezverkhi1-0/+4
This patch adds Upgrade function to iSCSI/tgtd containers. Change-Id: I80d3a4397584ab3c5de7ef3b37bc7f0956c55c15 Closes-Bug: #1560928
2016-05-06Run HAProxy in a chroot jailMichal Rostecki1-0/+3
It's impossible to drop root for the HAProxy container. But HAProxy provides a possibility to use a chroot jail. When attaching to the HAProxy container, we see that the root directory is changed: $ sudo docker exec -ti haproxy bash (haproxy)[root@operator /]# ls -di / 259 / Co-Authored-By: Vikram Hosakote <vhosakot@cisco.com> Closes-Bug: #1552289 Change-Id: I9d55e9b741b8560cac53dc8b837a24a3029a4dc0
2016-05-05Make Heka collect Ceph logsMauricio Lima7-2/+12
Change-Id: Ibaa5f8ba600afafa111d2ef204ee9192b8babdfc Closes-Bug: #1570529
2016-05-04Merge "Adding ability to specify capabilities and security"Jenkins1-0/+36
2016-05-03Adding ability to specify capabilities and securitySerguei Bezverkhi1-0/+36
This patch adds ability to specify required capabilities and security mode for a specific docker container. Change-Id: Ib8c15a8e354178bedd31ebb31a64618431f0e135 Closes-Bug: #1572648
2016-05-03Merge "map the host localtime to the container"Jenkins46-5/+106
2016-05-03Merge "Fix radosgw 'rgw frontends' param"Jenkins1-1/+1
2016-05-03map the host localtime to the containerJeffrey Zhang46-5/+106
Closes-Bug: #1577148 Change-Id: I636cefc63cf532434a41af3898b63dffa711e280
2016-05-02Remove unecessary blank linesMauricio Lima8-9/+1
TrivialFix Change-Id: I1f03d428c380dfdbde5ef33e7ea43cbf5e9154ce
2016-05-02Fix radosgw 'rgw frontends' paramCarlos Cesario1-1/+1
Fix 'rgw frontends' param on ceph-rgw container. After apply this patch the service starts http://paste.openstack.org/show/495786/ Closes-Bug: #1576817 Change-Id: I434ca2a72c035f457bd50ef5de20e62f89974e0c
2016-04-28Merge "Re-order the when condition in the cinder reconfigure"Jenkins1-2/+2
2016-04-28Re-order the when condition in the cinder reconfigureJeffrey Zhang1-2/+2
Change-Id: Ib058a0d2bfd442cc80d67ec034b37298e881ae79 Closes-Bug: #1576209
2016-04-28Update murano service namePaul Bourke1-1/+1
In Mitaka, the service name must have a dash rather than underscore when using the sql catalog driver in Keystone[0] (the default). This works for upgrade also, though further improvements could be written to remove the old endpoint from Keystone, and automatically chose a dash or underscore based on driver type used. [0] http://docs.openstack.org/releasenotes/murano/mitaka.html#upgrade-notes Change-Id: I15a03370afdad6529eec51a206b6134bf80b283d Closes-Bug: 1576152
2016-04-27Merge "Add a role to cleanup containers after deployment"Jenkins5-0/+42
2016-04-22Merge "Configures swift-rsyncd to use non-default port"Jenkins5-1/+5
2016-04-21Configures swift-rsyncd to use non-default portSerguei Bezverkhi5-1/+5
This PS configures swift-rsyncd process to use non-default port from the range above 1024. Change-Id: I7c37c548a5185a2ffac789383fe012619e401131 Closes-Bug: #1573137
2016-04-21Merge "Disable tty for keystone register script"Jenkins1-1/+1
2016-04-21Merge "Fix iscsid & tgtd sections in inventory samples"Jenkins2-2/+9
2016-04-21Fix failure to deploy with qemu.confSteven Dake1-0/+1
Closes-Bug: #1572819 Change-Id: I1f2edb482af1e85708159a0dba44a79427dc5af3
2016-04-21Merge "Remove check for config files to verify MountFlags"Jenkins1-3/+5
2016-04-20Merge "Use proper protocol scheme with nova"Jenkins1-1/+1
2016-04-20Remove check for config files to verify MountFlagsSwapnil Kulkarni (coolsvap)1-3/+5
Check MountFlags option with systemd rather than with configuration files which can be overriden with different ones. Co-Authored-By: Jeffrey Zhang <jeffrey.zhang@99cloud.net> Change-Id: Ifa4ce62372af3fe75a66b45c8e7cf9ac9f9c2415 Closes-Bug: #1571281
2016-04-20Merge "Revert "check /e/s/s/docker.service in ubuntu""Jenkins1-12/+2
2016-04-20Revert "check /e/s/s/docker.service in ubuntu"Steven Dake1-12/+2
going to merge Swapnil's patch instead of this patch as it relies on real system output rather then looking in files on the filesystem which differ between distributions. This reverts commit 5c5e903973a9db4541196fbe9fcb99ce66c5cfa4. Change-Id: I3e474620c90c1f7b2f5e16106f2c18b2058e169c
2016-04-19Fix iscsid & tgtd sections in inventory samplesPaul Bourke2-2/+9
* Multinode was missing the relevant sections * AIO had a typo and incorrect group for iscsid Co-Authored-By: Serguei Bezverkhi <sbezverk@cisco.com> Closes-Bug: #1572050 Change-Id: I198d9fe8997a96b77ac5cbc9e354878fb6047861
2016-04-19Disable tty for keystone register scriptPaul Bourke1-1/+1
There seems to be a bug regarding the interaction between the Red Hat based images and docker exec, where output is missed when attaching a tty. This can be replicated using the following: $ docker run -d --name test centos /bin/sleep infinity $ docker exec -t test echo hi Repeat the second command over and over, "hi" will only be printed out every couple of runs. This affects the keystone register task as sometimes it will not print it's final json result to stdout, causing ansible to fall over with a difficult to diagnose error (despite the register having run successfully). Disabling the tty fixes this for me, it should not be needed in this case regardless. Change-Id: Ie7eb7c01c34ee3c59bd843651195fbcb7259d2c8 Closes-Bug: #1572082
2016-04-19Add a role to cleanup containers after deploymentMauricio Lima5-0/+42
Change-Id: I5f422574d7e50ec9a1e5862b66ecbf39fe1594d2 Closes-Bug: #1531721 Implements: blueprint ansible-cleanup-role
2016-04-19Merge "Remove node_templates_directory in ansbile variable file"Jenkins1-1/+0
2016-04-15Use proper protocol scheme with novaSteven Dake1-1/+1
Change-Id: I699d3fa4db897a25c31384b7dacf1c465aa4ea86 Closes-Bug: #1571129
2016-04-15Make Cinder access glance in round robin fashionSteven Dake1-1/+3
In the old rendition of this code, Cinder would attempt one access to glance, fail, and then cinder would fail. Now it accesses all servers in round robin fashion. Change-Id: I4759b0b586919b33f49b974312072820062f35c2 Closes-Bug: #1571128
2016-04-15Merge "Add TLS to Kibana Web Interface"Jenkins1-1/+3
2016-04-15Add TLS to Kibana Web InterfaceDave McCowan1-1/+3
Use HAProxy to terminate a TLS connection on port 5601 for the Kibana dashboard when TLS is enabled for Kolla. x-forwarded-for and x-forwarded-proto headers are set to give Kibana the info it needs to write returned URLs. Change-Id: I03a2dd3a8e2513d38281b30bf4bae6449fec0316 Closes-bug: #1566117
2016-04-15Merge "Add iscsid/tgtd specific parameters to Kolla infrastructure"Jenkins4-8/+28
2016-04-15Merge "Adds ansible code for iscsid and tgtd containers"Jenkins13-12/+150
2016-04-14Merge "Set db connection retry to infinity"Jenkins12-1/+13
2016-04-14Use proper CentOS repositories for ceph and qemuSteven Dake3-3/+12
CentOS has a virtualization sig and storage sig which produces udpated ceph and qemu images. These images are then reused within the rest of Red Hat packaging. Install these repositories for CentOS and make use of them. This should work for OracleLinux as well. Still testing centos. Co-Authored-By: Vikram Hosakote <vhosakot@cisco.com> Co-Authored-By: Paul Bourke <paul.bourke@oracle.com> Change-Id: Iea21fc4f33bbfdb973cf354d492c372bd3360acb Closes-Bug: #1566588
2016-04-13Remove node_templates_directory in ansbile variable fileHui Kang1-1/+0
This variable is not used anymore. TrivialFix Change-Id: I1293d75a250370a80d1ac77f754858891cbeef5a
2016-04-13Merge "check /e/s/s/docker.service in ubuntu"Jenkins1-2/+12
2016-04-13Fix the upgrade issue when image id is the sameJeffrey Zhang1-0/+6
When image id is the same, the container won't re-create with the latest image tag. Change-Id: I402ad275c388006248cb559851b01b0b963cf170 Closes-Bug: #1569723
2016-04-13check /e/s/s/docker.service in ubuntuKuo-tung Kao1-2/+12
check "/etc/systemd/system/docker.service" instead of "/lib/systemd/system/docker.service" in ubuntu. In Ubuntu, the settings in "/etc/systemd/system/docker.service" will overwrite the settings in "/lib/systemd/system/docker.service" Change-Id: Idd5b99643b4fb9a4800f5d450e9aaeb22210aa8b Closes-Bug: #1569644
2016-04-12Add iscsid/tgtd specific parameters to Kolla infrastructureSerguei Bezverkhi4-8/+28
This partially implements iscsi and lvm2 support for cinder in Kolla. Add integration with Kolla infrastructure. Change-Id: I5b7d59163518080f38aec0c00617440de0763f1d Implements: blueprint iscsi-lvm2-docker
2016-04-12Adds ansible code for iscsid and tgtd containersSerguei Bezverkhi13-12/+150
This partially implements iscsi and lvm2 support for cinder in Kolla. Adds ansible code for iscsid and tgtd containers. Change-Id: I2a4cfcf104397396ea61a09637d9ef3fc77b515f Partially-Implements: blueprint iscsi-lvm2-docker
2016-04-12Merge "Rabbitmq Upgrade restarts container only when image was changed."Jenkins1-3/+18
2016-04-12Merge "Identify container through PS1 shell variable"Jenkins1-1/+8
2016-04-11Identify container through PS1 shell variableCarlos Cesario1-1/+8
As suggested it was created the variable KOLLA_SERVICE_NAME to identify the container service name through PS1 shell variable. This method it was previously discussed in IRC. https://goo.gl/k7AdEg The other option it was usage hostname param in kolla_docker, but currently docker does not support it due this issue: https://github.com/docker/compose/issues/2460 The final result is like this: $ docker exec -it heka /bin/bash (heka)[heka@kolla-control /]$ $ docker exec -it mariadb /bin/bash (mariadb)[mysql@kolla-control /]$ More details can be accessed through this link http://paste.openstack.org/show/493689/ Closes-Bug: #1557454 Change-Id: I6aab8d640a8ebb17baa9d6d4f1edd6e331674713
2016-04-11Merge "Fix the neutron reconfigure issue when enable linuxbridge-agent"Jenkins1-1/+1
2016-04-11Set db connection retry to infinityRyan Hallisey12-1/+13
Make sure that all the sevices will attempt to connect to the database an infinite about of times. If the database ever disappears for some reason we want the services to try and reconnect more than just 10 times. Closes-bug: #1505636 Change-Id: I77abbf72ce5bfd68faa451bb9a72bd2544963f4b
2016-04-11Clarify comment about binding erlang to IPv4Martin André1-5/+9
The comment was confusing and not explaining what the real issue is when binding erlang to an IPv4 address. Change-Id: I819ea137fa37c0b2711efb1e7cb1e518ae26b9ab Related-Bug: #1562701