csctl confused on several releases in one OCI repository
Evaluación
Este issue todavía no se ha evaluado.
Descripción
/kind bug
What steps did you take and what happened:
Trying to publish an scs2 cluster-stack release
export OCI_REGISTRY=registry.scs.community
export OCI_REPOSITORY=$OCI_REGISTRY/kaas/cluster-stacks
export OCI_USERNAME='robot$REDACTED'
OCI_PASSWORD="REDACTED" \
csctl create -m stable --publish --remote oci providers/openstack/scs2
gives me
path "providers/openstack/scs2": cluster stack hash: "vwlbjtw3nnhtire1qx7ffo9a8v8qpkditzy2svv4knw"
Error: failed to create create options: failed to get latest release form remote repository: failed to get match release tag "openstack-hosted-control-plane-1-34-v0-sha-0ewkztd" with spec of ClusterStack: failed to get clusterstack object from string "openstack-hosted-control-plane-1-34-v0-sha-0ewkztd": invalid forma
There is no trace of anything hosted-control-plane that I want to publish.
Nevertheless, csctl barfs on it -- probably based on what it finds on the registry, which it looks at to determine the version, I guess ...
[A clear and concise description of what the bug is.]
csctl should not care about openstack-hosted-cotrol-plane when I try to publish openstack-scs2
providers/openstack/scs2/csctl.yaml:
garloff@dev2018(://):/casa/src/SCS/cluster-stacks [1]$ cat providers/openstack/scs2/csctl.yaml
apiVersion: csctl.clusterstack.x-k8s.io/v1alpha1
config:
clusterStackName: scs2
kubernetesVersion: v1.33.10
provider:
apiVersion: openstack.csctl.clusterstack.x-k8s.io/v1alpha1
type: openstack
What did you expect to happen:
csctl to determine what version to assign to my openstack-scs-1-33 (v5, I guess) and push it out.
Anything else you would like to add:
This prevents me from publishing openstack-scs2-1-33-v5 (k8s-v1.33.10, https://github.com/SovereignCloudStack/cluster-stacks/pull/260) and openstack-scs2-1-34-v2 (k8s-v1.34.7, https://github.com/SovereignCloudStack/cluster-stacks/pull/261).
Environment:
csctl version:
csctl version: dev
commit: unknown
(this was built from git 800cac63e6adf4a1b6cd33da44b637df9e83bd2e, last commit from Dec 31, 2025)
Side question: Should I open a separate bug on csctl's inability to report its own version?
- Lenguaje dominante
- Go
- Estrellas
- 3
- Forks
- 1
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de SovereignCloudStack/csctl
-
Link Checker DashboardAbiertolink-checker
Dificultad 1/5 Menos de una hora Aptitud para principiantes 73/100
SovereignCloudStack/csctl#235 ·
-
Link Checker DashboardAbiertolink-checker
Dificultad 1/5 Menos de una hora Aptitud para principiantes 45/100
SovereignCloudStack/csctl#236 ·
-
Link Checker DashboardAbiertolink-checker
Dificultad 2/5 1-3 horas Aptitud para principiantes 35/100
SovereignCloudStack/csctl#234 ·
-
Link Checker DashboardAbiertolink-checker
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
SovereignCloudStack/csctl#233 ·
-
Link Checker DashboardAbiertolink-checker
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
SovereignCloudStack/csctl#230 ·
Todos los issues de SovereignCloudStack/csctl
Issues similares
-
csp-probe needs efqdn to probe CSP domainsPosiblemente ocupada @unknownhackerworld la tomó hace 1 día. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
projectdiscovery/httpx#2725 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
category:helper tech-debt
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
LanternOps/breeze#11285 ·
Los mantenedores suelen responder en 1 día
-
Query cache: a failed cache page read leaves the set request's read lock held, so the scan hangsAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
turbot/steampipe-plugin-sdk#986 · 1 comentario ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100