Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1332594

Summary: discover-remaster isn't executable
Product: Red Hat Satellite Reporter: Justin Sherrill <jsherril>
Component: Discovery ImageAssignee: Lukas Zapletal <lzap>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: bbuckingham, biholmes, bkearney, ehelms, lzap, rjerrido, sghai, sthirugn, szadok, tmlcoch, zhunting
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: foreman-discovery-image-3.1.1-8 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-27 11:26:47 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 Justin Sherrill 2016-05-03 14:29:51 UTC
Description of problem:

In the 6.2.0 beta the discovery-remaster command isn't executable:

# ls -l /usr/bin/discovery-remaster 
-rw-r--r-- 1 root root 2041 Apr 23 15:40 /usr/bin/discovery-remaster



Version-Release number of selected component (if applicable):
foreman-discovery-image-3.1.1-6.el7sat.noarch

How reproducible:
always


Steps to Reproduce:
1. install foreman-discovery-images
2. try to run 'discovery-remaster'


Actual results:
won't run because its not executable

Expected results:
runs fine


Additional info:

Comment 2 Lukas Zapletal 2016-05-04 12:43:50 UTC
REL ENG: Please fix foreman-discovery-image.spec.tmpl file in foreman-discovery-image dist git. Section %files needs appropriate explicit attribute. Then we need new build for both platforms.

Comment 3 Lukas Zapletal 2016-05-04 12:44:55 UTC
I moved to POST even when this wasn't acked yet, small change, expecting to have it waived.

Comment 4 Eric Helms 2016-05-12 18:11:03 UTC
Is there a Redmine issue, github PR or changeset associated to what needs changing here?

Comment 5 Lukas Zapletal 2016-05-13 14:02:37 UTC
*** Bug 1335643 has been marked as a duplicate of this bug. ***

Comment 6 Lukas Zapletal 2016-05-13 14:03:27 UTC
Eric, please see comment 2. I can do that for you, if you prefer.

Comment 7 Eric Helms 2016-05-16 15:37:20 UTC
Lukas,

Please make the updates as you are less likely to mess them up and then switch this to MODIFIED once you have done so.

Thanks

Comment 9 Shlomi Zadok 2016-05-29 09:30:06 UTC
foreman-discovery-image-3.1.1-6.el7sat.noarch is still on latest snap so one can not test - move back to modified?

Comment 13 Sachin Ghai 2016-06-01 10:07:24 UTC
Yeah.. latest package is not in snap13.1. Lets keep it in assigned state then. thanks.

Comment 14 Bryan Kearney 2016-06-09 12:53:27 UTC
Verified. 
Version Verified: Snap 15.1
Steps to verify:

[root@sat-test-rhel7 ~]# yum install foreman-discovery-image-3.1.1-11.el7sat.noarch.rpm 
[root@sat-test-rhel7 ~]# rpm -qa | grep discovery
foreman-discovery-image-3.1.1-11.el7sat.noarch
tfm-rubygem-hammer_cli_foreman_discovery-0.0.2.3-1.el7sat.noarch
tfm-rubygem-foreman_discovery-5.0.0.8-1.el7sat.noarch
[root@sat-test-rhel7 ~]# ls -l /usr/bin/discovery-remaster 
-rwxr-xr-x 1 root root 2041 Jun  6 07:08 /usr/bin/discovery-remaster
[root@sat-test-rhel7 ~]#

Comment 15 Bryan Kearney 2016-07-27 11:26:47 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-2016:1501