Commit Graph

50 Commits

Author SHA1 Message Date
Takashi Kajinami 315c337b4d Bump puppetlabs-stdlib to 9.0.0
It seems now the dependent modules adapted to the new version. Let's
bump it now, and we'll address the remaining deprecation warnings.

Change-Id: Ifb6c88bc76a46aa638f42e745af7fb7d9d0c03a9
2023-09-21 03:15:02 +09:00
Takashi Kajinami 5ab743617d Pin puppet-firewall
puppet-firewall v7.0.0 requires puppetlabs-stdlib v9.0.0 or later.

Change-Id: Ic61e742cffaa0bde2ee068a027e3441aaf179627
2023-09-14 14:51:21 +09:00
Takashi Kajinami fcc05b4cab Pun puppetlabs-mysql to < 15.0.0
puppetlabs-mysql requires puppetlabs-stdlib 9.0.0 which is not yet
fully supported by some of the dependent modules. Let's pin it until
we unpin stdlib.

Change-Id: I2e10617f163e8f6eaa26a1d7c1f3444d767bb15b
2023-06-20 22:10:05 +09:00
Takashi Kajinami 21612738b4 Downgrade and pin puppetlabs-apt to v9.0.2
puppetlabs-apt v9.1.0 requires puppetlabs-stdlib 9.0.0 which we have
not yet fully adapted to. This pins the module to an older version.

Change-Id: Ide3214ceeac605b27edead4d43650c778c77cda6
2023-06-15 02:22:28 +09:00
Takashi Kajinami 15d0baefe9 Pin puppetlabs-stdlib to 8.6.0
puppetlabs-stdlib 9.0.0 was released recently but it introduced a few
breaking change which the dependent modules have not yet adopted to.
Also a lot of warning messages are observed because of multiple
deprecations.

This pin the module to the previous major version, until we ensure
our modules and the dependent modules have required updates.

Change-Id: I6b8dc28ebc72fef460cb476075d19e0c77be0c48
2023-06-01 10:57:03 +09:00
Takashi Kajinami b21d4b94b6 Add puppet-systemd
puppet-postgresql requires puppet-systemd since v8.3.0 [1].

[1] https://github.com/puppetlabs/puppetlabs-postgresql/commit/5eb1e8ed

Change-Id: I0ef7455e9888bb5db1162d8793aac21e324788b1
2023-04-25 15:32:29 +09:00
Takashi Kajinami e7c7c5515c Unpin puppet-ssh_keygen
The puppet-ssh_keygen module has been pinned to the quite old version
but the pin is not necessary. This change removes the pin and bumps
the version to the current latest version.

Related-Bug: #1986651
Change-Id: I9dc0ab4f542248f82d036b78d84d9bc280036771
2022-08-16 19:50:16 +09:00
Takashi Kajinami 2809a8a560 Remove puppet-powerdns
The puppet-powerdns module was required by puppet-designate but it is
no longer required since support for PowerDNS 3 driver was removed by
commit 4bf4121155ad44d21c2828169a21c514d357ad29 .

Change-Id: Iede86da1ad74e3673568b42f5147de83ad686587
2022-08-04 11:40:08 +09:00
Takashi Kajinami f5c147311c Use kmod module from voxpupil
camptocamp/kmod[1] was deprecated in favor of voxpupil/puppet-kmod[2].

[1] https://forge.puppet.com/modules/camptocamp/kmod
[2] https://forge.puppet.com/modules/puppet/kmod

Change-Id: I18d0037c5bdc2a68704402c2dc05a4e67bb8d6f6
2022-07-30 23:23:05 +09:00
Takashi Kajinami b7a07bc8bd Remove unused puppet-ipaclient
Depends-on: https://review.opendev.org/840802
Change-Id: I72917d6b9d15296fcb01c32255b606fa04bf0855
2022-06-03 15:30:22 +09:00
Takashi Kajinami df1b15cb5f Remove leftover of puppet-staging
This is follow-up of d58599e686 and
removes puppet-staging from external module list.

Change-Id: I08f3a1179932e9b986ae5a64fb9fa3baa8a31e05
2022-03-17 11:33:17 +09:00
Takashi Kajinami bf1a8bda62 Use puppet-redis to deploy Redis
Change-Id: I955452d98399ba01af101f872235958a7b8c96c3
2022-02-07 17:31:39 +09:00
Tobias Urdin 667fae861f Remove sysctl module dependency
This is not needed when [1] is merged.

[1] https://review.opendev.org/c/openstack/puppet-ceph/+/822784

Depends-On: https://review.opendev.org/c/openstack/puppet-ceph/+/822784
Change-Id: I10de759f3be1c3915b8256ab780bfaa5874e28c4
2021-12-23 09:46:24 +01:00
Takashi Kajinami 46d8b60488 Remove unused puppet-git_resource
Depends-on: https://review.opendev.org/820147
Change-Id: I123a5605f6687c60fca210c6c627bbc415b68ba6
2021-12-02 21:04:13 +09:00
Takashi Kajinami ac7ad1d810 Unpin puppetlabs-inifile
... instead of pinning it to the very old version.

Change-Id: Id8b61fc283d0bc299f5d3899a200701777223613
2021-11-01 15:12:22 +09:00
Takashi Kajinami c37ac2acd1 Remove puppet-python
puppet-python has been used by only puppet-monasca. However
puppet-monasca has been already retired thus the module is no longer
required.

Change-Id: I2f0749b087168a9a7f820ee708fbe65113e015bd
2021-09-01 19:47:06 +09:00
Zuul 318a31b64f Merge "Bump puppet-corosync to the latest major version" 2021-07-19 08:29:48 +00:00
Takashi Kajinami 49411b3376 Bump puppet-corosync to the latest major version
Change-Id: I9cd1b135fd3bb8723b9220724aea791766d3895b
2021-07-08 08:59:30 +09:00
Takashi Kajinami 21760b6b68 Pin puppet-python to v5.0.0
... until we fix the compatibility issue in puppet-monasca.

Related-Bug: #1930553
Change-Id: I473c0956950d3a53e724f1764ed87ad075c44124
2021-07-08 08:57:47 +09:00
Rocky 3716c4da90 Unpin apt and concat version
Since the minimum supported puppet version is 5.5, previous restriction
is gone. Bump them up to recent versions.

Change-Id: I911747fa5d7e99bcc7dc4feb3c4f31d5fdf77184
2020-05-14 22:44:21 +10:00
Alfredo Moralejo d2b34d006b Move CentOS8 to standard Puppetfile and bump puppet-mysql
mariadb has been updated in RDO CentOS7 for Ussuri so we can bump
puppet-mysql and use the same Puppetfile for all cases, no more
exceptions for CentOS8 are needed.

Change-Id: I1c4204c5b9fb893a2209666894792938f72b7548
2020-02-26 22:05:48 +01:00
Emilien Macchi 70ac070db1 Invert the logic of Puppetfile
I98fc088cd87c1412544f9590ce7a925b413297e2 broke unit 5.5 for
puppet-tripleo and probably puppet-pacemaker, since it can't find the
Puppetfile by default anymore.

Change-Id: I43718a849d09653e6c352b581aef6bbbf372fc41
2019-12-20 17:08:09 -05:00
yatinkarel b44d0bdd5a Add CentOS8 support and jobs
- scenario001 and 004 will be running without ceph
  until ceph repos get available for CentOS8
- scenario003 will run not run with linuxbridge until next CentOS
  minor version as it has issues:-
    - https://bugzilla.redhat.com/show_bug.cgi?id=1720637
- Add Puppetfile_centos7 to have different puppet modules
  as compared to other distros. Currently only puppet-mysql
  needs to be kept pinned for centos7 as newere mariadb version
  is required to remove the pin, CentOS8 and ubuntu have required
  mariadb version so pin is removed. So automatic updates of puppet
  modules will not be applied for CentOS7 as those jobs are going to
  be removed in coming months.
- check for rdo_dlrn url existence only for RedHat distros.

Change-Id: I98fc088cd87c1412544f9590ce7a925b413297e2
2019-12-20 10:18:18 +00:00
Tobias Urdin 34113c9d4a Fix rabbitmq dependency
puppetlabs/rabbitmq [1] is deprecated, and max version is 5.6.0 which
can not be fulfilled by this dependency.

Correct it to puppet-rabbitmq [2] instead which is being actively
maintained and has the right version.

[1] https://forge.puppet.com/puppetlabs/rabbitmq
[2] https://forge.puppet.com/puppet/rabbitmq

Change-Id: I4264d4a998226b91da14949be5b0a4b41848a1ba
2019-11-01 10:17:25 +01:00
Alex Schultz 5779458973 Add git_resource to replace vcsrepo
vcsrepo is not an apache friendly license so we need to look into
possibly switching it out. This change pulls in git_resource which is a
module that provides similar functionality.

Change-Id: If0af323ec9211df06f5de33f0ef7dfe84f64f4c2
2019-02-26 14:51:19 -07:00
yatin 1401432e02 Revert "Update reference for puppetlabs-apache"
The required commit is available since tag: 3.3.0,
current released tag is 4.0.0, so let's consume it.

This reverts commit 791074a9a1.

