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

kubernetes v1.13.10 and velero v1.2.0 - nullable fields #2060

Closed
jess-belliveau opened this issue Nov 14, 2019 · 3 comments
Closed

kubernetes v1.13.10 and velero v1.2.0 - nullable fields #2060

jess-belliveau opened this issue Nov 14, 2019 · 3 comments
Assignees

Comments

@jess-belliveau
Copy link
Contributor

What steps did you take and what happened:
Attempting a fresh install of Velero v.1.2.0 on a kubernetes cluster running v1.13.10.

During the yaml application a number of errors are returned like:

ERROR Error in customresourcedefinitions podvolumerestores.velero.io: ValidationError(v1beta1.CustomResourceDefinition.spec.validation.openAPIV3Schema.properties.status.properties.completionTimestamp): unknown field "nullable" in io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps

What did you expect to happen:
Velero install to succeed

Anything else you would like to add:
Fresh install, so no logs to provide from velero deployment. Logs showing the CRD failures:

INFO  Validating customresourcedefinitions backups.velero.io
INFO  validate object "apiextensions.k8s.io/v1beta1, Kind=CustomResourceDefinition"
ERROR Error in customresourcedefinitions backups.velero.io: ValidationError(v1beta1.CustomResourceDefinition.spec.validation.openAPIV3Schema.properties.spec.properties.excludedNamespaces): unknown field "nullable" in io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps
ERROR Error in customresourcedefinitions backups.velero.io: ValidationError(v1beta1.CustomResourceDefinition.spec.validation.openAPIV3Schema.properties.spec.properties.excludedResources): unknown field "nullable" in io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps
ERROR Error in customresourcedefinitions backups.velero.io: ValidationError(v1beta1.CustomResourceDefinition.spec.validation.openAPIV3Schema.properties.spec.properties.hooks.properties.resources): unknown field "nullable" in io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps
ERROR Error in customresourcedefinitions backups.velero.io: ValidationError(v1beta1.CustomResourceDefinition.spec.validation.openAPIV3Schema.properties.spec.properties.includeClusterResources): unknown field "nullable" in io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps
ERROR Error in customresourcedefinitions backups.velero.io: ValidationError(v1beta1.CustomResourceDefinition.spec.validation.openAPIV3Schema.properties.spec.properties.includedNamespaces): unknown field "nullable" in io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps
ERROR Error in customresourcedefinitions backups.velero.io: ValidationError(v1beta1.CustomResourceDefinition.spec.validation.openAPIV3Schema.properties.spec.properties.includedResources): unknown field "nullable" in io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps
ERROR Error in customresourcedefinitions backups.velero.io: ValidationError(v1beta1.CustomResourceDefinition.spec.validation.openAPIV3Schema.properties.spec.properties.labelSelector): unknown field "nullable" in io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps
ERROR Error in customresourcedefinitions backups.velero.io: ValidationError(v1beta1.CustomResourceDefinition.spec.validation.openAPIV3Schema.properties.spec.properties.snapshotVolumes): unknown field "nullable" in io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps
ERROR Error in customresourcedefinitions backups.velero.io: ValidationError(v1beta1.CustomResourceDefinition.spec.validation.openAPIV3Schema.properties.status.properties.completionTimestamp): unknown field "nullable" in io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps
ERROR Error in customresourcedefinitions backups.velero.io: ValidationError(v1beta1.CustomResourceDefinition.spec.validation.openAPIV3Schema.properties.status.properties.expiration): unknown field "nullable" in io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps
ERROR Error in customresourcedefinitions backups.velero.io: ValidationError(v1beta1.CustomResourceDefinition.spec.validation.openAPIV3Schema.properties.status.properties.startTimestamp): unknown field "nullable" in io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps
ERROR Error in customresourcedefinitions backups.velero.io: ValidationError(v1beta1.CustomResourceDefinition.spec.validation.openAPIV3Schema.properties.status.properties.validationErrors): unknown field "nullable" in io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps
INFO  Validating customresourcedefinitions restores.velero.io
INFO  validate object "apiextensions.k8s.io/v1beta1, Kind=CustomResourceDefinition"
ERROR Error in customresourcedefinitions restores.velero.io: ValidationError(v1beta1.CustomResourceDefinition.spec.validation.openAPIV3Schema.properties.spec.properties.excludedNamespaces): unknown field "nullable" in io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps
ERROR Error in customresourcedefinitions restores.velero.io: ValidationError(v1beta1.CustomResourceDefinition.spec.validation.openAPIV3Schema.properties.spec.properties.excludedResources): unknown field "nullable" in io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps
ERROR Error in customresourcedefinitions restores.velero.io: ValidationError(v1beta1.CustomResourceDefinition.spec.validation.openAPIV3Schema.properties.spec.properties.includeClusterResources): unknown field "nullable" in io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps
ERROR Error in customresourcedefinitions restores.velero.io: ValidationError(v1beta1.CustomResourceDefinition.spec.validation.openAPIV3Schema.properties.spec.properties.includedNamespaces): unknown field "nullable" in io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps
ERROR Error in customresourcedefinitions restores.velero.io: ValidationError(v1beta1.CustomResourceDefinition.spec.validation.openAPIV3Schema.properties.spec.properties.includedResources): unknown field "nullable" in io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps
ERROR Error in customresourcedefinitions restores.velero.io: ValidationError(v1beta1.CustomResourceDefinition.spec.validation.openAPIV3Schema.properties.spec.properties.labelSelector): unknown field "nullable" in io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps
ERROR Error in customresourcedefinitions restores.velero.io: ValidationError(v1beta1.CustomResourceDefinition.spec.validation.openAPIV3Schema.properties.spec.properties.restorePVs): unknown field "nullable" in io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps
ERROR Error in customresourcedefinitions restores.velero.io: ValidationError(v1beta1.CustomResourceDefinition.spec.validation.openAPIV3Schema.properties.status.properties.validationErrors): unknown field "nullable" in io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps
INFO  Validating customresourcedefinitions schedules.velero.io
INFO  validate object "apiextensions.k8s.io/v1beta1, Kind=CustomResourceDefinition"
ERROR Error in customresourcedefinitions schedules.velero.io: ValidationError(v1beta1.CustomResourceDefinition.spec.validation.openAPIV3Schema.properties.spec.properties.template.properties.excludedNamespaces): unknown field "nullable" in io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps
ERROR Error in customresourcedefinitions schedules.velero.io: ValidationError(v1beta1.CustomResourceDefinition.spec.validation.openAPIV3Schema.properties.spec.properties.template.properties.excludedResources): unknown field "nullable" in io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps
ERROR Error in customresourcedefinitions schedules.velero.io: ValidationError(v1beta1.CustomResourceDefinition.spec.validation.openAPIV3Schema.properties.spec.properties.template.properties.hooks.properties.resources): unknown field "nullable" in io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps
ERROR Error in customresourcedefinitions schedules.velero.io: ValidationError(v1beta1.CustomResourceDefinition.spec.validation.openAPIV3Schema.properties.spec.properties.template.properties.includeClusterResources): unknown field "nullable" in io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps
ERROR Error in customresourcedefinitions schedules.velero.io: ValidationError(v1beta1.CustomResourceDefinition.spec.validation.openAPIV3Schema.properties.spec.properties.template.properties.includedNamespaces): unknown field "nullable" in io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps
ERROR Error in customresourcedefinitions schedules.velero.io: ValidationError(v1beta1.CustomResourceDefinition.spec.validation.openAPIV3Schema.properties.spec.properties.template.properties.includedResources): unknown field "nullable" in io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps
ERROR Error in customresourcedefinitions schedules.velero.io: ValidationError(v1beta1.CustomResourceDefinition.spec.validation.openAPIV3Schema.properties.spec.properties.template.properties.labelSelector): unknown field "nullable" in io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps
ERROR Error in customresourcedefinitions schedules.velero.io: ValidationError(v1beta1.CustomResourceDefinition.spec.validation.openAPIV3Schema.properties.spec.properties.template.properties.snapshotVolumes): unknown field "nullable" in io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps
ERROR Error in customresourcedefinitions schedules.velero.io: ValidationError(v1beta1.CustomResourceDefinition.spec.validation.openAPIV3Schema.properties.status.properties.lastBackup): unknown field "nullable" in io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps

Environment:

  • Velero version (use velero version):
Client:
	Version: v1.2.0
	Git commit: -
<error getting server version: namespaces "velero" not found>
  • Velero features (use velero client config get features):
    features: <NOT SET>
  • Kubernetes version (use kubectl version):
Client Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.2", GitCommit:"c97fe5036ef3df2967d086711e6c0c405941e14b", GitTreeState:"clean", BuildDate:"2019-10-15T23:43:08Z", GoVersion:"go1.12.10", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"13", GitVersion:"v1.13.10", GitCommit:"37d169313237cb4ceb2cc4bef300f2ae3053c1a2", GitTreeState:"clean", BuildDate:"2019-08-19T10:44:49Z", GoVersion:"go1.11.13", Compiler:"gc", Platform:"linux/amd64"}
@skriss
Copy link
Contributor

skriss commented Nov 14, 2019

@prydonius - can you take a look at this? I know we tested this on v1.13.x clusters, so not sure off the top of my head what's going on here.

@prydonius
Copy link
Contributor

prydonius commented Nov 15, 2019

Just checked and I'm not seeing the issue on v1.13.12 in GKE. I'll double check on 1.13.10. @sinfulnard could you provide some more info about you're environment (e.g. managed service, on-prem, etc.)?

@jess-belliveau
Copy link
Contributor Author

Sorry @skriss + @prydonius - looks like my problem was actually related to this: vmware-archive/kubecfg#211

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants