Deprecate support for novajoin

... because novajoin[1] repo is unmaintained. Its code has not been
updated for last 2 years. It's CI has been broken for several months.
Also, it only supports Python 3.6 and doesn't support 3.7, 3.8 or 3.9.

In the past we used novajoin in TripleO to enable TLS for internal
communications but that usage was already deprecated[2].

[1] https://opendev.org/x/novajoin
[2] bf910512c344f55d01303409f6c2151d89347583

Change-Id: Ia8a45480aad3510a14c475b4b003b22bca6a115b
This commit is contained in:
Takashi Kajinami
2022-03-13 21:31:14 +09:00
parent da1383a880
commit 70bb80f6d3
5 changed files with 14 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
# == Class: nova::metadata::novajoin::api
#
# DEPRECATED !
# The nova::metadata::novajoin::api class encapsulates an
# IPA Nova Join API service.
#
@@ -127,6 +128,8 @@ class nova::metadata::novajoin::api (
$configure_kerberos = false,
$ipa_realm = undef,
) {
warning('Support for novajoin service is deprecated!')
include nova::params
include nova::metadata::novajoin::authtoken
include nova::metadata::novajoin::policy

View File

@@ -1,5 +1,6 @@
# == Class: nova::metadata::novajoin::auth
#
# DEPRECATED !
# Creates nova endpoints and service account in keystone
#
# === Parameters:
@@ -90,6 +91,7 @@ class nova::metadata::novajoin::auth(
$configure_user = true,
$configure_user_role = true,
) {
warning('Support for novajoin service is deprecated!')
Keystone::Resource::Service_identity['novajoin'] -> Service <| name == 'novajoin-server' |>

View File

@@ -1,5 +1,6 @@
# class: nova::metadata::novajoin::authtoken
#
# DEPRECATED !
# Configure the keystone_authtoken section in the configuration file
#
# === Parameters
@@ -235,6 +236,7 @@ class nova::metadata::novajoin::authtoken(
$interface = $::os_service_default,
$params = {},
) {
warning('Support for novajoin service is deprecated!')
include nova::deps

View File

@@ -1,5 +1,6 @@
# == Class: nova::metadata::novajoin::policy
#
# DEPRECATED !
# Configure the nova policies
#
# === Parameters
@@ -29,6 +30,7 @@ class nova::metadata::novajoin::policy (
$policy_path = '/etc/novajoin/policy.yaml',
$purge_config = false,
) {
warning('Support for novajoin service is deprecated!')
validate_legacy(Hash, 'validate_hash', $policies)

View File

@@ -0,0 +1,5 @@
---
deprecations:
- |
Support for novajoin service has been deprecated and will be removed in
a future release.