Bug 1999835
| Summary: | ConsoleCLIDownload | wrong path in virtctl archive URL | ||
|---|---|---|---|
| Product: | Container Native Virtualization (CNV) | Reporter: | ibesso <ibesso> |
| Component: | Installation | Assignee: | Erkan Erol <eerol> |
| Status: | CLOSED ERRATA | QA Contact: | ibesso <ibesso> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 4.9.0 | CC: | cnv-qe-bugs, dollierp, ibesso, stirabos |
| Target Milestone: | --- | ||
| Target Release: | 4.9.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | hco-bundle-registry-container-v4.9.0-192 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-11-02 16:00:55 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
ibesso
2021-08-31 19:04:55 UTC
I found the root cause of the bug. It is because of a wrong "COPY" command in the dockerfile of virt-artifacts-server image. A fix will be provided soon. . *** Bug 1999112 has been marked as a duplicate of this bug. *** Hi Erkan,
I think the .gz suffix should be added to the tarball name since it is compressed (i.e: virtctl.tar.gz):
> curl -ksSL https://hyperconverged-cluster-cli-download-openshift-cnv.apps.${cluster_name}.${cluster_domain}/amd64/linux/virtctl.tar \
> | tar -xf -
>
> tar: Archive is compressed. Use -z option
> tar: Error is not recoverable: exiting now
> curl: (23) Fail2021-09-04T13:34:58.840396069Z ed writing body (1268 != 12582)
Regards,
Denis
Hi Denis, Thanks for reporting this issue. You are right. We should either add ".gz" into the file name or remove "-z" option while creating the tar file. See https://github.com/kubevirt/hyperconverged-cluster-operator/blob/main/build/Dockerfile.artifacts#L16 I checked how OCP does it. It doesn't compress the file and the file name is "oc.tar" On the other hand, we gain significant amount of storage when compressing it. -rw-rw-r--. 1 eerol eerol 49M Sep 1 17:11 virtctl -rw-rw-r--. 1 eerol eerol 49M Sep 6 09:53 virtctl.tar -rw-rw-r--. 1 eerol eerol 19M Sep 6 09:52 virtctl.tar.gz @stirabos I think we should go with compressed file by adding ".gz" suffix. What do you think? (In reply to Erkan Erol from comment #7) > @stirabos I think we should go with compressed file by adding > ".gz" suffix. What do you think? +1 Verified with the latest 4.9.0 build. The automation tests passed and all links are downloadable. 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 (Moderate: OpenShift Virtualization 4.9.0 Images security and bug fix update), 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/RHSA-2021:4104 |