You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello!
It looks like if vagrant up --provider=google fails, the machine gets in a weird state so that it can't be started, accessed or even destroyed anymore.
Here's the stack trace for the first failure:
$ vagrant up --provider=google
Bringing machine 'default' up with 'google' provider...
==> default: Checking if box 'google/gce' version '0.1.0' is up to date...
==> default: Launching an instance with the following settings...
==> default: -- Name: gcapizzi-eirini-station
==> default: -- Project: cff-eirini-peace-pods
==> default: -- Type: n1-standard-8
==> default: -- Disk type: pd-standard
==> default: -- Disk size: 50 GB
==> default: -- Disk name:
==> default: -- Image:
==> default: -- Image family: ubuntu-2004-lts
==> default: -- Instance Group:
==> default: -- Zone: europe-west2-a
==> default: -- Network: default
==> default: -- Network Project: cff-eirini-peace-pods
==> default: -- Metadata: '{}'
==> default: -- Labels: '{}'
==> default: -- Network tags: '[]'
==> default: -- IP Forward:
==> default: -- Use private IP: false
==> default: -- External IP:
==> default: -- Network IP:
==> default: -- Preemptible: false
==> default: -- Auto Restart: true
==> default: -- On Maintenance: MIGRATE
==> default: -- Autodelete Disk: true
==> default: -- Additional Disks:[]
==> default: Waiting for instance to become "ready"...
==> default: Machine is booted and ready for use!
==> default: Waiting for SSH to become available...
==> default: Instance is not created. Please run `vagrant up` first.
Traceback (most recent call last):
92: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/batch_action.rb:86:in `block (2 levels) in run'
91: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/machine.rb:198:in `action'
90: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/machine.rb:198:in `call'
89: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/environment.rb:613:in `lock'
88: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/machine.rb:212:in `block in action'
87: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/machine.rb:240:in `action_raw'
86: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/runner.rb:89:in `run'
85: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/util/busy.rb:19:in `busy'
84: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/runner.rb:89:in `block in run'
83: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/builder.rb:116:in `call'
82: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
81: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/builtin/handle_box.rb:56:in `call'
80: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
79: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/builtin/config_validate.rb:25:in `call'
78: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
77: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/builtin/box_check_outdated.rb:92:in `call'
76: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
75: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/vagrant-google-2.5.0/lib/vagrant-google/action/connect_google.rb:45:in `call'
74: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
73: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/builtin/call.rb:53:in `call'
72: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/runner.rb:89:in `run'
71: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/util/busy.rb:19:in `busy'
70: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/runner.rb:89:in `block in run'
69: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/builder.rb:116:in `call'
68: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
67: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:107:in `block in finalize_action'
66: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
65: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/builtin/provision.rb:80:in `call'
64: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
63: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/builtin/delayed.rb:19:in `call'
62: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
61: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/builtin/synced_folders.rb:87:in `call'
60: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
59: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/vagrant-google-2.5.0/lib/vagrant-google/action/warn_networks.rb:28:in `call'
58: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
57: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/vagrant-google-2.5.0/lib/vagrant-google/action/warn_ssh_keys.rb:28:in `call'
56: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
55: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/vagrant-google-2.5.0/lib/vagrant-google/action/run_instance.rb:291:in `call'
54: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/vagrant-google-2.5.0/lib/vagrant-google/util/timer.rb:22:in `time'
53: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/vagrant-google-2.5.0/lib/vagrant-google/action/run_instance.rb:297:in `block in call'
52: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/communicators/ssh/communicator.rb:149:in `ready?'
51: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/communicators/ssh/communicator.rb:398:in `connect'
50: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/machine.rb:444:in `ssh_info'
49: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/vagrant-google-2.5.0/lib/vagrant-google/provider.rb:42:in `ssh_info'
48: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/machine.rb:198:in `action'
47: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/machine.rb:198:in `call'
46: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/environment.rb:582:in `lock'
45: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/machine.rb:212:in `block in action'
44: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/machine.rb:240:in `action_raw'
43: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/runner.rb:89:in `run'
42: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/util/busy.rb:19:in `busy'
41: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/runner.rb:89:in `block in run'
40: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/builder.rb:116:in `call'
39: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
38: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/builtin/config_validate.rb:25:in `call'
37: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
36: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/vagrant-google-2.5.0/lib/vagrant-google/action/connect_google.rb:45:in `call'
35: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
34: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/vagrant-google-2.5.0/lib/vagrant-google/action/read_ssh_info.rb:28:in `call'
33: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/vagrant-google-2.5.0/lib/vagrant-google/action/read_ssh_info.rb:37:in `read_ssh_info'
32: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/fog-google-1.9.1/lib/fog/compute/google/models/servers.rb:32:in `get'
31: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/fog-google-1.9.1/lib/fog/compute/google/requests/get_server.rb:12:in `get_server'
30: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/google-api-client-0.23.9/generated/google/apis/compute_v1/service.rb:7060:in `get_instance'
29: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/google-api-client-0.23.9/lib/google/apis/core/base_service.rb:360:in `execute_or_queue_command'
28: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/google-api-client-0.23.9/lib/google/apis/core/http_command.rb:93:in `execute'
27: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/retriable-3.1.2/lib/retriable.rb:56:in `retriable'
26: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/retriable-3.1.2/lib/retriable.rb:56:in `times'
25: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/retriable-3.1.2/lib/retriable.rb:61:in `block in retriable'
24: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/google-api-client-0.23.9/lib/google/apis/core/http_command.rb:101:in `block in execute'
23: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/retriable-3.1.2/lib/retriable.rb:56:in `retriable'
22: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/retriable-3.1.2/lib/retriable.rb:56:in `times'
21: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/retriable-3.1.2/lib/retriable.rb:61:in `block in retriable'
20: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/google-api-client-0.23.9/lib/google/apis/core/http_command.rb:104:in `block (2 levels) in execute'
19: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/google-api-client-0.23.9/lib/google/apis/core/http_command.rb:289:in `execute_once'
18: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/google-api-client-0.23.9/lib/google/apis/core/http_command.rb:313:in `apply_request_options'
17: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/googleauth-0.6.7/lib/googleauth/service_account.rb:95:in `apply!'
16: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/googleauth-0.6.7/lib/googleauth/signet.rb:45:in `apply!'
15: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/googleauth-0.6.7/lib/googleauth/signet.rb:69:in `fetch_access_token!'
14: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/signet-0.14.0/lib/signet/oauth_2/client.rb:1054:in `fetch_access_token!'
13: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/signet-0.14.0/lib/signet/oauth_2/client.rb:1020:in `fetch_access_token'
12: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/faraday-0.17.3/lib/faraday/connection.rb:175:in `post'
11: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/faraday-0.17.3/lib/faraday/connection.rb:387:in `run_request'
10: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/faraday-0.17.3/lib/faraday/rack_builder.rb:143:in `build_response'
9: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/faraday-0.17.3/lib/faraday/request/url_encoded.rb:15:in `call'
8: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/faraday-0.17.3/lib/faraday/adapter/net_http.rb:38:in `call'
7: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/faraday-0.17.3/lib/faraday/adapter/net_http.rb:92:in `with_net_http_connection'
6: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/faraday-0.17.3/lib/faraday/adapter/net_http.rb:43:in `block in call'
5: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/faraday-0.17.3/lib/faraday/adapter/net_http.rb:87:in `perform_request'
4: from /opt/vagrant/embedded/lib/ruby/2.6.0/net/http.rb:1470:in `request'
3: from /opt/vagrant/embedded/lib/ruby/2.6.0/net/http.rb:919:in `start'
2: from /opt/vagrant/embedded/lib/ruby/2.6.0/net/http.rb:930:in `do_start'
1: from /opt/vagrant/embedded/lib/ruby/2.6.0/net/http.rb:996:in `connect'
/opt/vagrant/embedded/lib/ruby/2.6.0/net/protocol.rb:41:in `ssl_socket_connect': Net::OpenTimeout (Net::OpenTimeout)
92: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/batch_action.rb:86:in `block (2 levels) in run'
91: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/machine.rb:198:in `action'
90: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/machine.rb:198:in `call'
89: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/environment.rb:613:in `lock'
88: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/machine.rb:212:in `block in action'
87: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/machine.rb:240:in `action_raw'
86: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/runner.rb:89:in `run'
85: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/util/busy.rb:19:in `busy'
84: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/runner.rb:89:in `block in run'
83: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/builder.rb:116:in `call'
82: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
81: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/builtin/handle_box.rb:56:in `call'
80: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
79: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/builtin/config_validate.rb:25:in `call'
78: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
77: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/builtin/box_check_outdated.rb:92:in `call'
76: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
75: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/vagrant-google-2.5.0/lib/vagrant-google/action/connect_google.rb:45:in `call'
74: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
73: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/builtin/call.rb:53:in `call'
72: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/runner.rb:89:in `run'
71: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/util/busy.rb:19:in `busy'
70: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/runner.rb:89:in `block in run'
69: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/builder.rb:116:in `call'
68: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
67: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:107:in `block in finalize_action'
66: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
65: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/builtin/provision.rb:80:in `call'
64: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
63: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/builtin/delayed.rb:19:in `call'
62: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
61: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/builtin/synced_folders.rb:87:in `call'
60: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
59: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/vagrant-google-2.5.0/lib/vagrant-google/action/warn_networks.rb:28:in `call'
58: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
57: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/vagrant-google-2.5.0/lib/vagrant-google/action/warn_ssh_keys.rb:28:in `call'
56: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
55: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/vagrant-google-2.5.0/lib/vagrant-google/action/run_instance.rb:291:in `call'
54: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/vagrant-google-2.5.0/lib/vagrant-google/util/timer.rb:22:in `time'
53: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/vagrant-google-2.5.0/lib/vagrant-google/action/run_instance.rb:297:in `block in call'
52: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/communicators/ssh/communicator.rb:149:in `ready?'
51: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/communicators/ssh/communicator.rb:398:in `connect'
50: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/machine.rb:444:in `ssh_info'
49: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/vagrant-google-2.5.0/lib/vagrant-google/provider.rb:42:in `ssh_info'
48: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/machine.rb:198:in `action'
47: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/machine.rb:198:in `call'
46: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/environment.rb:582:in `lock'
45: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/machine.rb:212:in `block in action'
44: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/machine.rb:240:in `action_raw'
43: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/runner.rb:89:in `run'
42: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/util/busy.rb:19:in `busy'
41: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/runner.rb:89:in `block in run'
40: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/builder.rb:116:in `call'
39: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
38: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/builtin/config_validate.rb:25:in `call'
37: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
36: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/vagrant-google-2.5.0/lib/vagrant-google/action/connect_google.rb:45:in `call'
35: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
34: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/vagrant-google-2.5.0/lib/vagrant-google/action/read_ssh_info.rb:28:in `call'
33: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/vagrant-google-2.5.0/lib/vagrant-google/action/read_ssh_info.rb:37:in `read_ssh_info'
32: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/fog-google-1.9.1/lib/fog/compute/google/models/servers.rb:32:in `get'
31: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/fog-google-1.9.1/lib/fog/compute/google/requests/get_server.rb:12:in `get_server'
30: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/google-api-client-0.23.9/generated/google/apis/compute_v1/service.rb:7060:in `get_instance'
29: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/google-api-client-0.23.9/lib/google/apis/core/base_service.rb:360:in `execute_or_queue_command'
28: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/google-api-client-0.23.9/lib/google/apis/core/http_command.rb:93:in `execute'
27: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/retriable-3.1.2/lib/retriable.rb:56:in `retriable'
26: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/retriable-3.1.2/lib/retriable.rb:56:in `times'
25: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/retriable-3.1.2/lib/retriable.rb:61:in `block in retriable'
24: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/google-api-client-0.23.9/lib/google/apis/core/http_command.rb:101:in `block in execute'
23: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/retriable-3.1.2/lib/retriable.rb:56:in `retriable'
22: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/retriable-3.1.2/lib/retriable.rb:56:in `times'
21: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/retriable-3.1.2/lib/retriable.rb:61:in `block in retriable'
20: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/google-api-client-0.23.9/lib/google/apis/core/http_command.rb:104:in `block (2 levels) in execute'
19: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/google-api-client-0.23.9/lib/google/apis/core/http_command.rb:289:in `execute_once'
18: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/google-api-client-0.23.9/lib/google/apis/core/http_command.rb:313:in `apply_request_options'
17: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/googleauth-0.6.7/lib/googleauth/service_account.rb:95:in `apply!'
16: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/googleauth-0.6.7/lib/googleauth/signet.rb:45:in `apply!'
15: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/googleauth-0.6.7/lib/googleauth/signet.rb:69:in `fetch_access_token!'
14: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/signet-0.14.0/lib/signet/oauth_2/client.rb:1054:in `fetch_access_token!'
13: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/signet-0.14.0/lib/signet/oauth_2/client.rb:1020:in `fetch_access_token'
12: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/faraday-0.17.3/lib/faraday/connection.rb:175:in `post'
11: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/faraday-0.17.3/lib/faraday/connection.rb:387:in `run_request'
10: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/faraday-0.17.3/lib/faraday/rack_builder.rb:143:in `build_response'
9: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/faraday-0.17.3/lib/faraday/request/url_encoded.rb:15:in `call'
8: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/faraday-0.17.3/lib/faraday/adapter/net_http.rb:38:in `call'
7: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/faraday-0.17.3/lib/faraday/adapter/net_http.rb:92:in `with_net_http_connection'
6: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/faraday-0.17.3/lib/faraday/adapter/net_http.rb:43:in `block in call'
5: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/faraday-0.17.3/lib/faraday/adapter/net_http.rb:87:in `perform_request'
4: from /opt/vagrant/embedded/lib/ruby/2.6.0/net/http.rb:1470:in `request'
3: from /opt/vagrant/embedded/lib/ruby/2.6.0/net/http.rb:919:in `start'
2: from /opt/vagrant/embedded/lib/ruby/2.6.0/net/http.rb:930:in `do_start'
1: from /opt/vagrant/embedded/lib/ruby/2.6.0/net/http.rb:996:in `connect'
/opt/vagrant/embedded/lib/ruby/2.6.0/net/protocol.rb:41:in `ssl_socket_connect': Net::OpenTimeout (Faraday::ConnectionFailed)
Trying to vagrant up again doesn't work, as the machine already exists (I can confirm this after checking on the GCP console):
$ vagrant up --provider=google
Bringing machine 'default' up with 'google' provider...
==> default: Checking if box 'google/gce' version '0.1.0' is up to date...
==> default: Launching an instance with the following settings...
==> default: -- Name: gcapizzi-eirini-station
==> default: -- Project: cff-eirini-peace-pods
==> default: -- Type: n1-standard-8
==> default: -- Disk type: pd-standard
==> default: -- Disk size: 50 GB
==> default: -- Disk name:
==> default: -- Image:
==> default: -- Image family: ubuntu-2004-lts
==> default: -- Instance Group:
==> default: -- Zone: europe-west2-a
==> default: -- Network: default
==> default: -- Network Project: cff-eirini-peace-pods
==> default: -- Metadata: '{}'
==> default: -- Labels: '{}'
==> default: -- Network tags: '[]'
==> default: -- IP Forward:
==> default: -- Use private IP: false
==> default: -- External IP:
==> default: -- Network IP:
==> default: -- Preemptible: false
==> default: -- Auto Restart: true
==> default: -- On Maintenance: MIGRATE
==> default: -- Autodelete Disk: true
==> default: -- Additional Disks:[]
Traceback (most recent call last):
55: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/batch_action.rb:86:in `block (2 levels) in run'
54: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/machine.rb:198:in `action'
53: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/machine.rb:198:in `call'
52: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/environment.rb:613:in `lock'
51: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/machine.rb:212:in `block in action'
50: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/machine.rb:240:in `action_raw'
49: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/runner.rb:89:in `run'
48: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/util/busy.rb:19:in `busy'
47: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/runner.rb:89:in `block in run'
46: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/builder.rb:116:in `call'
45: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
44: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/builtin/handle_box.rb:56:in `call'
43: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
42: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/builtin/config_validate.rb:25:in `call'
41: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
40: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/builtin/box_check_outdated.rb:92:in `call'
39: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
38: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/vagrant-google-2.5.0/lib/vagrant-google/action/connect_google.rb:45:in `call'
37: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
36: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/builtin/call.rb:53:in `call'
35: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/runner.rb:89:in `run'
34: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/util/busy.rb:19:in `busy'
33: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/runner.rb:89:in `block in run'
32: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/builder.rb:116:in `call'
31: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
30: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:107:in `block in finalize_action'
29: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
28: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/builtin/provision.rb:80:in `call'
27: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
26: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/builtin/delayed.rb:19:in `call'
25: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
24: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/builtin/synced_folders.rb:87:in `call'
23: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
22: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/vagrant-google-2.5.0/lib/vagrant-google/action/warn_networks.rb:28:in `call'
21: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
20: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/vagrant-google-2.5.0/lib/vagrant-google/action/warn_ssh_keys.rb:28:in `call'
19: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
18: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/vagrant-google-2.5.0/lib/vagrant-google/action/run_instance.rb:143:in `call'
17: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/fog-core-2.1.0/lib/fog/core/collection.rb:50:in `create'
16: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/fog-google-1.9.1/lib/fog/compute/google/models/disk.rb:50:in `save'
15: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/fog-google-1.9.1/lib/fog/compute/google/requests/insert_disk.rb:40:in `insert_disk'
14: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/google-api-client-0.23.9/generated/google/apis/compute_v1/service.rb:2382:in `insert_disk'
13: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/google-api-client-0.23.9/lib/google/apis/core/base_service.rb:360:in `execute_or_queue_command'
12: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/google-api-client-0.23.9/lib/google/apis/core/http_command.rb:93:in `execute'
11: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/retriable-3.1.2/lib/retriable.rb:56:in `retriable'
10: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/retriable-3.1.2/lib/retriable.rb:56:in `times'
9: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/retriable-3.1.2/lib/retriable.rb:61:in `block in retriable'
8: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/google-api-client-0.23.9/lib/google/apis/core/http_command.rb:101:in `block in execute'
7: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/retriable-3.1.2/lib/retriable.rb:56:in `retriable'
6: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/retriable-3.1.2/lib/retriable.rb:56:in `times'
5: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/retriable-3.1.2/lib/retriable.rb:61:in `block in retriable'
4: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/google-api-client-0.23.9/lib/google/apis/core/http_command.rb:104:in `block (2 levels) in execute'
3: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/google-api-client-0.23.9/lib/google/apis/core/http_command.rb:299:in `execute_once'
2: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/google-api-client-0.23.9/lib/google/apis/core/http_command.rb:183:in `process_response'
1: from /Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/google-api-client-0.23.9/lib/google/apis/core/api_command.rb:116:in `check_status'
/Users/gcapizzi/.vagrant.d/gems/2.6.6/gems/google-api-client-0.23.9/lib/google/apis/core/http_command.rb:218:in `check_status': alreadyExists: The resource 'projects/cff-eirini-peace-pods/zones/europe-west2-a/disks/gcapizzi-eirini-station' already exists (Google::Apis::ClientError)
Trying to SSH on the VM won't work either though, as the machine doesn't exist for Vagrant 😅:
$ vagrant ssh
VM must be created before running this command. Run `vagrant up` first.
The text was updated successfully, but these errors were encountered:
Hello!
It looks like if
vagrant up --provider=google
fails, the machine gets in a weird state so that it can't be started, accessed or even destroyed anymore.Here's the stack trace for the first failure:
Trying to
vagrant up
again doesn't work, as the machine already exists (I can confirm this after checking on the GCP console):Trying to SSH on the VM won't work either though, as the machine doesn't exist for Vagrant 😅:
The text was updated successfully, but these errors were encountered: