質問編集履歴
1
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -109,3 +109,99 @@
|
|
109
109
|
|
110
110
|
|
111
111
|
よろしくお願い致します。
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
----------------------
|
116
|
+
|
117
|
+
補足です。
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
ec2上でコマンドを打っていたため起こっていたエラーの様です。
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
ローカルで打つと下記の様になります。
|
126
|
+
|
127
|
+
```
|
128
|
+
|
129
|
+
[Deprecation Notice] Future versions of Capistrano will not load the Git SCM
|
130
|
+
|
131
|
+
plugin by default. To silence this deprecation warning, add the following to
|
132
|
+
|
133
|
+
your Capfile after `require "capistrano/deploy"`:
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
require "capistrano/scm/git"
|
138
|
+
|
139
|
+
install_plugin Capistrano::SCM::Git
|
140
|
+
|
141
|
+
|
142
|
+
|
143
|
+
#<Thread:0x00007fd5fb312800@/Library/Ruby/Gems/2.6.0/gems/sshkit-1.21.1/lib/sshkit/runners/parallel.rb:10 run> terminated with exception (report_on_exception is true):
|
144
|
+
|
145
|
+
Traceback (most recent call last):
|
146
|
+
|
147
|
+
17: from /Library/Ruby/Gems/2.6.0/gems/sshkit-1.21.1/lib/sshkit/runners/parallel.rb:12:in `block (2 levels) in execute'
|
148
|
+
|
149
|
+
16: from /Library/Ruby/Gems/2.6.0/gems/sshkit-1.21.1/lib/sshkit/backends/abstract.rb:31:in `run'
|
150
|
+
|
151
|
+
15: from /Library/Ruby/Gems/2.6.0/gems/sshkit-1.21.1/lib/sshkit/backends/abstract.rb:31:in `instance_exec'
|
152
|
+
|
153
|
+
14: from /Library/Ruby/Gems/2.6.0/gems/capistrano-rbenv-2.2.0/lib/capistrano/tasks/rbenv.rake:10:in `block (3 levels) in <top (required)>'
|
154
|
+
|
155
|
+
13: from /Library/Ruby/Gems/2.6.0/gems/sshkit-1.21.1/lib/sshkit/backends/abstract.rb:61:in `test'
|
156
|
+
|
157
|
+
12: from /Library/Ruby/Gems/2.6.0/gems/sshkit-1.21.1/lib/sshkit/backends/abstract.rb:148:in `create_command_and_execute'
|
158
|
+
|
159
|
+
11: from /Library/Ruby/Gems/2.6.0/gems/sshkit-1.21.1/lib/sshkit/backends/abstract.rb:148:in `tap'
|
160
|
+
|
161
|
+
10: from /Library/Ruby/Gems/2.6.0/gems/sshkit-1.21.1/lib/sshkit/backends/abstract.rb:148:in `block in create_command_and_execute'
|
162
|
+
|
163
|
+
9: from /Library/Ruby/Gems/2.6.0/gems/sshkit-1.21.1/lib/sshkit/backends/netssh.rb:130:in `execute_command'
|
164
|
+
|
165
|
+
8: from /Library/Ruby/Gems/2.6.0/gems/sshkit-1.21.1/lib/sshkit/backends/netssh.rb:177:in `with_ssh'
|
166
|
+
|
167
|
+
7: from /Library/Ruby/Gems/2.6.0/gems/sshkit-1.21.1/lib/sshkit/backends/connection_pool.rb:63:in `with'
|
168
|
+
|
169
|
+
6: from /Library/Ruby/Gems/2.6.0/gems/sshkit-1.21.1/lib/sshkit/backends/connection_pool.rb:63:in `call'
|
170
|
+
|
171
|
+
5: from /Library/Ruby/Gems/2.6.0/gems/net-ssh-6.1.0/lib/net/ssh.rb:251:in `start'
|
172
|
+
|
173
|
+
4: from /Library/Ruby/Gems/2.6.0/gems/net-ssh-6.1.0/lib/net/ssh.rb:251:in `new'
|
174
|
+
|
175
|
+
3: from /Library/Ruby/Gems/2.6.0/gems/net-ssh-6.1.0/lib/net/ssh/transport/session.rb:73:in `initialize'
|
176
|
+
|
177
|
+
2: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/socket.rb:631:in `tcp'
|
178
|
+
|
179
|
+
1: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/socket.rb:227:in `foreach'
|
180
|
+
|
181
|
+
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/socket.rb:227:in `getaddrinfo': getaddrinfo: nodename nor servname provided, or not known (SocketError)
|
182
|
+
|
183
|
+
1: from /Library/Ruby/Gems/2.6.0/gems/sshkit-1.21.1/lib/sshkit/runners/parallel.rb:11:in `block (2 levels) in execute'
|
184
|
+
|
185
|
+
/Library/Ruby/Gems/2.6.0/gems/sshkit-1.21.1/lib/sshkit/runners/parallel.rb:15:in `rescue in block (2 levels) in execute': Exception while executing as ec2-user@18.52.197.1.109: getaddrinfo: nodename nor servname provided, or not known (SSHKit::Runner::ExecuteError)
|
186
|
+
|
187
|
+
(Backtrace restricted to imported tasks)
|
188
|
+
|
189
|
+
cap aborted!
|
190
|
+
|
191
|
+
SSHKit::Runner::ExecuteError: Exception while executing as ec2-user@18.52.197.1.109: getaddrinfo: nodename nor servname provided, or not known
|
192
|
+
|
193
|
+
|
194
|
+
|
195
|
+
|
196
|
+
|
197
|
+
Caused by:
|
198
|
+
|
199
|
+
SocketError: getaddrinfo: nodename nor servname provided, or not known
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
Tasks: TOP => rbenv:validate
|
204
|
+
|
205
|
+
(See full trace by running task with --trace)
|
206
|
+
|
207
|
+
```
|