Commit Graph

20 Commits

Author SHA1 Message Date
Ghanshyam Mann e06f50cb06 Retire Tripleo: remove repo content
TripleO project is retiring
- https://review.opendev.org/c/openstack/governance/+/905145

this commit remove the content of this project repo

Change-Id: I73df79a8698625815ea4e3099904da448a49887e
2024-02-24 11:42:30 -08:00
Takashi Kajinami 445ddfd144 Ironic-inspector: Replace hiera by lookup
The hiera function is deprecated and does not work with the latest
hieradata version 5. It should be replaced by the new lookup
function[1].

[1] https://puppet.com/docs/puppet/7/hiera_automatic.html

With the lookup function, we can define value type and merge behavior,
but these are kept default at this moment to limit scope of this change
to just simple replacement. Adding value type might be useful to make
sure the value is in expected type (especially when a boolean value is
expected), but we will revisit that later.

example:
lookup(<NAME>, [<VALUE TYPE>], [<MERGE BEHAVIOR>], [<DEFAULT VALUE>])

Change-Id: I4d5659cca512a35b72823bc8f7a048bd1abb786d
2022-05-10 10:35:38 +09:00
Zuul fe6c0a5789 Merge "ironic-inspector: Include independent classes for ironic/swift options" 2022-01-12 02:57:18 +00:00
Takashi Kajinami be5ca93a7c ironic-inspector: Allow arbitrary configurations
This change allows arbitrary configurations of inspector.conf, so that
users can customize the parameters even if these are not supported by
puppet-ironic.

Depends-on: https://review.opendev.org/823613
Change-Id: Ibdaf0ce1f0b03de19015bee61ff60cdb9c3b6ba0
2022-01-06 11:15:35 +09:00
Takashi Kajinami 94ee6744d9 ironic-inspector: Include independent classes for ironic/swift options
Depends-on: https://review.opendev.org/719454
Change-Id: I45692585f3377f9223d1149e73ec388b81cb9e8e
2022-01-03 12:44:03 +09:00
Takashi Kajinami 1d1ab8ecf8 Replace deprecated is_string/is_array/is_hash method
Closes-Bug: #1939088
Change-Id: I9804a6b405c4df78ef17096adefeeaefb816e840
2021-08-06 12:36:53 +09:00
Takashi Kajinami 7b3a8cd891 Include db classes explicitly
Since database parameters in the base classes were deprecated, it is
likely that db classes are no longer included automatically in a future
release. Let's ensure that the db classes are included so that
database parameters are always set.

Change-Id: I2a28cd1b7a92776b711eb784db3c4a486dcf6a85
2021-07-26 10:13:30 +09:00
Alex Schultz a566d6b9b8 Add check for bootstrap_node for downcase
Downcase in puppet 6.14 throws an error if the input to it is Undef. We
can avoid this by checking for a value before trying to downcase.

See context https://review.rdoproject.org/r/#/c/26297/

Change-Id: Ib2e97060523a4198a14949a15c9171b56928699c
2020-04-07 14:51:41 -06:00
Tobias Urdin 1523a4b804 Convert all class usage to relative names
Change-Id: Ib2ed745b682cf12f9469a5a64451adcabec400af
2019-12-08 23:23:25 +01:00
Takashi Kajinami 048b6cfb22 Use memcached for token caching in ironic authtoken
Use memcached to cache token in ironic authtoken, as in-process
cache, which we currently use, was already deprecated[1].
Also, add unit tests for ironic related manifests.

[1] Ied2b88c8cefe5655a88d0c2f334de04e588fa75a

