Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-26402

operator-sdk panic "missing method DeprecationWarning"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 4.16
    • Operator SDK
    • No
    • Rejected
    • False
    • Hide

      None

      Show
      None

    Description

      Description of problem:

      operator-sdk panic: interface conversion: *v1.Plugin is not plugin.Deprecated: missing method DeprecationWarning

      Version-Release number of selected component (if applicable):

          [cloud-user@preserve-olm-image-rhel9 build]$ ./operator-sdk version
      operator-sdk version: "v1.33.0", commit: "542966812906456a8d67cf7284fc6410b104e118", kubernetes version: "v1.27.0", go version: "go1.20.10", GOOS: "linux", GOARCH: "amd64"

      How reproducible:

          always

      Steps to Reproduce:

          1. git clone git@github.com:operator-framework/operator-sdk.git
       git checkout master
      make build
      
          2. run command "operator-sdk init --plugins=quarkus --domain=example.com"
      
      [cloud-user@preserve-olm-image-rhel9 build]$ ./operator-sdk init --plugins=quarkus --domain=example.com
      panic: interface conversion: *v1.Plugin is not plugin.Deprecated: missing method DeprecationWarning
      
      
      goroutine 1 [running]:
      sigs.k8s.io/kubebuilder/v3/pkg/cli.CLI.printDeprecationWarnings({{0x29230e3, 0xc}, {0xc0000be4d0, 0xab}, {0x29b4089, 0x37}, 0xc00061c570, 0xc00061c5a0, {0x3, 0x0}, ...})
      	/home/cloud-user/go/pkg/mod/sigs.k8s.io/kubebuilder/v3@v3.11.1/pkg/cli/cli.go:446 +0x7f
      sigs.k8s.io/kubebuilder/v3/pkg/cli.New({0xc00071f750?, 0xa?, 0xc0003188f0?})
      	/home/cloud-user/go/pkg/mod/sigs.k8s.io/kubebuilder/v3@v3.11.1/pkg/cli/cli.go:116 +0x198
      github.com/operator-framework/operator-sdk/internal/cmd/operator-sdk/cli.GetPluginsCLIAndRoot()
      	operator-sdk/internal/cmd/operator-sdk/cli/cli.go:161 +0x1a4a
      github.com/operator-framework/operator-sdk/internal/cmd/operator-sdk/cli.Run()
      	operator-sdk/internal/cmd/operator-sdk/cli/cli.go:75 +0x27
      main.main()
      	operator-sdk/cmd/operator-sdk/main.go:28 +0x19
      
      
          3. 
          

      Actual results:

          

      Expected results:

          

      Additional info:

          

      Attachments

        Activity

          People

            rh-ee-bpalmer Bryce Palmer
            rhn-support-xzha Xia Zhao
            Keenon Lee Keenon Lee
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: