You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior will be a list of vms running, like the following.
$ omc get vms -A
NAMESPACE NAME AGE STATUS READY
default fedora-test123 53d Running True
default fedora-vm 53d Running True
default ubuntu2404 53d Running True
or this
$ omc get vms
resource type "vms" not known.
If is not yet implemented, I've already created this other issue as RFE #199
Let, me know if you need any other data.
Cheers.
The text was updated successfully, but these errors were encountered:
Hi @gmeghnag
Running the following on an openshift-cnv must-gather throws the following error.
$ omc get vms -A
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x198 pc=0x3fe4a3a]
goroutine 1 [running]:
github.com/gmeghnag/omc/pkg/tablegenerator.GenerateCustomResourceTable({0x0})
/builddir/build/BUILD/omc-3.7.6/pkg/tablegenerator/tablegenerator.go:169 +0xb5a
github.com/gmeghnag/omc/cmd/get.handleObject({0x0})
/builddir/build/BUILD/omc-3.7.6/cmd/get/get.go:422 +0x114e
github.com/gmeghnag/omc/cmd/get.getNamespacedResources({0xc001b086b0, 0xf}, {0xc001b08684, 0xb}, 0xc001ec54d0)
/builddir/build/BUILD/omc-3.7.6/cmd/get/get.go:274 +0xd8d
github.com/gmeghnag/omc/cmd/get.init.func1(0xc00070fe00?, {0xc000536ea0?, 0x4?, 0x4e3c3a8?})
/builddir/build/BUILD/omc-3.7.6/cmd/get/get.go:105 +0x3cd
github.com/spf13/cobra.(*Command).execute(0x763ca40, {0xc000536e80, 0x2, 0x2})
/builddir/build/BUILD/omc-3.7.6/vendor/github.com/spf13/cobra/command.go:989 +0xa91
github.com/spf13/cobra.(*Command).ExecuteC(0x7639f20)
/builddir/build/BUILD/omc-3.7.6/vendor/github.com/spf13/cobra/command.go:1117 +0x3ff
github.com/spf13/cobra.(*Command).Execute(...)
/builddir/build/BUILD/omc-3.7.6/vendor/github.com/spf13/cobra/command.go:1041
main.main()
/builddir/build/BUILD/omc-3.7.6/main.go:24 +0x1a
///
Expected behavior will be a list of vms running, like the following.
$ omc get vms -A
NAMESPACE NAME AGE STATUS READY
default fedora-test123 53d Running True
default fedora-vm 53d Running True
default ubuntu2404 53d Running True
or this
$ omc get vms
resource type "vms" not known.
If is not yet implemented, I've already created this other issue as RFE #199
Let, me know if you need any other data.
Cheers.
The text was updated successfully, but these errors were encountered: