mesosphere-backup / dcos-gce

Ansible script to install DC/OS on Google Compute Engine
Apache License 2.0
30 stars 18 forks source link

Failure talking to yum #28

Open kernt opened 6 years ago

kernt commented 6 years ago

On the Ansible Task [install dependencies] on the master install step.

I got the following error:

TASK [install dependencies] ****************************************************************************************************************************************** failed: [master0] (item=[u'unzip', u'ipset', u'ntp']) => {"changed": false, "item": ["unzip", "ipset", "ntp"], "msg": "Failure talking to yum: failure: repodata/repom d.xml from google-cloud-compute: [Errno 256] No more mirrors to try.\nhttps://packages.cloud.google.com/yum/repos/google-cloud-compute-el7-x86_64/repodata/repomd.xml: [Errno -1] repomd.xml signature could not be verified for google-cloud-compute"} to retry, use: --limit @/opt/dcos-gce/install.retry

to solve that error i have costumed the tasks/configure_master_dcos_nodes.yml file

- name: upgrade all packages yum: name: '*' state: latest

Now i have the same error with the add agent task. TASK [install dependencies] ****************************************************************************************************************************************** failed: [agent0001] (item=[u'unzip', u'ipset', u'ntp']) => {"changed": false, "item": ["unzip", "ipset", "ntp"], "msg": "Failure talking to yum: failure: repodata/rep omd.xml from google-cloud-compute: [Errno 256] No more mirrors to try.\nhttps://packages.cloud.google.com/yum/repos/google-cloud-compute-el7-x86_64/repodata/repomd.xm l: [Errno -1] repomd.xml signature could not be verified for google-cloud-compute"} failed: [agent0002] (item=[u'unzip', u'ipset', u'ntp']) => {"changed": false, "item": ["unzip", "ipset", "ntp"], "msg": "Failure talking to yum: failure: repodata/rep omd.xml from google-cloud-compute: [Errno 256] No more mirrors to try.\nhttps://packages.cloud.google.com/yum/repos/google-cloud-compute-el7-x86_64/repodata/repomd.xm l: [Errno -1] repomd.xml signature could not be verified for google-cloud-compute"} to retry, use: --limit @/opt/dcos-gce/add_agents.retry debugging continues ....

ajazam commented 6 years ago

Hello, try changing the VM image to a more up to date version, in the all file.