3754 Commits

Author SHA1 Message Date
Vikram Hosakote
c7e261c8c2 Check empty passwords in /etc/kolla/passwords.yml in prechecks
This patch set makes "kolla-ansible prechecks" flag an error if
any password is empty in /etc/kolla/passwords.yml.

Change-Id: I87dee25b79c97be64ca49a5638c7f5a30d4cf464
Closes-Bug: #1563506
2016-04-04 04:56:24 +00:00
Vikram Hosakote
86bafeee7a Add general_log to mariadb container and make heka collect it
Added general_log to ansible/roles/mariadb/templates/galera.cnf.j2
to improve mariadb logging.

This will be helpful to debug mariadb issues especially when
mariadb is scaled.

Test results of this patch set are at:
http://paste.openstack.org/show/492852/

Change-Id: I80438d1bbdd1ed2a1f47489c6f9c45b8107340a0
Closes-Bug: #1563668
2016-04-04 02:52:30 +00:00
Carlos Cesario
1e8abe3592 Make Heka write Keepalived logs to dedicated directory
Currently Heka writes the keepalived logs in
/var/log/kolla/haproxy/keepalived.log.
This commit changes this to /var/log/kolla/keepalived/keepalived.log.

Closes-Bug: #1565499
Change-Id: I3033097bd77ddbf72948697b34a6a499ea903083
2016-04-03 18:55:00 -03:00
Jeffrey Zhang
42420830f6 Implement nova-ssh container
Add a nova-ssh container to handle the `nova migrate` and
`nova resize` case, in which the nova will use ssh to copy
files between machines.

Change-Id: Ie6675943f3aeabfbba8589d308d55b9c89d732db
Closes-Bug: #1562141
2016-04-03 07:21:17 +00:00
Jenkins
808d6baa44 Merge "Change keystone log dir" 2016-04-03 00:48:09 +00:00
Serguei Bezverkhi
2e396fec98 Restoring openstack_release option
This patch restores openstack_release option in globals.yml

Closes-Bug: 1565353

Change-Id: I00342d1f52360e7d2c38b4467dc0b4049b7191dd
2016-04-02 17:17:43 -04:00
Jeffrey Zhang
7ab705cd4d Add Ubuntu binary build and deploy gate
The Ubuntu Mitaka repo is release, and we have add it.
So it is time to add the Ubuntu binary gate.

Closes-Bug: #1560386
Change-Id: I29d01147595c4ebebfa00798d01d5fd7398123a6
2016-04-02 16:02:58 +00:00
Jenkins
126c766ca0 Merge "Remove the tempest version constrains in tempest container" 2016-04-02 14:24:46 +00:00
Jeffrey Zhang
9bde62345b Remove the tempest version constrains in tempest container
Remove the tempest version constraint in the upper-constrains.txt
file. Otherwise, it will be failed.

Closes-Bug: #1565268
Change-Id: I693efe1818bfae0eac1649cbc058d1752724cd59
2016-04-02 13:43:06 +00:00
Jenkins
cac7be2f3b Merge "Fixing permission for libvirtd.log" 2016-04-01 21:38:26 +00:00
Jenkins
73800ef8ed Merge "Make keepalived virtual_router_id param configurable" 2016-04-01 21:38:19 +00:00
Jenkins
7a27826c78 Merge "Add a step to clean all ceph references in fstab" 2016-04-01 20:44:25 +00:00
Jenkins
ad05c1846d Merge "Fix the nova reconfigure in the multinode env" 2016-04-01 20:42:51 +00:00
Carlos Cesario
676998a124 Make keepalived virtual_router_id param configurable
To be kolla deploy multiple clouds, we need to be able to configure
virtual_router_id other wise haproxy will fail setup the VIP for the
second cloud.

Partially-Implements: blueprint multiple-cloud
Closes-Bug: #1564547
Change-Id: I9eb27dd6fba61205841eadafc96601e235d2fe6d
2016-04-01 17:35:35 -03:00
Jenkins
152d22732d Merge "Update Quickstart with example for distro and install type" 2016-04-01 20:17:36 +00:00
Mauricio Lima
7f2dd73dcc Add a step to clean all ceph references in fstab
After run cleanup-containers script, was necessary to
clear references to the ceph in fstab file manually

Change-Id: I264e6644d5d569a9b56115ea31b15589b093c3f9
Closes-Bug: #1562991
2016-04-01 16:00:17 -04:00
Jenkins
19d325093d Merge "Workaround ansible bug related to delegate_to" 2016-04-01 19:27:07 +00:00
Jenkins
d544a4f3cd Merge "When two interfaces are used for two VIPs, tie them together" 2016-04-01 19:11:34 +00:00
Jenkins
17781afa52 Merge "Fix IP resolve check for RabbitMQ on AIO" 2016-04-01 17:19:18 +00:00
Steven Dake
0bba5fe000 Workaround ansible bug related to delegate_to
Currently the delegate_to doesnt happen and the neutron role creation is
attempted once on the first server and is skipped. The re-ordering of hosts in
site.yml seems to make the first host to be one inside neutron-server group
yielding the expected results. This patch needs to be re-visited as soon as a
version of ansible is chosen that fixes the issues with delegate_to

Co-Authored-By: Steven Dake <stdake@cisco.com>
Co-Authored-By: Vikram Hosakote <vhosakot@cisco.com>
Co-Authored-By: Nate Potter <nathaniel.potter@intel.com>
Co-Authored-By: Ganesh Mahalingam <ganesh.mahalingam@intel.com>
Change-Id: Ia712b323aa9d750d470a11ee899ab1b3054a903f
Partial-Bug: #1546789
2016-04-01 10:13:31 -07:00
Dave McCowan
bbbe84667d When two interfaces are used for two VIPs, tie them together
When a node uses two physical interfaces for its two VIPs, these
physical interfaces should be tied together, so both VIPs will
be taken out of scheduling if either one fails.  Without this change,
if a request comes into one interface that needs access to the
second interface to process the request, the original request
unnecessarily fails.  Repeating this results in a black hole where
a failing server keeps getting new requests.

Change-Id: Ic51e6584c1fbda3eb7821cb47f759c77e562cc65
Closes-Bug: #1550455
2016-04-01 12:04:22 -04:00
Michal Rostecki
5aa2dcce30 Fix IP resolve check for RabbitMQ on AIO
On AIO installation we cannot assume that the public IP address
will be the first entry in "getent ahostsv4" result, because
it may be also a localhost address. To make this check positive
in AIO, we should look for the public IP in the whole output.

Change-Id: I1da7b95d7f00c7f87ff68ead46bf55fdea812599
Closes-Bug: 1564564
2016-04-01 07:57:14 +02:00
Davanum Srinivas
f0be9c736c Update Quickstart with example for distro and install type
Make it a bit more clear on how to switch distro if needed

TrivialFix

Change-Id: I888c8310d11c8bc65f579df2cdc9d32f3928dc23
2016-03-31 14:42:18 +00:00
Jeffrey Zhang
5680bf0f24 Enable the kibana access from the external network
Closes-Bug: #1564440
Change-Id: I8b9ff303d131fab18e51e9f99c64f4e4004f41b4
2016-03-31 22:34:14 +08:00
Steven Dake
1fac190cec Increase database connections to 10000
Scale limit testing on a 64 node cluster with 13 TB RAM and 2600
cores showed that atleast 1800 database connections are required
to appropriately start 2000 virtual machines simulateounsly.  Other
documentation on the internet recommends larger values such as 8000,
so we set to a larger value that should be able to handle a maxed out
512GB ram per compute node cluster with all services enabled.

Change-Id: I8767cf3fb04e066cc22e796c647e944b4e4a1742
Closes-Bug: #1564275
2016-03-31 00:42:23 -07:00
Jenkins
3a028e4334 Merge "Revert libvirt change in heka-openstack.toml.j2 in master" 2016-03-31 06:43:48 +00:00
Jenkins
dff16f9221 Merge "Update swift name" 2016-03-31 00:23:09 +00:00
Mauricio Lima
47a6d1039d Update swift name
TrivialFix

Change-Id: I852acea531c9c9ed68e83fbf98860453da1ce98f
2016-03-30 11:39:35 -04:00
Jenkins
65041fbcc2 Merge "Fix gate by adding MariaDB-shared dependnecy" 2016-03-30 15:00:24 +00:00
Jenkins
2068bc009a Merge "Revert "Fix consistently failing CentOS gate"" 2016-03-30 14:59:46 +00:00
Jeffrey Zhang
de6650874d Start the haproxy by using haproxy-system-wrapper
haproxy-system-wrapper is a solution for systemd from upstream. it can
handle the reload graceful.

