diff options
author | Julia Kreger <juliaashleykreger@gmail.com> | 2020-09-01 16:10:34 -0700 |
---|---|---|
committer | Julia Kreger <juliaashleykreger@gmail.com> | 2020-09-04 17:09:39 +0000 |
commit | 5b272b0c46f5a10c50fc7325cc653fd577908ca0 (patch) | |
tree | 7d8e3f3bb37c8610bcccad988e0215bb203adbd8 /ironic/cmd | |
parent | 30d9cb47e62b62d570e1792515e16abf1ac3cd56 (diff) | |
download | ironic-5b272b0c46f5a10c50fc7325cc653fd577908ca0.tar.gz |
Remove token-less agent support
Removes the deprecated support for token-less agents which
better secures the ironic-python-agent<->ironic interactions
to help ensure heartbeat operations are coming from the same
node which originally checked-in with the Ironic and that
commands coming to an agent are originating from the same
ironic deployment which the agent checked-in with to begin
with.
Story: 2007025
Task: 40814
Change-Id: Id7a3f402285c654bc4665dcd45bd0730128bf9b0
Diffstat (limited to 'ironic/cmd')
-rw-r--r-- | ironic/cmd/conductor.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/ironic/cmd/conductor.py b/ironic/cmd/conductor.py index 4164db18a..d2ee20f5f 100644 --- a/ironic/cmd/conductor.py +++ b/ironic/cmd/conductor.py @@ -50,20 +50,8 @@ def warn_about_unsafe_shred_parameters(conf): 'Secure Erase. This is a possible SECURITY ISSUE!') -def warn_about_agent_token_deprecation(conf): - if not conf.require_agent_token: - LOG.warning('The ``[DEFAULT]require_agent_token`` option is not ' - 'set and support for ironic-python-agents that do not ' - 'utilize agent tokens, along with the configuration ' - 'option will be removed in the W development cycle. ' - 'Please upgrade your ironic-python-agent version, and ' - 'consider adopting the require_agent_token setting ' - 'during the Victoria development cycle.') - - def issue_startup_warnings(conf): warn_about_unsafe_shred_parameters(conf) - warn_about_agent_token_deprecation(conf) def main(): |