Closed Analect closed 4 months ago
Hi @Analect and thanks for trying out idpBuilder.
A few thoughts from glancing over your setup.
the reference implementation is pretty heavy in terms of the number of tools it deploys and generally 8GB is not enough memory to get all the tools up and running. The minimum recommended memory is around 12GB.
The K9s screenshot you shared lacks data on some key components. particularly, is keycloak up and running or is it failing? The timeout from the backstage pod appears to indicate that the openid
client is timing out, which makes me wonder whether keycloak is up and running and responding to requests.
your Argo CD container doesnt have much in the logs and the delay in it starting up could be related to memory limitations on the host machine.
Certainly happy to help you debug if and when you provide more details on the setup.
@Analect Backstage and ArgoWorkflows will failed until keycloak is up and stage. Those error you see if that backstage and argoworkflows can't reach keycloack. Usually takes from 8 to 10 mins for everything to be ready and all pods Running
Please feel free to re-open this issue if you are still running into the same problem.
What is your environment, configuration, and command?
Having watched the latest community meeting video, I have been experimenting with using
devpod
to get this ref-implementation running. I haven't gone as far as the experimentation by @aatchison at aatchison/cnoe-devcontainer-feature-demo. I merely ran up a remote environment on a linux ubuntu 22.04 box with 8GB of memory available. From a terminal in that remotedevpod
container, I ranidpbuilder create --use-path-routing --package-dir examples/ref-implementation --kind-config ./examples/local-backup/kind.yaml
, adjusting up the memory to 6Gi in thekind.yaml
, since I thought the problems I was initially facing related to 4Gi not being sufficient.What did you do and What did you see instead?
That didn't resolve matters, so I decided to change the backstage image reference in
example/ref-implementation/backstage/manifests/install.yaml
toghcr.io/cnoe-io/backstage-app:plugin-scaffolder-actions
frompublic.ecr.aws/cnoe-io/backstage:rc1
, which seems to be a more recently-generated version that I thought might work. I can see also from https://gallery.ecr.aws/cnoe-io/backstage thatpublic.ecr.aws/cnoe-io/backstage:rc2
exists from about a month ago. I haven't tried this one, but it seems to me the problems I'm facing are perhaps not solved by this either. Could anyone suggest what might be going wrong here?On a broader related matter, I haven't been able to find documentation around how either CNOE or
idpbuilder
is intended to help with modifying how backstage gets set up. Let's say your desire is to have a list of plugins that work in conjunction with other tooling spawned by idpbuilder, let's say some of the plugins from https://github.com/janus-idp/backstage-showcase/blob/main/README.md ... is there a pattern to how these get specified?For plugins specified at https://github.com/cnoe-io/backstage-app/tree/main/plugins ... can these include those such as the
janus-idp
ones? Do they require any special set-up or treatment for working in a CNOE context? Does CNOE/idpbuilder work with the new dynamic backend plugin system?Thanks for your guidance.
Additional Information. Logs.
These are the logs from the failing argo-server pod: