Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to update existing CRDs #969

Closed
diptadas opened this issue Apr 5, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@diptadas
Copy link
Contributor

commented Apr 5, 2018

I0405 14:13:13.432166    2757 operator.go:100] [Ensuring CRD registration]
Failure [1.932 seconds]
[BeforeSuite] BeforeSuite 
/home/dipta/go/src/github.com/appscode/voyager/test/e2e/e2e.go:35

  Expected error:
      <*errors.StatusError | 0xc42034bdd0>: {
          ErrStatus: {
              TypeMeta: {Kind: "", APIVersion: ""},
              ListMeta: {SelfLink: "", ResourceVersion: "", Continue: ""},
              Status: "Failure",
              Message: "customresourcedefinitions.apiextensions.k8s.io \"ingresses.voyager.appscode.com\" is invalid: metadata.resourceVersion: Invalid value: 0x0: must be specified for an update",
              Reason: "Invalid",
              Details: {
                  Name: "ingresses.voyager.appscode.com",
                  Group: "apiextensions.k8s.io",
                  Kind: "customresourcedefinitions",
                  UID: "",
                  Causes: [
                      {
                          Type: "FieldValueInvalid",
                          Message: "Invalid value: 0x0: must be specified for an update",
                          Field: "metadata.resourceVersion",
                      },
                  ],
                  RetryAfterSeconds: 0,
              },
              Code: 422,
          },
      }
      customresourcedefinitions.apiextensions.k8s.io "ingresses.voyager.appscode.com" is invalid: metadata.resourceVersion: Invalid value: 0x0: must be specified for an update
  not to have occurred

  /home/dipta/go/src/github.com/appscode/voyager/test/framework/framework.go:56

  Full Stack Trace
  	/home/dipta/go/src/github.com/appscode/voyager/vendor/github.com/onsi/gomega/internal/assertion/assertion.go:69 +0x1ed
  github.com/appscode/voyager/vendor/github.com/onsi/gomega/internal/assertion.(*Assertion).NotTo(0xc420480240, 0x21182c0, 0x30c5c70, 0x0, 0x0, 0x0, 0xc420480240)
  	/home/dipta/go/src/github.com/appscode/voyager/vendor/github.com/onsi/gomega/internal/assertion/assertion.go:43 +0xae
  github.com/appscode/voyager/test/framework.New(0xc420a09c20, 0xc420437fa0, 0xa, 0x1, 0x0)
  	/home/dipta/go/src/github.com/appscode/voyager/test/framework/framework.go:56 +0xcd
  github.com/appscode/voyager/test/e2e.glob..func4()
  	/home/dipta/go/src/github.com/appscode/voyager/test/e2e/e2e.go:49 +0x248
  github.com/appscode/voyager/vendor/github.com/onsi/ginkgo/internal/leafnodes.(*runner).runSync(0xc4206030e0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
  	/home/dipta/go/src/github.com/appscode/voyager/test/e2e/e2e.go:32 +0xe8
  github.com/appscode/voyager/test/e2e.TestE2E(0xc42015e3c0)
  	/home/dipta/go/src/github.com/appscode/voyager/test/e2e/e2e_test.go:8 +0x2b
  testing.tRunner(0xc42015e3c0, 0x1fd0d30)
  	/usr/local/go/src/testing/testing.go:777 +0xd0
  created by testing.(*T).Run
  	/usr/local/go/src/testing/testing.go:824 +0x2e0

@tamalsaha

This comment has been minimized.

Copy link
Member

commented Apr 5, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.