Bug 1304911 - OpenShift client download weird directory structure
Summary: OpenShift client download weird directory structure
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: oc
Version: 3.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: ---
Assignee: Troy Dawson
QA Contact: Wei Sun
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-05 00:15 UTC by Takayoshi Kimura
Modified: 2017-02-02 07:20 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-02-01 21:50:35 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Takayoshi Kimura 2016-02-05 00:15:19 UTC
Description of problem:

OpenShift client download has weird directory structure.

https://access.redhat.com/downloads/content/290/ver=3.1/rhel---7/3.1.1.6/x86_64/product-software

$ tar tf oc-3.1.1.6-linux.tar.gz 
mnt/redhat/staging-cds/ose-clients-3.1.1.6/usr/share/atomic-openshift/linux/oc

$ tar tf oc-3.1.1.6-macosx.tar.gz 
mnt/redhat/staging-cds/ose-clients-3.1.1.6/usr/share/atomic-openshift/macosx/oc

$ unzip -l oc-3.1.1.6-windows.zip 
Archive:  oc-3.1.1.6-windows.zip
  Length      Date    Time    Name
---------  ---------- -----   ----
 38504448  01-26-2016 06:34   mnt/redhat/staging-cds/ose-clients-3.1.1.6/usr/share/atomic-openshift/windows/oc.exe
---------                     -------
 38504448                     1 file

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

3.1.1

How reproducible:

Always

Steps to Reproduce:
1. Download OpenShift client
2. Open the downloaded archive
3.

Actual results:

See description part.

Expected results:

Previously it was something like "oc-31.0.4/oc" which was good. The current dir structure includes whole our internal build dir.

Additional info:

Comment 1 Juan Vallejo 2017-02-01 16:43:13 UTC
@jwforres Should this be reassigned to someone in the release team?

Comment 2 Jessica Forrester 2017-02-01 21:38:40 UTC
@tdawson can you work with RCM on that to see why the packaging structure changed?

Comment 3 Troy Dawson 2017-02-01 21:50:35 UTC
This was a problem with early 3.1 client downloads and has already been fixed in later versions.

If you are using the OpenShift 3.1 client we recommend that you use the latest version, currently is 3.1.1.10, that has already been fixed.

https://access.redhat.com/downloads/content/290/ver=3.1/rhel---7/3.1.1.10/x86_64/product-software


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