5408 Commits

Author SHA1 Message Date
Michal Jastrzebski
603bbae0f4 Heat logging to rsyslog
Configure heat to use rsyslog container as logging mechanism

Change-Id: I71691bbc7c8cb56758e3597da7f44445a4bf5599
Implements: bp logging-container
2015-09-24 14:29:14 +02:00
Jenkins
a83d84b383 Merge "Create nova-libvirt directory before copying files" 2015-09-24 12:15:33 +00:00
Michal Jastrzebski
77c9d42172 Cinder logging to rsyslog
Configure cinder to use rsyslog container as logging mechanism

Change-Id: Ib860ac897643a6377dfc79f0c68281843dc34691
Implements: bp logging-container
2015-09-24 14:08:25 +02:00
Michal Jastrzebski
f99a27f0c5 Keystone logging to rsyslog
Configure keystone to use rsyslog container as logging mechanism

Change-Id: Id77574fe841e9c2a9d870b712ffd0c26b5463ded
Implements: bp logging-container
2015-09-24 14:08:25 +02:00
Michal Jastrzebski
10776e57f9 Neutron logging to rsyslog
Configure neutron to use rsyslog container as logging mechanism

Change-Id: I7cf8a1327f07c7b9c4405ee65cecd373def0fea9
Implements: bp logging-container
2015-09-24 14:08:22 +02:00
Sam Yaple
931335528f Create nova-libvirt directory before copying files
Change-Id: I92f2eac895283791b2eea6a4351a43e90fdbb5a3
Partially-Implements: blueprint replace-config-external
2015-09-24 11:36:31 +00:00
Michal Jastrzebski
3d0b540064 Nova logging to rsyslog
Configure nova to use rsyslog container as logging mechanism

Change-Id: I9c595e8ac7b4aedc6ba4fe6bb7cfe7e624133c41
Implements: bp logging-container
2015-09-24 12:45:46 +02:00
Michal Jastrzebski (inc0)
943ffd76ed Glance logging to rsyslog
Configure glance to use rsyslog container as logging mechanism

Change-Id: I60f604d7a85bb4309b26be03cd6b8aac14840fe7
Implements: bp logging-container
2015-09-24 12:45:46 +02:00
inc0
4a75d05de1 Ansible bits to rsyslog
Ansible installation of rsyslog container

Change-Id: I17a7ee679f72e8fe667012d7eb6e07a27098a909
Implements: bp logging-container
2015-09-24 12:45:43 +02:00
Ryan Hallisey
6f9709ce9c Replace config-external with a JSON file for Heat
Change-Id: Ie79667ec2f9b091403ead9abc3c0f85afb7944bc
Partially-Implements: blueprint replace-config-external
2015-09-24 08:13:07 +00:00
Ryan Hallisey
57017b0acd Replace config-external with a JSON file for Cinder
Partially-Implements: blueprint replace-config-external

Change-Id: Ic247433290b51c9fb613d90e4a9a0f3d11526b35
2015-09-24 08:12:56 +00:00
Ryan Hallisey
2c23f2d445 Replace config-external with a JSON file for Neutron (thin)
This is only for the Neutron thin containers.  The Neutron agents
are still in a fat container.  I'll replace in another patch.

Change-Id: I8533af52bfa3f268aa8ffb1c16ae49f5a300da27
Partially-Implements: blueprint replace-config-external
2015-09-24 08:12:19 +00:00
rthallisey
aebb16fff9 Replace config-external with a JSON file for Nova
Change-Id: I38c545484a7b1f3906d844eb3a7486e11c4b276a
Partially-Implements: blueprint replace-config-external
2015-09-23 19:33:27 +00:00
Jenkins
9a814e128f Merge "Replace config-external with a JSON file for Glance" 2015-09-23 19:30:45 +00:00
Jenkins
274d808ff9 Merge "Replace config-external with a JSON file for Keystone" 2015-09-23 19:30:34 +00:00
Jenkins
6e94b97dd6 Merge "Replace config-external with a JSON file for Rabbitmq" 2015-09-23 19:16:10 +00:00
Jenkins
9963f0a1ef Merge "Add nova_novncproxy port to haproxy configuration" 2015-09-23 14:16:57 +00:00
Hui Kang
83157d1a19 Add nova_novncproxy port to haproxy configuration
Make novncproxy_port configurable

Change-Id: I54f7918b1927562baf2e125b7f5c8edaec87e993
Closes-Bug: #1497673
2015-09-22 15:48:09 +00:00
Hui Kang
c30e9bfbcf Remove the keepalived tag in ansible
Keepalived container runs with the haproxy container.

Change-Id: I435a8850eca36ccfa5531b43ee7b5f1b72ecc880
Closes-Bug: #1497337
2015-09-19 12:21:19 -04:00
rthallisey
3fa0aa2ddc Replace config-external with a JSON file for Glance
Change-Id: I14187db31a009c150424ea28b854a78c9ae3941d
Partially-Implements: blueprint replace-config-external
2015-09-18 15:19:06 -04:00
rthallisey
180e8c3331 Replace config-external with a JSON file for Keystone
Change-Id: I4c403edb7cd16f587f30a313c1943f070512eda3
Partially-Implements: blueprint replace-config-external
2015-09-18 15:19:06 -04:00
rthallisey
a0bffb2581 Replace config-external with a JSON file for Rabbitmq
Change-Id: Ibb30af44a9362278eff012ff1145374788b06cd5
Partially-Implements: blueprint replace-config-external
2015-09-18 15:19:06 -04:00
Jenkins
7b3143face Merge "Remove ansible_ssh_user from Kolla configs" 2015-09-17 11:29:11 +00:00
Qiu Yu
c7ceca711a Expose HAProxy stats for management purpose
Change-Id: Ia7263a9993e29c8f3db71e86264b786398224223
Closes-Bug: #1496658
2015-09-17 09:55:27 +08:00
rthallisey
7088e885f8 Replace config-external with a JSON file for Galera
Change-Id: I82abc9a31571376679c4f463f5a6ae77a49ec2f6
Partially-Implements: blueprint replace-config-external
2015-09-16 10:33:29 -04:00
Sam Yaple
8cdaf01c0a Remove ansible_ssh_user from Kolla configs
The option is not for Kolla to be managing, this is all on the
operator to handle the ssh communication to the other hosts.

Additionally, setting it like this will break delegate_to

Change-Id: Ib9caa7014049f87f3ece525a32f7587e33840ea9
Closes-Bug: #1496331
2015-09-16 10:02:40 +00:00
Jenkins
31594eef5b Merge "Add missing Swift services, also ansible configuration" 2015-09-13 20:09:59 +00:00
Jenkins
d5990ce93f Merge "First keepalived container is started with wrong priority" 2015-09-10 12:17:28 +00:00
Jenkins
3932b83815 Merge "Ansible does not wait for virtual IP to appear" 2015-09-10 12:17:13 +00:00
Vladislav Belogrudov
808aa0e5c3 Ansible does not wait for virtual IP to appear
VIP takes time (10-30 seconds) to appear on one of network nodes.
Ansible does not wait for the VIP and starts keystone. The latter
fails because it cannot connect to database thru the VIP.

Change-Id: Ie951ee22565bdbe8ccb68522648758a7174ba156
Closes-Bug: #1494253
2015-09-10 13:47:46 +03:00
Vladislav Belogrudov
9d156eb005 First keepalived container is started with wrong priority
First keepalived container is started with priority 0 but the
latter should be in range 1-255. This gives error and keepalived
resumes with default priority 100.

Change-Id: Ib11d0072a96b818d86c81a32e78118c0c82b74d8
Closes-Bug: #1494237
2015-09-10 13:22:00 +03:00
Steven Dake
ca4db1d965 Enable nova-libvirt to be updated
Libvirt shuts down existing virtual machines.  To solve this problem,
the /var/lib/libvirt directory needs to be persisted.  By persisting
this directory in the nova data container, libvirt can communicate
with the sockets setup by the previous data container.

Change-Id: I362c533f8493984123686fe6e3f8e43d97434ca6
Closes-Bug: #1494060
2015-09-09 21:08:34 -07:00
Steven Dake
1025890e99 Make nova use a data container
Make nova-libvirt and nova-compute use a data container called
nova_data.  This data container contains /var/lib/nova/instances
data so upgrades to nova-compute work properly.

Change-Id: I89362eb0857f7b07503c35178475bc91d0d19ca8
Closes-Bug: #1486333
2015-09-09 21:08:32 -07:00
Jenkins
e7c30a2fd4 Merge "Change default ansible_ssh_user to "kolla"" 2015-09-10 01:28:09 +00:00
Paul Bourke
226dde89ac Change default ansible_ssh_user to "kolla"
Chnage to "kolla", and set in globals to easily apply to all nodes.

DocImpact
Closes-Bug: #1493801

Change-Id: I6cd53be9f542dbcbd3f1459bc5fc2721d56c5022
2015-09-09 11:56:44 +01:00
Steven Dake
327d89bd38 Fix rabbitmq from failure during startup
Stagger the start times of the rabbitmq daemon so rabbitmq neither
crashes and also properly forms a cluster.  This problem exists in
the latest rabbitmq 3.5.4 available on rabbitmq.com for download.

Change-Id: Iac4186b3c3b586de38467294399c7ed9415244de
Closes-Bug: #1490780
2015-09-08 20:38:11 -07:00
Jenkins
84535cf15a Merge "Add rsyncd image and related Ansible for Swift" 2015-09-08 01:15:43 +00:00
Jenkins
3a6332411d Merge "Gather facts from the hosts before using them" 2015-09-07 23:59:35 +00:00
Jenkins
766d07e41e Merge "Add ansible support for Murano" 2015-09-07 18:18:21 +00:00
Paul Bourke
8fa96a1516 Add rsyncd image and related Ansible for Swift
Swift replicator services require rsync to function. This patch adds a
new container which is included automatically on each of the Swift
storage nodes.

Change-Id: If10fbe610ca4df21ef0f2c7a1025035d627cb4ba
Partial-Bug: #1477993
2015-09-07 12:16:35 +00:00
Sam Yaple
c68c9d95fc Gather facts from the hosts before using them
Haproxy needs to have gathered facts from all hosts that it will use
information about. In this case it must talk to all of the api hosts
as well as the database and rabbitmq hosts before generating the
configuration file.

Change-Id: I99b7dbebd5a6193e192ee258ddf576d18db90ed7
Closes-Bug: #1482406
2015-09-07 12:04:28 +00:00
jamesmmccarthy
91fc423a01 Add missing Swift services, also ansible configuration
DocImpact
Closes-Bug: #1477993
Co-Authored-By: Paul Bourke <paul.bourke@oracle.com>
Change-Id: Ifeab0fec11889cb0c90a56a6211dbdd27a40f3d9
2015-09-07 10:38:00 +00:00
Mick Thompson
68e7da0a36 Add ansible support for Murano
Deploy the core services for murano-api and murano-engine containers.

Implements: bp ansible-murano

Change-Id: Ibcc618665a3509465ba8f9249a417e8848087eef
2015-09-07 09:30:07 +01:00
Steven Dake
e569d80182 Make heat stack-create work
The stack-create operation fails.  The current implementation of
Heat Ansible role does not implement trusts.  Tell heat it should use
the non-trusts authentication model.

Also add a [keystone_clients] section which is required in newer
versions of heat to properly resolve the keystone v3 API endpoint
required for trust communication.

This fix spawns a Tech-Debt Bug to implement trusts in heat: #1492736

Change-Id: I06dd6436cc34a37b4966fddc888fade982ea51bd
Closes-Bug: #1492648
2015-09-06 21:24:56 -07:00
Jenkins
efea3b3f1b Merge "Properly check failed status" 2015-09-07 03:33:27 +00:00
Steven Dake
a8a41a81aa Permit larger database connection count
The default incoming database connection count is limited to 151
connections.  These are not sufficient in a 100 node 3 controller
deployment to launch several heat stacks simulatenously.

Data measured on bare metal shows that 250 connections are needed
to launch one 25 VM heat stack with 3 controller nodes with 209
tasks (default enablement).

Change-Id: If60b540010d6d173a393fa91fa30cb3ba572cfc0
Closes-Bug: #1492719
2015-09-06 04:53:28 -07:00
Sam Yaple
f42528acaf Properly check failed status
No need for a new task.

Change-Id: I958f87ac9a1434a2f6052e0271f37e5f3109775e
Closes-Bug: #1492337
2015-09-06 11:21:44 +00:00
Vladislav Belogrudov
7f81dbc85b Check exit status of bootstrap containers
Currently bootstrap containers are waited to exit but are not
checked for exit status and ansible runs further tasks. If
bootstrapping fails we notice it at much later time.

Change-Id: I137fc11b0f9d1f03d2ded08a213e8dbd62741f92
Closes-Bug: #1492337
2015-09-04 19:47:54 +03:00
Vladislav Belogrudov
326b29f363 Set cinder auth_strategy to keystone explicitely
Default value for auth_strategy changed for Cinder in Liberty
release from 'noauth' to 'keystone'. Therefore relying on
default value makes Cinder fail in Kilo. This patch covers
both releases by setting auth strategy to 'keystone' explicitely

Change-Id: Ic1f45fd43e0a94ca1dbfc63e90e2756c40453352
Closes-Bug: #1492233
2015-09-04 14:44:41 +03:00
Jenkins
0292cd2129 Merge "Use database_user_create in Heat bootstrap" 2015-09-04 06:51:40 +00:00