-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Unable to sync if "main" branch is missing #18429
Comments
@miminar Can you paste the full status of you app? I think in the status you might have a reference to the main branch. Since the branch does not exist, it cannot generate the diff. I would tend to prefer that a normal sync would fail if the previous branch I was sync from does not exist anymore since this is very unexpected. However, maybe a force sync should work and ignore previous branch configuration. Have you tried to force sync? |
@agaudreault I'm sorry for the delay. Here it is: $ kubectl get -n argocd app slurm-staging -o json | jq -r '.status' Output: {
"controllerNamespace": "argocd",
"health": {
"status": "Healthy"
},
"history": [
{
"deployStartedAt": "2024-04-25T17:55:04Z",
"deployedAt": "2024-04-25T17:55:07Z",
"id": 107,
"initiatedBy": {},
"revisions": [
"e2344c9e5fd4e8b6299a120bce23fa3ce551aff1",
"37fa4da84a246e0303031d02a6a103a3a8f6ddcc"
],
"source": {
"repoURL": ""
},
"sources": [
{
"helm": {
"parameters": [
{
"name": "global.namespace",
"value": "slurm-staging"
}
],
"valueFiles": [
"values.yaml",
"$values/values-euler-common.yaml",
"$values/values-euler-staging-ng.yaml"
]
},
"path": "./charts/s3mok8s",
"repoURL": "https://sissource.ethz.ch/hpc/s3mok8s.git",
"targetRevision": "staging"
},
{
"ref": "values",
"repoURL": "https://sissource.ethz.ch/hpc/s3mok8s-values.git",
"targetRevision": "main"
}
]
},
{
"deployStartedAt": "2024-04-25T21:19:02Z",
"deployedAt": "2024-04-25T21:19:05Z",
"id": 108,
"initiatedBy": {},
"revisions": [
"e6a8979149667a0559ad3ae1c654e2e94025f547",
"ecd523816f67f5b77b453cb4d56b1257ca7308f0"
],
"source": {
"repoURL": ""
},
"sources": [
{
"helm": {
"parameters": [
{
"name": "global.namespace",
"value": "slurm-staging"
}
],
"valueFiles": [
"values.yaml",
"$values/values-euler-common.yaml",
"$values/values-euler-staging-ng.yaml"
]
},
"path": "./charts/s3mok8s",
"repoURL": "https://sissource.ethz.ch/hpc/s3mok8s.git",
"targetRevision": "staging"
},
{
"ref": "values",
"repoURL": "https://sissource.ethz.ch/hpc/s3mok8s-values.git",
"targetRevision": "main"
}
]
},
{
"deployStartedAt": "2024-05-08T11:43:11Z",
"deployedAt": "2024-05-08T11:43:14Z",
"id": 109,
"initiatedBy": {},
"revisions": [
"db3302a6a0827adcf655ce0b335770624db7fbd2",
"808afc2a4e45a74575657d87f34a35ba7d932017"
],
"source": {
"repoURL": ""
},
"sources": [
{
"helm": {
"parameters": [
{
"name": "global.namespace",
"value": "slurm-staging"
}
],
"valueFiles": [
"values.yaml",
"$values/values-euler-common.yaml",
"$values/values-euler-staging-ng.yaml"
]
},
"path": "./charts/s3mok8s",
"repoURL": "https://sissource.ethz.ch/hpc/s3mok8s.git",
"targetRevision": "staging"
},
{
"ref": "values",
"repoURL": "https://sissource.ethz.ch/hpc/s3mok8s-values.git",
"targetRevision": "main"
}
]
},
{
"deployStartedAt": "2024-05-08T11:49:11Z",
"deployedAt": "2024-05-08T11:49:17Z",
"id": 110,
"initiatedBy": {},
"revisions": [
"db3302a6a0827adcf655ce0b335770624db7fbd2",
"b88a48ab8ba63e6e35c31f0ef4ea766271d6f6d9"
],
"source": {
"repoURL": ""
},
"sources": [
{
"helm": {
"parameters": [
{
"name": "global.namespace",
"value": "slurm-staging"
}
],
"valueFiles": [
"values.yaml",
"$values/values-euler-common.yaml",
"$values/values-euler-staging-ng.yaml"
]
},
"path": "./charts/s3mok8s",
"repoURL": "https://sissource.ethz.ch/hpc/s3mok8s.git",
"targetRevision": "staging"
},
{
"ref": "values",
"repoURL": "https://sissource.ethz.ch/hpc/s3mok8s-values.git",
"targetRevision": "main"
}
]
},
{
"deployStartedAt": "2024-05-08T13:35:15Z",
"deployedAt": "2024-05-08T13:35:18Z",
"id": 111,
"initiatedBy": {},
"revisions": [
"4c4936e719de05a8ee2793aa37d7e2bbf056404c",
"6e52f8f655721f84674ae7a318c1c9f8d051ddeb"
],
"source": {
"repoURL": ""
},
"sources": [
{
"helm": {
"parameters": [
{
"name": "global.namespace",
"value": "slurm-staging"
}
],
"valueFiles": [
"values.yaml",
"$values/values-euler-common.yaml",
"$values/values-euler-staging-ng.yaml"
]
},
"path": "./charts/s3mok8s",
"repoURL": "https://sissource.ethz.ch/hpc/s3mok8s.git",
"targetRevision": "staging"
},
{
"ref": "values",
"repoURL": "https://sissource.ethz.ch/hpc/s3mok8s-values.git",
"targetRevision": "main"
}
]
},
{
"deployStartedAt": "2024-05-08T13:39:49Z",
"deployedAt": "2024-05-08T13:39:52Z",
"id": 112,
"initiatedBy": {},
"revisions": [
"4c4936e719de05a8ee2793aa37d7e2bbf056404c",
"58045aa1a3bba52bf486a39854ea86db771d2867"
],
"source": {
"repoURL": ""
},
"sources": [
{
"helm": {
"parameters": [
{
"name": "global.namespace",
"value": "slurm-staging"
}
],
"valueFiles": [
"values.yaml",
"$values/values-euler-common.yaml",
"$values/values-euler-staging-ng.yaml"
]
},
"path": "./charts/s3mok8s",
"repoURL": "https://sissource.ethz.ch/hpc/s3mok8s.git",
"targetRevision": "staging"
},
{
"ref": "values",
"repoURL": "https://sissource.ethz.ch/hpc/s3mok8s-values.git",
"targetRevision": "main"
}
]
},
{
"deployStartedAt": "2024-05-21T13:43:46Z",
"deployedAt": "2024-05-21T13:43:48Z",
"id": 113,
"initiatedBy": {
"automated": true
},
"revisions": [
"b8ebf7950a561161d050aeec41f8760fdf2e1a5b",
"9b11f78eebb7c1093fddc67e415448a406a2ee62"
],
"source": {
"repoURL": ""
},
"sources": [
{
"helm": {
"parameters": [
{
"name": "global.namespace",
"value": "slurm-staging"
}
],
"valueFiles": [
"values.yaml",
"$values/values-euler-common.yaml",
"$values/values-euler-staging-ng.yaml"
]
},
"path": "./charts/s3mok8s",
"repoURL": "https://sissource.ethz.ch/hpc/s3mok8s.git",
"targetRevision": "staging"
},
{
"ref": "values",
"repoURL": "https://sissource.ethz.ch/hpc/s3mok8s-values.git",
"targetRevision": "main"
}
]
},
{
"deployStartedAt": "2024-05-27T05:53:12Z",
"deployedAt": "2024-05-27T05:53:13Z",
"id": 114,
"initiatedBy": {
"username": "adm-mminar@ethz.ch"
},
"revisions": [
"b8ebf7950a561161d050aeec41f8760fdf2e1a5b",
"9b11f78eebb7c1093fddc67e415448a406a2ee62"
],
"source": {
"repoURL": ""
},
"sources": [
{
"helm": {
"parameters": [
{
"name": "global.namespace",
"value": "slurm-staging"
}
],
"valueFiles": [
"values.yaml",
"$values/values-euler-common.yaml",
"$values/values-euler-staging-ng.yaml"
]
},
"path": "./charts/s3mok8s",
"repoURL": "https://sissource.ethz.ch/hpc/s3mok8s.git",
"targetRevision": "staging"
},
{
"ref": "values",
"repoURL": "https://sissource.ethz.ch/hpc/s3mok8s-values.git",
"targetRevision": "main"
}
]
},
{
"deployStartedAt": "2024-05-27T07:22:45Z",
"deployedAt": "2024-05-27T07:22:50Z",
"id": 115,
"initiatedBy": {
"automated": true
},
"revisions": [
"b8ebf7950a561161d050aeec41f8760fdf2e1a5b",
"148ca2f388637d21be5bccbab356209ef95d4a12"
],
"source": {
"repoURL": ""
},
"sources": [
{
"helm": {
"parameters": [
{
"name": "global.namespace",
"value": "slurm-staging"
}
],
"valueFiles": [
"values.yaml",
"$values/values-euler-common.yaml",
"$values/values-euler-staging-ng.yaml"
]
},
"path": "./charts/s3mok8s",
"repoURL": "https://sissource.ethz.ch/hpc/s3mok8s.git",
"targetRevision": "staging"
},
{
"ref": "values",
"repoURL": "https://sissource.ethz.ch/hpc/s3mok8s-values.git",
"targetRevision": "main"
}
]
},
{
"deployStartedAt": "2024-06-07T11:28:37Z",
"deployedAt": "2024-06-07T11:28:39Z",
"id": 116,
"initiatedBy": {
"automated": true
},
"revisions": [
"8579db60bfcd9f8a793680c63b9d1379340dd7e9",
"32c8c95a56c9f0c9734818f54f9b2850fb3eb771"
],
"source": {
"repoURL": ""
},
"sources": [
{
"helm": {
"parameters": [
{
"name": "global.namespace",
"value": "slurm-staging"
}
],
"valueFiles": [
"values.yaml",
"$values/values-euler-common.yaml",
"$values/values-euler-staging-ng.yaml"
]
},
"path": "./charts/s3mok8s",
"repoURL": "https://sissource.ethz.ch/hpc/s3mok8s.git",
"targetRevision": "staging"
},
{
"ref": "values",
"repoURL": "https://sissource.ethz.ch/hpc/s3mok8s-values.git",
"targetRevision": "main"
}
]
}
],
"operationState": {
"finishedAt": "2024-06-07T11:28:39Z",
"message": "successfully synced (all tasks run)",
"operation": {
"initiatedBy": {
"automated": true
},
"retry": {
"backoff": {
"duration": "30s",
"factor": 2,
"maxDuration": "10m"
},
"limit": 10000000
},
"sync": {
"prune": true,
"revisions": [
"8579db60bfcd9f8a793680c63b9d1379340dd7e9",
"32c8c95a56c9f0c9734818f54f9b2850fb3eb771"
],
"syncOptions": [
"CreateNamespace=true",
"ServerSideApply=true"
]
}
},
"phase": "Succeeded",
"startedAt": "2024-06-07T11:28:37Z",
"syncResult": {
"resources": [
{
"group": "",
"hookPhase": "Running",
"kind": "Namespace",
"message": "namespace/slurm-staging serverside-applied",
"name": "slurm-staging",
"namespace": "slurm-staging",
"status": "Synced",
"syncPhase": "Sync",
"version": "v1"
},
{
"group": "",
"hookPhase": "Running",
"kind": "ConfigMap",
"message": "configmap/ping-logger serverside-applied",
"name": "ping-logger",
"namespace": "slurm-staging",
"status": "Synced",
"syncPhase": "Sync",
"version": "v1"
},
{
"group": "",
"hookPhase": "Running",
"kind": "ConfigMap",
"message": "configmap/nginx-config serverside-applied",
"name": "nginx-config",
"namespace": "slurm-staging",
"status": "Synced",
"syncPhase": "Sync",
"version": "v1"
},
{
"group": "",
"hookPhase": "Running",
"kind": "ConfigMap",
"message": "configmap/mariadb-init-queries serverside-applied",
"name": "mariadb-init-queries",
"namespace": "slurm-staging",
"status": "Synced",
"syncPhase": "Sync",
"version": "v1"
},
{
"group": "",
"hookPhase": "Running",
"kind": "ConfigMap",
"message": "configmap/slurmdbd-config serverside-applied",
"name": "slurmdbd-config",
"namespace": "slurm-staging",
"status": "Synced",
"syncPhase": "Sync",
"version": "v1"
},
{
"group": "",
"hookPhase": "Running",
"kind": "ConfigMap",
"message": "configmap/mailer-scripts serverside-applied",
"name": "mailer-scripts",
"namespace": "slurm-staging",
"status": "Synced",
"syncPhase": "Sync",
"version": "v1"
},
{
"group": "",
"hookPhase": "Running",
"kind": "ConfigMap",
"message": "configmap/mariadb-db-config serverside-applied",
"name": "mariadb-db-config",
"namespace": "slurm-staging",
"status": "Synced",
"syncPhase": "Sync",
"version": "v1"
},
{
"group": "",
"hookPhase": "Running",
"kind": "ConfigMap",
"message": "configmap/sssd serverside-applied",
"name": "sssd",
"namespace": "slurm-staging",
"status": "Synced",
"syncPhase": "Sync",
"version": "v1"
},
{
"group": "",
"hookPhase": "Running",
"kind": "ConfigMap",
"message": "configmap/slurm-tests serverside-applied",
"name": "slurm-tests",
"namespace": "slurm-staging",
"status": "Synced",
"syncPhase": "Sync",
"version": "v1"
},
{
"group": "",
"hookPhase": "Running",
"kind": "ConfigMap",
"message": "configmap/slurm-config serverside-applied",
"name": "slurm-config",
"namespace": "slurm-staging",
"status": "Synced",
"syncPhase": "Sync",
"version": "v1"
},
{
"group": "",
"hookPhase": "Running",
"kind": "ConfigMap",
"message": "configmap/slurm-scripts serverside-applied",
"name": "slurm-scripts",
"namespace": "slurm-staging",
"status": "Synced",
"syncPhase": "Sync",
"version": "v1"
},
{
"group": "",
"hookPhase": "Running",
"kind": "PersistentVolumeClaim",
"message": "persistentvolumeclaim/slurm-slurmctld-logdir serverside-applied",
"name": "slurm-slurmctld-logdir",
"namespace": "slurm-staging",
"status": "Synced",
"syncPhase": "Sync",
"version": "v1"
},
{
"group": "",
"hookPhase": "Running",
"kind": "PersistentVolumeClaim",
"message": "persistentvolumeclaim/slurm-mariadb-storage serverside-applied",
"name": "slurm-mariadb-storage",
"namespace": "slurm-staging",
"status": "Synced",
"syncPhase": "Sync",
"version": "v1"
},
{
"group": "",
"hookPhase": "Running",
"kind": "PersistentVolumeClaim",
"message": "persistentvolumeclaim/slurm-slurmctld-statedir serverside-applied",
"name": "slurm-slurmctld-statedir",
"namespace": "slurm-staging",
"status": "Synced",
"syncPhase": "Sync",
"version": "v1"
},
{
"group": "",
"hookPhase": "Running",
"kind": "Service",
"message": "service/mariadb serverside-applied",
"name": "mariadb",
"namespace": "slurm-staging",
"status": "Synced",
"syncPhase": "Sync",
"version": "v1"
},
{
"group": "",
"hookPhase": "Running",
"kind": "Service",
"message": "service/slurm-prometheus-exporter serverside-applied",
"name": "slurm-prometheus-exporter",
"namespace": "slurm-staging",
"status": "Synced",
"syncPhase": "Sync",
"version": "v1"
},
{
"group": "",
"hookPhase": "Running",
"kind": "Service",
"message": "service/slurmctld serverside-applied",
"name": "slurmctld",
"namespace": "slurm-staging",
"status": "Synced",
"syncPhase": "Sync",
"version": "v1"
},
{
"group": "",
"hookPhase": "Running",
"kind": "Service",
"message": "service/tmp-slurmctld-clusterip serverside-applied",
"name": "tmp-slurmctld-clusterip",
"namespace": "slurm-staging",
"status": "Synced",
"syncPhase": "Sync",
"version": "v1"
},
{
"group": "",
"hookPhase": "Running",
"kind": "Service",
"message": "service/slurmdbd-slurm-staging serverside-applied",
"name": "slurmdbd-slurm-staging",
"namespace": "slurm-staging",
"status": "Synced",
"syncPhase": "Sync",
"version": "v1"
},
{
"group": "",
"hookPhase": "Running",
"kind": "Service",
"message": "service/slurm-fileserver serverside-applied",
"name": "slurm-fileserver",
"namespace": "slurm-staging",
"status": "Synced",
"syncPhase": "Sync",
"version": "v1"
},
{
"group": "",
"hookPhase": "Running",
"kind": "Service",
"message": "service/ctrl serverside-applied",
"name": "ctrl",
"namespace": "slurm-staging",
"status": "Synced",
"syncPhase": "Sync",
"version": "v1"
},
{
"group": "apps",
"hookPhase": "Running",
"kind": "Deployment",
"message": "deployment.apps/slurm-ping-logger-lb serverside-applied",
"name": "slurm-ping-logger-lb",
"namespace": "slurm-staging",
"status": "Synced",
"syncPhase": "Sync",
"version": "v1"
},
{
"group": "apps",
"hookPhase": "Running",
"kind": "Deployment",
"message": "deployment.apps/slurmctld serverside-applied",
"name": "slurmctld",
"namespace": "slurm-staging",
"status": "Synced",
"syncPhase": "Sync",
"version": "v1"
},
{
"group": "apps",
"hookPhase": "Running",
"kind": "Deployment",
"message": "deployment.apps/job-accounting serverside-applied",
"name": "job-accounting",
"namespace": "slurm-staging",
"status": "Synced",
"syncPhase": "Sync",
"version": "v1"
},
{
"group": "apps",
"hookPhase": "Running",
"kind": "Deployment",
"message": "deployment.apps/mariadb serverside-applied",
"name": "mariadb",
"namespace": "slurm-staging",
"status": "Synced",
"syncPhase": "Sync",
"version": "v1"
},
{
"group": "apps",
"hookPhase": "Running",
"kind": "Deployment",
"message": "deployment.apps/slurm-prometheus-exporter serverside-applied",
"name": "slurm-prometheus-exporter",
"namespace": "slurm-staging",
"status": "Synced",
"syncPhase": "Sync",
"version": "v1"
},
{
"group": "apps",
"hookPhase": "Running",
"kind": "Deployment",
"message": "deployment.apps/mailer serverside-applied",
"name": "mailer",
"namespace": "slurm-staging",
"status": "Synced",
"syncPhase": "Sync",
"version": "v1"
},
{
"group": "apps",
"hookPhase": "Running",
"kind": "Deployment",
"message": "deployment.apps/slurmdbd serverside-applied",
"name": "slurmdbd",
"namespace": "slurm-staging",
"status": "Synced",
"syncPhase": "Sync",
"version": "v1"
},
{
"group": "apps",
"hookPhase": "Running",
"kind": "Deployment",
"message": "deployment.apps/slurm-ping-logger-clusterip serverside-applied",
"name": "slurm-ping-logger-clusterip",
"namespace": "slurm-staging",
"status": "Synced",
"syncPhase": "Sync",
"version": "v1"
},
{
"group": "apps",
"hookPhase": "Running",
"kind": "Deployment",
"message": "deployment.apps/slurm-fileserver serverside-applied",
"name": "slurm-fileserver",
"namespace": "slurm-staging",
"status": "Synced",
"syncPhase": "Sync",
"version": "v1"
},
{
"group": "apps",
"hookPhase": "Running",
"kind": "Deployment",
"message": "deployment.apps/ctrl serverside-applied",
"name": "ctrl",
"namespace": "slurm-staging",
"status": "Synced",
"syncPhase": "Sync",
"version": "v1"
},
{
"group": "external-secrets.io",
"hookPhase": "Running",
"kind": "ExternalSecret",
"message": "externalsecret.external-secrets.io/sss serverside-applied",
"name": "sss",
"namespace": "slurm-staging",
"status": "Synced",
"syncPhase": "Sync",
"version": "v1beta1"
},
{
"group": "external-secrets.io",
"hookPhase": "Running",
"kind": "ExternalSecret",
"message": "externalsecret.external-secrets.io/mariadb-secrets serverside-applied",
"name": "mariadb-secrets",
"namespace": "slurm-staging",
"status": "Synced",
"syncPhase": "Sync",
"version": "v1beta1"
},
{
"group": "external-secrets.io",
"hookPhase": "Running",
"kind": "ExternalSecret",
"message": "externalsecret.external-secrets.io/db-users serverside-applied",
"name": "db-users",
"namespace": "slurm-staging",
"status": "Synced",
"syncPhase": "Sync",
"version": "v1beta1"
},
{
"group": "external-secrets.io",
"hookPhase": "Running",
"kind": "ExternalSecret",
"message": "externalsecret.external-secrets.io/munge serverside-applied",
"name": "munge",
"namespace": "slurm-staging",
"status": "Synced",
"syncPhase": "Sync",
"version": "v1beta1"
},
{
"group": "external-secrets.io",
"hookPhase": "Running",
"kind": "ExternalSecret",
"message": "externalsecret.external-secrets.io/system-services serverside-applied",
"name": "system-services",
"namespace": "slurm-staging",
"status": "Synced",
"syncPhase": "Sync",
"version": "v1beta1"
}
],
"revision": "",
"revisions": [
"8579db60bfcd9f8a793680c63b9d1379340dd7e9",
"32c8c95a56c9f0c9734818f54f9b2850fb3eb771"
],
"source": {
"repoURL": ""
},
"sources": [
{
"helm": {
"parameters": [
{
"name": "global.namespace",
"value": "slurm-staging"
}
],
"valueFiles": [
"values.yaml",
"$values/values-euler-common.yaml",
"$values/values-euler-staging-ng.yaml"
]
},
"path": "./charts/s3mok8s",
"repoURL": "https://sissource.ethz.ch/hpc/s3mok8s.git",
"targetRevision": "staging"
},
{
"ref": "values",
"repoURL": "https://sissource.ethz.ch/hpc/s3mok8s-values.git",
"targetRevision": "main"
}
]
}
},
"reconciledAt": "2024-06-07T13:20:30Z",
"resources": [
{
"kind": "ConfigMap",
"name": "mailer-scripts",
"namespace": "slurm-staging",
"status": "Synced",
"version": "v1"
},
{
"kind": "ConfigMap",
"name": "mariadb-db-config",
"namespace": "slurm-staging",
"status": "Synced",
"version": "v1"
},
{
"kind": "ConfigMap",
"name": "mariadb-init-queries",
"namespace": "slurm-staging",
"status": "Synced",
"version": "v1"
},
{
"kind": "ConfigMap",
"name": "nginx-config",
"namespace": "slurm-staging",
"status": "Synced",
"version": "v1"
},
{
"kind": "ConfigMap",
"name": "ping-logger",
"namespace": "slurm-staging",
"status": "Synced",
"version": "v1"
},
{
"kind": "ConfigMap",
"name": "slurm-config",
"namespace": "slurm-staging",
"status": "Synced",
"version": "v1"
},
{
"kind": "ConfigMap",
"name": "slurm-scripts",
"namespace": "slurm-staging",
"status": "Synced",
"version": "v1"
},
{
"kind": "ConfigMap",
"name": "slurm-tests",
"namespace": "slurm-staging",
"status": "Synced",
"version": "v1"
},
{
"kind": "ConfigMap",
"name": "slurmdbd-config",
"namespace": "slurm-staging",
"status": "Synced",
"version": "v1"
},
{
"kind": "ConfigMap",
"name": "sssd",
"namespace": "slurm-staging",
"status": "Synced",
"version": "v1"
},
{
"kind": "Namespace",
"name": "slurm-staging",
"status": "Synced",
"version": "v1"
},
{
"health": {
"status": "Healthy"
},
"kind": "PersistentVolumeClaim",
"name": "slurm-mariadb-storage",
"namespace": "slurm-staging",
"status": "Synced",
"version": "v1"
},
{
"health": {
"status": "Healthy"
},
"kind": "PersistentVolumeClaim",
"name": "slurm-slurmctld-logdir",
"namespace": "slurm-staging",
"status": "Synced",
"version": "v1"
},
{
"health": {
"status": "Healthy"
},
"kind": "PersistentVolumeClaim",
"name": "slurm-slurmctld-statedir",
"namespace": "slurm-staging",
"status": "Synced",
"version": "v1"
},
{
"health": {
"status": "Healthy"
},
"kind": "Service",
"name": "ctrl",
"namespace": "slurm-staging",
"status": "Synced",
"version": "v1"
},
{
"health": {
"status": "Healthy"
},
"kind": "Service",
"name": "mariadb",
"namespace": "slurm-staging",
"status": "Synced",
"version": "v1"
},
{
"health": {
"status": "Healthy"
},
"kind": "Service",
"name": "slurm-fileserver",
"namespace": "slurm-staging",
"status": "Synced",
"version": "v1"
},
{
"health": {
"status": "Healthy"
},
"kind": "Service",
"name": "slurm-prometheus-exporter",
"namespace": "slurm-staging",
"status": "Synced",
"version": "v1"
},
{
"health": {
"status": "Healthy"
},
"kind": "Service",
"name": "slurmctld",
"namespace": "slurm-staging",
"status": "Synced",
"version": "v1"
},
{
"health": {
"status": "Healthy"
},
"kind": "Service",
"name": "slurmdbd-slurm-staging",
"namespace": "slurm-staging",
"status": "Synced",
"version": "v1"
},
{
"health": {
"status": "Healthy"
},
"kind": "Service",
"name": "tmp-slurmctld-clusterip",
"namespace": "slurm-staging",
"status": "Synced",
"version": "v1"
},
{
"group": "apps",
"health": {
"status": "Healthy"
},
"kind": "Deployment",
"name": "ctrl",
"namespace": "slurm-staging",
"status": "Synced",
"version": "v1"
},
{
"group": "apps",
"health": {
"status": "Healthy"
},
"kind": "Deployment",
"name": "job-accounting",
"namespace": "slurm-staging",
"status": "Synced",
"version": "v1"
},
{
"group": "apps",
"health": {
"status": "Healthy"
},
"kind": "Deployment",
"name": "mailer",
"namespace": "slurm-staging",
"status": "Synced",
"version": "v1"
},
{
"group": "apps",
"health": {
"status": "Healthy"
},
"kind": "Deployment",
"name": "mariadb",
"namespace": "slurm-staging",
"status": "Synced",
"version": "v1"
},
{
"group": "apps",
"health": {
"status": "Healthy"
},
"kind": "Deployment",
"name": "slurm-fileserver",
"namespace": "slurm-staging",
"status": "Synced",
"version": "v1"
},
{
"group": "apps",
"health": {
"status": "Healthy"
},
"kind": "Deployment",
"name": "slurm-ping-logger-clusterip",
"namespace": "slurm-staging",
"status": "Synced",
"version": "v1"
},
{
"group": "apps",
"health": {
"status": "Healthy"
},
"kind": "Deployment",
"name": "slurm-ping-logger-lb",
"namespace": "slurm-staging",
"status": "Synced",
"version": "v1"
},
{
"group": "apps",
"health": {
"status": "Healthy"
},
"kind": "Deployment",
"name": "slurm-prometheus-exporter",
"namespace": "slurm-staging",
"status": "Synced",
"version": "v1"
},
{
"group": "apps",
"health": {
"status": "Healthy"
},
"kind": "Deployment",
"name": "slurmctld",
"namespace": "slurm-staging",
"status": "Synced",
"version": "v1"
},
{
"group": "apps",
"health": {
"status": "Healthy"
},
"kind": "Deployment",
"name": "slurmdbd",
"namespace": "slurm-staging",
"status": "Synced",
"version": "v1"
},
{
"group": "external-secrets.io",
"health": {
"message": "Secret was synced",
"status": "Healthy"
},
"kind": "ExternalSecret",
"name": "db-users",
"namespace": "slurm-staging",
"status": "Synced",
"version": "v1beta1"
},
{
"group": "external-secrets.io",
"health": {
"message": "Secret was synced",
"status": "Healthy"
},
"kind": "ExternalSecret",
"name": "mariadb-secrets",
"namespace": "slurm-staging",
"status": "Synced",
"version": "v1beta1"
},
{
"group": "external-secrets.io",
"health": {
"message": "Secret was synced",
"status": "Healthy"
},
"kind": "ExternalSecret",
"name": "munge",
"namespace": "slurm-staging",
"status": "Synced",
"version": "v1beta1"
},
{
"group": "external-secrets.io",
"health": {
"message": "Secret was synced",
"status": "Healthy"
},
"kind": "ExternalSecret",
"name": "sss",
"namespace": "slurm-staging",
"status": "Synced",
"version": "v1beta1"
},
{
"group": "external-secrets.io",
"health": {
"message": "Secret was synced",
"status": "Healthy"
},
"kind": "ExternalSecret",
"name": "system-services",
"namespace": "slurm-staging",
"status": "Synced",
"version": "v1beta1"
}
],
"sourceTypes": [
"Helm",
""
],
"summary": {
"images": [
"docker.io/mariadb:10.9.3",
"docker.io/nginx:alpine",
"mwader/postfix-relay@sha256:09eb879b9f47ad0a5b1260a065790c34e2e83555620429e28b3616626c3e54b3",
"registry.core.hpc.ethz.ch/slurm/slurm-accounting:5a7f7357476b229f-20231127T114910",
"registry.core.hpc.ethz.ch/slurm/slurm-ping-logger:latest",
"registry.core.hpc.ethz.ch/slurm/slurm-pkg:s23.02.7-7307535_amd_rebuild2_test1-d49ef264bb503b8a-20240404T071343",
"registry.core.hpc.ethz.ch/slurm/slurmctld:s23.02.7-7307535_amd_rebuild4_multi2-eb79d6822386f365-20240411T120043",
"registry.core.hpc.ethz.ch/slurm/slurmctrlnode:s23.02.7-7307535_amd_rebuild8_multi2-8229632a1ca8a781-20240508T120413",
"registry.core.hpc.ethz.ch/slurm/slurmdbd:s23.02.7-7307535-75a944427604bfd0-20231218T152916",
"registry.core.hpc.ethz.ch/slurm/slurmexporter:s23.02.7-7307535-ac216c66d3dcbfff-20231218T152916"
]
},
"sync": {
"comparedTo": {
"destination": {
"namespace": "slurm-staging",
"server": "https://kubernetes.default.svc"
},
"source": {
"repoURL": ""
},
"sources": [
{
"helm": {
"parameters": [
{
"name": "global.namespace",
"value": "slurm-staging"
}
],
"valueFiles": [
"values.yaml",
"$values/values-euler-common.yaml",
"$values/values-euler-staging-ng.yaml"
]
},
"path": "./charts/s3mok8s",
"repoURL": "https://sissource.ethz.ch/hpc/s3mok8s.git",
"targetRevision": "staging"
},
{
"ref": "values",
"repoURL": "https://sissource.ethz.ch/hpc/s3mok8s-values.git",
"targetRevision": "main"
}
]
},
"revisions": [
"8579db60bfcd9f8a793680c63b9d1379340dd7e9",
"5e1e164ad585e9530e315f10891c15c472713480"
],
"status": "Synced"
}
}
|
@miminar this does sound like a multi source problem. My guess is that it compares the 2 targetRevisons with the first source url. There are a few changes to multi-source apps in 2.12, maybe that could solve the issue. In your case, the relevant logs would be the ones from the repo-server components. |
Thank you @agaudreault for the suggestions. After an update to 2.11.4+e1284e1 we cannot reproduce anymore. Closing. |
Checklist:
argocd version
.Describe the bug
ArgoCD is unable to sync when
main
branch (different from targetRevision) is missingTo Reproduce
Deploy an application like the following from
staging
branch with values coming from another repository:Delete the
main
branch from s3mok8s (notetargetRevision=staging
) repository with some other branch being the default.Try to sync.
The result is the following error:
Expected behavior
The application is synced successfully.
Screenshots
Version
argocd@argocd-euler-application-controller-0:~$ argocd version argocd: v2.11.0+d3f33c0 BuildDate: 2024-05-07T16:01:41Z GitCommit: d3f33c00197e7f1d16f2a73ce1aeced464b07175 GitTreeState: clean GoVersion: go1.21.9 Compiler: gc Platform: linux/amd64
Logs
From pod argocd-euler-server-59cf6fc774-bcjmz
Additional info
If the
main
branch is created in s3mok8s, the sync succeeds.Self-hosted GitLab.
Protected branches in s3mok8s repository:
deployed
production
staging
where
euler-dev
is the default (although unprotected)Protected branches in s3mok8s-values repository:
main
(default)The text was updated successfully, but these errors were encountered: