apex-puppet-tripleo.git
8 years agoMerge "Add tunnel timeout for ui proxy container" into stable/ocata
Jenkins [Thu, 6 Apr 2017 00:20:13 +0000 (00:20 +0000)]
Merge "Add tunnel timeout for ui proxy container" into stable/ocata

8 years agoDecouple ceilometer user create from API
Pradeep Kilambi [Wed, 29 Mar 2017 19:07:36 +0000 (15:07 -0400)]
Decouple ceilometer user create from API

Ceilometer user is needed for other ceilometer services to
authenticate with keystone even when API is not present.
So the data can be dispatched to gnocchi. Lets keep these
separate so user always exists even when api is not.

Depends-On: Iffebd40752eafb1d30b5962da8b5624fb9df7d48

Closes-bug: #1677354

Change-Id: I8f4e543a7cef5e50a35a191fe20e276d518daf20
(cherry picked from commit 38e4976b7b80487e26c75ece20bab631597240a3)

8 years agoAdd tunnel timeout for ui proxy container
Dan Trainor [Fri, 31 Mar 2017 00:36:04 +0000 (20:36 -0400)]
Add tunnel timeout for ui proxy container

Add an explicit tunnel timeout configuration option to increase the
tunnel timeout for persistent socket connections from two minutes (2m)
to one hour (3600s).  A configuration was already present to apply a
tunnel timeout to the zaqar_ws endpoint, but that only applies to
connections made directly to the zaqar_ws endpoint directly.  Since UI
now uses mod_proxy to proxy WebSocket connections for Zaqar, the timeout
is now applied for the same reasons to the ui haproxy server.

Change-Id: If749dc9148ccf8f2fa12b56b6ed6740f42e65aeb
Closes-Bug: 1672826
(cherry picked from commit e8125cb3640e0fe74b8617aaf55686d5645c8f7f)

8 years agoMove horizon to step 3
Alex Schultz [Fri, 31 Mar 2017 23:41:36 +0000 (17:41 -0600)]
Move horizon to step 3

We configure apache in step 3 so horizon should be configured at the
same time or else updates will cause horizon to be unvailable during the
update process.

Change-Id: I4032f7c24edc0ff9ed637e213870cdd3beb9a54e
Closes-Bug: #1678338
(cherry picked from commit e2928717412242faa4eb15d778f1b5c0952edc08)

8 years agoCheck rabbitmq user at step >= 2
James Slagle [Wed, 22 Mar 2017 21:58:29 +0000 (17:58 -0400)]
Check rabbitmq user at step >= 2

The rabbitmq user check is moved to step >= 2 from step >= 1. There is
no gaurantee that rabbitmq is running at step 1, especially if updating
a failed stack that never made it past step 1 to begin with.

Change-Id: I029193da4c180deff3ab516bc8dc2da14c279317
Closes-Bug: #1675194
(cherry picked from commit aa9af086f05e466e88ac2a85ecc9d39f5a6d1e2f)

8 years agoMerge "Add missing include of ::ec2api::keystone::authtoken" into stable/ocata
Jenkins [Thu, 30 Mar 2017 07:26:56 +0000 (07:26 +0000)]
Merge "Add missing include of ::ec2api::keystone::authtoken" into stable/ocata

8 years agoMerge "Re-run gnocchi and ceilometer upgrade in step 5" into stable/ocata
Jenkins [Wed, 29 Mar 2017 16:32:00 +0000 (16:32 +0000)]
Merge "Re-run gnocchi and ceilometer upgrade in step 5" into stable/ocata

8 years agoAdd missing include of ::ec2api::keystone::authtoken
Sven Anderson [Mon, 27 Mar 2017 15:35:21 +0000 (17:35 +0200)]
Add missing include of ::ec2api::keystone::authtoken

Change-Id: Id933276fab16eebd72751dca136ad805547e6291
Related-Bug: #1676491
(cherry picked from commit f137661aa178a6b390976470ddec7ed77eb05cf5)

8 years agoRe-run gnocchi and ceilometer upgrade in step 5
Pradeep Kilambi [Mon, 20 Mar 2017 15:44:53 +0000 (11:44 -0400)]
Re-run gnocchi and ceilometer upgrade in step 5

Without this gnocchi resources types are not created
as they are skipped initially and the resources from
ceilometer wont make it to gnocchi.

Closes-bug: #1674421

Depends-On: I753f37e121b95813e345f200ad3f3e75ec4bd7e1

Change-Id: Ib45bf1b3e526a58f675d7555fe7bb5038dadeede
(cherry picked from commit aec471a78d46d839e98026c4cb98acb412a7b424)

8 years agoEnsure iscsi-initiator-utils installed
Alex Schultz [Thu, 23 Mar 2017 15:58:34 +0000 (09:58 -0600)]
Ensure iscsi-initiator-utils installed

We attempt to use iscsi-iname in an exec for our nova compute profile
but we do not ensure that the package providing this command is
installed. This change adds the package definition for
iscsi-initiator-utils to ensure it is installed before trying to use
iscsi-iname.

Change-Id: I1bfdb68170931fd05a09859cf8eefb50ed20915d
Closes-Bug: #1675462
(cherry picked from commit 2102a610c14d357f99a531250e676d6366559212)

8 years agoMerge "Correct haproxy's stat unix socket path" into stable/ocata
Jenkins [Sat, 25 Mar 2017 20:54:09 +0000 (20:54 +0000)]
Merge "Correct haproxy's stat unix socket path" into stable/ocata

