957 Commits

Author SHA1 Message Date
Serguei Bezverkhi
214117c941 Adding Upgrade to iscsid/tgtd container
This patch adds Upgrade function to iSCSI/tgtd containers.

Change-Id: I80d3a4397584ab3c5de7ef3b37bc7f0956c55c15
Closes-Bug: #1560928
2016-05-09 09:14:27 -04:00
Jenkins
233158f754 Merge "Adding ability to specify capabilities and security" 2016-05-04 21:27:04 +00:00
Serguei Bezverkhi
a08a762f30 Adding ability to specify capabilities and security
This patch adds ability to specify required capabilities and security
mode for a specific docker container.

Change-Id: Ib8c15a8e354178bedd31ebb31a64618431f0e135
Closes-Bug: #1572648
2016-05-03 15:24:16 -04:00
Jenkins
1011b7cd24 Merge "map the host localtime to the container" 2016-05-03 19:12:15 +00:00
Jenkins
31d1271f1e Merge "Fix radosgw 'rgw frontends' param" 2016-05-03 10:24:18 +00:00
Jeffrey Zhang
0fcee87549 map the host localtime to the container
Closes-Bug: #1577148
Change-Id: I636cefc63cf532434a41af3898b63dffa711e280
2016-05-03 09:27:51 +08:00
Mauricio Lima
2c34214388 Remove unecessary blank lines
TrivialFix

Change-Id: I1f03d428c380dfdbde5ef33e7ea43cbf5e9154ce
2016-05-02 07:44:29 -04:00
Carlos Cesario
819ae24b50 Fix radosgw 'rgw frontends' param
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-05-02 08:32:04 -03:00
Jenkins
4075a2382f Merge "Re-order the when condition in the cinder reconfigure" 2016-04-28 20:57:37 +00:00
Jeffrey Zhang
1c85dc1858 Re-order the when condition in the cinder reconfigure
Change-Id: Ib058a0d2bfd442cc80d67ec034b37298e881ae79
Closes-Bug: #1576209
2016-04-28 21:10:51 +08:00
Paul Bourke
d9fc4c6f40 Update murano service name
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-28 12:35:16 +01:00
Jenkins
a22b7714e3 Merge "Add a role to cleanup containers after deployment" 2016-04-27 17:21:46 +00:00
Jenkins
279e6b2ed4 Merge "Configures swift-rsyncd to use non-default port" 2016-04-22 04:48:24 +00:00
Serguei Bezverkhi
d553514cb7 Configures swift-rsyncd to use non-default port
This PS configures swift-rsyncd process to use non-default port
from the range above 1024.

Change-Id: I7c37c548a5185a2ffac789383fe012619e401131
Closes-Bug: #1573137
2016-04-21 12:54:30 -04:00
Jenkins
1de1fe8bc9 Merge "Disable tty for keystone register script" 2016-04-21 16:48:29 +00:00
Jenkins
1c266502ea Merge "Fix iscsid & tgtd sections in inventory samples" 2016-04-21 16:12:02 +00:00
Steven Dake
a861450fd2 Fix failure to deploy with qemu.conf
Closes-Bug: #1572819

