3849 Commits

Author SHA1 Message Date
Swapnil Kulkarni (coolsvap)
3d1e4f4836 Update Mongodb dockerfile for formatting
Change-Id: Id3241ee4512723ce4afca7c904de5287e06160be
Partial-Bug:#1569417
2016-04-12 21:51:32 +05:30
Swapnil Kulkarni (coolsvap)
349d32fcec Update Mesos dockerfiles for formatting
Change-Id: I933c483912e4a7c5b59623357329c98961dfdb57
Partial-Bug:#1569417
2016-04-12 21:49:00 +05:30
Swapnil Kulkarni (coolsvap)
7b3bfc40e3 Update Memcached dockerfile for formatting
Change-Id: I7a234770c0728f064fcebf8ddb934452c548633b
Partial-Bug:#1569417
2016-04-12 21:47:04 +05:30
Swapnil Kulkarni (coolsvap)
7294ed9d90 Update Mariadb dockerfile for formatting
Change-Id: I6f5b28dc6520e3d31f413b0da708d9b14c9e9671
Partial-Bug:#1569417
2016-04-12 21:45:20 +05:30
Swapnil Kulkarni (coolsvap)
84aceccf27 Update Manila dockerfile for formatting
Change-Id: I83a7292ce84cd951de0127e6d3593e4e3beb43af
Partial-Bug:#1569417
2016-04-12 16:14:10 +00:00
Swapnil Kulkarni (coolsvap)
b028831d96 Update Marathon dockerfile for formatting
Change-Id: Ie50b130b536741fc55fd33f2c5a4c71ea4dc2b56
Partial-Bug:#1569417
2016-04-12 21:43:17 +05:30
Swapnil Kulkarni (coolsvap)
2a19d8e6e3 Update Magnum dockerfiles for formatting
Change-Id: Ieaad94d423d58b153bbf7f634be44a0e48ac775f
Partial-Bug:#1569417
2016-04-12 21:37:56 +05:30
Swapnil Kulkarni (coolsvap)
e561ce2fc2 Update Ironic dockerfile for formatting
Change-Id: I73fd2030f353f7daa35e71b62491cdf0b3fcf5cf
Partial-Bug:#1569417
2016-04-12 21:31:01 +05:30
Swapnil Kulkarni (coolsvap)
b1f3aa0c1c Update Heka dockerfile for formatting
Change-Id: Ib5cab0200f6e8fbea3de89624067771e92024b2f
Partial-Bug:#1569417
2016-04-12 21:27:54 +05:30
Swapnil Kulkarni (coolsvap)
d206bd1b8b Update Heat dockerfiles for formatting
Change-Id: Ic6cc78f2d105dd6ae9de200fee40e9fa2031088f
Partial-Bug:#1569417
2016-04-12 21:24:59 +05:30
Swapnil Kulkarni (coolsvap)
9fe4d3585c Update Gnocchi dockerfiles for formatting
Change-Id: I9a3560e3ec207f5aff0a0d8e608ab481989a8d82
Partial-Bug:#1569417
2016-04-12 21:21:46 +05:30
Swapnil Kulkarni (coolsvap)
2075d27c11 Update Aodh dockerfiles for formatting
Change-Id: Icd64f9798482cfaea05dc34eb9f799e7b0f32188
Partial-Bug:#1569417
2016-04-12 15:33:49 +00:00
Swapnil Kulkarni (coolsvap)
970075d49a Update Ceilometer dockerfiles for formatting
Change-Id: If5ead9a476a9fede105b328d7ba7422b45eae8a7
Partial-Bug:#1569417
2016-04-12 20:57:37 +05:30
Jenkins
35e379a97c Merge "Create /var/cache/swift in source installation" 2016-04-12 15:22:34 +00:00
Jenkins
3f9f267a42 Merge "Create and chown /etc/heka directory" 2016-04-12 14:41:22 +00:00
Jenkins
34460c37c6 Merge "Rabbitmq Upgrade restarts container only when image was changed." 2016-04-12 14:39:29 +00:00
Swapnil Kulkarni (coolsvap)
11c6457164 Add missing base os values to kolla-build.conf
Added centos, ubuntu, oraclelinux.
Not added other base distros are not
well maintained currently.

Change-Id: Icb1c12dde2ff005068f1b0f36693049f9ea30f52
Closes-Bug:#1569265
2016-04-12 17:01:42 +05:30
Swapnil Kulkarni (coolsvap)
15444da4d9 cleanup-host should not remove kolla-build.conf
new cleanup-host script removes kolla-build.conf
in /etc/kolla directory which contains the build
configuration for building images.
This should be preserved.

Change-Id: I20fbf3f8a2400a5e048ba55beb0c8e1ec849d8a3
Related-Bug:#1561055
2016-04-12 16:32:11 +05:30
Jenkins
e2b250f7c3 Merge "Add note about heat being busted for development" 2016-04-12 09:32:04 +00:00
Jenkins
e3e5232bc3 Merge "Remove /etc/kolla configuration folders" 2016-04-12 09:28:31 +00:00
Jenkins
37e981da73 Merge "Identify container through PS1 shell variable" 2016-04-12 09:19:54 +00:00
Michal Rostecki
3f85c54598 Create /var/cache/swift in source installation
Due to lack of /var/cache/swift directory, swift services
are unable to access /var/cache/swift/container.recon file.

Closes-Bug: 1569182