Change-Id: Icd6bef8d717c14e3271657779bf0589208a2aea5
2019-01-30 12:04:51 +05:30
OpenStack Proposal Bot 1fe0609387 Updated from Puppet OpenStack modules constraints
Change-Id: Ibf7935c1bdb75b948e0f47cf86529b536fb4c43a
2019-01-11 11:15:01 +01:00
Tobias Urdin 3d910d237c Module stankevich/python has been moved to voxpupuli
The new path to the module is voxpupuli/puppet-python.
Please see the redirect when visiting the URL. [0]

[0] https://github.com/stankevich/puppet-python

Change-Id: I593a134c0e2f00ac4ae13243487b58cf71aa96be
2018-07-31 23:23:58 +02:00
yatin 791074a9a1 Update reference for puppetlabs-apache
Also added the reference in external_modules.txt
so it's taken care with Puppet Openstack Modules Constraints
update job.

This pin is required by scenario-py3 Fedora job, the pin
can be removed once the hash is in a tag release.

Change-Id: Iacb3fd2e17ba4a69dad4fdb906b65db5b04dbb2e
2018-07-30 12:10:06 +05:30
Tobias Urdin a696192bf2 Add Ubuntu 18.04 Bionic to CI
We now have support to Mimic and can select that version
and this patch fixes Puppet 5 for Bionic we can add it to CI.

When this is fixed the only thing left is to add beaker acceptance
testing for Bionic.

Bionic only has Puppet 5 and can currently only use Ceph Mimic.

Change-Id: I6f94e214a70f92278f1f3806471ef2f622a938c3
2018-07-18 16:25:12 +02:00
ZhongShengping 862b7fad38 Fix unit test
unit test failed[1] for all puppet modules.

[1]http://logs.openstack.org/97/562497/1/check/puppet-openstack-unit-4.8-centos-7/d3d68c5/job-output.txt.gz#_2018-05-02_00_45_29_359950

Change-Id: I7adee041d17b3ece68c3646551010fcfabcb828e
2018-05-02 09:16:22 +02:00
Alfredo Moralejo 30e6012189 Remove leftovers from mongodb
MongoDB is not longer the default or recommended backend for
OpenStack services and services are using other data stores.

This patch removes mongodb puppet module installation from p-o-i
and hiera config file.

Change-Id: I3d437ea6f5cfe6a887903ffb4da009439cf144e9
2018-01-25 12:27:36 +01:00
Xingchao Yu 9dc0a3b7d3 Add puppet-ssh_keygen to external modules
Introduce puppet-shh_keygen to generate sshkey for designated users
in OpenStack services, such as Octavia, Nova, etc.

Change-Id: I641c3a380c5647d28535914e3a6fb5dd793b6fba
2017-11-02 09:52:09 +08:00
Mohammed Naser bcbc14afb8
Add puppet-archive to external modules
The latest release of the Puppet RabbitMQ modules adds a dependency
on puppet-archive as a replacement for puppet-staging[1].

[1]: f223f66894

Change-Id: I81dd15366e5e3c870ceecf9afafc2608eb64d113
2017-09-07 10:16:18 -04:00
Emilien Macchi 8b441fe60f Revert "Pin stdlib to 4.16.0"
This reverts commit eac7daeab4.

Change-Id: I66f2ffa9123264a277845b83e3f905488a18562a
2017-08-03 15:00:43 +00:00
Alex Schultz eac7daeab4 Pin stdlib to 4.16.0
stdlib 4.17.0 added a requirement for puppet >= 4.7 and since we still
test with puppet 4.5 we need to pin to the last version that still
supported >= 4.0 which was 4.16.0.

Change-Id: Id1ca6d8364a27205d9390167cb140d644728157a
2017-08-02 10:35:03 -06:00
Alex Schultz d619783101 Lower pins for apt and concat
Version 3.0.0 of apt and concat have a requirement of puppet 4.7 which
is greater than our minmum supported versions. So for now let's pin
these to older versions until we can bump our minimums.

Change-Id: I156b8f3b40501b0191f317a8d36cbba99d172965
2017-05-15 17:36:11 -06:00
Emilien Macchi c92a18fd0a Pin puppetlabs-corosync to v5.0.0
They pushed a tag called test-tag so our tooling now tries to bump to
this tag because it thinks it's the latest one. We don't want this tag.

Let's ping to v5.0.0 for now.

Change-Id: I494e78772b915f1e6999868e0c54d586c56c4f75
2017-05-04 13:22:07 -06:00
Mehdi Abaakouk de97ef305a gnocchi: use redis as coordination url
Currently gnocchi metricd is really slow making some tests timeout,
because the tooz backend is mysql.

And the futur autoscaling will reach the max connections of mysql
by creating many tooz locks.

This change switches to redis, this is one of the recommended backend to
use (mysql is not).

Change-Id: Iae81848e883f74b7f8f8f4cad58c2168e01b7321
2017-05-04 11:53:03 +02:00
Emilien Macchi 2b57a24d35 Ubuntu: pin puppetlabs-apt to 3.0.0
... because puppetlabs-rabbitmq doesn't work with 4.x.x and 4.0.0 is out
since yesterday, so we don't want to bump our CI yet.

Change-Id: Id98e2022cc28245483777fda9198e3065b9309b8
2017-04-29 18:46:23 +00:00
Emilien Macchi c87bea7761 Pin concat to 3.0.0
4.0.0 fails with puppetlabs-postgres. let's pin it until it works again
for puppetlabs-postgres.

Note: we're in the process of deprecating manifests that deploy postgres
databases.

Change-Id: I43ea61cb546321a33cb9a5ebde9b25b515db8992
2017-04-26 15:28:12 -04:00
Ade Lee b02aab5174 Add puppet-ipaclient
The puppet-nova manifest file for novajoin references the
ipaclient module to register the undercloud node with IPA
by doing an ipa-client-install.  In order for the unit tests
to pass, puppet-ipa-client needs to be in the CI environment.

Change-Id: I8e9bd4ed859cc438a309d9a00dd278c65dbb822d
2017-01-11 13:12:09 -05:00
Saravanan KR 4570e7aa93 Add puppet-kmod modules to the integration
Added kmod puppet module to load the kernel modules and
persist the loading after reboot

Change-Id: I79308ac5949a47a707d42bb2566407b9e8adfb9c
2016-07-28 16:31:16 +05:30
Emilien Macchi 75f4a1acae Bump puppet-dns to 3.3.1
3.3.1 is out with latest changes that makes the module idempotent.

Change-Id: I952bf264fc5f3a8c769059c69d56faf123577f7a
2016-07-07 09:57:00 -04:00
David Moreau-Simard 9207f6f2bd Pin puppet-dns to allow testing idempotency on puppet-designate
Change-Id: I73145a8992292038ab22824d3a858dcc7193fd35
2016-07-06 13:32:11 -04:00
Emilien Macchi a54e730719 Puppetfile: pin puppetlabs-mysql to latest tag
We were waiting for 3.8.0 to work on Xenial. It's released now, let's
stick on it until next release!

Change-Id: Ia2ce1442aa48b8ffb0d987e7b414e675541f7a98
2016-06-01 21:30:13 +00:00
Emilien Macchi e5d6e6b6c0 Support of Ubuntu 16.04 LTS Xenial deployments
Add support for Xenial deployments.

* Disable SSL on Ubuntu Xenial deployments.
* Pin puppetlabs-mysql to a recent commit (until they produce a new
  tag).
* Disable Ceph on Ubuntu Xenial deployments, neither Hammer or Jewel currently
  work out of the box with puppet-ceph on Xenial.
* Disable Horizon on Ubuntu Xenial deployments: not working yet.
* Do not deploy UCA on Xenial, since we currently deploy Mitaka.
* On Xenial, deploy Puppet using distro packaging, not puppetlabs.com.
* Cleanup /etc/default/puppet on Xenial / Puppet4 runs (workaround)
  until we figure what is installing this file on Xenial nodepool
  image.

All issues are documented here:
See https://etherpad.openstack.org/p/puppet-openstack-xenial

Change-Id: Ifc8c7e241add830c88b84c1f01770e5e15df1653
2016-05-26 20:40:18 -04:00
Sergii Golovatiuk d44d29341f Remove sticky version from concat
Change-Id: I8e3cd60fa50e04221aedf5c153c1ecb8a5bd97b5
Depends-On: Ifccc1bf2260dbbceb75b6bbe1d6b5bbbbb657a12
2016-04-22 08:07:37 +02:00
Emilien Macchi 73ab80410f Change source for puppet-corosync
puppet-corosync moved from puppet-community/puppet-corosync to
voxpupuli/puppet-corosync.

Change-Id: Ic80252471b1fdcea9dd6a52489ce84484184a13b
2016-04-20 11:44:09 -04:00
Emilien Macchi d4666d130a Implement a script to generate Puppetfile
* Implement generate_puppetfile.sh
This script will read from openstack_modules.txt and
external_modules.txt that contain the list of Puppet modules we rely to
run our CI. It will build a Puppetfile by using master for Puppet
OpenStack modules and the latest tag for external modules.

* Remove Puppetfile, that is not useful anymore since it's generated.

* Run the script everytime our CI needs to install modules.
Which means our CI will always test the latests versions of our external
modules.

* Allow to pin modules.
Example:
puppetlabs/puppetlabs-apache,1.8.1

Change-Id: I2d529cc16b335d112f996c9f1f0266f440eab065
2016-04-07 10:06:03 -04:00