Designate requires that the coordination backend is up, otherwise
the central service does not start.
Depeneds-on: https://review.opendev.org/855261
Change-Id: I201743c6796b9b863b0befffaa85fff1675d80b0
The rabbitmq connection parameters have been deprecated in favor of the
transport_url setting. Additionally, the configuration has been switched
over to use the oslo::messaging::rabbit resource.
Change-Id: I43500ac7be4296ea534266fa14ca37fc700b0092
Related-Bug: #1625198
This change updates our previous implementation of the keystone
authtoken setting to use the new designate::keystone::authtoken class to
do the configuration for the api.
Change-Id: Ib2a1d20d4e29353fc139835ce1c010a801506b9c
Closes-Bug: #1604463
Update designate::api to leverage keystone::resource::authtoken to
configure the keystone middleware. This patch also allows designate to
be able to leverage Keystone v3.
Some deprecations:
- designate::api::keystone_tenant is deprecated in favor of
designate::api::project_name.
- designate::api::keystone_user is deprecated in favor of
designate::api::username.
- designate::api::keystone_password is deprecated in favor of
designate::api::password.
- designate::api::keystone_host, designate::api::keystone_port,
designate::api::keystone_protocol are deprecated in favor of
designate::api::auth_uri and designate::api_auth_url.
- designate::api::keystone_memcached_servers is deprecated in favor of
designate::api::memcached_servers.
The patch is backward compatible.
Change-Id: I2cb4076b3e8679adac2722871f8391e750e8b4b0
Closes-Bug: #1604463
- Change file_line resources to concat resources instead to
concat a fragment within the puppet-dns concat templates
resources.
This change depends on an upstream change to puppet-dns which
has not yet merged.
https://github.com/theforeman/puppet-dns/pull/64
Change-Id: I499f2c7bfe8330ddb3c3d91d5eadcdad9e64e614
Depends-On: I73145a8992292038ab22824d3a858dcc7193fd35
The designate::dns class was really just configuring things
according to a bind9 backend. As such, move it's resources to
the bind9 backend manifest and deprecate this class.
Additionnally, we stop managing configuration files resources
inside /var/lib/designate. According to upstream documentation
[1] and from discussing this with upstream developers, this is
not an intended way of configuring designate.
This also avoids having to manage permissions (and selinux)
between designate and bind.
[1]: http://docs.openstack.org/developer/designate/getting-started.html
Change-Id: Ia62a3d1a72622f3eb1ceeabaf4cef36090a7a8d3
RDO provides packaging for designate since liberty. If it doesn't
work we need to know.
Change-Id: I14cb274a7481b60f5f4cbf4f33436fc6ed1b41af
Depends-On: I2247304d164facb352b60039d8ddae9fb62d1eb8
Option "verbose" from group "DEFAULT" is deprecated for removal.
The parameter has no effect.
-Deprecated verbose for logging and init
-Remove verbose in README
-Remove verbose from tests.
If this option is not set explicitly, there is no such warning
Change-Id: I4b148ae18f5196951f7de2afdff2fe815becfdb6
This change adds the ability to use the python-pymysql library as a
backend for MySQL connections. This change also updates the acceptance
test to leverage the pymysql driver.
Change-Id: I9730266163166a9f75f68e25a26c6dcbf38fcea8
Bump from UCA RDO Liberty testing to GA repos.
Depends-On: I19a1588c488d56b647703c0267540c7649fdc6d1
Change-Id: I87d05c26c5d3c73f7b370e92104b7c1b31b4ef0f
- Convert 'should' keyword to 'is_expected.to',
- The old ':should' syntax in rspec 3.x is deprecated in favor of ':expect'
syntax,
- Expectations on attribute of subject with 'its'.
Change-Id: I99d7819595a51c16b0b82122d75c0a6ebfad7907
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
Since our recent discussion about Ubuntu packaging, we decided to bump
Ubuntu packaging to trusty-proposed/liberty so we can install Liberty in
a better shape than current situation (Staging repo).
This patch installs UCA liberty repository.
Depends-On: I57e2ddc5d0e228142f8045623ffbde362c0e7f7b
Change-Id: Ib7e8a4cd8a4b294d32a663d3bf179ead1dbc8f77
With the creation of the new openstack_config provider, some processing
that was done in designate_config has been centralized in
openstack_config.
Impacted methods are :
* section
* setting
* separator
Also, this commit adds the fact that, when passing a specific string
(ensure_absent_val) the provider will behave as if ensure => absent was
specified. '<SERVICE DEFAULT>' is the default value for
ensure_absent_val.
The use case is the following :
designate_config { 'DEFAULT/foo' : value => 'bar' } # will work as usual
designate_config { 'DEFAULT/foo' : value => '<SERVICE DEFAULT>' } # will mean absent
That means that all the current :
if $myvar {
designate_config { 'DEFAULT/foo' : value => $myvar }
} else {
designate_config { 'DEFAULT/foo' : ensure => absent }
}
can be removed in favor of :
designate_config { 'DEFAULT/foo' : value => $myvar }
If for any reason '<SERVICE DEFAULT>' turns out to be a valid value for
a specific parameter. One could by pass that doing the following :
designate_config { 'DEFAULT/foo' : value => '<SERVICE DEFAULT>',
ensure_absent_val => 'foo' }
Change-Id: I16873c60bfce5b2f432f034755b7bfa3f1383dc5
Depends-On: I0eeebde3aac2662cc7e69bfad7f8d2481463a218
Enable debug & verbose when possible for OpenStack services logs, so we can read a maximum
of informations in Jenkins jobs logs and easily debug our eventual failures.
Change-Id: I0c94ab8c4ad19d3f8464b5e1762a4ec716dbecf2
Upgrade acceptance manifest from Kilo (stable) to Liberty (dev)
on both Ubuntu Trusty & Centos7.
Change-Id: Ifcad7b55e640ad13020ae49a2e42e23329abc0ce
Co-Authored-By: Lukas Bezdicka <lbezdick@redhat.com>
Depends-On: I7c1f31b3cc4c6ea1f894a263a8cff60e357accb8
This patch is the initial modulesync run, its impact:
* gitignore: just a sync between projects
* gemfile:
- update and allow to setup facter version and gem source
- split beaker gems with a dedicated group
- switch to rspec-puppet 2.2.0
* rakefile:
- use the new syntax for lint configuration
- add a acceptance target
* acceptance:
- sync nodesets
* spec: added rspec coverage report
Change-Id: If1902135ecb45e84d25d5b6ddd5698dd98c87646
Fixed by Mike in [MODULES-1599] : If a previously blank/empty value
is changed to a non-empty value, the value is put on a new line.
Link: https://tickets.puppetlabs.com/browse/MODULES-1599
Partial-bug: #1465780
Change-Id: Ib4ef48857a212f3a7aa2f465a9d391160ee9b45b
Depends-On: I9fcd5823b70dacbe1e41737f05d52a175481d57d
Since SELinux is enforced by default, we need to make sure
openstack-selinux is installed from the latest version to have OpenStack
correctly working.
Change-Id: Id46919667621d2c031cc615b90b3397413fb98d6
Install packages from RDO properly, by using regular packages and not
ones from testing repo that are too unstable.
Change-Id: I2b97aeedf292e1d61d2a667761e693ffbdadc1aa
The puppetlabs-rabbitmq module introduce a new feature related to the
erlang_cookie parameter change (the database must be wiped if the cookie is
changed), the parameter wipe_db_on_cookie_change is configured to false by
default.
But we're not setting up a rabbitmq cluster and we're not using pacemaker in
beaker CI tests, so we just remove the erlang cookie parameter change.
Change-Id: Ia0fc7ca568f9b0b25d96d25c3ee7b67da5bbfd45
Closes-Bug: #1468444
* Update .gitreview file because of Puppet OpenStack modules project
renaming.
* Fix Beaker tests on Ubuntu Trusty (newline added if secret)
We have to do that in a single patch because:
* project has been renamed so gitreview needs to be updated
* beaker jobs are voting
Co-Authored-By: Jeremy Stanley <fungi@yuggoth.org>
Co-Authored-By: Emilien Macchi <emilien@redhat.com>
Co-Authored-By: Sebastien Badia <sbadia@redhat.com>
Closes-Bug: #1465780
Change-Id: If562aa5bc969c316fd8fd0cb06ed7115c465a57d
OpenStack Infra has jobs to run this on both Ubuntu Trusty and CentOS7.
* Add minitest to Gemfile (dependency to run beaker on centos - see
http://projects.theforeman.org/issues/2650 for details)
* separate nodepool files to have trusty & centos7 support in OS infra
* spec: add case for repo configuration and support
RH systems.
* rabbitmq: install module from source
* apt: pin the module
* don't try to install designate on centos (packaging not ready)
Change-Id: I687e6b274938d622860063cb1a2494f0e7f4635f
Closes-bug: #1444736