Coder Social home page Coder Social logo

Comments (6)

nab-gha avatar nab-gha commented on May 29, 2024

Another occurrence, on my kind cluster after upgrade to v0.3.0, have not deleted this pod yet

kubectl get -A helmcharts.source.toolkit.fluxcd.io 
NAMESPACE     NAME                         CHART     VERSION   SOURCE KIND      SOURCE NAME   READY   STATUS                    AGE
gotk-system   apps-microservice-1          podinfo   >4.0.0    HelmRepository   podinfo       True    Fetched revision: 5.0.3   15h
gotk-system   base-microservice-1          podinfo   >4.0.0    HelmRepository   podinfo       True    Fetched revision: 5.0.3   15h
gotk-system   bootstrap-integration-test   podinfo   >4.0.0    HelmRepository   podinfo       True    Fetched revision: 5.0.3   15h
gotk-system   bootstrap-microservice-1     podinfo   >4.0.0    HelmRepository   podinfo       True    Fetched revision: 5.0.3   15h
gotk-system   bootstrap-microservice-2     podinfo   >4.0.0    HelmRepository   podinfo       True    Fetched revision: 5.0.3   15h
gotk-system   mgmt-microservice-1          podinfo   >4.0.0    HelmRepository   podinfo       True    Fetched revision: 5.0.3   15h
pcarlton@pcarlton3:~/go/src/github.com/fidelity/kraan$ kubectl get -A helmreleases.helm.toolkit.fluxcd.io 
NAMESPACE    NAME               READY   STATUS                                                       AGE
apps         microservice-1     False   HelmChart 'gotk-system/apps-microservice-1' is not ready     15h
base         microservice-1     False   HelmChart 'gotk-system/base-microservice-1' is not ready     15h
bootstrap    integration-test   True    Release reconciliation succeeded                             15h
bootstrap    microservice-1     True    Release reconciliation succeeded                             15h
bootstrap    microservice-2     True    Release reconciliation succeeded                             15h
kraan-test   microservice       False   chart reconciliation failed: namespaces "simple" not found   15m
kraan-test   microservice-two   False   chart reconciliation failed: namespaces "simple" not found   15m
mgmt         microservice-1     True    Release reconciliation succeeded                             15h
pcarlton@pcarlton3:~/go/src/github.com/fidelity/kraan$ kubectl get helmreleases.helm.toolkit.fluxcd.io -n apps microservice-1  -o json
{
    "apiVersion": "helm.toolkit.fluxcd.io/v2beta1",
    "kind": "HelmRelease",
    "metadata": {
        "annotations": {
            "kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"helm.toolkit.fluxcd.io/v2beta1\",\"kind\":\"HelmRelease\",\"metadata\":{\"annotations\":{},\"name\":\"microservice-1\",\"namespace\":\"apps\"},\"spec\":{\"chart\":{\"spec\":{\"chart\":\"podinfo\",\"sourceRef\":{\"kind\":\"HelmRepository\",\"name\":\"podinfo\",\"namespace\":\"gotk-system\"},\"version\":\"\\u003e4.0.0\"}},\"install\":{\"remediation\":{\"retries\":-1}},\"interval\":\"1m0s\",\"test\":{\"enable\":false,\"ignoreFailures\":false,\"timeout\":\"2m\"},\"upgrade\":{\"remediation\":{\"retries\":-1}},\"values\":{\"podinfo\":{\"message\":\"-Microservice Test 1\",\"replicaCount\":1,\"service\":{\"enabled\":true,\"type\":\"ClusterIP\"}},\"preHookActiveDeadlineSeconds\":60,\"preHookBackoffLimit\":1,\"preHookDelaySeconds\":10,\"preHookRestartPolicy\":\"Never\",\"preHookSucceed\":\"true\",\"testHookActiveDeadlineSeconds\":60,\"testHookBackoffLimit\":1,\"testHookDelaySeconds\":10,\"testHookRestartPolicy\":\"Never\",\"testHookSucceed\":\"true\"}}}\n"
        },
        "creationTimestamp": "2020-11-23T18:09:39Z",
        "finalizers": [
            "finalizers.fluxcd.io"
        ],
        "generation": 1,
        "labels": {
            "kraan/layer": "apps"
        },
        "managedFields": [
            {
                "apiVersion": "helm.toolkit.fluxcd.io/v2beta1",
                "fieldsType": "FieldsV1",
                "fieldsV1": {
                    "f:metadata": {
                        "f:annotations": {
                            ".": {},
                            "f:kubectl.kubernetes.io/last-applied-configuration": {}
                        },
                        "f:labels": {
                            ".": {},
                            "f:kraan/layer": {}
                        },
                        "f:ownerReferences": {
                            ".": {},
                            "k:{\"uid\":\"9a477c19-43bc-4451-8eaf-e2c7b58f06bf\"}": {
                                ".": {},
                                "f:apiVersion": {},
                                "f:blockOwnerDeletion": {},
                                "f:controller": {},
                                "f:kind": {},
                                "f:name": {},
                                "f:uid": {}
                            }
                        }
                    },
                    "f:spec": {
                        ".": {},
                        "f:chart": {
                            ".": {},
                            "f:spec": {
                                ".": {},
                                "f:chart": {},
                                "f:sourceRef": {
                                    ".": {},
                                    "f:kind": {},
                                    "f:name": {},
                                    "f:namespace": {}
                                },
                                "f:version": {}
                            }
                        },
                        "f:install": {
                            ".": {},
                            "f:remediation": {
                                ".": {},
                                "f:retries": {}
                            }
                        },
                        "f:interval": {},
                        "f:test": {
                            ".": {},
                            "f:timeout": {}
                        },
                        "f:upgrade": {
                            ".": {},
                            "f:remediation": {
                                ".": {},
                                "f:retries": {}
                            }
                        },
                        "f:values": {}
                    }
                },
                "manager": "kraan-controller",
                "operation": "Update",
                "time": "2020-11-23T18:09:39Z"
            },
            {
                "apiVersion": "helm.toolkit.fluxcd.io/v2beta1",
                "fieldsType": "FieldsV1",
                "fieldsV1": {
                    "f:spec": {
                        "f:test": {
                            "f:enable": {},
                            "f:ignoreFailures": {}
                        }
                    }
                },
                "manager": "kubectl",
                "operation": "Update",
                "time": "2020-11-23T18:09:39Z"
            },
            {
                "apiVersion": "helm.toolkit.fluxcd.io/v2beta1",
                "fieldsType": "FieldsV1",
                "fieldsV1": {
                    "f:metadata": {
                        "f:finalizers": {
                            ".": {},
                            "v:\"finalizers.fluxcd.io\"": {}
                        }
                    },
                    "f:status": {
                        ".": {},
                        "f:conditions": {},
                        "f:failures": {},
                        "f:helmChart": {},
                        "f:lastAppliedRevision": {},
                        "f:lastAttemptedRevision": {},
                        "f:lastAttemptedValuesChecksum": {},
                        "f:lastReleaseRevision": {},
                        "f:observedGeneration": {}
                    }
                },
                "manager": "helm-controller",
                "operation": "Update",
                "time": "2020-11-24T08:24:20Z"
            }
        ],
        "name": "microservice-1",
        "namespace": "apps",
        "ownerReferences": [
            {
                "apiVersion": "kraan.io/v1alpha1",
                "blockOwnerDeletion": true,
                "controller": true,
                "kind": "AddonsLayer",
                "name": "apps",
                "uid": "9a477c19-43bc-4451-8eaf-e2c7b58f06bf"
            }
        ],
        "resourceVersion": "336839",
        "selfLink": "/apis/helm.toolkit.fluxcd.io/v2beta1/namespaces/apps/helmreleases/microservice-1",
        "uid": "a3f7bfdd-d1cd-45f8-b2a6-178680fc8dbb"
    },
    "spec": {
        "chart": {
            "spec": {
                "chart": "podinfo",
                "sourceRef": {
                    "kind": "HelmRepository",
                    "name": "podinfo",
                    "namespace": "gotk-system"
                },
                "version": "\u003e4.0.0"
            }
        },
        "install": {
            "remediation": {
                "retries": -1
            }
        },
        "interval": "1m0s",
        "test": {
            "timeout": "2m0s"
        },
        "upgrade": {
            "remediation": {
                "retries": -1
            }
        },
        "values": {
            "podinfo": {
                "message": "-Microservice Test 1",
                "replicaCount": 1,
                "service": {
                    "enabled": true,
                    "type": "ClusterIP"
                }
            },
            "preHookActiveDeadlineSeconds": 60,
            "preHookBackoffLimit": 1,
            "preHookDelaySeconds": 10,
            "preHookRestartPolicy": "Never",
            "preHookSucceed": "true",
            "testHookActiveDeadlineSeconds": 60,
            "testHookBackoffLimit": 1,
            "testHookDelaySeconds": 10,
            "testHookRestartPolicy": "Never",
            "testHookSucceed": "true"
        }
    },
    "status": {
        "conditions": [
            {
                "lastTransitionTime": "2020-11-24T08:24:20Z",
                "message": "HelmChart 'gotk-system/apps-microservice-1' is not ready",
                "reason": "ArtifactFailed",
                "status": "False",
                "type": "Ready"
            },
            {
                "lastTransitionTime": "2020-11-23T18:09:42Z",
                "message": "Helm install succeeded",
                "reason": "InstallSucceeded",
                "status": "True",
                "type": "Released"
            }
        ],
        "failures": 1,
        "helmChart": "gotk-system/apps-microservice-1",
        "lastAppliedRevision": "5.0.3",
        "lastAttemptedRevision": "5.0.3",
        "lastAttemptedValuesChecksum": "23736cfb27573949efbf5314de584043d81b5745",
        "lastReleaseRevision": 1,
        "observedGeneration": 1
    }
}
pcarlton@pcarlton3:~/go/src/github.com/fidelity/kraan$ kubectl get -A helmreleases.helm.toolkit.fluxcd.io 
NAMESPACE    NAME               READY   STATUS                                                       AGE
apps         microservice-1     False   HelmChart 'gotk-system/apps-microservice-1' is not ready     15h
base         microservice-1     False   HelmChart 'gotk-system/base-microservice-1' is not ready     15h
bootstrap    integration-test   True    Release reconciliation succeeded                             15h
bootstrap    microservice-1     True    Release reconciliation succeeded                             15h
bootstrap    microservice-2     True    Release reconciliation succeeded                             15h
kraan-test   microservice       False   chart reconciliation failed: namespaces "simple" not found   16m
kraan-test   microservice-two   False   chart reconciliation failed: namespaces "simple" not found   16m
mgmt         microservice-1     True    Release reconciliation succeeded                             15h
pcarlton@pcarlton3:~/go/src/github.com/fidelity/kraan$ kubectl get al
NAME        VERSION        SOURCE          PATH                            STATUS     REASON
apps        0.0.07         addons-config   ./testdata/addons/apps          Deployed   AddonsLayer version 0.0.07 is Deployed
base        0.0.07         addons-config   ./testdata/addons/base          Deployed   AddonsLayer version 0.0.07 is Deployed
bootstrap   0.0.07         addons-config   ./testdata/addons/bootstrap     Deployed   AddonsLayer version 0.0.07 is Deployed
mgmt        0.0.07         addons-config   ./testdata/addons/mgmt          Deployed   AddonsLayer version 0.0.07 is Deployed
test        test-version   test            ./testdata/crds/test_crd.yaml   Failed     AddonsLayer processsing has failed

pcarlton@pcarlton3:~/go/src/github.com/fidelity/kraan$ kubectl get -A helmreleases.helm.toolkit.fluxcd.io 
NAMESPACE    NAME               READY   STATUS                                                       AGE
apps         microservice-1     False   HelmChart 'gotk-system/apps-microservice-1' is not ready     15h
base         microservice-1     False   HelmChart 'gotk-system/base-microservice-1' is not ready     15h
bootstrap    integration-test   True    Release reconciliation succeeded                             15h
bootstrap    microservice-1     True    Release reconciliation succeeded                             15h
bootstrap    microservice-2     True    Release reconciliation succeeded                             15h
kraan-test   microservice       False   chart reconciliation failed: namespaces "simple" not found   17m
kraan-test   microservice-two   False   chart reconciliation failed: namespaces "simple" not found   17m
mgmt         microservice-1     True    Release reconciliation succeeded   

logs https://gist.github.com/paulcarlton-ww/27f9ee74b6831971e23b4f871af28895

from helm-controller.

nab-gha avatar nab-gha commented on May 29, 2024

source controller logs https://gist.github.com/paulcarlton-ww/d7b7e495fcf901ce5e9aa03d17f91205

from helm-controller.

nab-gha avatar nab-gha commented on May 29, 2024

