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

Kubectl 1.27 breaks install of lustre-fs-operator #76

Closed
roehrich-hpe opened this issue Jun 13, 2023 · 1 comment · Fixed by NearNodeFlash/lustre-fs-operator#31
Closed
Assignees

Comments

@roehrich-hpe
Copy link
Contributor

roehrich-hpe commented Jun 13, 2023

The install of lustre-fs-operator is done with kubectl apply -k, and release 1.27 of kubectl is reporting an error on that. This is due to a null creationTimestamp in our CRDs, which was placed by the older controller-tools that we've been using.

The output, from a ./kind.sh create, looks like this:

Have a nice day! 👋
Retrieving Context...
Retrieving System Config...
Target System: kind
Applying NNF node labels and taints to rabbit nodes: kind-worker2, kind-worker3...
Installing cert-manager...
  waiting for it to be ready...
Installing mpi-operator...
Installing lustre-csi-driver...
  Overlay for lustre-csi-driver found: overlays/kind
Installing lustre-fs-operator...
# Warning: 'bases' is deprecated. Please use 'resources' instead. Run 'kustomize edit fix' to update your Kustomization automatically.
# Warning: 'patchesStrategicMerge' is deprecated. Please use 'patches' instead. Run 'kustomize edit fix' to update your Kustomization automatically.
# Warning: 'vars' is deprecated. Please use 'replacements' instead. [EXPERIMENTAL] Run 'kustomize edit fix' to update your Kustomization automatically.
# Warning: 'patchesStrategicMerge' is deprecated. Please use 'patches' instead. Run 'kustomize edit fix' to update your Kustomization automatically.
namespace/nnf-lustre-fs-system created
serviceaccount/lustre-fs-controller-manager created
role.rbac.authorization.k8s.io/lustre-fs-leader-election-role created
clusterrole.rbac.authorization.k8s.io/lustre-fs-manager-role created
clusterrole.rbac.authorization.k8s.io/lustre-fs-metrics-reader created
clusterrole.rbac.authorization.k8s.io/lustre-fs-proxy-role created
rolebinding.rbac.authorization.k8s.io/lustre-fs-leader-election-rolebinding created
clusterrolebinding.rbac.authorization.k8s.io/lustre-fs-manager-rolebinding created
clusterrolebinding.rbac.authorization.k8s.io/lustre-fs-proxy-rolebinding created
configmap/lustre-fs-manager-config created
service/lustre-fs-controller-manager-metrics-service created
service/lustre-fs-webhook-service created
deployment.apps/lustre-fs-controller-manager created
certificate.cert-manager.io/lustre-fs-serving-cert created
issuer.cert-manager.io/lustre-fs-selfsigned-issuer created
validatingwebhookconfiguration.admissionregistration.k8s.io/lustre-fs-validating-webhook-configuration created
error: unable to decode "https://github.com/NearNodeFlash/lustre-fs-operator.git/config/default/?ref=v0.0.3": parsing time "null" as "2006-01-02T15:04:05Z07:00": cannot parse "null" as "2006"

Exit Error: exit status 1 (1)
nnf-deploy: error: exit status 1
@roehrich-hpe
Copy link
Contributor Author

I have a fix in NearNodeFlash/lustre-fs-operator#31

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

Successfully merging a pull request may close this issue.

1 participant