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

Pattern matching characters used in file names #3137

Open
willzhang opened this issue Oct 11, 2024 · 1 comment
Open

Pattern matching characters used in file names #3137

willzhang opened this issue Oct 11, 2024 · 1 comment
Labels
lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.

Comments

@willzhang
Copy link

willzhang commented Oct 11, 2024

Description:
README:Installing HCO using kustomize (Openshift OLM Only) not work

root@ecs01:/tmp# curl -L https://api.github.com/repos/kubevirt/hyperconverged-cluster-operator/tarball/main | \
tar --strip-components=1 -xvzf - kubevirt-hyperconverged-cluster-operator-*/deploy/kustomize
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 15.1M  100 15.1M    0     0  2797k      0  0:00:05  0:00:05 --:--:-- 3222k
tar: Pattern matching characters used in file names
tar: Use --wildcards to enable pattern matching, or --no-wildcards to suppress this warning
tar: kubevirt-hyperconverged-cluster-operator-*/deploy/kustomize: Not found in archive
tar: Exiting with failure status due to previous errors

environment

root@ecs01:/tmp# tar --version
tar (GNU tar) 1.34
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.
root@ecs01:/tmp# cat /etc/os-release 
PRETTY_NAME="Ubuntu 22.04.2 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.2 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
root@ecs01:/tmp# 

What you expected:
Install without error

URL:
https://github.com/kubevirt/hyperconverged-cluster-operator?tab=readme-ov-file#installing-hco-using-kustomize-openshift-olm-only

Additional context:
This is work with --wildcards

root@ecs01:/tmp# curl -L https://api.github.com/repos/kubevirt/hyperconverged-cluster-operator/tarball/main | \
tar --wildcards --strip-components=1 -xvzf - 'kubevirt-hyperconverged-cluster-operator-*/deploy/kustomize'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0 15.1M    0 40979    0     0  38657      0  0:06:50  0:00:01  0:06:49 38657kubevirt-hyperconverged-cluster-operator-15d4514/deploy/kustomize/
kubevirt-hyperconverged-cluster-operator-15d4514/deploy/kustomize/README.md
kubevirt-hyperconverged-cluster-operator-15d4514/deploy/kustomize/base/
kubevirt-hyperconverged-cluster-operator-15d4514/deploy/kustomize/base/hco_cr.yaml
kubevirt-hyperconverged-cluster-operator-15d4514/deploy/kustomize/base/kustomization.yaml
kubevirt-hyperconverged-cluster-operator-15d4514/deploy/kustomize/base/operator_group.yaml
kubevirt-hyperconverged-cluster-operator-15d4514/deploy/kustomize/base/subscription.yaml
kubevirt-hyperconverged-cluster-operator-15d4514/deploy/kustomize/deploy_kustomize.sh
kubevirt-hyperconverged-cluster-operator-15d4514/deploy/kustomize/image_registry/
kubevirt-hyperconverged-cluster-operator-15d4514/deploy/kustomize/image_registry/catalog_source.yaml
kubevirt-hyperconverged-cluster-operator-15d4514/deploy/kustomize/image_registry/kustomization.yaml
kubevirt-hyperconverged-cluster-operator-15d4514/deploy/kustomize/kvm_emulation/
kubevirt-hyperconverged-cluster-operator-15d4514/deploy/kustomize/kvm_emulation/kustomization.yaml
kubevirt-hyperconverged-cluster-operator-15d4514/deploy/kustomize/kvm_emulation/subscription.patch.yaml
kubevirt-hyperconverged-cluster-operator-15d4514/deploy/kustomize/marketplace/
kubevirt-hyperconverged-cluster-operator-15d4514/deploy/kustomize/marketplace/kustomization.yaml
kubevirt-hyperconverged-cluster-operator-15d4514/deploy/kustomize/marketplace/operator_source.yaml
kubevirt-hyperconverged-cluster-operator-15d4514/deploy/kustomize/namespace.yaml
kubevirt-hyperconverged-cluster-operator-15d4514/deploy/kustomize/private_repo/
kubevirt-hyperconverged-cluster-operator-15d4514/deploy/kustomize/private_repo/kustomization.yaml
kubevirt-hyperconverged-cluster-operator-15d4514/deploy/kustomize/private_repo/operator_source.patch.yaml
100 15.1M  100 15.1M    0     0  5932k      0  0:00:02  0:00:02 --:--:-- 9955k
root@ecs01:/tmp# ls
deploy
root@ecs01:/tmp# ls deploy/kustomize/
base/                deploy_kustomize.sh  image_registry/      kvm_emulation/       marketplace/         namespace.yaml       private_repo/        README.md 
@kubevirt-bot
Copy link
Contributor

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

/lifecycle stale

@kubevirt-bot kubevirt-bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.
Projects
None yet
Development

No branches or pull requests

2 participants