Switches to using the new ironic-dnsmasq-tftp-server service[1], which
manages the dnsmasq process in order to facilitate standalone usage and
testing of puppet-ironic outside with Centos-Stream 9 where package
changes are anticipated.
On Centos-Stream 9, users should effectively be forced over to using
dnsmasq automatically.
The higher level controls for defaults can also be changed for
the purpose of backporting such that prior releases are not
automatically switch to using dnsmasq unless they have to be run with
dnsmasq based upon known package availability.
Note that just setting tftp_use_xinetd=false in an existing deployment
doesn't remove the xinetd service completely, because of limitation
caused by current implementation of puppet-xinetd, and users are
responsible to remove service, package and etc properly before
switching to the new service.
[1] https://review.rdoproject.org/r/c/openstack/ironic-distgit/+/34691
Change-Id: I5d388acfb96fa3e3a555a119ff72feabdd1cdf87
This fixes usage of the keystone::resource::service_identity resource
type for ironic-inspector, currently inconsistent with the other
modules.
- The resource type is generally used with a static name
- Email account is same with the service name by default, not service
type.
Change-Id: I4023cb66aca52c43f4c6b719267657e5cc0734c7
It turns out that this is the the default value provided by tox:
https://tox.readthedocs.io/en/latest/config.html#conf-install_command
So we can remove the line and simply use the default value.
Change-Id: I58a57d1ca589af99cfcf3d351b3acfba1ee04669
Co-Authored-By: tushargite96 <tushargite96@gmail.com>
... but test interfaces of that resource type. This helps us avoid
direct breakage caused by any change in puppet-keystone.
Change-Id: Icafdac7a8f2e0184f296203177e48f2910ede66e
Since puppetlabs-stdlib 8.0.0, ensure_packages automatically translates
'ensure => present' to 'ensure => installed' and that translation
breaks existing assertions in unit tests.
Change-Id: I09aa9cc8d7b3294e6f2d6aa97d33600a54615b63
puppetlabs-stdlib is now using the 8.0.0 version, so we should fix the
stdlib version in metadata.
Change-Id: Ia424b359eb925947377d0d54b84479295afd20b1
... to follow the renaming in ironic during the Xena cycle[1].
[1] 2a73f5a84e06b370d0b04997cc0787497e111642
Change-Id: I0026b3f47cb3e0caefa0f299ee5e7e4bf9a4e890
This change introduces support for parameters of the healthcheck
middleware, which was introduced recently to ironic-inspector.
Depends-on: https://review.opendev.org/808567
Change-Id: If77a1a6b60268379a5e87165aa6c93c6c4d40770
This change introduces the new purge_config parameter to the policy
class so that any policy rules not managed by puppet manifests can be
cleared.
Co-Authored-By: Martin Schuppert <mschuppert@redhat.com>
Depends-On: https://review.opendev.org/802305
Change-Id: Ia5fecab4cb81dda87766b950433cdad3ce75b9eb
Add the parameter ``dnsmasq_dhcp_sequential_ip`` to the
ironic::inspector class. When true (the default) dnsmasq
is configured to serve addresses in sequential orders.
Some DHCPv6 clients don't operate well with a DHCP server
that serves addresses sequentially. The new parameter
allow disabling sequential addressing to improve
interoperability with DHCPv6 clients in UEFI firmware.
Closes-Bug: #1941908
Change-Id: Iad32434790a1744249b284937c6b67e9b58a235f
In Puppet OpenStack modules, the "services" project is widely used as
the default project name. This change fixes the inconsistent default
value used.
Closes-Bug: #1941900
Change-Id: Ia10665056ad521ccb3a81c4490831da78bb5c45a
The authtoken parameters are not managed directly but managed by
the keystone::resource::authtoken class. Thus we should avoid testing
parameters directly otherwise any change in the resource type can
cause test failures.
Change-Id: I162cea3b64e6c933f0c605e14ab8820f218b87ac
This change adds the 'params' hash in authtoken class, to implement
the same functionality as the one recently introduced into
puppet-nova[1].
[1] 5c38281e1b698f157f03bf1815733277c541c30b
Change-Id: I55cae48368653150aaa50e5b167c6fb11cf551e2
Puppet-ironic ships with only the ipmi hardware type enabled.
This setting is possibly the most commonly overriden setting
used by operators and also prohibits the community determiend
default form just being used, which creates a friction point
between the two projects.
As such, it makes sense to remove, and just allow ironic's
default to be leveraged, by default.
Change-Id: I26b9eabd4c58b702ed18d6e8e21bd938908905a9
My downstream team does not maintain this and the settings
which are embedded and encoded in puppet-ironic are incorrect
and no longer match the current state of Bifrost as an independent
sub-project of ironic.
Given this state, and the fact it is largely independent tooling
which duplicates much of puppet-ironic, it does not make sense to
maintain, and is thus deprecated.
Change-Id: Ia456fcea46c44c23d8c99fbf3bb59b63180a28f2
The sync_power_state_workers parameter allows to tune the parallelism
in BMC connections when getting the power state. This may be needed to
cope with misbehaving BMCs or IPMI power status failures due to UDP
packet loss.
Change-Id: I48e3f36115825f620dfc924fe097cdce92deb80d