Open jmcculloch-google opened 10 months ago
Thank you! I'll get a PR opened shortly.
Please use the latest 2.0 image if you are using an older version of 2.0 image in your dataproc cluster creation script. There was a change in public key of mysql repo in Dec'2023 because of which you might be facing the issue.
With a recent image I am able to see it working fine
jjayadeep_google_com@jj-deb-20-m:~$ sudo apt-get update
Get:1 https://packages.cloud.google.com/apt google-cloud-logging-buster-all InRelease [5104 B]
Hit:2 http://cloud.r-project.org/bin/linux/debian buster-cran40/ InRelease
Get:3 https://packages.cloud.google.com/apt google-cloud-monitoring-buster-all InRelease [5092 B]
Get:4 https://storage.googleapis.com/goog-dataproc-bigtop-repo-us-central1/2_0_deb10_20240111_122000-RC01 dataproc InRelease [3708 B]
Get:5 https://packages.cloud.google.com/apt google-compute-engine-buster-stable InRelease [5136 B]
Get:6 https://download.docker.com/linux/debian buster InRelease [53.9 kB]
Get:7 https://packages.cloud.google.com/apt cloud-sdk-buster InRelease [6396 B]
Hit:8 https://repo.mysql.com/apt/debian buster InRelease
Hit:9 https://storage.googleapis.com/dataproc-bigtop-repo/2_0_deb10_20240111_122000-RC01 dataproc InRelease
Get:10 https://packages.adoptium.net/artifactory/deb buster InRelease [6634 B]
Creating a new Dataproc cluster using the install_gpu_driver.sh init script results in the following two issues:
An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://repo.mysql.com/apt/debian buster InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B7B3B788A8D3785C
=> Current workaround is to remove the MySQL repository from being updated via:
mv /etc/apt/sources.list.d/mysql.list /tmp/mysql.list
E: Repository 'https://packages.cloud.google.com/apt google-cloud-monitoring-buster-all InRelease' changed its 'Origin' value from 'google-cloud-monitoring-buster' to 'namespaces/cloud-ops-agents-artifacts/repositories/google-cloud-monitoring-buster-all' E: Repository 'https://packages.cloud.google.com/apt google-cloud-monitoring-buster-all InRelease' changed its 'Label' value from 'google-cloud-monitoring-buster' to 'namespaces/cloud-ops-agents-artifacts/repositories/google-cloud-monitoring-buster-all'
=> Workaround is to allow for the repository change:
apt-get --allow-releaseinfo-change update
Full log: