spotty-cloud / spotty

Training deep learning models on AWS and GCP instances
https://spotty.cloud
MIT License
491 stars 43 forks source link

Help with solving NO_PUBKEY error on instance startup #115

Open qraleq opened 2 years ago

qraleq commented 2 years ago

Hi @apls777 ,

I have a problem with AWS NVIDIA AMI which fails to start with this error:

2022-05-24 14:37:40,730 P3042 [INFO] The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A4B469963BF863CC

I patched it by editing 01_prepare_instance.sh and adding this sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A4B469963BF863CC before apt-get update. This doesn't seem like an elegant solution. Is there a better way to handle this?

Thank you!

apls777 commented 1 year ago

Hi @qraleq, Sorry for the late reply, didn't have much time to maintain the project. Is it still relevant?