Bug 1502970

Summary: Unchanged upstream tendrl-ansible in downstream repo
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Daniel Horák <dahorak>
Component: web-admin-tendrl-ansibleAssignee: Timothy Asir <tjeyasin>
Status: CLOSED ERRATA QA Contact: Rochelle <rallan>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: mbukatov, nthomas, rallan, rcyriac, rkanade, sankarshan
Target Milestone: ---Keywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tendrl-ansible-1.5.4-1.el7rhgs Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-18 04:39:14 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:
Bug Depends On:    
Bug Blocks: 1460574    
Attachments:
Description Flags
example of suggested upstream changes for rpm specfile
none
example of suggested upstream changes for site.yml.sample playbook none

Description Daniel Horák 2017-10-17 06:54:23 UTC
Description of problem:
  The tendrl-ansible package[1] have no changes related to downstream and contains (only) upstream related files.

Version-Release number of selected component (if applicable):
  tendrl-ansible-1.5.3-2.el7rhgs

How reproducible:
  100%

Actual results:
  For example tendrl repo points to copr and grafana repo points to upstream repository:
  
  # cat /usr/share/ansible/roles/tendrl-ansible.tendrl-copr/files/tendrl-release-epel-7.repo
  [tendrl-release]
  name=Copr repo for release owned by tendrl
  baseurl=https://copr-be.cloud.fedoraproject.org/results/tendrl/release/epel-7-$basearch/
  ...

  # cat /usr/share/ansible/roles/tendrl-ansible.grafana-repo/files/grafana.repo
  [grafana]
  name=grafana
  baseurl=https://packagecloud.io/grafana/stable/el/6/$basearch
 ...


Expected results:
  Downstream tendrl-ansible package should not contain upstream only related content and should be updated for downstream installation.

Additional info:

[1] https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=608075

Comment 3 Martin Bukatovic 2017-10-17 14:18:14 UTC
Created attachment 1339732 [details]
example of suggested upstream changes for rpm specfile

Comment 4 Martin Bukatovic 2017-10-17 14:20:58 UTC
Created attachment 1339733 [details]
example of suggested upstream changes for site.yml.sample playbook

Comment 5 Martin Bukatovic 2017-10-17 14:29:23 UTC
I suggest at least to drop roles ceph-installer, gluster-gdeploy-copr, grafana-repo and tendrl-copr in the downstream package. We would need to do this via patch against pristine upstream release source tarball.

This means that we need to:

1) Remove references to these roles in downstream specfile (see example of suggested change of upstream specfile in attachment 1339732 [details]).

2) Moreover we would need to maintain a patch of upstream example playbook site.yml.sample, so that it would not contain references to these roles (see example of suggested change in attachment 1339733 [details]). This patch needs to be added into dist git repo and referenced in downstream specfile (via Patch0: and related %patch0 during %prep) to be applied during rpmbuild.

Comment 8 Timothy Asir 2017-11-02 19:11:48 UTC
Done the required changes in the spec file and taken patch2 and build the package tendrl-selinux version 1.5.3-3 and updated the repo.

Comment 13 errata-xmlrpc 2017-12-18 04:39:14 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/RHEA-2017:3478