openshift-instruqt / instruqt

Repository for the Red Hat and OpenShift Developers Learning Portal, powered by Instruqt.
https://developers.redhat.com/learn/openshift
32 stars 36 forks source link

Application stuck on refresh and sync never begins #242

Open jdandrea opened 1 year ago

jdandrea commented 1 year ago

In which track did this bug occur? Working with Kustomize

what is the url for the track? https://developers.redhat.com/courses/gitops/working-kustomize

At what step of the track did this happen? Deploying Kustomized Applicaton

Describe the bug

  1. oc apply -f components/applications/bgd-app.yaml is stuck on refresh and sync never starts.
  2. Please fix title (should be "Application").

Logs or error messages n/a

Expected behavior bgd-app syncs.

Screenshots n/a

Desktop (please complete the following information):

Additional context n/a

jdandrea commented 1 year ago

Adding a screenshot in case it helps! This is from Argo CD running on OpenShift on openshift-gitops-server-openshift-gitops.crc-lgph7-master-0.crc.jkvinvysksfj.instruqt.io around 1pm EDT (UTC-4) on 10 Apr 2023. The Application Controller can't start. ("Aha! THERE's yer problem!") But I'd think the platform would have resources to support it, no? Maybe something else is amiss that's indirectly related.

[root@crc-lgph7-master-0 /]# oc get pods -n openshift-gitops
NAME                                                          READY   STATUS    RESTARTS   AGE
cluster-5467dc9587-x52qs                                      1/1     Running   0          13m
kam-6cc5f5cbff-954vr                                          1/1     Running   0          13m
openshift-gitops-application-controller-0                     0/1     Pending   0          13m
openshift-gitops-applicationset-controller-7f4b765dc4-rz6ww   0/1     Pending   0          13m
openshift-gitops-dex-server-6d76f8dd66-2bh5b                  0/1     Pending   0          13m
openshift-gitops-dex-server-7947c4c879-tzp9d                  1/1     Running   0          13m
openshift-gitops-redis-664cdd4757-6j4nb                       1/1     Running   0          13m
openshift-gitops-repo-server-dd956fd5b-7rv5r                  1/1     Running   0          13m
openshift-gitops-server-7f55c674cc-9nf46                      1/1     Running   0          13m

Screenshot 2023-04-10 at 1 01 06 PM

mayumi00 commented 1 year ago

I faced the same problem. (Japanese track) The ArgoCD controllers were not starting due to lack of CPU.

The machine type used in that track is the following type. config.yaml: 'machine_type: n1-highmem-4'

After changing to a machine type with 8 CPUs, they started up fine. 'machine_type: n1-standard-8'

'Working with Helm' track do not start properly for the same reason.

cedricclyburn commented 1 year ago

Hi! Unfortunately our team is no longer maintaining the Kustomize or Helm labs, just these https://developers.redhat.com/learn/openshift/devops-openshift

jdandrea commented 12 months ago

Thank you @cedricclyburn! Is there a different team or others managing this lab now or is it now unmoored, as it were?

cedricclyburn commented 12 months ago

Unmoored/unmaintained for now, would be happy if someone wanted to pick it back up though :D @jdandrea