aIbrahiim commented on code in PR #36757:
URL: https://github.com/apache/beam/pull/36757#discussion_r2504614782
##########
.github/workflows/beam_PostCommit_XVR_GoUsingJava_Dataflow.yml:
##########
@@ -75,15 +75,46 @@ jobs:
uses: ./.github/actions/setup-environment-action
with:
python-version: default
+ - name: Set up writable gcloud config directory
Review Comment:
The reason this workflow needs the explicit CLOUDSDK_CONFIG setup is because
we were hitting specific permission errors that weren't occurring in the
PythonUsingJava workflow. The original KUBELET_GCLOUD_CONFIG_PATH points to a
read only directory in the Kubernetes pod, causing gcloud to crash when trying
to write its config files.
error from logs:
WARNING: Could not setup log file in
/var/lib/kubelet/pods/.../volumes/kubernetes.io~empty-dir/gcloud/logs, (Error:
Could not create directory [...] Permission denied.
ERROR: gcloud crashed (OperationalError): unable to open database file
denied: Permission "artifactregistry.repositories.uploadArtifacts" denied on
resource "projects/apache-beam-testing/locations/us/repositories/us.gcr.io"
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]