Bug 1745172 - Tripleo should not install openldap-clients on overcloud nodes
Summary: Tripleo should not install openldap-clients on overcloud nodes
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 14.0 (Rocky)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: z4
: 14.0 (Rocky)
Assignee: RHOS Maint
QA Contact: Sasha Smolyak
URL:
Whiteboard:
: 1757721 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-08-23 18:47 UTC by Eliad Cohen
Modified: 2019-11-06 16:49 UTC (History)
9 users (show)

Fixed In Version: openstack-tripleo-heat-templates-9.3.1-0.20190513171759.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-11-06 16:48:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Undercloud files from CI (14.39 MB, application/x-xz)
2019-08-23 18:47 UTC, Eliad Cohen
no flags Details


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 666818 0 'None' MERGED Remove unnecessary openldap-clients package from overcloud controllers 2020-09-03 15:17:24 UTC
Red Hat Product Errata RHBA-2019:3745 0 None None None 2019-11-06 16:49:20 UTC

Description Eliad Cohen 2019-08-23 18:47:36 UTC
Created attachment 1607472 [details]
Undercloud files from CI

Description of problem:
Installation fails because openldap-clients package installed or avialable [1] 
Error originates from ControllerStorageNfs/host_prep_tasks.yaml:389

Version-Release number of selected component (if applicable):
Core puddle version: 2019-08-18.1

How reproducible:
100%

Steps to Reproduce:
1. Deploy osp14 with ControllerStorageNfs role 

Actual results:
Deployment fails

Expected results:
Packages should be found and deployment should succeed

Additional info:
[1]http://pastebin.test.redhat.com/791423

Comment 1 Alex Schultz 2019-08-23 21:25:47 UTC
failed: [controller-2] (item=openldap-clients) => {"changed": false, "item": "openldap-clients", "msg": "No package matching 'openldap-clients' found available, installed or updated", "rc": 126, "results": ["No package matching 'openldap-clients' found available, installed or updated"]}
failed: [controller-1] (item=openldap-clients) => {"changed": false, "item": "openldap-clients", "msg": "No package matching 'openldap-clients' found available, installed or updated", "rc": 126, "results": ["No package matching 'openldap-clients' found available, installed or updated"]}
failed: [controller-0] (item=openldap-clients) => {"changed": false, "item": "openldap-clients", "msg": "No package matching 'openldap-clients' found available, installed or updated", "rc": 126, "results": ["No package matching 'openldap-clients' found available, installed or updated"]}

Comment 2 Goutham Pacha Ravi 2019-08-26 04:53:51 UTC
Hi Eliad, 

It looks like the overcloud controller nodes do not have any repos configured:

 [heat-admin@controller-0 ~]$ sudo yum update
 Loaded plugins: product-id, search-disabled-repos, subscription-manager
 This system is not registered with an entitlement server. You can use subscription-manager to register.
 There are no enabled repos.
  Run "yum repolist all" to see the repos you have.
  To enable Red Hat Subscription Management repositories:
      subscription-manager repos --enable <repo>
  To enable custom repositories:
      yum-config-manager --enable <repo>


 [heat-admin@controller-0 ~]$ yum repolist all
 Loaded plugins: product-id, search-disabled-repos, subscription-manager
 repolist: 0

This shouldn't have anything to do with the ControllerStorageNFS role

Comment 3 Alex Schultz 2019-08-26 13:48:25 UTC
You shouldn't need repos configured if using the overcloud image. That points to this client missing from the overcloud image which would be wrong.

Comment 5 Alan Bishop 2019-08-27 14:06:58 UTC
While Goutham's comment #2 is correct, it seems the openldap-clients package is not supposed to be installed. There is an upstream patch which is missing downstream.

Comment 11 Raildo Mascena de Sousa Filho 2019-10-02 21:34:39 UTC
*** Bug 1757721 has been marked as a duplicate of this bug. ***

Comment 19 errata-xmlrpc 2019-11-06 16:48:54 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-2019:3745


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