Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1793063

Summary: [OSP13] Upgrade tasks can't stop auditd service
Product: Red Hat OpenStack Reporter: Jose Luis Franco <jfrancoa>
Component: openstack-tripleo-heat-templatesAssignee: Jose Luis Franco <jfrancoa>
Status: CLOSED ERRATA QA Contact: Ronnie Rasouli <rrasouli>
Severity: high Docs Contact:
Priority: high    
Version: 13.0 (Queens)CC: ealcaniz, lbezdick, mburns, rlondhe
Target Milestone: ---Keywords: Triaged, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-8.4.1-34.el7ost Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-10 11:23:27 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 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