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 976526 - variable name/package location value in ISO installer seems bogus
Summary: variable name/package location value in ISO installer seems bogus
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Installation
Version: Nightly
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: Jason Montleon
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-20 18:14 UTC by Corey Welton
Modified: 2019-09-26 13:41 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-04-24 17:07:12 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Corey Welton 2013-06-20 18:14:39 UTC
Description of problem:

ISO installer script has the line 
PACAKGES_DIR = os.path.join(PWD, "Packags")


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. open install_packages from ISO in editor
2. search for "PACAKGES"

Actual results:
A misspelled variable and presumably a misspelled filepath

Expected results:
Correct spelling -- although this variable doesn't seem to actually be referenced anywhere else in the script.  Probably just remove the line completely.

Additional info:
Satellite-6.0.1-RHEL-6-20130531.1-Satellite-x86_64-dvd1.iso

Comment 2 Bryan Kearney 2013-09-23 14:18:45 UTC
https://github.com/Katello/katello-misc/pull/19

Comment 3 Ivan Necas 2013-10-15 13:25:05 UTC
Merged in https://github.com/Katello/katello-misc/pull/19

Comment 6 Corey Welton 2013-10-21 20:16:59 UTC
Strangely enough, I don't see this having made its way into latest iso.

[cwelton@localhost Downloads]$ sudo mount -o loop Satellite-6.0.2-RHEL-6-20131017.1-Satellite-x86_64-dvd1.iso /tmp/foo
[cwelton@localhost Downloads]$ cd /tmp/foo
[cwelton@localhost foo]$ grep "PACAK" install_packages 
PACAKGES_DIR = os.path.join(PWD, "Packags")

Comment 7 Mike McCune 2013-10-22 03:36:12 UTC
Jason, 

mind digging into why this fix didn't make it into the ISO?

Comment 8 Jason Montleon 2013-10-22 12:57:24 UTC
I think I see why this happened. In the conf file section for generating the iso it was looking at the old old 6.0.1 branch. It has been updated.

Comment 10 Sachin Ghai 2013-10-24 10:36:59 UTC
Verified with MDP2 Snap7.

Now the variable is correctly spelled in install_packages file.


[root@perceptor ~]# mount -o loop Satellite-6.0.2-RHEL-6-20131023.1-Satellite-x86_64-dvd1.iso /mnt
[root@perceptor ~]# cd /mnt/
[root@perceptor mnt]# ll
total 71
-r-xr-xr-x. 1 root root  4469 Oct 23 13:41 install_packages
dr-xr-xr-x. 2 root root 61440 Oct 23 13:41 Packages
-r--r--r--. 1 root root   519 Oct 23 13:41 README
dr-xr-xr-x. 2 root root  4096 Oct 23 13:41 repodata
-r--r--r--. 1 root root   888 Oct 23 13:41 TRANS.TBL

[root@perceptor mnt]# grep PACK  install_packages 
ISO_PACKAGE_DIR = os.path.join(PWD, "Packages")
if (not os.path.exists(ISO_PACKAGE_DIR)):
    for f in os.listdir(ISO_PACKAGE_DIR):

[root@perceptor mnt]# grep "PACAK" install_packages

Comment 11 Bryan Kearney 2014-04-24 17:07:12 UTC
This was verified and delivered with MDP2. Closing it out.


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