Bug 2155602 - Ironic tries to send power notifications to nova when nova api endpoint is absent
Summary: Ironic tries to send power notifications to nova when nova api endpoint is ab...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: puppet-tripleo
Version: 17.0 (Wallaby)
Hardware: x86_64
OS: Linux
medium
low
Target Milestone: ga
: 17.1
Assignee: Harald Jensås
QA Contact: James E. LaBarre
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-12-21 15:37 UTC by mlecki
Modified: 2023-08-16 01:13 UTC (History)
9 users (show)

Fixed In Version: puppet-tripleo-14.2.3-1.20230323230826.d0c3708.el9ost
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-08-16 01:13:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 2000308 0 None None None 2022-12-22 11:15:08 UTC
OpenStack gerrit 868381 0 None MERGED Add IronicEnableNovaPowerNotifications parameter 2023-03-07 08:20:38 UTC
OpenStack gerrit 871037 0 None NEW Ironic: Manage [nova] options by puppet 2023-03-07 08:21:30 UTC
Red Hat Issue Tracker OSP-20998 0 None None None 2022-12-21 15:47:25 UTC
Red Hat Product Errata RHEA-2023:4577 0 None None None 2023-08-16 01:13:30 UTC

Description mlecki 2022-12-21 15:37:44 UTC
Description of problem:

Undercloud in RHOSP 17 does not include nova and nova api endpoints, yet ironic keeps making attempts to send power notifications to nova polluting the ironic-conductor.log with the following entries:

2022-12-21 09:53:24.990 2 WARNING ironic.common.nova [req-f8a5f2c3-1899-43fc-b450-90ca36a874e1 - - - - -] Could not connect to Nova to send a power notification, please check configuration. An auth plugin is required to determine endpoint URL: keystoneauth1.exceptions.auth_plugins.MissingAuthPlugin: An auth plugin is required to determine endpoint URL


Version-Release number of selected component (if applicable):
RHOSP 17.0

How reproducible:
Always

Steps to Reproduce:
1.Install undercloud
2.Provision networks
3.Provision VIPs
4.Import barmetal nodes
5.Introspect baremetal nodes
6.Provision baremetal nodes

Actual results:
Each time ironic changes power state of the node it logs the message noted above

Expected results:
Since there is no nova, the ironic-conductor.log should not be polluted with attempts to send notfications

Additional info:

Comment 1 Takashi Kajinami 2022-12-22 01:36:37 UTC
Seems we have to set [nova] send_power_notifications = false in ironic.conf .

Comment 4 Harald Jensås 2023-03-30 13:48:50 UTC
Fixed in versions:
  puppet-tripleo-14.2.3-1.20230323230826.d0c3708.el9osttrunk
  openstack-tripleo-heat-templates-14.3.1-1.20230325220932.3d9ac2e.el9ost

Comment 5 Harald Jensås 2023-03-30 13:49:55 UTC
(In reply to Harald Jensås from comment #4)
> Fixed in versions:
>   puppet-tripleo-14.2.3-1.20230323230826.d0c3708.el9osttrunk
>   openstack-tripleo-heat-templates-14.3.1-1.20230325220932.3d9ac2e.el9ost

oops, puppet-tripleo fixed in version - puppet-tripleo-14.2.3-1.20230323230826.d0c3708.el9ost

Comment 16 errata-xmlrpc 2023-08-16 01:13:07 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Release of components for Red Hat OpenStack Platform 17.1 (Wallaby)), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2023:4577


Note You need to log in before you can comment on or make changes to this bug.