Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1585943 - [UPGRADES] 'Could not find the requested service xinetd' on pre-provisioned servers
[UPGRADES] 'Could not find the requested service xinetd' on pre-provisioned s...
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates (Show other bugs)
13.0 (Queens)
Unspecified Unspecified
high Severity high
: rc
: 13.0 (Queens)
Assigned To: Yurii Prokulevych
Yurii Prokulevych
: Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2018-06-05 03:15 EDT by Yurii Prokulevych
Modified: 2018-08-22 00:31 EDT (History)
13 users (show)

See Also:
Fixed In Version: openstack-tripleo-heat-templates-8.0.2-31.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-06-27 09:57:12 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Launchpad 1775154 None None None 2018-06-05 06:04 EDT
OpenStack gerrit 572327 None master: MERGED tripleo-heat-templates: Add sanity checks for xinetd service restart. (I4fbac81ceb4aba534395cf8c0a842fb732559234) 2018-06-07 08:14 EDT
OpenStack gerrit 572998 None stable/queens: NEW tripleo-heat-templates: Add sanity checks for xinetd service restart. (I4fbac81ceb4aba534395cf8c0a842fb732559234) 2018-06-07 08:14 EDT
Red Hat Product Errata RHEA-2018:2086 None None None 2018-06-27 09:58 EDT

  None (edit)
Description Yurii Prokulevych 2018-06-05 03:15:40 EDT
Description of problem:
=======================
Upgrade from RHOS-12 to RHOS-13 with pre-provisioned environments fails during Controller upgrade

openstack overcloud upgrade run \
    --ssh-user tripleo-admin \
    --stack overcloud \
    --roles ControllerDeployedServer --playbook all
...
 u'TASK [Restart xinetd service after rsync removal] ******************************',
 u'fatal: [192.168.24.108]: FAILED! => {"changed": false, "msg": "Could not find the requested service xinetd: host"}',
 u'fatal: [192.168.24.107]: FAILED! => {"changed": false, "msg": "Could not find the requested service xinetd: host"}',
 u'fatal: [192.168.24.106]: FAILED! => {"changed": false, "msg": "Could not find the requested service xinetd: host"}',
 u'',
 u'PLAY RECAP *********************************************************************',
 u'192.168.24.106             : ok=293  changed=198  unreachable=0    failed=1   ',
 u'192.168.24.107             : ok=267  changed=173  unreachable=0    failed=1   ',
 u'192.168.24.108             : ok=255  changed=157  unreachable=0    failed=1   '

Seems to be caused by:
https://github.com/openstack/tripleo-heat-templates/blob/stable/queens/docker/services/pacemaker/database/mysql.yaml#L377-L378

Indeed there is no xinetd.service:
  systemctl status xinetd
  Unit xinetd.service could not be found.



Version-Release number of selected component (if applicable):
=============================================================
openstack-tripleo-heat-templates-8.0.2-28.el7ost.noarch

Steps to Reproduce:
===================
1. Deploy RHOS-12 with pre-provisioned servers
2. Upgrade UC to RHOS-13
3. Follow upgrade procedure (repo/image setup/prepare/...)
4. Run upgrade of Controller role

Actual results:
===============
Upgrade fails

Expected results:
=================
Upgrade succeeds

Additional info:
================
Virtual env: 3controllers + 2computes + 3ceph
Comment 1 Yurii Prokulevych 2018-06-05 05:42:46 EDT
After follow up check with Damien found failed task comes from 
https://github.com/openstack/tripleo-heat-templates/blob/stable/queens/docker/services/swift-storage.yaml#L533-L535

To bypass issue added next workaround :

--- /usr/share/openstack-tripleo-heat-templates/docker/services/swift-storage.yaml.orig 2018-06-05 05:38:02.657000000 -0400
+++ /usr/share/openstack-tripleo-heat-templates/docker/services/swift-storage.yaml      2018-06-05 05:40:17.155000000 -0400
@@ -530,8 +530,11 @@
         - name: Remove rsync service from xinetd
           file: state=absent path=/etc/xinetd.d/rsync
           when: step|int == 2
+          register: rsync_service_removed
         - name: Restart xinetd service after rsync removal
-          when: step|int == 2
+          when:
+            - step|int == 2
+            - rsync_service_removed|changed
           service: name=xinetd state=restarted
       update_tasks:
         - name: Ensure rsyncd pid file is absent


Reassigning to DFG:Storage, Christian could U please continue with proper triage  and fix.
Comment 4 mathieu bultel 2018-06-06 16:46:17 EDT
Hi Maria,

Can you put your ack on this one plz ?
Comment 11 errata-xmlrpc 2018-06-27 09:57:12 EDT
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/RHEA-2018:2086

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