8 years agoMerge "Explicitly configure credentials used by ironic to access other services"...
Jenkins [Sat, 25 Mar 2017 20:01:25 +0000 (20:01 +0000)]
Merge "Explicitly configure credentials used by ironic to access other services" into stable/ocata

8 years agoMerge "Fixes issues with raising mysql file limit" into stable/ocata
Jenkins [Fri, 24 Mar 2017 10:01:56 +0000 (10:01 +0000)]
Merge "Fixes issues with raising mysql file limit" into stable/ocata

8 years agoCorrect haproxy's stat unix socket path
Michele Baldessari [Wed, 8 Mar 2017 14:23:59 +0000 (15:23 +0100)]
Correct haproxy's stat unix socket path

We currently set the haproxy stat socket to /var/run/haproxy.sock.
On Centos/RHEL with selinux enabled this will break:

avc: denied { link } for pid=284010 comm="haproxy"
name="haproxy.sock" dev="tmpfs" ino=330803
scontext=system_u:system_r:haproxy_t:s0
tcontext=system_u:object_r:var_run_t:s0 tclass=sock_file

The blessed/correctly-labeled path is /var/lib/haproxy/stats

Note: I am setting only Partial-Bug because I would still like
to make this a parameter so other distros may just override the path.
But that change is more apt for pike and not for ocata.

Change-Id: I62aab6fb188a9103f1586edac1c2aa7949fdb08c
Patial-Bug: #1671119
(cherry picked from commit 5f8607711bb85150bb9631559f0538254ba5c5cc)

8 years agopanko: Do db_sync in api manifest
Juan Antonio Osorio Robles [Fri, 10 Mar 2017 09:44:56 +0000 (11:44 +0200)]
panko: Do db_sync in api manifest

The db_sync from panko comes from the panko-api package; So we move the
db_sync to be done in the api manifest as it's done for other services
such as barbican.

This is necessary since in cases where the overcloud deploy requires
puppet to do the installations, with the previous setup it failed since
the command wasn't available in the step it was being done.

Change-Id: I20a549cbaa2ee4b2c762dbae97f5cbf4d0b517c8
Closes-Bug: #1671716
(cherry picked from commit d73c2630b534b277122db68620be8923c4d3a6b4)

8 years agoExplicitly configure credentials used by ironic to access other services
Dmitry Tantsur [Wed, 15 Mar 2017 15:58:23 +0000 (16:58 +0100)]
Explicitly configure credentials used by ironic to access other services

Using keystone_authtoken credentials for this purpose is deprecated, and also
prevents ironic-conductor from being used as a separate role.