Change-Id: Ifc4763d40256e43f51728e1dd4b3986c4f0ba0fc
2016-04-12 08:44:38 +02:00
Michal Rostecki
2069d7562c Create and chown /etc/heka directory
This directory is needed for kolla-mesos to save config files
there.

Change-Id: Ia9810061d370bc600dfffeb33a4d4402c423e3fc
Closes-Bug: 1567437
2016-04-12 08:06:21 +02:00
Jenkins
8b0a0f7244 Merge "Add LVM2/iSCSI documentation" 2016-04-12 04:51:41 +00:00
Jeffrey Zhang
4417571b9b Fix the wrong package name in Ubuntu binary build
neutron-plugin-linuxbridge and neutron-plugin-openvswitch package
is useless and removed in Mitaka on Ubuntu

Change-Id: Ia156d58410198af969f579cd5e7461c31ea63408
Closes-Bug: #1568281
2016-04-12 01:18:54 +00:00
Swapnil Kulkarni (coolsvap)
7595dfce78 Drop root for swift
Updates to ensure commands run in the swift containers
are done as the 'swift' user rather than root.

Change-Id: I8c5a12e24b9940200241dbe09d6bde8f1cc1cf05
Closes-Bug: #1553895
Co-Authored-By: Serguei Bezverkhi <sbezverk@cisco.com>
2016-04-11 18:47:51 -04: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
Jenkins
8a9d365dd9 Merge "Make sure /etc/hostname is valid for SELinux" 2016-04-11 16:14:57 +00:00
Paul Belanger
84a0f2dd5b Make sure /etc/hostname is valid for SELinux
In the gate, it is possible for /etc/hostname to not have a valid
SELinux security conext. So, reset them to default before we update
the hostname to avoid:

  TASK: [Assign hostname]
  failed: [node1] => {"failed": true}
  msg: Command failed rc=1, out=, err=Could not set property: Access
  denied

Closes-Bug: #1568047
Change-Id: Ie30c8437b310d1ea5bc75307375c255131dfe934
Needed-By: I2ff5fbb315832b8cf07c93d0dd0cdaacd958631e
2016-04-11 15:38:04 +00:00
Jenkins
f0c18db2c1 Merge "Revert "Spec: Deploy Kolla images using Kubernetes"" 2016-04-11 11:30:57 +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
Steven Dake
a090039496 Revert "Spec: Deploy Kolla images using Kubernetes"
This reverts commit 99761c5cdce0d4e59adc19d1c33d32fa30872ceb.

Change-Id: Ib40224841f3399c6794b8aa71ca5cd7f0308a722
2016-04-11 10:17:05 +00: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
Steven Dake
9119e2e360 Add note about heat being busted for development
Heat development environments don't work at all.

As such document this so folks avoid them unless they want to
work on making them better.

Change-Id: Ibe3296660d30ccc24213c272ef379e6d3e2c21f2
2016-04-11 00:22:33 -07: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
Serguei Bezverkhi
d73ee4a856 Rabbitmq Upgrade restarts container only when image was changed.
This fix adds a check of Rabbitmq's image version during the upgrade.
The container gets restarted only when the image version is different.

Change-Id: Ie038845c0c8fff1ac51b7cbf21e1b593229c2c0e
Closes-Bug: #1558832
2016-04-10 16:21:48 -04:00
Serguei Bezverkhi
184f01a0d6 Adds iscsid and tgtd docker containers
This partially implements iscsi and lvm2 support for cinder
in Kolla. Adds iscsid and tgtd docker containers.

Change-Id: I7fb48c954e578772b90a2aa619c8bcfa990b3ae8
Partially-Implements: blueprint iscsi-lvm2-docker
2016-04-10 09:17:16 -04:00
Jenkins
12735f01da Merge "Spec: Deploy Kolla images using Kubernetes" 2016-04-10 05:05:43 +00:00
Jenkins
7afe54bc32 Merge "Put the variables in alphabetical order in all.yml" 2016-04-10 04:42:37 +00:00
Hui Kang
e8800f9156 Fix missing libvirt python module in ceilometer-compute
Change-Id: I108397dbc86e44a81f82d6e9fce9ae2ad9d0976b
Closes-Bug: #1565054
2016-04-10 00:28:52 -04:00
Jenkins
3424aefe4b Merge "Add quotes for RBMQ nodes definition" 2016-04-10 03:25:14 +00:00
Jeffrey Zhang
f5c88efa87 Fix the neutron reconfigure issue when enable linuxbridge-agent
Change-Id: I69a19a028fd0ac7f88f84ba1ff246e91d2a8c223
Closes-Bug: #1568424
2016-04-10 08:17:46 +08:00
Mauricio Lima
4ce1367642 Remove /etc/kolla configuration folders
Kolla deployment creates /etc/kolla folder on a target host
with multiple configuration files. In some scenarios,
the presence of these files prevent successful deployment
of certain services especially when their configuration parameters
have been changed on the deployment host.

Change-Id: Iefd544b50fc90b7f00d6e137bc14ab4807ef7c0f
Closes-Bug: #1561055
2016-04-09 14:35:33 -04:00
Mauricio Lima
e114bd86cb Put the variables in alphabetical order in all.yml
Change-Id: Icca182a9d570f6e7b39bec91ee6d1558a4da855f
Closes-Bug: #1567932
2016-04-09 14:22:13 -04:00
Jenkins
c872a426a9 Merge "Fix the qemu has nova permission in nova instances folder" 2016-04-09 03:32:55 +00:00