abra app upgrade -C Bug #520

Closed
opened 2023-10-19 18:31:32 +00:00 by moritz · 3 comments
Member

If I try to do a chaos upgrade on the foodsoft recipe I get the following error:

FATA[0001] '' is not supported (^$)                      caller="~/abra/cli/app/upgrade.go:203 glob..func26" stack="~/abra/cli/app/upgrade.go:203                             glob..func26\n~/go/pkg/mod/github.com/urfave/cli@v1.22.9/app.go:524     HandleAction\n~/go/pkg/mod/github.com/urfave/cli@v1.22.9/command.go:173 Command.Run\n~/go/pkg/mod/github.com/urfave/cli@v1.22.9/app.go:405     (*App).RunAsSubcommand\n~/go/pkg/mod/github.com/urfave/cli@v1.22.9/command.go:378 Command.startApp\n~/go/pkg/mod/github.com/urfave/cli@v1.22.9/command.go:102 Command.Run\n~/go/pkg/mod/github.com/urfave/cli@v1.22.9/app.go:277     (*App).Run\n~/abra/cli/cli.go:203                                     RunApp\n~/abra/cmd/abra/main.go:22                                main\n~/go/src/runtime/internal/atomic/types.go:194             (*Uint32).Load\n~/go/src/runtime/asm_amd64.s:1650                         goexit"
If I try to do a chaos upgrade on the foodsoft recipe I get the following error: ``` FATA[0001] '' is not supported (^$) caller="~/abra/cli/app/upgrade.go:203 glob..func26" stack="~/abra/cli/app/upgrade.go:203 glob..func26\n~/go/pkg/mod/github.com/urfave/cli@v1.22.9/app.go:524 HandleAction\n~/go/pkg/mod/github.com/urfave/cli@v1.22.9/command.go:173 Command.Run\n~/go/pkg/mod/github.com/urfave/cli@v1.22.9/app.go:405 (*App).RunAsSubcommand\n~/go/pkg/mod/github.com/urfave/cli@v1.22.9/command.go:378 Command.startApp\n~/go/pkg/mod/github.com/urfave/cli@v1.22.9/command.go:102 Command.Run\n~/go/pkg/mod/github.com/urfave/cli@v1.22.9/app.go:277 (*App).Run\n~/abra/cli/cli.go:203 RunApp\n~/abra/cmd/abra/main.go:22 main\n~/go/src/runtime/internal/atomic/types.go:194 (*Uint32).Load\n~/go/src/runtime/asm_amd64.s:1650 goexit" ```
moritz added the
bug
label 2023-10-19 18:31:32 +00:00
decentral1se added the
abra
label 2023-10-20 09:10:32 +00:00
Author
Member

Running abra app deploy -C instead of abra app upgrade -C works. What is actually the difference between these commands?

Running `abra app deploy -C` instead of `abra app upgrade -C` works. What is actually the difference between these commands?
Owner

@moritz one works and the other doesn't 😆 but seriously it's just ui/ux for "deploying a new version" and i think the fact we can use --chaos on both is confusing things a lot. however, i think someone probably asked for this flag at some point... so we might need to get consent on any change first...

@moritz one works and the other doesn't 😆 but seriously it's just ui/ux for "deploying a new version" and i think the fact we can use `--chaos` on both is confusing things a lot. however, i think someone probably asked for this flag at some point... so we might need to get consent on any change first...
Author
Member

This should fix it: e6b35e8524

This should fix it: https://git.coopcloud.tech/coop-cloud/abra/commit/e6b35e85244b5e12c59ba4dd50eec2719ecdceb4
Sign in to join this conversation.
No description provided.