Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VCH logs bundle only cannot be opened or extracted #8674

Open
DooDleWilk opened this issue Jun 22, 2022 · 0 comments · May be fixed by #8675
Open

VCH logs bundle only cannot be opened or extracted #8674

DooDleWilk opened this issue Jun 22, 2022 · 0 comments · May be fixed by #8675

Comments

@DooDleWilk
Copy link

Summary

When downloading the VCH logs from the VCH Management portal (just VCH Logs, not the bundle with Container logs), the produced ZIP archive cannot be opened, as it reports this :

# unzip logs.zip
Archive:  logs.zip
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of logs.zip or
        logs.zip.zip, and cannot find logs.zip.ZIP, period.

Environment information

Fresh deployment of VCH 1.5.8

vSphere and vCenter Server version

Not Applicable here, but vSphere 7.0U3

VIC version

v1.5.8

VCH configuration
./vic-machine-linux create \
--target https://vcsa1.gsslabs.org/Default-DC \
--user administrator@vsphere.local \
--password 'VMware123!' \
--compute-resource Default-CL \
--bridge-network Bridge00-00_PortGroup \
--public-network Public-00 \
--public-network-ip 192.168.100.50/24 \
--public-network-gateway 192.168.100.254 \
--dns-server 192.168.0.10 \
--volume-store iSCSI-1/VCH00-00-vol:default \
--image-store iSCSI-1/VCH00-00-img \
--insecure-registry vicappliance00.gsslabs.org \
--insecure-registry 192.168.100.40 \
--no-tlsverify \
--thumbprint=0B:87:0E:73:F2:B5:60:6C:99:54:2E:4E:FF:EB:71:3A:41:95:DC:B8 \
--name VCH00-00

Details

When downloading the Default Log Bundle (for VCH logs only) the resulting archive cannot be extracted, without modifying its file extension to .tar

# mv logs.zip logs.tar
# tar -xf logs.tar
Steps to reproduce

Login to https://VCH_FQDN_OR_IP:2378
Click the Log Bundle link
Attempt extracting it
Receive error

Actual behavior

Archive cannot be opened

Expected behavior

Archive should be able to open

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant