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

Failed on both example.yaml and minimal-example.yaml in examples dir #937

Open
NetWilliam opened this issue Jan 15, 2025 · 0 comments
Open

Comments

@NetWilliam
Copy link

using latest brew installed release with minikubee on mac m1.

example.yaml failed, log:

ORG_PATH=self_org VALUE=abc helmsman --apply -f example.yaml

 _          _ 
| |        | | 
| |__   ___| |_ __ ___  ___ _ __ ___   __ _ _ __
| '_ \ / _ \ | '_ ` _ \/ __| '_ ` _ \ / _` | '_ \ 
| | | |  __/ | | | | | \__ \ | | | | | (_| | | | | 
|_| |_|\___|_|_| |_| |_|___/_| |_| |_|\__,_|_| |_| version: v3.17.1
A Helm-Charts-as-Code tool.

2025-01-15 11:40:17 WARNING: helm diff not found, using kubectl diff
2025-01-15 11:40:17 INFO: validating environment variables in example.yaml
2025-01-15 11:40:17 INFO: Parsed [[ example.yaml ]] successfully and found [ 2 ] apps
2025-01-15 11:40:18 INFO: Validating desired state definition
2025-01-15 11:40:18 INFO: Setting up kubectl
2025-01-15 11:40:18 INFO: Setting up helm
2025-01-15 11:40:21 INFO: Setting up namespaces
2025-01-15 11:40:22 INFO: Getting chart information
2025-01-15 11:40:23 INFO: Charts validated.
2025-01-15 11:40:23 INFO: Preparing plan
2025-01-15 11:40:23 INFO: Acquiring current Helm state from cluster
2025-01-15 11:40:24 INFO: Checking if any Helmsman managed releases are no longer tracked by your desired state ...
2025-01-15 11:40:24 INFO: No untracked releases found
2025-01-15 11:40:24 NOTICE: -------- PLAN starts here --------------
2025-01-15 11:40:24 NOTICE: Release [ argo ] in namespace [ staging ] will be installed using version [ 0.8.5 ] -- priority: -3
2025-01-15 11:40:24 NOTICE: Release [ artifactory ] in namespace [ production ] will be installed using version [ 8.3.2 ] -- priority: -2
2025-01-15 11:40:24 NOTICE: -------- PLAN ends here --------------
2025-01-15 11:40:24 INFO: Executing plan
2025-01-15 11:40:24 NOTICE: Apply .helmsman-tmp/tmp4051043961/job.yaml manifest preInstall
2025-01-15 11:40:24 NOTICE: job.batch/pi unchanged
2025-01-15 11:40:24 NOTICE: Finished: Apply .helmsman-tmp/tmp4051043961/job.yaml manifest preInstall
2025-01-15 11:40:24 NOTICE: Wait for preInstall : .helmsman-tmp/tmp4051043961/job.yaml

2025-01-15 11:41:54 ERROR: command for release [argo] failed: Wait for preInstall : .helmsman-tmp/tmp4051043961/job.yaml failed with non-zero exit code 1: exit status 1
output: 
--- stdout ---

--- stderr ---
error: timed out waiting for the condition on jobs/pi
2025-01-15 11:41:54 CRITICAL: Plan execution failed

minimal-example.yaml failed on fetch the image:

kubectl get pods -n  staging                            
NAME                                             READY   STATUS             RESTARTS   AGE
artifactory-artifactory-0                        0/1     Init:3/5           0          5m17s
artifactory-artifactory-nginx-798b7cb6b7-mhwj2   0/1     Running            0          5m17s
artifactory-postgresql-0                         0/1     ImagePullBackOff   0          5m17s
jenkins-77d9bc69d6-z26tf                         2/2     Running            0          5m20s

while the events for artifactory-postgresql-0 is:

Events:
  Type     Reason            Age                   From               Message
  ----     ------            ----                  ----               -------
  Warning  FailedScheduling  4m9s                  default-scheduler  0/1 nodes are available: pod has unbound immediate PersistentVolumeClaims. preemption: 0/1 nodes are available: 1 Preemption is not helpful for scheduling.
  Normal   Scheduled         4m7s                  default-scheduler  Successfully assigned staging/artifactory-postgresql-0 to minikube
  Normal   Pulling           2m6s (x4 over 4m6s)   kubelet            Pulling image "docker.bintray.io/bitnami/postgresql:12.3.0-debian-10-r71"
  Warning  Failed            2m6s (x4 over 3m33s)  kubelet            Failed to pull image "docker.bintray.io/bitnami/postgresql:12.3.0-debian-10-r71": Error response from daemon: unauthorized: The client does not have permission for manifest: Upstream repository is not configured properly
  Warning  Failed            2m6s (x4 over 3m33s)  kubelet            Error: ErrImagePull
  Warning  Failed            100s (x6 over 3m33s)  kubelet            Error: ImagePullBackOff
  Normal   BackOff           87s (x7 over 3m33s)   kubelet            Back-off pulling image "docker.bintray.io/bitnami/postgresql:12.3.0-debian-10-r71"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant