Commit Graph

22 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 65d06c9069 Ironic: Manage [nova] options by puppet
This enables the ironic::nova class, to manage [nova] options in
ironic.conf, to disable/enable power notifications from ironic to
nova.

Partial-Bug: #2000308
Change-Id: I273524330c11910e15f8eccdb9025db6e7c881e1
2022-12-22 21:52:04 +09:00
Takashi Kajinami c71a7afef2 Ironic: Manage [disk_utils] parameters by puppet
This change enables the separate class to manage the [disk_utils]
paramers so that users can use puppet parameters to manage options
in this section.

Depends-on: https://review.opendev.org/823903
Depends-on: https://review.opendev.org/850298
Change-Id: I6d0fd53d0785a5d7428de6aee74a5db9d7d239b7
2022-07-26 17:14:27 +09:00
Takashi Kajinami 692174d276 Ironic: 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: Ie280f3dcab6c887c3e5a6662c8d05c8fe98a8cf9
2022-05-10 10:35:35 +09:00
ramishra 8a84768926 Configure json_rpc/authtoken sections for ironic
Configure json_rpc section for both ironic-api and ironic-conductor.
JSON RPC service uses keystonemiddleware to authenticate with
keystone. Configure the keystone_authtoken section for
ironic-conductor as well.

Change-Id: I9fc0f27a781e6374ad52575533c099fbc23382fd
2021-07-29 16:01:05 +05:30
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
Bogdan Dobrelya 2f69faf666 Fix missing PXE directories for Conductor
When Ironic Conductor class is called, it expects the
PXE directories exist. That is only the case for the step 4.
While there is also a case when the conductor class invoked
for the step 3 & db sync case. For that case also inlcude
the missing ironic::pxe class to ensure the PXE directories
created.

Closes-Bug: #1845222

Change-Id: I394f56ba9b213c75378bdf21999d23509632523c
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
2019-10-03 09:47:57 +02:00
Zuul ce3432da8c Merge "ironic: add support for the ansible deploy method" 2017-12-04 16:23:39 +00:00
Dmitry Tantsur 3d54e16582 ironic: add support for the ansible deploy method
Change-Id: Idc521e2664f5fcd9884f44824d91385049221685
Implements: blueprint ansible-deploy
Depends-On: I55aecb95bc3ab1264487bcda5870b6e4fc7aa787
2017-11-27 11:53:11 +01:00
Dmitry Tantsur cefbf4ab8e ironic: support enabling staging drivers
* add ironic::drivers::staging to enable use of staging drivers
  (disabled by default)
* remove mentions of SSH drivers (removed upstream, similar
  functionality is provided by staging drivers)

Implements: blueprint ovirt-driver
Change-Id: I89da8187c2c549ad2f6d569890080ce144be46c0
Depends-On: Ibef8f33f306b9d3b598698345ce3b0978f62a2ad
2017-11-27 11:43:36 +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
Dmitry Tantsur 194bdacf5b Configure credentials for ironic to access cinder
Change-Id: I097c494d3953b7d26d94aecc546ddef5225d1125
Depends-On: I2f0eb779b711e57f1532b1227896542d0ecffc89
2017-06-09 17:06:20 +02:00
Dmitry Tantsur a640e13f1b Add support for Redfish hardware in Ironic
Part of blueprint redfish-support

Depends-On: Icd065cec7114fc026b658ede0d78be2e777c15aa
Change-Id: Ib14f87800ae7657cf6176a4820248a2ce048241d
2017-04-24 14:49:43 +02:00
Jenkins cad6c62fee Merge "Stop including ironic::drivers::ssh in the ironic-conductor profile" 2017-04-07 18:45:18 +00:00
Dmitry Tantsur ac5445fb7f Stop including ironic::drivers::ssh in the ironic-conductor profile
The SSH drivers are deprecated, pxe_ipmitool + virtualbmc should be used instead.
This is a follow-up to blueprint switch-to-virtualbmc.

Change-Id: I4fd567dffa3992042eebcf495334b8130e1bdc9f
2017-04-07 11:16:47 +02:00
Dmitry Tantsur b95f16a2a5 Include ironic::drivers::interfaces in the ironic-conductor profile
This enables configuring new-style drivers (aha hardware types).

Part of blueprint ironic-driver-composition

Change-Id: I72eb8b06cca14073d1d1c82462fb702630e02de3
2017-04-03 18:42:35 +02:00
Dmitry Tantsur ffe6ae2c24 Explicitly configure credentials used by ironic to access other services
Using keystone_authtoken credentials for this purpose is deprecated, and also
prevents ironic-conductor from being used as a separate role.

As a side effect, this change makes it possible to potentially enable
ironic-inspector support in the future (it's not enabled yet).

Change-Id: I21180678bec911f1be36e3b174bae81af042938c
Partial-Bug: #1661250
2017-03-16 20:49:36 +01:00
Dmitry Tantsur 7a683f7c61 Ironic: update included drivers
Configure drac, ilo and ssh drivers out of box.
Remove deprecated ironic::drivers::deploy.

This change brings the default driver list closer to one of undercloud.

Change-Id: I8b9a136a0ff22916d7c468bbb0df7248bc35a5c2
Partially-Implements: blueprint ironic-integration
2016-09-04 17:44:06 +02:00
Dmitry Tantsur 2f06663fa2 Ironic: manage PXE environment for conductors
Change-Id: Icb9633134114041bbd497e7652482dd5d34c9327
Depends-On: I8b83eff694316755e4dd2dbcde7b569472893bc5
Partially-Implements: blueprint ironic-integration
2016-08-31 11:34:20 +02:00
Carlos Camacho 689d80e971 Fix parameters and headers inconsistency in the puppet manifests.
As we are staring to manually check overcloud services
the first step is to check that the puppet profiles
are all aligned.

Changes applied:

  No logic added or removed in this submission.

  Removed unused parameters.

  Align header comments structure.

  All profiles parameters sorted following:
  "Mandatory params first sorted alphabetically
  then optional params sorted alphabetically."

Note: Following submissions will check pacemaker,
cinder, mistral and redis services in the base profiles
as some of them has the $pacemaker_master parameter
defaulted to true.

Change-Id: I2f91c3f6baa33f74b5625789eec83233179a9655
2016-08-08 22:44:01 +02:00
Imre Farkas a14d2a554e Add base ironic profiles
Co-Authored-By: Dmitry Tantsur <dtantsur@redhat.com>
Partially-implements: blueprint ironic-integration
Change-Id: I4831789b31cf5df1e61fe3ec05994156e0afc054
2016-06-15 13:03:05 +02:00