40 Commits

Author SHA1 Message Date
Zuul
b71d9cb8c4 Merge "Remove fluentd manifests" 2020-04-29 10:20:10 +00:00
Takashi Kajinami
e3a56f6af2 Remove support for Sensu/Uchiwa
... because it was relady removed from tripleo-heat-templates.

Depends-on: https://review.opendev.org/#/c/684614/
Change-Id: I38b2f325477540e86fe98ed075ac75a0988eeec3
2020-04-21 10:54:59 +09:00
Takashi Kajinami
2527249caf Remove fluentd manifests
We don't need these implementations anymore because fluentd support was
already removed from tripleo-heat-templates.

Depends-on: https://review.opendev.org/#/c/668851/
Change-Id: If8bca34b9893fc49f598e8c86cd45bc55848363f
2020-04-21 09:04:39 +09:00
Takashi Kajinami
1ca336329b Update metadata to support el8 instead of el7 again
This patch again updates metadata to support el8 instead of el7, which
was initially merged[1] but reverted because of failures in unit tests
caused by old puppet modules installed as dependencies.

This patch removes version cap for puppet-etcd and puppet-redis, so
that we can use their lastet verions compatible with el8.

[1] ff22e7c2687bc8f67d6769c32b235257ac0f8e5f

Related-Bug: #1872562
Change-Id: I3924d35fae48accb57186c1c5c0a3192bacccda6
2020-04-19 23:22:29 +00:00
Takashi Kajinami
474d20438a Remove OpenDaylight support
... because OpenDaylight tempmates and environemtns were alredy removed
in tripleo-heat-teampltes[1].

[1] 9c3638b8a13ea08a1bab95c9cd6ab335b729b6b3

Change-Id: I0204b6985de71441e0f63f21cfda24d55fd340e5
2020-04-14 22:42:44 +09:00
Takashi Kajinami
e72ce5e4c5 Pin puppet-collectd
Pin puppet-collectd because its recent change[1] broke its
compatibility with facter 2.X.X, which is currently required
in centos-7 jobs.

[1] bda9e87a41

Change-Id: Ie3174349b23a46d527358e0d57f9ccbce73dec49
Closes-Bug: #1862434
2020-02-08 19:07:34 +09:00
Alex Schultz
ea4f77537e Pin rsyslog
They've broken backwards compatibility in master so we need to pin to
the previous version.

Change-Id: Ie384fd450c01a760f426512479e1bd54fa578dff
2019-12-10 16:13:42 -07:00
Alex Schultz
d4bd49ec7c Patch fluentd module for unit tests until code lands
The fluentd tdagent provider is currently wrapped in parser function
rather than just being defined normally. We have a proposed patch to the
main module, but until that time let's pull the fix in for the unit
testing. We don't actually consume this provider in tripleo so it
doesn't affect deployment and only shows up in unit testing.

Change-Id: I73c7e73d3c4f77fcb93bca54157031db0a548b61
Closes-Bug: #1833724
2019-06-21 09:31:08 -06:00
Martin Magr
ff13fa1304 Base profile for rsyslogd
Adds profile for rsyslogd composable service which aims to replace fluentd
with the same behaviour. This means that rsyslog will be tailing OpenStack
log files and forwarding it to central log collector (ELK)

Change-Id: I5e5aae692482ee1de6de298eb18c49563a2d7d29
2019-06-12 08:12:52 +02:00
Alex Schultz
ce0cffe077 Remove ntp
We no longer support ntp so we should remove the puppet classes and
puppet-ntp usage.

Change-Id: I8d813fdccb45a464e5bbecda2de0f322299cf6e3
Depends-On: https://review.opendev.org/#/c/656999/
Related-Blueprint: tripleo-chrony
2019-05-03 12:07:16 -06:00
Alex Schultz
9de8c4eb38 Fixup tests for puppet 6
The tests were failing under puppet 6 due to some missing hieradata.
This change pulls in the now seperated selinux and augeas core modules
and adds the missing bootstrap node hieradata.
It also update data structure testing for haproxy testing.

Depends-On: https://review.opendev.org/#/c/655273/
Change-Id: Id59f3759652d8c1efea46918a9dc5c84fac361e3
2019-04-24 22:13:39 +00:00
Cédric Jeanneret
541e9ea2a7 Fix ntp module version to an existing tag/branch
The 4.2.x was apparently removed at some point, and this makes the
unit tests fails.

This patch will need to be backported down to Queens.

Change-Id: I6a5a0541d2cccc2e210954c4d3b3c45d24d1d649
Closes-Bug: #1823838
2019-04-09 09:22:52 +02:00
Cédric Jeanneret
23a7b058e8 Pin puppet-sensu module
Newest versions of puppet-sensu don't take into account the
serverless usage we can have with puppet ("puppet apply" vs "puppet
client"), making CI fail the unit tests for this module.

An upstream bug has been open:
https://github.com/sensu/sensu-puppet/issues/1098

The hash we're pinning is the same as in
https://github.com/redhat-openstack/rdoinfo/blob/master/tags/stein-uc.yml#L880

Change-Id: I1784a06052909b108c862ef76fc69e57bd778987
Closes-Bug: #1821591
2019-03-25 16:05:44 +01:00
Alex Schultz
040857a738 Pin puppet-snmp
They updated to structured facts but rspect-puppet-facts isn't providing
them at this time. Pin to a previous version.

Change-Id: I8798a5c40951867250f84b053fa3be744f6aef32
Closes-Bug: #1800944
2018-10-31 16:30:08 -06:00
Alex Schultz
85a302b9a1 Pull in redis for unit tests
We used to get this from puppet-openstack-integration, but since they
dropped this module we need to include it in puppet-tripleo.

Change-Id: I976c2d5c8d1f47a837dadddc9dbccb49e7defbde
Closes-Bug: #1784422
2018-07-30 11:02:17 -06:00
Martin Mágr
6c60a0f21f Collectd QDR connection
This patch enables to configure collectd to QDR by utilizing
collectd-amqp1 plugin.

Change-Id: I4cb6aa95e253b7fd19ed265fbcba0dfe6663592d
2018-07-23 13:36:19 +02:00
Michele Baldessari
489d5502da Pin puppet-collectd
puppet-collectd introduced a change which requires stdlib 4.25:
de0a96e86651 - (2018-03-17 00:12:21 +0100) feat: bump minimum puppetlabs/stdlib version to 4.25.0
c0c5ba9357ea - (2018-03-16 23:54:58 +0100) feat: use Stdlib::Fqdn type for package_keyserver

Let's pin the repo to the change which is already being used in RDO at
https://github.com/redhat-openstack/rdoinfo/blob/master/rdo.yml#L1467

(aka 93c8d0bd32bb5610652f30e785ba6644fc82a8b6 "Merge pull request #751 from bastelfreak/test")

Closes-Bug: #1756890
Change-Id: I197e8036a4f5c790a833d037d03ba6822f5488eb
2018-03-19 17:18:16 +01:00
Alex Schultz
bd5599ca59 Pin puppet-systemd
puppet-systemd recently added a breaking change to pull the module
parameter defaults via hiera. This only works in puppet >= 4.10.0 which
we are not using. So we need to pin to an earlier commit since we're
usign 4.8.x.

Change-Id: I11c8372eb20d9ff67bcc91897118061d7f193a54
Closes-Bug: #1755211
2018-03-12 09:37:03 -06:00
Zuul
ff7bfbb7a2 Merge "Add tests for tripleo::keepalived" 2018-03-08 03:57:13 +00:00
Alfredo Moralejo
a67493474f Change URL for puppet-cassandra
The module has been transferred to Vox Pupuli [1].

[1] https://github.com/locp/cassandra/blob/develop/README.md

Change-Id: I36e219a582a097ee597342dde273860f0084dd81
2018-02-16 18:42:18 +01:00
Alex Schultz
e083f248a9 Add tests for tripleo::keepalived
This change adds test coverage for the tripleo::keepalived class
and exposes the ability to pass network_vips as a parameter rather than
just via hiera.

Change-Id: Ied2f26f6bfdcd9c4fe85f08461b997c15c66345f
2018-02-06 16:47:22 -07:00
Zuul
0caaf51a39 Merge "Add PTP service" 2017-12-23 01:24:12 +00:00
Juan Badia Payno
0aef5a7190 Let collectd manage repo and added unit test
If collectd is allowed to manage repo, it will need
the epel module.

This patch let collectd manage repo. It does not let
to manage the repo by default, but it can be modified.
I also adds the collectd unit test.

Depends-On: I771b4f033ba5d6926e1ab9d9900af8bc81876295
Change-Id: I0576df2902cc44e7e9ff312214d609095132f2a4
2017-12-19 18:43:03 +01:00
Michele Baldessari
bf009921b9 Instance HA support
This commit is the puppet-tripleo part that implements the instance HA
spec. It only adds a couple of pacemaker resources and stonith devices
when instance HA is activated via an environment variable.

The compute nodes that take part in instance HA need to have the
following services added to them:
OS::TripleO::Services::ComputeInstanceHA
OS::TripleO::Services::PacemakerRemote

More detailed info will be added to the docs.

blueprint instance-ha

Change-Id: I4d1908242e9513a225d2b1da06ed4ee769ee10f7
2017-12-06 11:42:53 +01:00
zshi
07eabfd08d Add PTP service
Precision Time Protocol (PTP) is a protocol used to
synchronize clocks throughout a network. When used
in conjunction with hardware support, PTP is capable
of sub-microsecond accuracy which is far better than
is normally obtainable with NTP.

Change-Id: Idc78df3a90b73be504480bc9d33a3f0041d2d84f
2017-11-27 16:43:32 +08:00
Juan Badia Payno
d3705e49d6 Sensu unit tests
Change-Id: Id546927a95d602de3590b5ac8ef6a19dafb226d8
2017-11-21 10:27:47 +01:00
Juan Antonio Osorio Robles
85632c9ea9 Add unit tests for fluentd profile
Change-Id: I5f23f7c1c1928f126e307317c3573c49ed4b60ba
2017-10-10 07:25:24 +03:00
Emilien Macchi
c211ba78ca Allow to configure snmpd_config
Expose a new Puppet parameter to snmp profile, ``snmpd_config`` which
is an array definded to undef by default.
It can be used to override all snmpd configuration for advanced
deployments.
If used, all parameters have to be configured included users and
passwords, which should be the same as given to snmpd_password
and snmpd_user. There is no logic that will verify the content
of ``snmpd_config``.

Example of hieradata which configures snmpd_config:
  snmpd_config:
    - 'createUser ro_snmp_user MD5 "secrete"',
    - 'rouser ro_snmp_user'
    - 'proc neutron-server'
    - 'proc nova-api'

Depends-On: I5c322b3f5350261b58ef065bd3ded0369cadbc4c
Change-Id: Ief2518d5e47137215a34e9ae3b35c27c87fa6e08
Closes-Bug: #1720868
2017-10-04 16:01:44 +00:00
Juan Antonio Osorio Robles
799614f3b1 Use saltedsignal user for puppet-certmonger
This is now favored, since the original user transfered the repo there.

Change-Id: I268f20498825c07a06937d3b1f415cc3ff0b28ce
2017-09-21 09:41:17 +03:00
Tim Rozet
041ea64d03 Migrates OpenDaylight to official repo
ODL repo has been moved from a personal github account into official ODL
repo.

Change-Id: I1248c22acc09962ef788ca19ee87b6bda8ef8450
Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-05 13:41:34 -04:00
Bogdan Dobrelya
8f5c6b8250 Update puppet-etcd version
Include the yaml config file for containers

Change-Id: I3ad463217ed3f2d6374627248236b274cfed72fb
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
2017-04-24 18:07:40 +02:00
lhinds
b35bc80ac2 SSHD Service extensions
This change adds an `include` statement to bring in the extra
functionality available from the existing puppet-ssh module in
already available in RDO.

By using puppet-ssh it provides a framework to allow the passing in of
server options using just hiera values under ssh::server_options.
For example, sshd_config banner can now be passed a server option, as
well as all the new parameters outlined in the launchpad issue that
the patch references for Closing. For this reason, the former augeas
setting for `Banner /etc/issue` is now managed by the main puppet-ssh
module instead.

The change also allows population of MOTD text to `/etc/motd` as
well as `issue.net`.

$bannertext is refactored in accordance with patch [1]

[1] https://review.openstack.org/#/c/442406/

Change-Id: Id329538fb7b623526f1d91d8a513cf3440c86a7c
Closes-Bug: 1668543
2017-04-04 16:18:26 +01:00
Tim Rozet
0cec9b6f49 Enables OpenDaylight Clustering in HA deployments
Previously ODL was restricted to only running on the first node in an
tripleO HA deployment.  This patches enables clustering for ODL and
allows multiple ODL instances (minimum 3 for HA).

Partially-implements: blueprint opendaylight-ha

Change-Id: Ic9a955a1c2afc040b2f9c6fb86573c04a60f9f31
Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-03-16 16:13:10 -04:00
Tim Rozet
c9acf8a687 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>
2017-03-13 23:01:20 +00:00
Alex Schultz
37ba3a8db5 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
2017-03-06 12:33:53 -07:00
Dan Prince
fb6965116d Configure authtoken in Nova Placement
The Nova Placement API's configuration currently relies
on the nova-api profile for its keystone authtoken
configuration. This means that Nova Placement would
fail if it got installed on an isolated node or
docker container (this currently breaks TripleO's
deployment of placement via docker).

This patch creates a new authtoken profile and
calls it via the api and placement roles.

Change-Id: I7b38ab6ba5cae41689ac500d97dec4d09c73d387
Co-Authored-By: Alex Schultz <aschultz@redhat.com>
2017-02-21 14:40:43 -07:00
Feng Pan
f59e01c097 Add VPP service
Vector Packet Processing (VPP) is a high performance packet processing
stack that runs in user space in Linux. VPP is used as an alternative to
kernel networking stack for accelerated network data path.

Implements: blueprint fdio-integration-tripleo

Change-Id: I70a68a204a8b9d533fc2fa4fc33c39c3b1c366bf
Signed-off-by: Feng Pan <fpan@redhat.com>
2017-02-17 09:57:06 -05:00
Emilien Macchi
40f12b482d 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
2017-02-08 18:05:06 -05:00
Feng Pan
ade8845ac8 Adds etcd
etcd is used by networking-vpp ML2 driver as the messaging mechanism. This
patch adds etcd service which can be used by other services.

Implements: blueprint fdio-integration-tripleo

Change-Id: Idaa3e3deddf9be3d278e90b569466c2717e2d517
Signed-off-by: Feng Pan <fpan@redhat.com>
2017-01-18 23:58:11 -05:00
Emilien Macchi
1c4fe921e6 Switch puppet-tripleo to use puppet-openstack_spec_helper
Align puppet-tripleo with other Puppet OpenStack modules to use
puppet-openstack_spec_helper.

Here are the benefits:

- Allow to use Depends-On between Puppet OpenStack modules and
  puppet-tripleo, and unit tests will work correctly with dependencies.
- Use the Puppet OpenStack gemspec file that handle gems dependencies to
  test the module.
- Allow to re-use ruby helper that Puppet OpenStack modules have in unit
  tests, to avoid duplicated code.
- Don't manage .fixtures.yml file, it will be generated by Puppet
  OpenStack tooling. TripleO dependencies will live in Puppetfile_extras.

Change-Id: Ic66e9f872c57545327a9fb4b8ae86fbf0abbd8be
2016-09-22 21:26:23 -04:00