velero icon indicating copy to clipboard operation
velero copied to clipboard

Running `velero schedule create` with output format results in SIGSEGV

Open cschmatzler opened this issue 1 year ago • 3 comments

What steps did you take and what happened: I'd like to integrate my backup schedule into GitOps - as such, having the schedule as a file to apply is important. To accomplish this, I ran velero schedule create daily -o yaml --schedule="@every 24h" .

This results in

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x8 pc=0x1007f05f0]

What did you expect to happen: I expected to have an output of a Kubernetes Schedule custom resource describing my schedule.

Environment:

  • Velero version (use velero version):
❯ velero version                                                   
Client:
	Version: v1.9.0
	Git commit: -
Server:
	Version: v1.9.0
  • Velero features (use velero client config get features):
❯ velero client config get features
features: <NOT SET>
  • Kubernetes version (use kubectl version):
❯ kubectl version --short                          
Flag --short has been deprecated, and will be removed in the future. The --short output will become the default.
Client Version: v1.24.3
Kustomize Version: v4.5.4
Server Version: v1.24.3
  • Kubernetes installer & version: Talos Linux v1.1.2
  • Cloud provider or hardware configuration: Hetzner Cloud
  • OS (e.g. from /etc/os-release): Talos Linux v1.1.2

Vote on this issue!

This is an invitation to the Velero community to vote on issues, you can see the project's top voted issues listed here.
Use the "reaction smiley face" up to the right of this comment to vote.

  • :+1: for "I would like to see this bug fixed as soon as possible"
  • :-1: for "There are more important bugs to focus on right now"

cschmatzler avatar Aug 10 '22 21:08 cschmatzler

Are you using a released version of Velero cli? I didn't see the Git commit in the output of velero version and I cannot reproduce it in my env

ywk253100 avatar Aug 11 '22 08:08 ywk253100

It's installed with brew install velero.
Late 2021 M1 Pro MacBook Pro.

cschmatzler avatar Aug 11 '22 09:08 cschmatzler

+1 experiencing the same behaviour with CLI.

Va1 avatar Aug 12 '22 08:08 Va1

Please download the Velero CLI from the Github release page.

The Homebrew isn't updated for recent releases because of the bandwidth of our resources, and It's very likely we'll not support it anymore in future releases, we'll update the documentation after the discussion with community

ywk253100 avatar Aug 15 '22 06:08 ywk253100

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Oct 15 '22 15:10 stale[bot]

Closing the stale issue.

stale[bot] avatar Nov 07 '22 06:11 stale[bot]