StreisandEffect / streisand

Streisand sets up a new server running your choice of WireGuard, OpenConnect, OpenSSH, OpenVPN, Shadowsocks, sslh, Stunnel, or a Tor bridge. It also generates custom instructions for all of these services. At the end of the run you are given an HTML file with instructions that can be shared with friends, family members, and fellow activists.
https://twitter.com/streisandvpn
Other
23.19k stars 1.99k forks source link

GCP installation failure #1486

Closed lilchow closed 5 years ago

lilchow commented 5 years ago

I tried to install Streisand on GCP via a Ubuntu-16 machine by following the instruction list in README.md. Everything went as expected until this step: TASK [genesis-google : Create the GCE instance]

Expected behavior:

ok: [localhost]

Actual Behavior:

An exception occurred during task execution. To see the full traceback, use -vvv. The error was: libcloud.common.google.GoogleBaseError: u"The resource '435871875296-compute@developer.gserviceaccount.com' of type 'serviceAccount' was not found."

Steps to Reproduce:

  1. ./streisand
  2. everything else was default settings

Additional Details:

Log output from Ansible or other relevant services (link to Gist for longer output):

An exception occurred during task execution. To see the full traceback, use -vvv. The error was: libcloud.common.google.GoogleBaseError: u"The resource '435871875296-compute@developer.gserviceaccount.com' of type 'serviceAccount' was not found." fatal: [localhost]: FAILED! => {"changed": false, "module_stderr": "Traceback (most recent call last):\n File \"/tmp/ansible_8zIiiS/ansible_module_gce.py\", line 748, in \n main()\n File \"/tmp/ansible_8zIiiS/ansible_module_gce.py\", line 707, in main\n module, gce, inames, number, lc_zone)\n File \"/tmp/ansible_8zIiiS/ansible_module_gce.py\", line 520, in create_instances\n instance, lc_machine_type, lc_image(), gce_args\n File \"/root/streisand/venv/local/lib/python2.7/site-packages/libcloud/compute/drivers/gce.py\", line 4129, in create_node\n self.connection.async_request(request, method='POST', data=node_data)\n File \"/root/streisand/venv/local/lib/python2.7/site-packages/libcloud/common/base.py\", line 780, in async_request\n response = request(kwargs)\n File \"/root/streisand/venv/local/lib/python2.7/site-packages/libcloud/compute/drivers/gce.py\", line 121, in request\n response = super(GCEConnection, self).request(*args, *kwargs)\n File \"/root/streisand/venv/local/lib/python2.7/site-packages/libcloud/common/google.py\", line 808, in request\n args, kwargs)\n File \"/root/streisand/venv/local/lib/python2.7/site-packages/libcloud/common/base.py\", line 637, in request\n response = responseCls(kwargs)\n File \"/root/streisand/venv/local/lib/python2.7/site-packages/libcloud/common/base.py\", line 155, in init\n self.object = self.parse_body()\n File \"/root/streisand/venv/local/lib/python2.7/site-packages/libcloud/common/google.py\", line 270, in parse_body\n raise GoogleBaseError(message, self.status, code)\nlibcloud.common.google.GoogleBaseError: u\"The resource '435871875296-compute@developer.gserviceaccount.com' of type 'serviceAccount' was not found.\"\n", "module_stdout": "", "msg": "MODULE FAILURE", "rc": 1} to retry, use: --limit @/root/streisand/playbooks/google.retry

Target Cloud Provider:

GCP

Operating System of target host:

Don't know

Operating System of client:

Ubuntu 16.04

Version of Ansible, using ansible --version :

ansible 2.6.5

Output from git rev-parse HEAD in your Streisand directory :

a90e8ce9594cb83a14f6bbc50890535faba895d8

lilchow commented 5 years ago

i solved the problem without knowing what i really did...