As a side effect, this change makes it possible to potentially enable
ironic-inspector support in the future (it's not enabled yet).

Change-Id: I21180678bec911f1be36e3b174bae81af042938c
Partial-Bug: #1661250
(cherry picked from commit ffe6ae2c24f82df620df14ee4be8bd292cb95075)

8 years agoFixes issues with raising mysql file limit
Tim Rozet [Thu, 9 Mar 2017 17:04:10 +0000 (12:04 -0500)]
Fixes issues with raising mysql file limit

Changes Include:
 - Adds spec testing
 - Only raise limits if nonha.  puppet-systemd will restart the mariadb
   service which breaks ha deployments.  Hence we only want to do this
   in noha.
 - Minor fix to hiera value refrenced not as parameter to mysql.pp

Partial-Bug: #1648181
Related-Bug: #1524809

Co-Authored By: Feng Pan <fpan@redhat.com>

Change-Id: Id063bf4b4ac229181b01f40965811cb8ac4230d5
Signed-off-by: Tim Rozet <trozet@redhat.com>
Signed-off-by: Feng Pan <fpan@redhat.com>
(cherry picked from commit c9acf8a687ea64686c1ecceeff45add014752121)

8 years agoAdd bindep support
Paul Belanger [Mon, 13 Mar 2017 16:00:34 +0000 (12:00 -0400)]
Add bindep support

Bindep is an automation tool used by openstack-infra to bootstrap a
worker with default packages. Something not needed for puppet jobs.

Change-Id: I6b4784c233a2abad01da3408f131af2c89586868
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
(cherry picked from commit cc3d236ce409041d606d717a61d098d39185b70d)

8 years agoThrow warnings for norpm actions
Alex Schultz [Fri, 3 Mar 2017 16:21:59 +0000 (09:21 -0700)]
Throw warnings for norpm actions

If the norpm provider attempts to do any install/update/remove actions,
we should throw a warning in the logs so people are aware that the
action did not actually take place.

Change-Id: Ieee5cac3412c709ba6b39316e455d7708cc9d22e
Closes-Bug: #1669666
(cherry picked from commit 2be36167fd223d95a71d557afa9d26bf950e21c8)

8 years agoStop the chronyd service
Alex Schultz [Mon, 6 Mar 2017 17:02:16 +0000 (10:02 -0700)]
Stop the chronyd service

Since the norpm provider can prevent the chronyd package from actually
getting purged, we need to make sure the chronyd service is stopped and
disabled so that it does not conflict with ntpd.

Change-Id: I7a697aba7aa5a27ba4ab6e46018057f7f01dfab2
Closes-Bug: #1665426
(cherry picked from commit 37ba3a8db5e38955469e8bc9158388379d64abc8)

8 years agoMerge "mariadb: Move generation of systemd drop-in to puppet-tripleo" into stable...
Jenkins [Tue, 7 Mar 2017 03:39:31 +0000 (03:39 +0000)]
Merge "mariadb: Move generation of systemd drop-in to puppet-tripleo" into stable/ocata

8 years agomariadb: Move generation of systemd drop-in to puppet-tripleo
Damien Ciabrini [Wed, 7 Dec 2016 18:09:06 +0000 (19:09 +0100)]
mariadb: Move generation of systemd drop-in to puppet-tripleo

Systemd starts mariadb as user mysql, so in order to allow a large
number of connections (e.g. max_connections=4096) it is necessary to
raise the file descriptor limit via a system drop-in file.

When installing an undercloud, such drop-in file is currently
generated by instack-undercloud (in file puppet-stack-config.pp). But
non-HA overcloud also need such drop-in to be generated.

In order to avoid duplicating code, the drop-in creation code should
be provided by puppet-tripleo. By default, no drop-in is generated;
it has to be enabled by instack-undercloud or tripleo-heat-template
once they will use it (resp. to create undercloud or non-HA overcloud).

This patch does not aim at generating a dynamic file limit based on
the number of connections, this should land in another dedicated
patch.  Instead, it just reuses the limit currently set for undercloud
and HA-overclouds.

Also, the generation of the drop-in does not force a mysql restart
like it currently does in instack-undercloud, to avoid unexpected
service disruption on a non-HA overcloud after a minor update.

Co-Authored-By: Tim Rozet <trozet@redhat.com>
Depends-On: I7ca7b5f7614971455cae2bf7c4bf8264b642b0dc

Change-Id: Ia0907b2ab6062a93fb9363e39c86535a490fbaf6
Partial-Bug: #1648181
Related-Bug: #1524809
(cherry picked from commit 09665170f6d0f4536a48dd4d1444e07aa064bed7)

8 years agoDefault neutron dhcp_agents_per_network to number of agents
Brent Eagles [Fri, 24 Feb 2017 15:22:11 +0000 (11:52 -0330)]
Default neutron dhcp_agents_per_network to number of agents

This patch will set neutron's dhcp_agents_per_network equal to the
number of deployed neutron DHCP agents unless otherwise explicitly set.

Conflicts:
manifests/profile/base/neutron.pp

Note: spec/classes/tripleo_profile_base_neutron_spec.rb removed from
backport as it required defining the neutron class as a precondition to
satisfy a requirement for a rabbit password. This leads to a duplicate
definition.

Partial-bug: #1632721
Change-Id: I5533e42c5ba9f72cc70d80489a07e30ee2341198
(cherry picked from commit 52a68ffc8f060e1961458a524e5861cea02d1c1c)

8 years agoPrepare 6.3.0 - Ocata RC2
Emilien Macchi [Sat, 25 Feb 2017 14:52:08 +0000 (09:52 -0500)]
Prepare 6.3.0 - Ocata RC2

Change-Id: I38a6bff942321d545de8abab073feae36f58cb06

8 years agoMerge "Create /etc/my.cnf.d/tripleo.cnf with proper bind-address" into stable/ocata
Jenkins [Wed, 22 Feb 2017 19:34:03 +0000 (19:34 +0000)]
Merge "Create /etc/my.cnf.d/tripleo.cnf with proper bind-address" into stable/ocata

8 years agoStop accidentally removing docker-distribution
Jiri Stransky [Tue, 21 Feb 2017 12:54:06 +0000 (13:54 +0100)]
Stop accidentally removing docker-distribution

By default Puppet does virtual package matching if precise name matching
fails. Docker-distribution RPM "provides" docker-registry:

bash-4.2# rpm -q --whatprovides docker-registry
docker-distribution-2.5.1-1.el7.x86_64

This means that when we wanted to make docker-registry package absent,
we were actually removing docker-distribution instead. This is now fixed
by allow_virtual => false. Only name matching is performed.

Change-Id: I1f93b404085f0bc2b6c063f573c801db6409c0bb
Closes-Bug: #1666459
(cherry picked from commit d12c004bc9c630c756a6b0df351916b9e04b9778)

8 years agoCreate /etc/my.cnf.d/tripleo.cnf with proper bind-address
Michele Baldessari [Thu, 9 Feb 2017 09:53:06 +0000 (10:53 +0100)]
Create /etc/my.cnf.d/tripleo.cnf with proper bind-address

When fixing LP#1643487 we added ?bind_address to all DB URIs.
Since this clashes with Cellsv2 due to the URIs becoming host
dependent, we need a new approach to pass bind_address to pymysql
that leaves the DB URIs host-independent.

We first create a /etc/my.cnf.d/tripleo.cnf file with a [tripleo]
section and in this section we add the correct bind-address option.
Note that we use the puppet augeas lens and not the mysql one
because the mysql one does not support custom sections *and* there
are older versions around which do not like the /etc/my.cnf.d/* path.

The reason for not reusing an existing mariadb file (my.cnf or
galera.cnf) is that pymysql's ini file support is not robust
enough at the moment: https://github.com/PyMySQL/PyMySQL/issues/548

The reason for putting this file creation code only on the controller
nodes the following: The slow VIP failover only happens if a
service runs where the VIPs exist. The VIPs get created in the
haproxy profile and that is why in order to have fast VIP failovers
the MySQLClient profile must live where the Haproxy service is running.

Co-Authored-By: Damien Ciabrini <dciabrin@redhat.com>
Partial-Bug: #1663181
Change-Id: Iff8bd2d9ee85f7bb1445aa2e1b3cfbff1f397b18
(cherry picked from commit f6116ff0f350aeecdaa346e4e49d208be49ce6b9)

8 years agoEnable languages in UI config
Julie Pichon [Fri, 10 Feb 2017 14:30:26 +0000 (14:30 +0000)]
Enable languages in UI config

Which language options to offer to the UI users is determined in the
configuration file. Let's show all possible languages by default,
unless specified otherwise.

Change-Id: I513303bf82dca53e2291ab66f2385a2985a1846e
Related-Bug: #1663279
(cherry picked from commit 053ee06787539f6da07985968d6c3b0194e56008)

8 years agoAdd virtual_packages support to norpm provider
Alex Schultz [Thu, 16 Feb 2017 16:53:55 +0000 (09:53 -0700)]
Add virtual_packages support to norpm provider

The norpm provider is supposed to noop package installs/updates but if a
package name in puppet does not match the installed package, it is being
reported as not installed.  The provider then 'installs' it every time
which can trigger unwanted service restarts.

Change-Id: Icdfa6567168f9ecc555489ed67405f98544bd910
Closes-Bug: #1665405
(cherry picked from commit 525a2c379ba2e2433217af2aa78018dfd8cb0b44)

8 years agoUpdate .gitreview for stable/ocata
OpenStack Release Bot [Thu, 16 Feb 2017 12:59:09 +0000 (12:59 +0000)]
Update .gitreview for stable/ocata

Change-Id: I875c39b838dcb4e99df66bacc190647367836dc7

8 years agoMerge "tuning: manage keystone resources only at step3"
Jenkins [Thu, 16 Feb 2017 01:11:42 +0000 (01:11 +0000)]
Merge "tuning: manage keystone resources only at step3"

8 years agoAdd missing release notes for Ocata RC1
Emilien Macchi [Wed, 15 Feb 2017 15:53:36 +0000 (10:53 -0500)]
Add missing release notes for Ocata RC1

Change-Id: I95f7b57a6cb0811af324996bd00580732503ed28

8 years agoMerge "Make quotes consistent to match the sample config"
Jenkins [Wed, 15 Feb 2017 00:15:21 +0000 (00:15 +0000)]
Merge "Make quotes consistent to match the sample config"

8 years agotuning: manage keystone resources only at step3
Emilien Macchi [Tue, 14 Feb 2017 22:17:39 +0000 (17:17 -0500)]
tuning: manage keystone resources only at step3

1. Manage Keystone resources only at step 3. Don't verify them
   at step 4 and 5, it's a huge loss of time.
2. Don't require Keystone resources for Gnocchi services, they are
   already ready at Step 5.

Related-Bug: #1664418
Change-Id: I9879718a1a86b862e5eb97e6f938533c96c9f5c8

8 years agoMake quotes consistent to match the sample config
MikeG451 [Fri, 10 Feb 2017 17:50:26 +0000 (17:50 +0000)]
Make quotes consistent to match the sample config

Per project conventions, should use single quotes.
Also, update comments and defaults to match sample.

Change-Id: I82ddcec230e7a03965d753db60968912b8d7da5c
Closes-Bug: #1663624

8 years agoMerge "Add ::ironic::config to Ironic base profile"
Jenkins [Tue, 14 Feb 2017 07:42:29 +0000 (07:42 +0000)]
Merge "Add ::ironic::config to Ironic base profile"

8 years agoMerge "nova: move placement credentials config at step 3"
Jenkins [Mon, 13 Feb 2017 20:22:17 +0000 (20:22 +0000)]
Merge "nova: move placement credentials config at step 3"

8 years agonova: move placement credentials config at step 3
Emilien Macchi [Sat, 11 Feb 2017 02:17:16 +0000 (21:17 -0500)]
nova: move placement credentials config at step 3

nova placement credentials in nova.conf need to be configured at step 3
so Nova services can use them as soon as they start.

Change-Id: I0abdd305b7e6c8d83f23e25b3872e98eb56dd299

8 years agoUncomment internal TLS options for placement API
Juan Antonio Osorio Robles [Mon, 13 Feb 2017 09:22:57 +0000 (11:22 +0200)]
Uncomment internal TLS options for placement API

Placement API is still running over wsgi which can run with TLS on the
internal network; These options were commented from haproxy and doing
this breaks the TLS-everywhere setup.

Change-Id: I1194f1f487cdcf45541c0d139806aa3dc4456d6e

8 years agoMerge "Add support to changing the Rabbitmq password on update"
Jenkins [Sun, 12 Feb 2017 19:01:23 +0000 (19:01 +0000)]
Merge "Add support to changing the Rabbitmq password on update"

8 years agoMerge "nova/api: more cleanup"
Jenkins [Sat, 11 Feb 2017 02:50:15 +0000 (02:50 +0000)]
Merge "nova/api: more cleanup"

8 years agoMerge "Add module to support ScaleIO backend in Cinder"
Jenkins [Fri, 10 Feb 2017 21:56:56 +0000 (21:56 +0000)]
Merge "Add module to support ScaleIO backend in Cinder"

8 years agoMerge "Rebranding of Eqlx to Dell EMC PS Series"
Jenkins [Fri, 10 Feb 2017 17:21:37 +0000 (17:21 +0000)]
Merge "Rebranding of Eqlx to Dell EMC PS Series"

8 years agoMerge "Run nova-cell_v2-discover_hosts at step 5"
Jenkins [Fri, 10 Feb 2017 14:40:59 +0000 (14:40 +0000)]
Merge "Run nova-cell_v2-discover_hosts at step 5"

8 years agonova/api: more cleanup
Emilien Macchi [Fri, 3 Feb 2017 20:53:20 +0000 (15:53 -0500)]
nova/api: more cleanup

- transform nova_api_wsgi_enabled in a parameter
- update rspec tests
- fix TLS to run at step 1

Change-Id: I4d3f9c92f0717ae8c3bc8d71065fab281de82008

8 years agoRun nova-cell_v2-discover_hosts at step 5
Emilien Macchi [Thu, 9 Feb 2017 19:34:13 +0000 (14:34 -0500)]
Run nova-cell_v2-discover_hosts at step 5

We need to run nova-cell_v2-discover_hosts at the very end of the
deployment because nova database needs to be aware of all registred
compute hosts.

1. Move keystone resources management at step 3.
2. Move nova-compute service at step 4.
3. Move nova-placement-api at step 3.
5. Run nova-cell_v2-discover_hosts at step 5 on one nova-api node.
6. Run neutron-ovs-agent at step 5 to avoid racy deployments where
   it starts before neutron-server when doing HA deployments.

With that change, we expect Nova aware of all compute services deployed
in TripleO during an initial deployment.

Depends-On: If943157b2b4afeb640919e77ef0214518e13ee15
Change-Id: I6f2df2a83a248fb5dc21c2bd56029eb45b66ceae
Related-Bug: #1663273
Related-Bug: #1663458

8 years agoMerge "nova: disable API in WSGI by default"
Jenkins [Thu, 9 Feb 2017 21:17:54 +0000 (21:17 +0000)]
Merge "nova: disable API in WSGI by default"

8 years agoAdd module to support ScaleIO backend in Cinder
Giulio Fidente [Tue, 7 Feb 2017 14:44:04 +0000 (15:44 +0100)]
Add module to support ScaleIO backend in Cinder

Also adds an initial spec file for basic testing of the module.

Change-Id: I5534aab53b70de215336a076d25263c73b8d7b5b
Partial-Bug: #1661316

8 years agoRebranding of Eqlx to Dell EMC PS Series
rajinir [Tue, 7 Feb 2017 16:02:54 +0000 (10:02 -0600)]
Rebranding of Eqlx to Dell EMC PS Series

This changes rebrands Dell Eqlx to Dell PS series
and matches the tripleo-heat-templates.

Change-Id: I3536147a06b426ace18cf415e99361c47b4cf5d9

8 years agostart nova-compute when keystone resources are created
Emilien Macchi [Thu, 9 Feb 2017 15:30:54 +0000 (10:30 -0500)]
start nova-compute when keystone resources are created

1. Move keystone resources management at step 4.
2. Move nova-compute startup at step 5.

That way, we make sure nova-compute will start when all Keystone
resources are ready.

Change-Id: I6e153e11b8519254d2a67b9142bf774a25bce69d
Closes-Bug: #1663273

8 years agonova: disable API in WSGI by default
Emilien Macchi [Fri, 3 Feb 2017 16:36:00 +0000 (11:36 -0500)]
nova: disable API in WSGI by default

Cleanup patch once the THT patch is merged.

Change-Id: Iba439a4758a4728197d7620b764a4f0f2648ee0f
Depends-On: I09b73476762593642a0e011f83f0233de68f2c33

8 years agoDisable midonet unit tests
Emilien Macchi [Wed, 8 Feb 2017 23:05:06 +0000 (18:05 -0500)]
Disable midonet unit tests

'https://github.com/midonet/puppet-midonet' doesn't exist anymore, we
need to migrate to 'https://github.com/openstack/puppet-midonet' but
tests will fail.

We need to work with Midokura to get them fixed. In the meantime, let's
disable it.

Change-Id: Id39bc5a8cd229df3e9b597a0a0f3eada838f4953

8 years agoMerge "Proxy API endpoints that UI uses"
Jenkins [Tue, 7 Feb 2017 05:16:34 +0000 (05:16 +0000)]
Merge "Proxy API endpoints that UI uses"

8 years agoMerge "nova/libvirt: switch vnc server binding"
Jenkins [Mon, 6 Feb 2017 22:49:51 +0000 (22:49 +0000)]
Merge "nova/libvirt: switch vnc server binding"

8 years agonova/libvirt: switch vnc server binding
Emilien Macchi [Tue, 31 Jan 2017 18:20:51 +0000 (13:20 -0500)]
nova/libvirt: switch vnc server binding

On compute nodes, instead of binding vnc server on 0.0.0.0, use the IP
address provided by libvirt's t-h-t profile (hiera).

Co-Authored-By: Juan Antonio Osorio Robles <jaosorior@redhat.com>
Depends-On: Ie377c09734e9f6170daa519aed69c53fc67c366b
Change-Id: If6b116b238a52144aad5e76c9edc7df6aa15313c
Closes-Bug: #1660099

8 years agoStop deploying Nova API in WSGI with Apache
Emilien Macchi [Fri, 3 Feb 2017 15:40:41 +0000 (10:40 -0500)]
Stop deploying Nova API in WSGI with Apache

It was suggested by Nova team to not deploying Nova API in WSGI with
Apache in production.
It's causing some issues that we didn't catch until now (see in the bug
report). Until we figure out what was wrong, let's disable it so we can
move forward in the upgrade process.

Related-Bug: 1661360

Co-Authored-By: Juan Antonio Osorio Robles <jaosorior@redhat.com>
Change-Id: Ia87b5bdea79e500ed41c30beb9aa9d6be302e3ac

8 years agoMerge "Revert "Revert "set innodb_file_per_table to ON for MySQL / Galera"""
Jenkins [Mon, 6 Feb 2017 01:41:40 +0000 (01:41 +0000)]
Merge "Revert "Revert "set innodb_file_per_table to ON for MySQL / Galera"""

8 years agoAdd ::ironic::config to Ironic base profile
Dan Prince [Sat, 4 Feb 2017 18:57:03 +0000 (13:57 -0500)]
Add ::ironic::config to Ironic base profile

I have ExtraConfig settings that need to be set in
ironic.conf. Adding the ::ironic::config module
to our base Ironic profile should allow users to
customize Ironic if needed.

Change-Id: I93e9b3b5d4def1d8fa42b77b611b7d9d6cb7963b

8 years agoProxy API endpoints that UI uses
Dan Trainor [Tue, 24 Jan 2017 23:51:08 +0000 (16:51 -0700)]
Proxy API endpoints that UI uses

Add support to enable the UI to use paths via mod_proxy to access API
endpoints instead of connecting to each endpoint directly on a port
other than where the UI is served from.  This is necessary to prevent
certificate acceptance errors from non-Chrome browsers which take
exception to connections made to other ports on the same hostname, using
one SSL certificate.

This change extends the UI's Apache configuration to create one
mod_proxy location for each of the API endpoints that UI calls upon.
These mod_proxy (using ProxyPass, ProxyPassReverse) endpoints are
configured using new heira variables provided in the dependent commit.

Additionally, this change modifies the default UI configuration file to
include endpoint URLs formatted to use the new endpoint paths that are
created.

Removed puppet variables which were previously used to generate the
contents of the tripleo_ui_config.js template, since they are no longer
used to generate this file, replaced with the new endpoint URLs
formatted to use the new endpoint paths that are created.

Change-Id: I55e375ad462fa98e181277ec0bd88658e620e8ad
Implements: blueprint proxy-undercloud-api-services
Depends-On: Ib20f4b0891563ae90ec80675635a64c39bd2fdb7

8 years agoRevert "Revert "set innodb_file_per_table to ON for MySQL / Galera""
Alex Schultz [Fri, 3 Feb 2017 18:18:42 +0000 (18:18 +0000)]
Revert "Revert "set innodb_file_per_table to ON for MySQL / Galera""

This reverts commit 3f7e74ab24bb43f9ad7e24e0efd4206ac6a3dd4e.

After identifying how to workaround the performance issues on the
undercloud, let's put this back in. Enabling innodb_file_per_table is
important for operators to be able to better manage their databases.

Change-Id: I435de381a0f0e3ef221e498f442335cdce3fb818
Depends-On: I77507c638237072e38d9888aff3da884aeff0b59
Closes-Bug: #1660722

8 years agoAdd support to changing the Rabbitmq password on update
Saravanan KR [Thu, 24 Nov 2016 14:05:59 +0000 (19:35 +0530)]
Add support to changing the Rabbitmq password on update

Rabbitmq Password is set on the fresh deployment, but during
update, if the password is changed, it is modified in all config
files including rabbitmq config. But the rabbitmq connection fails
because the new password is not successful applied to rabbitmq.
Setting the rabbitmq_user will invoke 'rabbitmqctl change_password'.

Scenario: The password change is applied on Step1 when configuring
Rabbitmq. Other services may be updated on different Steps. Till
other services config is updated with new rabbitmq password, and
restarted, the connections will get Access Denied response. It has
cyclic dependency. So the passwords will be changes at Step1 and
once all services are updated, the connections will work as is.

Partial-Bug: #1611704
Change-Id: I44865af3d5eb2d37eb648ac7227277e86c8fbc54

8 years agoMerge "Use transport_url for rabbitmq connection parameters in heat"
Jenkins [Fri, 3 Feb 2017 01:03:24 +0000 (01:03 +0000)]
Merge "Use transport_url for rabbitmq connection parameters in heat"

8 years agoMerge "Add initial profiles for rest of Octavia services"
Jenkins [Fri, 3 Feb 2017 01:02:55 +0000 (01:02 +0000)]
Merge "Add initial profiles for rest of Octavia services"

8 years agoMerge "add cache to object-expirer pipeline"
Jenkins [Fri, 3 Feb 2017 01:01:08 +0000 (01:01 +0000)]
Merge "add cache to object-expirer pipeline"

8 years agoMerge "Delete the unnecessary word in numvfs_persistence.pp"
Jenkins [Fri, 3 Feb 2017 01:00:09 +0000 (01:00 +0000)]
Merge "Delete the unnecessary word in numvfs_persistence.pp"

8 years agoMerge "Fix style nits in contrail manifests"
Jenkins [Fri, 3 Feb 2017 00:58:51 +0000 (00:58 +0000)]
Merge "Fix style nits in contrail manifests"

8 years agoRevert "set innodb_file_per_table to ON for MySQL / Galera"
Alex Schultz [Thu, 2 Feb 2017 21:29:32 +0000 (21:29 +0000)]
Revert "set innodb_file_per_table to ON for MySQL / Galera"

This reverts commit 621ea892a299d2029348db2b56fea1338bd41c48.

We're getting performance problems on SATA disks.

Change-Id: I30312fd5ca3405694d57e6a4ff98b490de388b92
Closes-Bug: #1661396
Related-Bug: #1660722

8 years agoPrepare 6.2.0 release
Emilien Macchi [Thu, 2 Feb 2017 20:21:43 +0000 (15:21 -0500)]
Prepare 6.2.0 release

6.2.0 will be Ocata RC1.

Change-Id: Ie26ab89ea9c90f6c5d01697459855fd8c32b075f

8 years agoMerge "set innodb_file_per_table to ON for MySQL / Galera"
Jenkins [Thu, 2 Feb 2017 04:17:53 +0000 (04:17 +0000)]
Merge "set innodb_file_per_table to ON for MySQL / Galera"

8 years agoset innodb_file_per_table to ON for MySQL / Galera
Mike Bayer [Tue, 31 Jan 2017 17:13:29 +0000 (12:13 -0500)]
set innodb_file_per_table to ON for MySQL / Galera

InnoDB uses a single file by default which can grow to be
tens/hundreds of gigabytes, and is not shrinkable even
if data is deleted from the database.

Best practices are that innodb_file_per_table is set to ON
which instead stores each database table in its own file, each of
which is also shrinkable by the InnoDB engine.

Closes-Bug: #1660722
Change-Id: I59ee53f6462a2eeddad72b1d75c77a69322d5de4

8 years agoFix style nits in contrail manifests
Carlos Camacho [Wed, 1 Feb 2017 20:10:21 +0000 (21:10 +0100)]
Fix style nits in contrail manifests

There are some style nits in the recently merged contrail puppet manifests.

Change-Id: Ice5935105e0323cb55e0d018190e6471ade7324a

8 years agoUse transport_url for swift-proxy instead of rabbitmq params
Juan Antonio Osorio Robles [Mon, 30 Jan 2017 18:39:47 +0000 (20:39 +0200)]
Use transport_url for swift-proxy instead of rabbitmq params

These parameters are being deprecated, so we should be using the
transport_url format instead.

Change-Id: I8b7457b6233c4f88af2d7bc1b9304fcccb6edf61

8 years agoMerge "Re-organizes Contrail services to the correct roles"
Jenkins [Tue, 31 Jan 2017 22:45:13 +0000 (22:45 +0000)]
Merge "Re-organizes Contrail services to the correct roles"

8 years agoFix test failure caused by change to puppet-octavia
Brent Eagles [Tue, 31 Jan 2017 19:28:53 +0000 (15:58 -0330)]
Fix test failure caused by change to puppet-octavia

Fixes a test failure caused by Ic38d4f9f9a8e69ffcee6ccc4bba9a9ab0f161d0e
which pulls in a class with a required parameter.

Change-Id: I0740290bff0ea7c4af6e3420775ac3e72871d372

8 years agoMerge "Fix MySQL service name parameter"
Jenkins [Fri, 27 Jan 2017 23:49:58 +0000 (23:49 +0000)]
Merge "Fix MySQL service name parameter"

8 years agoMerge "Add a default rule for dhcpv6 traffic"
Jenkins [Fri, 27 Jan 2017 20:32:03 +0000 (20:32 +0000)]
Merge "Add a default rule for dhcpv6 traffic"

8 years agoMerge "Clean TLS proxy-related setup for neutron-server profile"
Jenkins [Fri, 27 Jan 2017 19:23:24 +0000 (19:23 +0000)]
Merge "Clean TLS proxy-related setup for neutron-server profile"

8 years agoFix MySQL service name parameter
Juan Antonio Osorio Robles [Fri, 27 Jan 2017 19:03:20 +0000 (21:03 +0200)]
Fix MySQL service name parameter

This was wrongly set to service_name while it should have been
server_service_name.

Change-Id: Ia802857cc585bb9b057a02f6a13c16981baa5b76

8 years agoMerge "Rename controller_admin_vip to controller_admin_host"
Jenkins [Fri, 27 Jan 2017 18:59:25 +0000 (18:59 +0000)]
Merge "Rename controller_admin_vip to controller_admin_host"

8 years agoMerge "Add AuditD Profile"
Jenkins [Fri, 27 Jan 2017 16:37:38 +0000 (16:37 +0000)]
Merge "Add AuditD Profile"

8 years agoClean TLS proxy-related setup for neutron-server profile
Juan Antonio Osorio Robles [Wed, 25 Jan 2017 17:47:19 +0000 (19:47 +0200)]
Clean TLS proxy-related setup for neutron-server profile

Since the commit this depends on sets it up via hieradata, the
conditionals here are no longer needed.

bp tls-via-certmonger
Depends-On: I9252512dbf9cf2e3eec50c41bf10629d36070bbd

Change-Id: I37275e42763e103b81878b6af07c750a524c5697

8 years agonova: deploy basic setup for cells
Emilien Macchi [Thu, 26 Jan 2017 19:13:20 +0000 (14:13 -0500)]
nova: deploy basic setup for cells

it's not required in Ocata, let's configure the basic setup for cells.

note: it also cleanup old code that is not valid anymore.

Change-Id: Iac5b2fbe1b03ec7ad4cb8cab2c7694547be6957d

8 years agoRe-organizes Contrail services to the correct roles
Michael Henkel [Thu, 26 Jan 2017 23:36:54 +0000 (00:36 +0100)]
Re-organizes Contrail services to the correct roles

In current setup some Contrail services belong to the wrong roles.
The Contrail control plane can be impacted if the Analytics database has problems.
Furthermore contrail tripleo puppet modules are being refactored to conform to the
new interface of the puppet-contrail modules.

Closes-Bug: 1659560

Change-Id: Id0dd35b95c5fe9d0fcc1e16c4b7d6cc601f10818

8 years agoAdd AuditD Profile
Steven Hardy [Wed, 18 Jan 2017 12:25:25 +0000 (12:25 +0000)]
Add AuditD Profile

This patch allows the management of the AuditD service and its associated
files (such as `audit.rules`)

This is achieved by means of the `puppet-auditd` puppet module.

Closes-Bug: #1640302
Co-Authored-By: Luke Hinds (lhinds@redhat.com)
Change-Id: Ie31c063b674075e35e1bfa28d1fc07f3f897407b

8 years agoAdd a default rule for dhcpv6 traffic
Michele Baldessari [Fri, 27 Jan 2017 09:54:28 +0000 (10:54 +0100)]
Add a default rule for dhcpv6 traffic

Via bug https://bugs.launchpad.net/tripleo/+bug/1657108 we need
to zero out the default rules in /etc/sysconfig/ip{6}tables in
the image.
We have done this for ipv4, but when we will do it for ipv6 we
will also need to make sure we add a rule for dhcpv6 traffic
as it is shipped in the iptables rpm. (See
https://bugzilla.redhat.com/show_bug.cgi?id=1169036 for more info)

With this change we correctly get the rule present (aka the first
ACCEPT line. The second line is due to the stock ip6tables rule
I had in my testing):
[root@overcloud-controller-0 ~]# iptables -nvL |grep 546
[root@overcloud-controller-0 ~]# ip6tables -nvL |grep 546
    0     0 ACCEPT     udp      *      *       ::/0 fe80::/64 multiport dports 546 /* 004 accept ipv6 dhcpv6 ipv6 */ state NEW
    0     0 ACCEPT     udp      *      *       ::/0 fe80::/64 udp dpt:546 state NEW

Change-Id: If22080054b2b1fa7acfd101e8c34d2707e8e7864
Partial-Bug: #1657108

8 years agoMerge "horizon: be more flexible in hiera neutron"
Jenkins [Fri, 27 Jan 2017 04:51:38 +0000 (04:51 +0000)]
Merge "horizon: be more flexible in hiera neutron"

8 years agoMerge "Use TLS proxy for neutron server's internal TLS"
Jenkins [Fri, 27 Jan 2017 01:07:11 +0000 (01:07 +0000)]
Merge "Use TLS proxy for neutron server's internal TLS"

8 years agoMerge "Support composable HA for the Ceph rbdmirror daemon"
Jenkins [Thu, 26 Jan 2017 23:09:55 +0000 (23:09 +0000)]
Merge "Support composable HA for the Ceph rbdmirror daemon"

8 years agoMerge "Adding congress service"
Jenkins [Thu, 26 Jan 2017 22:25:47 +0000 (22:25 +0000)]
Merge "Adding congress service"

8 years agohorizon: be more flexible in hiera neutron
Emilien Macchi [Thu, 26 Jan 2017 21:45:55 +0000 (16:45 -0500)]
horizon: be more flexible in hiera neutron

Requiring the neutron mechanism driver from hiera is too rigid, if
Neutron is not deployed in the catalog.
Be more flexible so catalog won't fail if the value is not set in Hiera.

Change-Id: I1475687c4dc53c77e763f42a440355a7c8d014bc
Partial-Bug: #1659662

8 years agoSupport composable HA for the Ceph rbdmirror daemon
Giulio Fidente [Tue, 24 Jan 2017 10:39:40 +0000 (11:39 +0100)]
Support composable HA for the Ceph rbdmirror daemon

Follow up patch for I63da4f48da14534fd76265764569e76300534472
to support composable HA for the Ceph rbdmirror daemon.

Change-Id: I3767bee4b1c7849fa85e71bcc57534b393d2d415

8 years agoUse TLS proxy for neutron server's internal TLS
Juan Antonio Osorio Robles [Wed, 25 Jan 2017 16:22:16 +0000 (18:22 +0200)]
Use TLS proxy for neutron server's internal TLS

This uses the tls_proxy resource added in a previous commit [1] in
front of the neutron server when internal TLS is enabled. Right
now values are passed quite manually, but a subsequent commit will use
t-h-t to pass the appropriate hieradata, and then we'll be able to
clean it up from here.

Note that the proxy is only deployed when internal TLS is enabled.

[1] I82243fd3acfe4f23aab373116b78e1daf9d08467

bp tls-via-certmonger

Change-Id: I6dfbf49f45aef9f47e58b5c0dbedd2b4e239979e

8 years agoMerge "Ensure basic Ceph configuration is performed by RBD mirror"
Jenkins [Thu, 26 Jan 2017 13:42:23 +0000 (13:42 +0000)]
Merge "Ensure basic Ceph configuration is performed by RBD mirror"

8 years agoMerge "[keepalived] fix netmask for vip"
Jenkins [Thu, 26 Jan 2017 13:33:45 +0000 (13:33 +0000)]
Merge "[keepalived] fix netmask for vip"

8 years agoAdding congress service
Dan Radez [Thu, 22 Dec 2016 03:13:11 +0000 (22:13 -0500)]
Adding congress service

Change-Id: Ic74ccd5fa7b3b04ca810416e5160463252f17474
Signed-off-by: Dan Radez <dradez@redhat.com>
8 years agoUse transport_url for rabbitmq connection parameters in heat
Carlos Camacho [Tue, 13 Dec 2016 17:27:40 +0000 (18:27 +0100)]
Use transport_url for rabbitmq connection parameters in heat

Depends-On: I91b9959a6f71b4e6885e55a568116cc28cf16ddd

Change-Id: I1a152dd0a7e7949ee8d91a6f63425dba2406fcaf

8 years agoRename controller_admin_vip to controller_admin_host
Martin André [Wed, 25 Jan 2017 17:12:23 +0000 (18:12 +0100)]
Rename controller_admin_vip to controller_admin_host

Bring change of I53151d4f555d5d161a3e53ce5f022e3bf3b2ffbd into
puppet-tripleo.

Change-Id: I1227956a0389497eedc00e4ec817f52be608dc75
Related-Bug: #1643655

8 years agoMerge "Adding tacker service"
Jenkins [Wed, 25 Jan 2017 23:13:15 +0000 (23:13 +0000)]
Merge "Adding tacker service"

8 years agoMerge "Composable HA"
Jenkins [Wed, 25 Jan 2017 23:04:41 +0000 (23:04 +0000)]
Merge "Composable HA"

8 years agoMerge "Remove double include of neutron::server class"
Jenkins [Wed, 25 Jan 2017 22:58:01 +0000 (22:58 +0000)]
Merge "Remove double include of neutron::server class"