GoogleCloudPlatform / compute-ansible-gluster

Ansible Playbook to Deploy Gluster in Google Cloud Platform
https://cloud.google.com/solutions/filers-on-compute-engine#glusterfs
Apache License 2.0
45 stars 18 forks source link

Stackdriver error when running playbook #4

Open rushtehrani opened 7 years ago

rushtehrani commented 7 years ago

I'm getting the following Stackdriver error when running the playbook. I haven't dug in to see why yet but figured to report it in case somebody else knows how to resolve.

fatal: [104.198.108.19]: FAILED! => {"changed": true, "cmd": "bash /root/stack-install.sh", "delta": "0:00:12.193368", "end": "2016-12-02 19:54:18.123699", "failed": true, "rc": 1, "start": "2016-12-02 19:54:05.930331", "stderr": "warning: /var/cache/yum/x86_64/7/stackdriver/packages/python-netifaces-0.5-4.el7.x86_64.rpm: He
ader V3 RSA/SHA1 Signature, key ID 7b190bd2: NOKEY\nImporting GPG key 0x7B190BD2:\n Userid     : \"Stackdriver Engineering <engineering@stackdriver.com>\"\n Fingerprint: b10f dcdc ec08 8467 d006 9f42 3c6e 1588 7b19 0bd2\n From       : https://app.stackdriver.com/RPM-GPG-KEY-stackdriver\nNeed to provide api key", "stdout": "I
nstalling agents for RHEL or CentOS.\nPublic key for python-netifaces-0.5-4.el7.x86_64.rpm is not installed", "stdout_lines": ["Installing agents for RHEL or CentOS.", "Public key for python-netifaces-0.5-4.el7.x86_64.rpm is not installed"], "warnings": []}
fatal: [104.198.3.139]: FAILED! => {"changed": true, "cmd": "bash /root/stack-install.sh", "delta": "0:00:12.200804", "end": "2016-12-02 19:54:18.131165", "failed": true, "rc": 1, "start": "2016-12-02 19:54:05.930361", "stderr": "warning: /var/cache/yum/x86_64/7/stackdriver/packages/python-netifaces-0.5-4.el7.x86_64.rpm: Hea
der V3 RSA/SHA1 Signature, key ID 7b190bd2: NOKEY\nImporting GPG key 0x7B190BD2:\n Userid     : \"Stackdriver Engineering <engineering@stackdriver.com>\"\n Fingerprint: b10f dcdc ec08 8467 d006 9f42 3c6e 1588 7b19 0bd2\n From       : https://app.stackdriver.com/RPM-GPG-KEY-stackdriver\nNeed to provide api key", "stdout": "In
stalling agents for RHEL or CentOS.\nPublic key for python-netifaces-0.5-4.el7.x86_64.rpm is not installed", "stdout_lines": ["Installing agents for RHEL or CentOS.", "Public key for python-netifaces-0.5-4.el7.x86_64.rpm is not installed"], "warnings": []}
imbkr commented 7 years ago

Is this error resolved?

viglesiasce commented 7 years ago

I was not able to reproduce this error.

viglesiasce commented 7 years ago

@imbkr can you check that the Stackdriver Monitoring API is enabled: https://console.cloud.google.com/apis/api/monitoring.googleapis.com/overview

jwcardenas commented 6 years ago

Encountered a stackdriver error when running through playbook as well

https://app.stackdriver.com/RPM-GPG-KEY-stackdriver\nNeed to provide api key", "stdout": "Installing agents for RHEL or CentOS.\nPublic key for stackdriver-extractor-94-1.el7.centos.noarch.rpm is not installed", "stdout_lines": ["Installing agents for RHEL or CentOS.", "Public key for stackdriver-extractor-94-1.el7.centos.noarch.rpm is not installed"], "warnings": []}

I made sure to have Stackdriver Monitoring API enabled but still received this error.

viglesiasce commented 6 years ago

I have disabled the Stackdriver role for now and will be digging into what could be different in our projects.