charm-ironic-conductor:stable/2023.1

Last commit made on 2023-07-06
Get this branch:
git clone -b stable/2023.1 https://git.launchpad.net/charm-ironic-conductor

Branch merges

Branch information

Name:
stable/2023.1
Repository:
lp:charm-ironic-conductor

Recent commits

a6effa4... by Corey Bryant

Use service_domain in [service_user] section

Rebuild to update [service_user] config to use the service domain.
This was fixed in charm-helpers.

The keystone charm currently creates two service users, one for the
service domain (for v3 authentication), and the other for the default
domain (for v2 authentication). The [service_user] config needs to
use the service domain.

Closes-Bug: #2026202
Change-Id: I053c866d147ad5ef828b8ad2333b14964e93fd85

2af6acd... by Felipe Reyes

Add support for using service tokens

This patch configures ironic-conductor to send a service token along
with the received user token on requests to other services. This allow
those other services to accept the request even if the user token has
been invalidated since received by Ironic. Also with this patch Ironic
will accept request from other services with invalid user tokens but
valid service tokens.

Update src/build.lock to get backported patches into
charm-helpers@stable/antelope

Closes-Bug: #1992840
Change-Id: Ie94b5ce9ba9d015a31a78bb71ce7ca786377d6d9
(cherry picked from commit c7dda3f3a8c4b3e5445c727590eb44e4a6482cc3)

0c3b72e... by Alex Kavanagh

Stable artefacts for stable/2023.1 (antelope)

This patch is to lock the stable/2023.1 (antelope release) charms
down so that as much as possible.
In particular, this patch does:

- set the .gitreview to stable/2023.1
- lock zaza and zaza-openstack-tests to stable/antelope branches
- for reactive charms Add build.lock files to lock the layers
  and python modules used to build the charm.
- for ops framework charms, extract a pip freeze from the
  charmcraft container after building the charm to lock the
  modules used to build the charm.
- drop the kinetic bundles if the exist. (Note the updates to
  tests.yaml is in another batch (topic: antelope-voting)
- update the bundles so that they point to the antelope specific
  channels. e.g. 2023.1/edge for OpenStack charms, 23.03/edge for
  OVN charms, quincy/edge for Ceph charms and generally, the
  appropriate LTS Jammy branch for the various support charms.

Change-Id: Icc860008bf72758b16e8df2371513befc45b5d36

6e3dbf2... by Corey Bryant

Fix exception in set-temp-url-secret action

There are two issues fixed in this bug. The first is that the
keystone_session exception block does not return on failure. The
second, and the reason that create_keystone_session is failing,
is due to the use of setuptools 60.9.0+ with the
importlib-metadata in wheelhouse.txt that is pinned to <3.0.0.
For more details see: https://github.com/pypa/setuptools/issues/3452

Closes-Bug: #2018018
Change-Id: I266c1fb92d531aded2f3253766de0a79accd9577
(cherry picked from commit 9f221f1087c51f9323dbb41cba52018a93ccce5e)

128cd8a... by Corey Bryant

Enable jammy-antelope voting and drop kinetic-zed tests

* Voting was turned on for jammy-antelope in the
  project-template for charm-functional-jobs in zosci-config
* Voting for jammy-antelope bundles with non-standard names
  is turned on in individual charms
* Kinetic-zed bundles/tests are removed
* Add libpython3-dev to allow the charm to be built. This
  fixes a missing dependency with Cython.
* Add pkg-config to the charmcraft.yaml for builds. This
  is required by rust to build cryptography.

Change-Id: I924bf717a6987d7b666f9ade1b8c5832df359dd6
(cherry picked from commit 298f5a15d4de7346b206ac90fa33457532a3041e)

4184028... by Corey Bryant

Add Antelope support

* sync charm-helpers to classic charms
* change openstack-origin/source default to antelope
* align testing with antelope
* add new antelope bundles
* add antelope bundles to tests.yaml
* add antelope tests to osci.yaml and .zuul.yaml
* update build-on and run-on bases

Change-Id: Ie33dfe88cb3e5392f4aa9bba70ba09ba8a80f88e

41efb85... by Felipe Reyes

Add configuration option 'hardware-enablement-options'

This new config option allows operators to pass custom configuration
options to the ironic-conductor service.

Usage example:

    cat << EOF > ./config.txt
    [DEFAULT]
    enabled_hardware_types = intel-ipmi, ipmi, idrac
    enabled_power_interfaces = ipmitool, idrac-wsman
    EOF
    juju config ironic-conductor \
        hardware-enablement-options=@./config.txt

Closes-Bug: #2002151
Change-Id: I3e2ca81b272e61e4069d80b52902b243a5f0ba19

0cd0912... by Felipe Reyes

Add config option swift-temp-url-duration

This config option allows operators to increase the duration of
temporary URLs handed to ironic-python-agent to download images when
using the 'direct' deployment interface[0].

The rendered file (ironic.conf) will only include
[glance].swift_temp_url_duration when it's overriden by the
operator, otherwise the upstream's default is used by omitting the key
defition.

[0] https://docs.openstack.org/ironic/latest/admin/interfaces/deploy.html#direct-deploy

Closes-Bug: #1997581
Change-Id: I6a4a582b199e5137a9e5fd185882acec20424f3a

e229f53... by Liam Young

Fix charm for tox4 compatibility

Related-Bug: 2002788
Change-Id: Icafcac5f6213bd5234af0cb45bdc7b179a859b51

9d9c4d7... by Felipe Reyes

Update overlay symlinks

Change-Id: Ie2a1195a15a71da15ca61242a8badf479f140a76