-
Bug
-
Resolution: Done
-
Critical
-
quay-v3.5.5
-
False
-
False
-
Quay Enterprise
-
When Gitlab triggers are enabled on Quay 3.5.6, validation fails on Quay startup:
# podman logs -f quay3 __ __ / \ / \ ______ _ _ __ __ __ / /\ / /\ \ / __ \ | | | | / \ \ \ / / / / / / \ \ | | | | | | | | / /\ \ \ / \ \ \ \ / / | |__| | | |__| | / ____ \ | | \ \/ \ \/ / \_ ___/ \____/ /_/ \_\ |_| \__/ \__/ \ \__ \___\ by Red Hat Build, Store, and Distribute your Containers Running all default registry services Running init script '/quay-registry/conf/init/certs_create.sh' Generating a RSA private key ......................................................................................................................................................................................................................................................................++++ ............++++ writing new private key to 'mitm-key.pem' ----- Running init script '/quay-registry/conf/init/certs_install.sh' Running init script '/quay-registry/conf/init/copy_config_files.sh' Running init script '/quay-registry/conf/init/d_validate_config_bundle.sh' Validating Configuration time="2021-09-07T12:43:29Z" level=debug msg="Validating AccessSettings" ... time="2021-09-07T12:43:29Z" level=debug msg="Validating GitLabBuildTrigger" time="2021-09-07T12:43:30Z" level=debug msg="GitLabBuildTrigger%!(EXTRA string=Could not verify GitLab OAuth credentials, []string=[GITLAB_TRIGGER_CONFIG.CLIENT_ID GITLAB_TRIGGER_CONFIG.CLIENT_SECRET])" time="2021-09-07T12:43:30Z" level=debug msg="Validating GoogleLogin" ... time="2021-09-07T12:43:30Z" level=debug msg="Validating UserVisibleSettings" ... | GitHubLogin | - | | +------------------------+---------------------------------------------------------------------------------------------------------------------------------------+--------+ | GitLabBuildTrigger | Could not verify GitLab OAuth credentials | | +------------------------+------------------------------------------------------------------------------------------------------------------------------------ ...
Gitlab credentials for Quay deployed locally:
GITLAB_TRIGGER_CONFIG: CLIENT_ID: 45d41900b6da60da261b64a5f69879f20324e61d78f8f70ebc056f0a289d18db CLIENT_SECRET: d668d7a2a50c94b3b677f5f4d9557fb838892902a42e5b60eca9428306871084 GITLAB_ENDPOINT: http://debian.example.com GITLAB_TRIGGER_KIND: {}
Same configuration works as expected on Quay 3.3.x where triggers and building works. Please check.