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

[Feature Request] add Implementation Notes to scs-0214-v2 (as Supplement) #535

Open
mbuechse opened this issue Mar 21, 2024 · 2 comments · May be fixed by #841
Open

[Feature Request] add Implementation Notes to scs-0214-v2 (as Supplement) #535

mbuechse opened this issue Mar 21, 2024 · 2 comments · May be fixed by #841
Assignees
Labels
Container Issues or pull requests relevant for Team 2: Container Infra and Tooling enhancement New feature or request SCS is standardized SCS is standardized SCS-VP10 Related to tender lot SCS-VP10
Milestone

Comments

@mbuechse
Copy link
Contributor

Let people know how to implement it... I'm not sure what can reasonably be said, maybe just outline how we do it for KaaS v1 and KaaS v2? Of course, this issue has to wait until we know ourselves.

@mbuechse mbuechse added enhancement New feature or request SCS is standardized SCS is standardized SCS-VP10 Related to tender lot SCS-VP10 labels Mar 21, 2024
@mbuechse mbuechse added this to the R7 (v8.0.0) milestone Mar 21, 2024
@martinmo martinmo added the Container Issues or pull requests relevant for Team 2: Container Infra and Tooling label Jun 7, 2024
@martinmo martinmo mentioned this issue Jun 10, 2024
29 tasks
@tsmado
Copy link

tsmado commented Nov 12, 2024

The implementation notes should describe the correct solution, how to deploy a cluster compliant with the standard v2 and compliance with the k8s-node-distribution-check.py tests. The inspiration how to achieve the node distribution and mainly the tag for host id on the worker nodes is being tested based on the solution used in cluster-stack repository, where the node labeling is done using ansible ( https://github.com/SovereignCloudStack/cluster-stacks/blob/main/playbooks/tasks/label_nodes.yaml ). I am currently testing it in gx-scs with a cluster spawned by capi/capo, when the cluster will configured for all tests to pass, the steps to achieve such cluster config state will be added to the implementation notes of the standard.

@tsmado
Copy link

tsmado commented Nov 14, 2024

The solution to have correct implementation guidelines is still to be written, since I faced several issues. I tried 2 different approaches:

  • Using the Kubernetes Cluster API Provider OpenStack and the corresponding guide. After some troubleshooting, I was able to spawn a control-plane in gx-scs. The problem faced was, that none of the workers was able to start and after some digging I found the possible issue in the logs of a pod in capi-system:
    “Reconciler error” err=“failed to get client: failed to create cluster accessor: error creating http client and mapper for remote cluster "default/ts-testcluster": error creating client for remote cluster "default/ts-testcluster": cluster is not reachable: client rate limiter Wait returned an error: context deadline exceeded - error from a previous attempt: EOF” controller=“machine” controllerGroup=“cluster.x-k8s.io” controllerKind=“Machine” Machine=“default/ts-testcluster-control-plane-84qxt” namespace=“default” name=“ts-testcluster-control-plane-84qxt”

  • Using cluster-stacks and also going by the corresponding guide I managed to get similar results, again being able to spawn the cluster-control-plane but with no success regarding the worker nodes. Also the error logs were of the same kind as above. The control plane instance that was starded reported this issue:
    No valid host was found. There are not enough hosts available.

Other step that we tried was to reduce the used flavor of instances from SCS-2V-4-50 to SCS-1V-4-10 but this didn't bring any improvements on the upper mentioned issue. Next steps will be to try spawning the development cluster under a clear project in the gx-scs, because we suspect there might be some benefit for using a project without any other resources created.

@tsmado tsmado self-assigned this Nov 14, 2024
@cah-patrickthiem cah-patrickthiem self-assigned this Nov 22, 2024
@tsmado tsmado linked a pull request Nov 22, 2024 that will close this issue
@anjastrunk anjastrunk moved this from Backlog to Doing in Sovereign Cloud Stack Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Container Issues or pull requests relevant for Team 2: Container Infra and Tooling enhancement New feature or request SCS is standardized SCS is standardized SCS-VP10 Related to tender lot SCS-VP10
Projects
Status: Doing
Development

Successfully merging a pull request may close this issue.

6 participants