915 Commits

Author SHA1 Message Date
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
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
Jenkins
7afe54bc32 Merge "Put the variables in alphabetical order in all.yml" 2016-04-10 04:42:37 +00: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
e114bd86cb Put the variables in alphabetical order in all.yml
Change-Id: Icca182a9d570f6e7b39bec91ee6d1558a4da855f
Closes-Bug: #1567932
2016-04-09 14:22:13 -04:00
Proskurin Kirill
7829aa27b3 Add quotes for RBMQ nodes definition
erlang parser, cant parse hostname with minus symbol, it returns:
Ignoring external configuration due to error: {1,erl_parse,"bad term"}

Adding single quotes fix this issue.

Co-Authored-By: weiyu <weiyu@unitedstack.com>
Closes-Bug: #1540234
Change-Id: I80e0789aa31febd552a851e6dc3a835d89c0e9d1
2016-04-08 17:29:13 +00:00
Steven Dake
316eee3680 Increase max pool size so conductor doesn't implode
When horizon is used to launch 2000 VMs, nova-conductor is very
busy making database connections.  All 55 database connections are
in use, resulting in an inability to garbage collect database
connections.  Instead raise the max pool to 50 which will allow
50 concurrent database connections and the max overflow to 1000
which permits the database connections to finish the job at
large nodecount scales.

Closes-Bug: #1565105

Change-Id: I26dc2f7fda8760197888a1d61fbc45dfada2dd06
2016-04-08 03:21:41 -04:00
Jenkins
096c6f21a4 Merge "Increase max scheduling attempts to 10" 2016-04-07 20:56:16 +00:00
Jenkins
a69977ce32 Merge "Fix the Neutron reconfigure" 2016-04-07 15:18:35 +00:00
Jenkins
a7dbbcf952 Merge "Configure Neutron to use internalURL for contacting Nova" 2016-04-07 11:28:22 +00:00
Jenkins
3ce80f9357 Merge "Fix manila keystone v3 issues for all clients" 2016-04-07 06:51:40 +00:00
Dave McCowan
afc2bd83dc Configure Neutron to use internalURL for contacting Nova
The Kolla design is for services to use the internalURL for
service to service communication.  In Mitaka, Neutron added
a new config parameter specifying which URL to use to to
contact Nova, making the default 'public'.  This patch sets
the value to 'internal'.

Change-Id: I2d36f3b4a860af9e9034ebfb2b5cea56450e5e4e
Closes-Bug: #1565624
2016-04-07 06:39:00 +00:00
Jenkins
d3f7eee9c1 Merge "Start the haproxy by using haproxy-system-wrapper" 2016-04-06 19:23:38 +00:00
Steven Dake
8cdd8c4ec3 Increase max scheduling attempts to 10
At high scale, such as 64 nodes with 13TB ram and 2600 cores, nova
seems to struggle when scheduling 100+ VMs at the same time.  The
issue is unrelated to the database, as the error printed indicates
the max_scheduling_attempts have been reached.  Increase that value
to something more fitting of a 100 node cluster.

Change-Id: I8982d77c7c66db8f7c95b9fd73f58ceb66dbd723
Closes-Bug: #1563664
2016-04-06 01:58:37 -04:00
Steven Dake
ba4bcdbbe8 Change waiting on mariadb.pid
Previously the code looked at mariadb.pid, but this seemed
flakey in function.  It seemed racey and prone to failure on
slower connections to a registry.  The original task was
extremely complex and it didnt really verify that the MariaDB
was ready to serve connections.  Use wait_for with a regex
instead.

Change-Id: I3aafac04f03639b08e0ef4d6a9c9e1a4499f000c
Closes-Bug: #1564278
2016-04-05 12:02:01 -04:00
Mauricio Lima
76ec9cbc5a Fix manila keystone v3 issues for all clients
Change-Id: I58472bd429accb7f0efa0fcbc7e8e2d3b76de9c4
Closes-bug: #1563972
2016-04-05 11:40:52 -04:00
Jeffrey Zhang
64ab5b0664 Fix the Neutron reconfigure
Closes-Bug: #1566360
Change-Id: I8eaab1df0c85c6a0bd60a13851f8716cc5dcfa59
2016-04-05 22:49:02 +08:00
Jenkins
05e92db2ad Merge "Playbook for rabbitmq upgrade" 2016-04-05 13:48:34 +00:00
Jenkins
3161202bd9 Merge "Enable the kibana access from the external network" 2016-04-05 11:57:47 +00:00
Jenkins
4e62c583b5 Merge "Check empty passwords in $CONFIG_DIR/passwords.yml" 2016-04-05 11:46:39 +00:00
Jenkins
5f6d4d10d4 Merge "Make Heka write Keepalived logs to dedicated directory" 2016-04-05 05:39:54 +00:00
Vikram Hosakote
8595707a25 Check empty passwords in $CONFIG_DIR/passwords.yml
Co-Authored-By: Carlos Cesario <carloscesario@gmail.com>

Change-Id: Ic2ea835cf38be64a590d3f6b022683081aeb363b
Closes-Bug: #1566150
2016-04-05 04:48:35 +00:00
Jenkins
073c9c4af9 Merge "Add comments on site.yml neutron hosts reordering" 2016-04-04 20:50:18 +00:00
Ganesh Maharaj Mahalingam
509573153e Add comments on site.yml neutron hosts reordering
TrivialFix

Change-Id: Ia5ee3a836f35c4223f9149574cbdd29b8a61af84
2016-04-04 08:59:01 -07:00
Jenkins
bd6be1a4dd Merge "Correct typo" 2016-04-04 15:03:42 +00:00
Jenkins
dc9990e744 Merge "Add general_log to mariadb container and make heka collect it" 2016-04-04 10:51:19 +00:00
Swapnil Kulkarni (coolsvap)
2a182ac741 Correct typo
The typo was missed and the code got
merged. Added commit to correct it

TrivialFix

Change-Id: Ice33bcb5fb2f8826054feeae41370038f86bcf6b
2016-04-04 15:39:16 +05:30
Jenkins
ac228c370b Merge "Implement nova-ssh container" 2016-04-04 09:50:02 +00:00
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
Jenkins
73800ef8ed Merge "Make keepalived virtual_router_id param configurable" 2016-04-01 21:38:19 +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
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