Bug 2155602

Summary: Ironic tries to send power notifications to nova when nova api endpoint is absent
Product: Red Hat OpenStack Reporter: mlecki
Component: puppet-tripleoAssignee: Harald Jensås <hjensas>
Status: CLOSED ERRATA QA Contact: James E. LaBarre <jamesl>
Severity: low Docs Contact:
Priority: medium    
Version: 17.0 (Wallaby)CC: hjensas, jjoyce, jschluet, pweeks, sbaker, slinaber, tkajinam, tvignaud, yrabl
Target Milestone: gaKeywords: Triaged
Target Release: 17.1   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: puppet-tripleo-14.2.3-1.20230323230826.d0c3708.el9ost Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-08-16 01:13:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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