3277 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Sam Yaple
3487d8da14 Rename Galera to MariaDB
Change-Id: I3134ba72e2ce4e85a17facbc3b5af4c1c3438d33
Closes-Bug: #1491740
2015-09-03 21:00:23 +00:00
Jeff Peeler
bcde30f379 Use database_user_create in Heat bootstrap
The register operation was using database_user which is also a global
variable in group_vars/all.yml. This results in Heat being undeployable
because database_user is overwritten.

Change-Id: I78b2db34b7c99142040390c7258b7e81d3770835
Closes-bug: #1491980
2015-09-03 14:38:28 -04:00
Vladislav Belogrudov
64180f6735 Ansible register task for MariaDB incorrectly reports failure
When running register task for MariaDB we should firstly check
if operation failed before trying to parse result from json output

Change-Id: Ic331ec20990277d30b147826ff24affb27d52383
Closes-Bug: #1491751
2015-09-03 13:02:44 +03:00
Sam Yaple
1e963d124a Fix rabbitmq part 2
Change-Id: I69a5ace61dd621a7fc0354d4deb5e8937505e13e
Partial-Bug: #1480496
2015-09-02 15:33:18 +00:00
Sam Yaple
77466a292d Fix rabbitmq perms
If a bootstrap fails at some stage and leaves a rabbitmq_data
container on a host, it will not bootstrap again and rabbitmq
fails to start due to root permissions on /var/lib/rabbitmq.

This patch improves the check for a valid, existing
rabbitmq_data

Closes-Bug: #1490602
Change-Id: I6a00aaef38b4ab6a60dcfb5ed2f808513b9f8c84
2015-09-02 13:31:05 +00:00
Jenkins
f8c2f03094 Merge "nova-libvirt requires a /sys/fs/cgroup bindmount" 2015-08-31 19:55:38 +00:00
Steven Dake
e2d35ad054 nova-libvirt requires a /sys/fs/cgroup bindmount
Nova-compute is curerntly generating a backtrace when trying to nova
boot a VM.  The backtrace is described in the bug log.  Bind-mounting
/sys/fs/cgroup:/sys/fs/cgroup in the libvirt container resolves the
problem.

Change-Id: I5a56b61fd260728fb76e19bcbdf403b80a4ec5a6
Closes-Bug: #1490326
2015-08-31 10:44:52 -07:00
Jenkins
539862aeb0 Merge "Fix typo in task bootstrap task names" 2015-08-31 11:15:01 +00:00
Paul Bourke
f5c996e77d Fix typo in task bootstrap task names
Not quite halloween yet...

Change-Id: Ib1973eea0b2dddc0e0845731d1212c4d4447cca5
Closes-Bug: #1490502
2015-08-31 11:27:10 +01:00
Sam Yaple
7f17203406 Keystone container should use the openstackclient
Initially it did not use this client due to the fact that the client
didn't seem to want to work in the containers. Now it works fine and
it should be used instead of the deprecated keystone client

Change-Id: Ib0e172c677e200e5df01c478b7ea257b30c0df0b
Closes-Bug: #1490126
2015-08-30 08:35:54 +00:00