Bug 1999112

Summary: virtctl ConsoleCLIDownload returns 404 Not Found
Product: Container Native Virtualization (CNV) Reporter: Denis Ollier <dollierp>
Component: InstallationAssignee: Erkan Erol <eerol>
Status: CLOSED DUPLICATE QA Contact: Inbar Rose <irose>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.9.0CC: cnv-qe-bugs, stirabos
Target Milestone: ---   
Target Release: 4.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-09-02 09:38:07 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 Denis Ollier 2021-08-30 12:46:50 UTC
Description of problem
----------------------

When trying to fetch the virtctl binary from consoleclidownload/virtctl-clidownloads-kubevirt-hyperconverged, HTTP/1.1 404 Not Found is returned instead of the expected tarball.

Version
-------
OCP-4.9.0-fc.0
CNV: http://cnv-version-explorer.apps.cnv.engineering.redhat.com/BundleDetails?ver=v4.9.0-155

How reproducible
----------------

100%

Steps to Reproduce
------------------

Deploy a CNV cluster and try to fetch the virtctl tarball:

> curl -ksSLI https://hyperconverged-cluster-cli-download-openshift-cnv.apps.${CLUSTER_NAME}.${CLUSTER_DOMAIN}/amd64/linux/virtctl.tar

Actual results
--------------

The server returns an error

> HTTP/1.1 404 Not Found
> server: nginx/1.18.0
> date: Mon, 30 Aug 2021 12:36:19 GMT
> content-type: text/html
> content-length: 153
> set-cookie: f1c39fd825c17415fb68776ae46a5eeb=e5e73eecabd08ac3b072d5bb9717b325; path=/; HttpOnly; Secure; SameSite=None
> cache-control: private

Expected results
----------------

The server should serve virtctl tarball.

Additional info
---------------

Logs from the nginx server inside the hyperconverged-cluster-cli-download Pod tell us that it searching for path /opt/app-root/src/amd64/linux/virtctl.tar whereas the path for the virtctl tarball inside the container image is /opt/app-root/src/archives/amd64/linux/virtctl.tar.

Comment 1 Simone Tiraboschi 2021-09-02 09:38:07 UTC

*** This bug has been marked as a duplicate of bug 1999835 ***