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

[bug] Sveltos fails to pull from local dev registry #1154

Open
wahabmk opened this issue Mar 3, 2025 · 0 comments
Open

[bug] Sveltos fails to pull from local dev registry #1154

wahabmk opened this issue Mar 3, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@wahabmk
Copy link
Contributor

wahabmk commented Mar 3, 2025

Describe the bug

The following error is seen in the ClusterSummary status with the https://kcm-local-registry:5000 registry used in local development:

Name:         p--alarkov-aws-standalone-storage-capi-alarkov-aws-standalone-storage
Namespace:    kcm-system
Labels:       k0rdent.mirantis.com/managed=true
              projectsveltos.io/cluster-name=alarkov-aws-standalone-storage
              projectsveltos.io/cluster-type=Capi
              projectsveltos.io/profile-name=alarkov-aws-standalone-storage
Annotations:  <none>
API Version:  config.projectsveltos.io/v1beta1
Kind:         ClusterSummary
Metadata:
  Creation Timestamp:  2025-02-05T12:41:15Z
  Finalizers:
    clustersummaryfinalizer.projectsveltos.io
  Generation:  1
  Owner References:
    API Version:     config.projectsveltos.io/v1beta1
    Kind:            Profile
    Name:            alarkov-aws-standalone-storage
    UID:             edb925d7-00b3-4f68-a9db-337e7e1384e8
  Resource Version:  20369
  UID:               49a5b58c-e268-48a2-831a-5bb34ac37ee6
Spec:
  Cluster Name:       alarkov-aws-standalone-storage
  Cluster Namespace:  kcm-system
  Cluster Profile Spec:
    Cluster Selector:
      Match Labels:
        helm.toolkit.fluxcd.io/name:       alarkov-aws-standalone-storage
        helm.toolkit.fluxcd.io/namespace:  kcm-system
    Continue On Conflict:                  true
    Continue On Error:                     false
    Helm Charts:
      Chart Name:         ingress-nginx
      Chart Version:      4.11.3
      Helm Chart Action:  Install
      Registry Credentials Config:
      Release Name:       ingress-nginx
      Release Namespace:  ingress-nginx
      Repository Name:    ingress-nginx
      Repository URL:     oci://ghcr.io/k0rdent/catalog/charts
      Chart Name:         cert-manager
      Chart Version:      1.16.2
      Helm Chart Action:  Install
      Registry Credentials Config:
      Release Name:       cert-manager
      Release Namespace:  cert-manager
      Repository Name:    cert-manager
      Repository URL:     oci://ghcr.io/k0rdent/catalog/charts
      Values:             cert-manager:
  crds:
    enabled: true
      Chart Name:         kof-storage
      Chart Version:      0.1.0
      Helm Chart Action:  Install
      Registry Credentials Config:
        Plain HTTP:       true
      Release Name:       kof-storage
      Release Namespace:  kof
      Repository Name:    kof-storage
      Repository URL:     oci://kcm-local-registry:5000/charts
      Values:             victoriametrics:
  vmauth:
    ingress:
      host: vmauth.alarkov-aws-standalone-storage.project2a-dev.mirantis.com
  security:
    username_key: username
    password_key: password
    credentials_secret_name: storage-vmuser-credentials
grafana:
  ingress:
    host: grafana.alarkov-aws-standalone-storage.project2a-dev.mirantis.com
  security:
    credentials_secret_name: grafana-admin-credentials
cert-manager:
  email: [email protected]
external-dns:
  enabled: true
    Policy Refs:
      Deployment Type:       Remote
      Kind:                  ConfigMap
      Name:                  aws-cluster-identity-resource-template
      Namespace:             kcm-system
    Reloader:                false
    Stop Matching Behavior:  WithdrawPolicies
    Sync Mode:               Continuous
    Template Resource Refs:
      Identifier:  InfrastructureProviderIdentity
      Resource:
        API Version:  infrastructure.cluster.x-k8s.io/v1beta2
        Kind:         AWSClusterStaticIdentity
        Name:         aws-cluster-identity
        Namespace:    kcm-system
      Identifier:     InfrastructureProviderIdentitySecret
      Resource:
        API Version:  v1
        Kind:         Secret
        Name:         aws-cluster-identity-secret
        Namespace:    kcm-system
    Tier:             2147483547
  Cluster Type:       Capi
Status:
  Dependencies:  no dependencies
  Feature Summaries:
    Feature ID:         Resources
    Hash:               2GYI7BOL2wEoQaiQn4U3hZUINvTAGo6Urk5UQp0lxGk=
    Last Applied Time:  2025-02-05T12:58:18Z
    Status:             Provisioning
    Failure Message:    failed to do request: Head "https://kcm-local-registry:5000/v2/charts/kof-storage/manifests/0.1.0": http: server gave HTTP response to HTTPS client
    Feature ID:         Helm
    Hash:               oDBPSp7kAH3ey53U1YqH7/trr0AwumNBNoPTBH6CH0s=
    Last Applied Time:  2025-02-05T12:58:18Z
    Status:             Provisioning
  Helm Release Summaries:
    Release Name:       ingress-nginx
    Release Namespace:  ingress-nginx
    Status:             Managing
    Values Hash:        Eq4yyx7ALQHto1gbEnwf7jsNxTVy7WuvI5choD2C4SY=
    Release Name:       cert-manager
    Release Namespace:  cert-manager
    Status:             Managing
    Values Hash:        5aWdA2n8mzuNcUm4jFmOOSWZcvabnN1Z0wyEJm4Bg1U=
    Release Name:       kof-storage
    Release Namespace:  kof
    Status:             Managing
Events:                 <none>

This issue was resolved when downgrading Sveltos from 0.46.0 --> 0.45.0.

@wahabmk wahabmk added the bug Something isn't working label Mar 3, 2025
@wahabmk wahabmk self-assigned this Mar 3, 2025
@wahabmk wahabmk added this to k0rdent Mar 3, 2025
@github-project-automation github-project-automation bot moved this to Todo in k0rdent Mar 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Todo
Development

No branches or pull requests

1 participant