Change-Id: I0f0ce58682789c8fd8b8625aaebfe4b75aea6105
2019-09-10 23:01:40 +09:00
Emilien Macchi 0a2469304e Clean up a few FIXME
Change-Id: I507efdf3e771789de8cae5e29bc312b4d27f6b25
glance: remove useless comments, they were implemented.
ironic: remove the useless condition
rabbitmq: remove useless comment
zaqar: remove useless parameter, call class directly
2019-08-06 20:43:22 -04:00
Alex Schultz 3ec92d3efc Add explicit logging class inclusion
These have been dropped from some of the puppet classes by default. We
still need to include them so our debug logging works.

Change-Id: I4e65219d9669fdd16b2663b7239354330ffbae38
2018-12-17 14:49:44 -07:00
Harald Jensås c2d84b4fee Ironic Inspector - disjoint ip range(s) for HA
Allow tht parameter IronicInspectorSubnets to specify
per-instance ip range(s) using hostname as key for each
list of ip ranges. For HA deployments use disjoint
address pools to avoid potential address conflict.

Implements: blueprint ironic-inspector-overcloud
Change-Id: Ifae513265b8c35d98012f14f951bac33ae90b66c
2018-12-12 08:18:04 +00:00
Steven Hardy 9cde9139c4 Replace bootstrap_nodeid with SERVICE_short_bootstrap_node_name
This solves the problem that bootstrap_nodeid, which is set to the
first node in each role via t-h-t, can match potentially more than
one node - e.g in the event that a service is deployed such that it
spans more than one role.

The SERVICE_short_bootstrap_node_name is automatically generated
based on the composable service template service_name, and this
considers all roles where the service is enabled, e.g it should
only evaluate true once regardles off the roles where the service
is enabled.

Change-Id: I48ec4549552910f3cb8db960b0ff10a6c61b4bb9
Partial-Bug: #1792613
2018-10-12 10:14:48 +00:00
Alex Schultz 4592234a2c Include missing config classes
If a user wants to use an extra config to tune something that we do not
currently expose then they need to use the various config classes
available in the puppet modules. This change adds an include for the
missing classes for congress, ironic, sahara, tacker and zaqar.

Change-Id: Ic3bea5a2081fc5194471e35b765e7ef8a9f5b036
Related-Bug: #1793361
2018-09-19 12:44:20 -06:00
Zuul 543be4a2e0 Merge "ironic-inspector: enable support for dnsmasq PXE filter" 2018-03-20 17:09:23 +00:00
Dan Prince 7c234ba0bc Include cors modules for Nova, Ironic Inspector
This will resolve issues in using/developing the TripleO UI
from non-local hosts.

Change-Id: Ic897f56d8fdb4221d73821712de8bcab9ac384ec
Closes-bug: #1756543
2018-03-17 12:01:02 -04:00
Dmitry Tantsur 4bd257bb1e ironic-inspector: enable support for dnsmasq PXE filter
Change-Id: I67809c7a754fb2569baf389daa056b3cdac071f0
Depends-On: I056cdadc025f35d8b6fd22f510a7c0a8e259a1f0
2018-03-15 14:20:33 +01:00
Steve Baker 94f13e6608 Ensure hiera step value is an integer
The step is typically set with the hieradata setting an integer value:

  {"step": 1}

However it would be useful for the value to be a string so that
substitutions are possible, for example:

  {"step": "%{::step}"}

This change ensures the step parameter defaults to an integer by
calling Integer(hiera('step'))

This change was made by manually removing the undef defaults from
fluentd.pp, uchiwa.pp, and sensu.pp then bulk updating with:

    find ./ -type f -print0 |xargs -0 sed -i "s/= hiera('step')/= Integer(hiera('step'))/"

Change-Id: I8a47ca53a7dea8391103abcb8960a97036a6f5b3
2017-06-14 14:31:52 +12:00
Dan Prince 5fbe3853fb Ironic inspector support
This includes a new ironic-inspector profile, and updates
to the mysql and keystone profiles so that a database
and endpoints are also created when the inspector
is enabled.

Change-Id: I4a71a95efb87a10528df0600277768969a32117b
2017-02-20 13:53:57 -05:00