Change-Id: I1f2edb482af1e85708159a0dba44a79427dc5af3
2016-04-21 03:00:45 -04:00
Jenkins
d636ee6781 Merge "Remove check for config files to verify MountFlags" 2016-04-21 05:43:50 +00:00
Jenkins
c08ec0fe59 Merge "Use proper protocol scheme with nova" 2016-04-20 22:31:39 +00:00
Swapnil Kulkarni (coolsvap)
47894bb05f Remove check for config files to verify MountFlags
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-20 10:15:34 +05:30
Jenkins
35e9ef860f Merge "Revert "check /e/s/s/docker.service in ubuntu"" 2016-04-20 04:42:00 +00:00
Steven Dake
3238373ab7 Revert "check /e/s/s/docker.service in ubuntu"
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-20 03:24:15 +00:00
Paul Bourke
a0ce3608ee Fix iscsid & tgtd sections in inventory samples
* 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-19 17:29:30 +01:00
Paul Bourke
e2452906f3 Disable tty for keystone register script
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-19 15:59:51 +01:00
Mauricio Lima
8588bd655e Add a role to cleanup containers after deployment
Change-Id: I5f422574d7e50ec9a1e5862b66ecbf39fe1594d2
Closes-Bug: #1531721
Implements: blueprint ansible-cleanup-role
2016-04-19 10:00:59 -04:00
Jenkins
0d87a2372b Merge "Remove node_templates_directory in ansbile variable file" 2016-04-19 09:47:34 +00:00
Steven Dake
79627310aa Use proper protocol scheme with nova
Change-Id: I699d3fa4db897a25c31384b7dacf1c465aa4ea86
Closes-Bug: #1571129
2016-04-15 22:01:03 -04:00
Jenkins
a4104c2aec Merge "Add TLS to Kibana Web Interface" 2016-04-15 18:48:11 +00:00
Dave McCowan
4c8227ec8b Add TLS to Kibana Web Interface
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-15 14:06:36 -04:00
Jenkins
0078d9b4a1 Merge "Add iscsid/tgtd specific parameters to Kolla infrastructure" 2016-04-15 12:05:39 +00:00
Jenkins
908a74d670 Merge "Adds ansible code for iscsid and tgtd containers" 2016-04-15 12:04:57 +00:00
Jenkins
9dafdd074f Merge "Set db connection retry to infinity" 2016-04-14 19:01:15 +00:00
Steven Dake
e37fa65f4f Use proper CentOS repositories for ceph and qemu
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-14 10:50:38 +01:00
Hui Kang
3a6b65f95f Remove node_templates_directory in ansbile variable file
This variable is not used anymore.

TrivialFix

Change-Id: I1293d75a250370a80d1ac77f754858891cbeef5a
2016-04-13 20:53:36 -04:00
Jenkins
cdcee4bdaf Merge "check /e/s/s/docker.service in ubuntu" 2016-04-13 12:39:35 +00:00
Jeffrey Zhang
9575417b15 Fix the upgrade issue when image id is the same
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-13 17:56:29 +08:00
Kuo-tung Kao
5c5e903973 check /e/s/s/docker.service in ubuntu
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-13 10:30:47 +08:00
Serguei Bezverkhi
c605d6ca26 Add iscsid/tgtd specific parameters to Kolla infrastructure
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-12 14:58:15 -04:00
Serguei Bezverkhi
6c2d7c7944 Adds ansible code for iscsid and tgtd containers
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-12 14:58:15 -04:00
Jenkins
34460c37c6 Merge "Rabbitmq Upgrade restarts container only when image was changed." 2016-04-12 14:39:29 +00:00
Jenkins
37e981da73 Merge "Identify container through PS1 shell variable" 2016-04-12 09:19:54 +00:00
Carlos Cesario
08b08c78b5 Identify container through PS1 shell variable
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-11 17:50:04 -03:00
Jenkins
3cd96ea0ee Merge "Fix the neutron reconfigure issue when enable linuxbridge-agent" 2016-04-11 18:38:19 +00:00
Ryan Hallisey
67333e4dd1 Set db connection retry to infinity
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-11 07:22:09 -04:00
Martin André
ed1c71837f Clarify comment about binding erlang to IPv4
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
2016-04-11 11:16:37 +02:00
Jenkins
5b94bf7994 Merge "Fix rabbitmq crash in centos gate" 2016-04-11 08:08:46 +00:00
Jenkins
3da780044b Merge "Add prechecks to validate kolla_internal_vip_address and kolla_external_vip_address" 2016-04-11 07:21:14 +00:00
Vikram Hosakote
915d3f12b5 Fix rabbitmq crash in centos gate
Please refer to the Closes-Bug identifier for detailed information
pertaining to this issue.

Closes-Bug: #1562701

Change-Id: I77563930e14e11ea48e7edfef0bff80002279381
2016-04-11 06:28:19 +00:00
Vikram Hosakote
df53d92db6 Revert "Add general_log to mariadb container and make heka collect it"
This reverts commit 86bafeee7a8926d212e8d089fade667772dbcc83.

Closes-Bug: #1568670

Change-Id: I88563292e29d691c27a3640e5232b9f22c7a288a
2016-04-11 02:49:56 +00:00
Vikram Hosakote
1c0dcd8ba8 Add prechecks to validate kolla_internal_vip_address and
kolla_external_vip_address

Change-Id: I4bd3b4283b85bd675927b9a54d6906bb3c0d668e
Closes-Bug: #1566571
2016-04-11 01:33:03 +00:00