Git Product home page Git Product logo

Comments (9)

dat1041988 avatar dat1041988 commented on July 17, 2024 1

@Diaphteiros
I have this error when creating shoot cluster:

Check required extensions failed (retry failed with context deadline exceeded, last error: extension controllers missing or unready: map[ControlPlane/openstack:{} Infrastructure/openstack:{} Worker/openstack:{}])

Can you give me some advices?

from garden-setup.

Diaphteiros avatar Diaphteiros commented on July 17, 2024

Please have a look at your shoot cluster why it is not created. What does the error message say?
If the dashboard doesn't show any error, check your shoot resource. Please note that the Gardener-specific resources are not in your base cluster, but in the 'virtual' cluster, for which you need to use the kubeconfig at export/kube-apiserver/kubeconfig. With that kubeconfig, find your shoot and use kubectl get and/or kubectl describe on it to get some information about the problem.

from garden-setup.

gardener-robot avatar gardener-robot commented on July 17, 2024

@phongvu0403 The issue was assigned to you under author-action. Please unassign yourself when you are done. Thank you.

from garden-setup.

Diaphteiros avatar Diaphteiros commented on July 17, 2024

@dat1041988 This means that your openstack extension is not running. There are several things you can check:

  • On the virtual cluster (I explained above where the kubeconfig can be found) there should be a ControllerRegistration for Openstack.
  • There should also be one or more ControllerInstallation resources in your virtual cluster for openstack.
  • On the seed cluster where your shoot is scheduled, there should be a namespace where the openstack extension is running. I don't know the exact name of this namespace, but the name should contain extension and openstack somehow. Does this namespace exist? Are the pods in this namespace running?

from garden-setup.

Diaphteiros avatar Diaphteiros commented on July 17, 2024

@phongvu0403 To create a shoot cluster without using the dashboard, simply apply a shoot manifest into the virtual cluster (the shoot resource doesn't exist in your base cluster, only in the virtual one, see above for the explanation).
Here is an example of a shoot manifest: https://github.com/gardener/gardener/blob/master/example/90-shoot.yaml

from garden-setup.

dat1041988 avatar dat1041988 commented on July 17, 2024

Thanks @Diaphteiros

image

When i describe: k describe ControllerInstallation provider-openstack-kjs9s
Message: condition ResourcesHealthy of managed resource garden/provider-openstack-kjs9s is Unknown: The health checks have not yet been executed for the current set of resources.

image

from garden-setup.

dat1041988 avatar dat1041988 commented on July 17, 2024

I think i found the cause.
k describe managedresources.resources.gardener.cloud provider-openstack-kjs9s -n garden
Message: Could not apply all new resources: 1 error occurred: error during apply of object "storage.k8s.io/v1/StorageClass/default/cinder": StorageClass.storage.k8s.io "cinder" is invalid: volumeBindingMode: Invalid value: "Immediate": field is immutable

I got this situation because i tried to change etcd storage class garden.cloud-fast to my default storageclass (name "cinder" using CSI). I posted this issue: gardener/gardener-extension-provider-openstack#321

So, another question:
Can i change storageclass from garden.cloud-fast to my storageclass? And If cannot, i got the issue with pvc in pending state. Do I have to install/config somethings to intree volume working with CSI already installed in my cluster?

Thanks!

from garden-setup.

Diaphteiros avatar Diaphteiros commented on July 17, 2024

Hm, that goes too deep into the specifics of the openstack extension, I don't know that, unfortunately.

from garden-setup.

dat1041988 avatar dat1041988 commented on July 17, 2024

Thanks!
I passed this error when using garden.cloud-fast default with intree cinder & enable CSI migration feature-gates.

from garden-setup.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.