deleted helm-controller pod

kubectl get -A helmcharts.source.toolkit.fluxcd.io 
NAMESPACE     NAME                         CHART     VERSION   SOURCE KIND      SOURCE NAME   READY   STATUS                    AGE
gotk-system   apps-microservice-1          podinfo   >4.0.0    HelmRepository   podinfo       True    Fetched revision: 5.0.3   16h
gotk-system   base-microservice-1          podinfo   >4.0.0    HelmRepository   podinfo       True    Fetched revision: 5.0.3   16h
gotk-system   bootstrap-integration-test   podinfo   >4.0.0    HelmRepository   podinfo       True    Fetched revision: 5.0.3   16h
gotk-system   bootstrap-microservice-1     podinfo   >4.0.0    HelmRepository   podinfo       True    Fetched revision: 5.0.3   16h
gotk-system   bootstrap-microservice-2     podinfo   >4.0.0    HelmRepository   podinfo       True    Fetched revision: 5.0.3   16h
gotk-system   mgmt-microservice-1          podinfo   >4.0.0    HelmRepository   podinfo       True    Fetched revision: 5.0.3   16h
pcarlton@pcarlton3:~/go/src/github.com/fidelity/kraan$ kubectl get -A helmreleases.helm.toolkit.fluxcd.io 
NAMESPACE   NAME               READY   STATUS                             AGE
apps        microservice-1     True    Release reconciliation succeeded   16h
base        microservice-1     True    Release reconciliation succeeded   16h
bootstrap   integration-test   True    Release reconciliation succeeded   16h
bootstrap   microservice-1     True    Release reconciliation succeeded   16h
bootstrap   microservice-2     True    Release reconciliation succeeded   16h
mgmt        microservice-1     True    Release reconciliation succeeded   16h

source controller logs: https://gist.github.com/paulcarlton-ww/3abd7ec6316e3db158394daa5d851cb8
helm controller logs: https://gist.github.com/paulcarlton-ww/a107143c60d08be15cad212a89d958c8

from helm-controller.

Ornias1993 avatar Ornias1993 commented on May 29, 2024

Still seeing this on latest release @stefanprodan

from helm-controller.

stefanprodan avatar stefanprodan commented on May 29, 2024

@Ornias1993 I doubt it's the same issue, please open a new one with logs and explain how to reproduce it.

from helm-controller.

Ornias1993 avatar Ornias1993 commented on May 29, 2024

@stefanprodan I already did.
At flux that is, as i've no idea what the actual culprid of my issue is.

(and I honestly also have no time to figure out how the underlaying flux organisation is managed when it comes to seperate repo's and operators.)

from helm-controller.

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.