Change-Id: I6a3d141af065e429bd1be1b7252f5c6df1fda3bb
Closes-Bug: #1559238
2016-03-30 18:07:40 +08:00
Jenkins
94e5616464 Merge "Fix the Ceph reconfigure" 2016-03-30 09:49:07 +00:00
Jenkins
2bd896e364 Merge "Pass extra variables through kolla-ansible to ansible-playbook" 2016-03-30 09:48:59 +00:00
Jenkins
a8e788819b Merge "Added precheck to check kernel version 4.2 on Ubuntu 14.04." 2016-03-30 09:34:35 +00:00
Jeffrey Zhang
792e2c1f26 Fix the nova reconfigure in the multinode env
Checking the fix condition first in the when clause rather than the
dynamic condition. Otherwise it will raise issue, especially in
multinode env.

For example use

  when:
    - nova_console == 'novnc'
    - inventory_hostname in groups['nova-novncproxy']

rather than

  when:
    - inventory_hostname in groups['nova-novncproxy']
    - nova_console == 'novnc'

Because the nova-novncproxy groups may do not exist.

Change-Id: I1e76ee239908a17a4c2ffd9a18c570fbc485172e
Closes-Bug: #1563643
2016-03-30 16:57:42 +08:00
Jenkins
981d8206ab Merge "Starting heka bootstrap container failed in deployment" 2016-03-30 07:47:26 +00:00
Jenkins
45f6b673e3 Merge "Add optional services option in globals.yml" 2016-03-30 06:11:32 +00:00
Jenkins
251b498c72 Merge "Fix the wrong refer self in kolla_docker.py" 2016-03-30 05:22:21 +00:00
Carlos Cesario
833c1269c7 Added precheck to check kernel version 4.2 on Ubuntu 14.04.
Kolla recommends LTS wily kernel version 4.2 on Ubuntu 14.04.

http://docs.openstack.org/developer/kolla/quickstart.html#installing-dependencies

The precheck check the running kernel version, because checking
the linux-image-generic-lts-wily cannot be a valid check.

The package (linux-image-generic-lts-wily) can be installed, but
the running kernel can be other version.

Closes-Bug: #1563500
Co-Authored-By: Vikram Hosakote <vhosakot@cisco.com>
Change-Id: I4e08bca95493b2dbd0ad5f8d1ea4e07b18c4959d
2016-03-30 03:12:19 +00:00
MD NADEEM
e1b9b8e7f5 Add optional services option in globals.yml
Closes-Bug: #1563642
Change-Id: Id047dbcd438edc748fbe928cabbdbc1060c7c3de
2016-03-30 03:05:38 +00:00
Hui Kang
25393eb28f Pass extra variables through kolla-ansible to ansible-playbook
Change-Id: I4ddad85aadfac4047460085ec6bc0fcabd718253
Closes-Bug: #1561757
2016-03-29 17:59:33 -04:00
Jenkins
882636c9dd Merge "Restrict the rabbitmq only start on rabbitmq group" 2016-03-29 19:47:10 +00:00
Mauricio Lima
9a910d6b1e Starting heka bootstrap container failed in deployment
Change-Id: I7efa3f5df3a5743d264864070967cf995900b147
Closes-Bug: #1561111
2016-03-29 15:24:47 -04:00
Steven Dake
5f381dfbdd Fix gate by adding MariaDB-shared dependnecy
With the reorganization of the MariaDB repository, the C libraries
for mariadb were not included in the toolbox container.  This results
in a non-functional CentOS environment which is resolved by this
simple patch.

Change-Id: Ib4a2f7e55b6efc36bc3ff2d93447cb97b7b109f5
Closes-Bug: #1561347
2016-03-29 14:08:24 -04:00
Serguei Bezverkhi
584690a9f2 Fixing permission for libvirtd.log
Fixing permissions so all users could access libvirtd.log

Change-Id: I6f63a847ba9c5591a87922d3b117b101100b2fad
Closes-Bug: 1563430
Co-Authored-By: Steven Dake <stdake@cisco.com>
2016-03-29 13:52:52 -04:00
Jenkins
a9539d9abe Merge "Remove bootstrap_mariadb with cleanup-containers" 2016-03-29 10:31:00 +00:00
Jeffrey Zhang
f7066db4f0 Fix the Ceph reconfigure
Closes-Bug: #1563251
Change-Id: I0072c92d6c8160f868b4ab0ec08b11541d3f3401
2016-03-29 18:05:48 +08:00
Jenkins
0523c8fc90 Merge "Refactor the glance service group mapping" 2016-03-29 09:27:02 +00:00
Jenkins
48fcd382ec Merge "Only copy the necessary config files for Glance" 2016-03-29 09:26:40 +00:00
Jenkins
b6b37f4cec Merge "Remove meaningless char in regexp of find_disks.py file" 2016-03-29 09:21:39 +00:00