Commit Graph

12 Commits

Author SHA1 Message Date
Rafal Lewandowski be2b1a4eda Add Redfish rules to Ironic and Bifrost introspection
Change-Id: I719fc8042742fe8b3b0312658aec39317a1bc358
2024-04-03 09:28:35 +00:00
Pierre Riteau 2f2387fc3b Remove support for Ironic boot option
This has been dropped upstream in Ironic [1].

[1] https://review.opendev.org/c/openstack/ironic/+/850240

Change-Id: Ib95cdadb00a84edbf6d17de1c2bd450c002e798e
2022-09-30 09:09:59 +00:00
Pierre Riteau cc6ccba2e8 Fix typo in inspector.yml
Change-Id: I4ed284173841def54953d832c3fcd288e1d2605a
2021-09-14 18:17:41 +02:00
Pierre Riteau db15a80123 Allow to customise hardware inspection timeouts
Change-Id: I2e45876f89121d66cf03b50824bd8258517b88cb
Story: 2007844
Task: 40135
2020-06-22 12:24:00 +02:00
Mark Goddard c2a35ce211 Remove inspector_manage_firewall variable
This is supported in kolla-ansible via the ironic_inspector_pxe_filter
variable, which can be added to globals.yml. The default value for that
variable changed in the Stein release from 'iptables' to 'dnsmasq',
since the iptables filter does not work with Docker CE [1].

This change removes the inspector_manage_firewall variable.

This change also adds an iptables rule in CI tests to allow DHCP packets
to be forwarded, to ensure bare metal servers can be deployed.

[1] https://bugs.launchpad.net/kolla-ansible/+bug/1823044

Depends-On: https://review.openstack.org/649673
Change-Id: Idac6777b4d97fbd17698fc2086ceb068d7b2e326
Related-Bug: #1823044
2019-04-09 13:53:59 +01:00
Mark Goddard ef84890798 Fix IPA image download
The IPA ramdisk and kernel images may be built or downloaded via a URL.
If the latter option is used, any images previously downloaded to
$KOLLA_CONFIG_PATH/config/ironic/ironic-agent.* would previously not be
updated if the image contents change.

This change introduces variables for setting a URL to a file containing
checksums for the images. The algorithm used to compute the checksum is
also configurable (default sha256). This allows us to ensure we are
using the correct version of the image, while avoiding an expensive few
hundred megabyte image download just to check.

If a checksum is not specified, the image will be downloaded every time
to ensure that it is up to date.

Change-Id: I8120518ed98d61f3652f5205ce7ec9f798ab2aa1
Story: 2001660
Task: 6693
2018-10-02 13:30:11 +01:00
Mark Goddard 1eff7466c6 Sync sample inspector.yml config with group_vars 2017-12-01 11:21:00 +00:00
Mark Goddard 5304c0a489 Add a data store for ironic inspector introspection data
In environments without Swift we are currently unable to store hardware
introspection data. The inspection_store container runs an nginx server
that supports a restricted Swift-like HTTP API using WebDAV that supports
upload and retrieval of introspection data.
2017-09-01 18:21:10 +00:00
Mark Goddard 4c9a6da3f1 Support interface name map for Dell LLDP switch port workaround
The current implementation only works if all compute nodes in the system
have the same interface name for their provisioning network. This change
adds a default value and a map for exceptions
2017-06-15 14:52:23 +01:00
Mark Goddard a23bdd2e8c Allow inspector plugin list to be extended 2017-04-01 09:25:10 +01:00
Mark Goddard aa6e2e2514 Add inspector rules to workaround Dell switch LLDP issues
Some Dell switch OSs (including Dell Network OS 9.10(0.1)) do not support
sending interface port description TLVs correctly. Instead of sending the
interface description, they send the interface name (e.g. TenGigabitEthernet
1/1/1). This breaks the discovery process which relies on Ironic node
introspection data containing the node's name in the interface port
description. We work around this here by creating an introspection rule for
each ironic node that matches against the switch system and the relevant
interface name, then sets the node's name appropriately.
2017-03-27 16:26:45 +01:00
Mark Goddard 4e6effba99 Add introspection rules for overcloud 2017-03-15 16:42:32 +00:00