I'm a dork who misunderstood how the secrets management plugin worked, my file was invalid because I was using unencrypted values and it was throwing a bad cipher error, I generated the secrets file with the cli tool and now it works
On Friday, December 2, 2022 at 11:42:37 p.m. UTC-5 Chad Wilson wrote: > Ok, that probably means there is some unexpected issue trying to prepare > the job with the unencrypted secrets for dispatching to the agent. > > Hope the logs help, but obviously not ideal that there are no obvious > errors elsewhere. If we figure out the root cause we can perhaps see if it > can be better handled. > > On Sat, 3 Dec 2022, 12:01 Evan Tatay-Hinds, <[email protected]> wrote: > >> It does not get assigned to an agent. I'll look into the logging next >> time I boot it up >> >> On Friday, December 2, 2022 at 10:22:48 a.m. UTC-5 Chad Wilson wrote: >> >>> Could you take a look at the server logs and/or the plugin-specific log >>> and see if any errors are being reported there that aren't making their way >>> to the UI? >>> >>> If not, you could try >>> https://github.com/gocd/gocd-file-based-secrets-plugin#enable-debug-logs >>> to get more detailed logging of what is going on, perhaps. >>> >>> Does the job get assigned to an agent but not started? Or stuck even >>> before that? >>> >>> -Chad >>> >>> >>> On Fri, Dec 2, 2022 at 1:36 AM Evan Tatay-Hinds <[email protected]> >>> wrote: >>> >>>> I have this pipeline stored in my github repo >>>> >>>> >>>> https://github.com/gaurdianaq/astrojs-highscore-website/blob/main/deploy_highscore_site.gocd.yaml >>>> >>>> The pipeline runs fine if I remove the secrets from it, but for some >>>> reason it just hangs and doesn't get picked up by the agent. When the >>>> secrets were invalid it would throw an error, so I know it is trying to >>>> resolve the secrets. I'm using the file based secrets plugin. I ensured >>>> that the secrets are usable on all resources. >>>> >>>> Does anyone have any thoughts on this? I'm still new to GoCD but I've >>>> hit a bit of a brick wall with this and haven't been able to find anything >>>> in the documentation so far. >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "go-cd" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/go-cd/576a4972-5bb5-465a-ad69-d44cade78f85n%40googlegroups.com >>>> >>>> <https://groups.google.com/d/msgid/go-cd/576a4972-5bb5-465a-ad69-d44cade78f85n%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "go-cd" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> > To view this discussion on the web visit >> https://groups.google.com/d/msgid/go-cd/82de6a9a-f593-4d5e-a946-e45b73d7fb70n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/go-cd/82de6a9a-f593-4d5e-a946-e45b73d7fb70n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- You received this message because you are subscribed to the Google Groups "go-cd" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/5fcdc4d9-fbad-4c2b-a874-9f78e2165c93n%40googlegroups.com.
