Bug 1793063 - [OSP13] Upgrade tasks can't stop auditd service
Summary: [OSP13] Upgrade tasks can't stop auditd service
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 13.0 (Queens)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Jose Luis Franco
QA Contact: Ronnie Rasouli
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-01-20 15:36 UTC by Jose Luis Franco
Modified: 2023-09-07 21:34 UTC (History)
4 users (show)

Fixed In Version: openstack-tripleo-heat-templates-8.4.1-34.el7ost
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-10 11:23:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1860349 0 None None None 2020-01-20 16:07:07 UTC
OpenStack gerrit 703445 0 None MERGED [Queens only] Change auditd stopping upgrade task. 2020-03-10 14:01:21 UTC
Red Hat Issue Tracker OSP-28321 0 None None None 2023-09-07 21:34:50 UTC
Red Hat Product Errata RHBA-2020:0760 0 None None None 2020-03-10 11:23:59 UTC

Description Jose Luis Franco 2020-01-20 15:36:25 UTC
Description of problem:

Issue obtained from the customer case https://access.redhat.com/support/cases/#/case/02406707.

When upgrading the Controller nodes from OSP12 to OSP13 one of the upgrade tasks failed during the stoppage of the auditd service:

2020-01-18 02:00:44,890 p=136626 u=mistral |  TASK [Stop and disable openstack-aodh-notifier service] ************************
2020-01-18 02:00:44,891 p=136626 u=mistral |  Saturday 18 January 2020  02:00:44 +0000 (0:00:00.301)       0:07:25.806 ******
2020-01-18 02:00:44,982 p=136626 u=mistral |  skipping: [fws-shk01-fcn03] => {"changed": false, "skip_reason": "Conditional result was False"}
2020-01-18 02:00:44,996 p=136626 u=mistral |  skipping: [fws-shk01-fcn02] => {"changed": false, "skip_reason": "Conditional result was False"}
2020-01-18 02:00:45,083 p=136626 u=mistral |  TASK [Stop auditd service] *****************************************************
2020-01-18 02:00:45,084 p=136626 u=mistral |  Saturday 18 January 2020  02:00:45 +0000 (0:00:00.193)       0:07:25.999 ******
2020-01-18 02:00:45,398 p=136626 u=mistral |  fatal: [fws-shk01-fcn03]: FAILED! => {"changed": false, "msg": "Unable to stop service auditd: Failed to stop auditd.service: Operation refused, unit auditd.service may be requested by dependency only (it is configured to refuse manual start/stop).\nSee system logs and 'systemctl status auditd.service' for details.\n"}
2020-01-18 02:00:45,475 p=136626 u=mistral |  fatal: [fws-shk01-fcn02]: FAILED! => {"changed": false, "msg": "Unable to stop service auditd: Failed to stop auditd.service: Operation refused, unit auditd.service may be requested by dependency only (it is configured to refuse manual start/stop).\nSee system logs and 'systemctl status auditd.service' for details.\n"}
2020-01-18 02:00:45,479 p=136626 u=mistral |  PLAY RECAP *********************************************************************
2020-01-18 02:00:45,479 p=136626 u=mistral |  fws-shk01-fcn01            : ok=185  changed=86   unreachable=0    failed=1
2020-01-18 02:00:45,479 p=136626 u=mistral |  fws-shk01-fcn02            : ok=188  changed=83   unreachable=0    failed=1
2020-01-18 02:00:45,479 p=136626 u=mistral |  fws-shk01-fcn03            : ok=188  changed=83   unreachable=0    failed=1
2020-01-18 02:00:45,479 p=136626 u=mistral |  Saturday 18 January 2020  02:00:45 +0000 (0:00:00.395)       0:07:26.395 ******
2020-01-18 02:00:45,479 p=136626 u=mistral |  ===============================================================================

It seems like auditd service can't be stopped via systemctl and it has to be done via "service auditd stop".


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


How reproducible:


Steps to Reproduce:
1.Deploy OSP12 and make sure the auditd service is running on the controllers
2.Upgrade the Undercloud to OSP13
3.Upgrade the Overcloud nodes to OSP13.

Actual results:

The execution of "openstack overcloud upgrade --roles Controller" fails.

Expected results:


Additional info:

Comment 5 errata-xmlrpc 2020-03-10 11:23:27 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, 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/RHBA-2020:0760


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