This operator's deployment/controller is looking for pre-existing PVs for some reason...bad practice but we should be able to report install failure..
This results of running operator pod are the following:
status:
conditions:
lastProbeTime: null
lastTransitionTime: "2023-01-24T22:34:17Z"
message: '0/3 nodes are available: 3 persistentvolumeclaim "infoscale-dr-meta-bkp-pvc"
not found. preemption: 0/3 nodes are available: 3 Preemption is not helpful
for scheduling.'
reason: Unschedulable
status: "False"
type: PodScheduled
phase: Pending
Results in following error and also results in NS not being deleted
{"level":"error","ts":1674599754.2921472,"caller":"logger/logger.go:62","message":"error in audit: could not get CSV: operator install timeout","stacktrace":"github.com/opdev/opcap/internal/logger.Errorf\n\t/home/vagrant/opcap/internal/logger/logger.go:62\ngithub.com/opdev/opcap/internal/capability.RunAudits\n\t/home/vagrant/opcap/internal/capability/auditor.go:224\ngithub.com/opdev/opcap/cmd.runAudits\n\t/home/vagrant/opcap/cmd/check.go:78\ngithub.com/opdev/opcap/cmd.checkRunE\n\t/home/vagrant/opcap/cmd/check.go:73\ngithub.com/spf13/cobra.(Command).execute\n\t/home/vagrant/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:916\ngithub.com/spf13/cobra.(Command).ExecuteC\n\t/home/vagrant/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:1044\ngithub.com/spf13/cobra.(Command).Execute\n\t/home/vagrant/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:968\ngithub.com/spf13/cobra.(Command).ExecuteContext\n\t/home/vagrant/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:961\ngithub.com/opdev/opcap/cmd.Execute\n\t/home/vagrant/opcap/cmd/root.go:44\nmain.main\n\t/home/vagrant/opcap/main.go:17\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:250"}
I0124 22:35:55.456327 5510 request.go:601] Waited for 1.03972405s due to client-side throttling, not priority and fairness, request: GET:https://a5c5c6c022c404c439d5cd20828b0fb5-ac1aef5b63e98923.elb.us-east-1.amazonaws.com:6443/apis/ethernet.intel.com/v1?timeout=32s
{"level":"error","ts":1674599818.7863295,"caller":"logger/logger.go:62","message":"CleanerName: github.com/opdev/opcap/internal/capability.operatorCleanup.func2 ---- cleanup failed: operator install timeout","stacktrace":"github.com/opdev/opcap/internal/logger.Errorf\n\t/home/vagrant/opcap/internal/logger/logger.go:62\ngithub.com/opdev/opcap/internal/capability.cleanup\n\t/home/vagrant/opcap/internal/capability/auditor.go:165\ngithub.com/opdev/opcap/internal/capability.RunAudits\n\t/home/vagrant/opcap/internal/capability/auditor.go:230\ngithub.com/opdev/opcap/cmd.runAudits\n\t/home/vagrant/opcap/cmd/check.go:78\ngithub.com/opdev/opcap/cmd.checkRunE\n\t/home/vagrant/opcap/cmd/check.go:73\ngithub.com/spf13/cobra.(Command).execute\n\t/home/vagrant/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:916\ngithub.com/spf13/cobra.(Command).ExecuteC\n\t/home/vagrant/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:1044\ngithub.com/spf13/cobra.(Command).Execute\n\t/home/vagrant/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:968\ngithub.com/spf13/cobra.(Command).ExecuteContext\n\t/home/vagrant/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:961\ngithub.com/opdev/opcap/cmd.Execute\n\t/home/vagrant/opcap/cmd/root.go:44\nmain.main\n\t/home/vagrant/opcap/main.go:17\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:250"}
example operator:
infoscale-dr-manager
This operator's deployment/controller is looking for pre-existing PVs for some reason...bad practice but we should be able to report install failure..
This results of running operator pod are the following:
status: conditions:
Results in following error and also results in NS not being deleted
{"level":"error","ts":1674599754.2921472,"caller":"logger/logger.go:62","message":"error in audit: could not get CSV: operator install timeout","stacktrace":"github.com/opdev/opcap/internal/logger.Errorf\n\t/home/vagrant/opcap/internal/logger/logger.go:62\ngithub.com/opdev/opcap/internal/capability.RunAudits\n\t/home/vagrant/opcap/internal/capability/auditor.go:224\ngithub.com/opdev/opcap/cmd.runAudits\n\t/home/vagrant/opcap/cmd/check.go:78\ngithub.com/opdev/opcap/cmd.checkRunE\n\t/home/vagrant/opcap/cmd/check.go:73\ngithub.com/spf13/cobra.(Command).execute\n\t/home/vagrant/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:916\ngithub.com/spf13/cobra.(Command).ExecuteC\n\t/home/vagrant/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:1044\ngithub.com/spf13/cobra.(Command).Execute\n\t/home/vagrant/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:968\ngithub.com/spf13/cobra.(Command).ExecuteContext\n\t/home/vagrant/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:961\ngithub.com/opdev/opcap/cmd.Execute\n\t/home/vagrant/opcap/cmd/root.go:44\nmain.main\n\t/home/vagrant/opcap/main.go:17\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:250"} I0124 22:35:55.456327 5510 request.go:601] Waited for 1.03972405s due to client-side throttling, not priority and fairness, request: GET:https://a5c5c6c022c404c439d5cd20828b0fb5-ac1aef5b63e98923.elb.us-east-1.amazonaws.com:6443/apis/ethernet.intel.com/v1?timeout=32s {"level":"error","ts":1674599818.7863295,"caller":"logger/logger.go:62","message":"CleanerName: github.com/opdev/opcap/internal/capability.operatorCleanup.func2 ---- cleanup failed: operator install timeout","stacktrace":"github.com/opdev/opcap/internal/logger.Errorf\n\t/home/vagrant/opcap/internal/logger/logger.go:62\ngithub.com/opdev/opcap/internal/capability.cleanup\n\t/home/vagrant/opcap/internal/capability/auditor.go:165\ngithub.com/opdev/opcap/internal/capability.RunAudits\n\t/home/vagrant/opcap/internal/capability/auditor.go:230\ngithub.com/opdev/opcap/cmd.runAudits\n\t/home/vagrant/opcap/cmd/check.go:78\ngithub.com/opdev/opcap/cmd.checkRunE\n\t/home/vagrant/opcap/cmd/check.go:73\ngithub.com/spf13/cobra.(Command).execute\n\t/home/vagrant/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:916\ngithub.com/spf13/cobra.(Command).ExecuteC\n\t/home/vagrant/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:1044\ngithub.com/spf13/cobra.(Command).Execute\n\t/home/vagrant/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:968\ngithub.com/spf13/cobra.(Command).ExecuteContext\n\t/home/vagrant/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:961\ngithub.com/opdev/opcap/cmd.Execute\n\t/home/vagrant/opcap/cmd/root.go:44\nmain.main\n\t/home/vagrant/opcap/main.go:17\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:250"}