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
Detail the most commonly-experienced issues when provisioning Deis,
along with suggested workarounds/fixes. Hopefully this will amount to
a better experience for new Deis users.
Deis has undergone several improvements recently. If you are updating
12
13
from Deis version 0.7.0 or earlier, there are several big changes you
13
14
should know about. Read the [MIGRATING.md](MIGRATING.md) document for
@@ -123,9 +124,9 @@ $ deis keys:add
123
124
124
125
Use `deis keys:add` to add your SSH public key for `git push` access.
125
126
126
-
## Initalize a Cluster
127
+
## Initialize a Cluster
127
128
128
-
Initalize a `dev` cluster with a list of CoreOS hosts and your CoreOS private key.
129
+
Initialize a `dev` cluster with a list of CoreOS hosts and your CoreOS private key.
129
130
130
131
```console
131
132
$ deis clusters:create dev local.deisapp.com --hosts=local.deisapp.com --auth=~/.vagrant.d/insecure_private_key
@@ -198,6 +199,37 @@ Vagrant and the current master version of Deis, please add to the issue
198
199
report at https://github.com/coreos/coreos-vagrant/issues/68 to help us
199
200
pin it down.
200
201
202
+
## Troubleshooting
203
+
204
+
Common issues that users have run into when provisioning Deis are detailed below.
205
+
206
+
#### When running a `make` action - 'Failed initializing SSH client: ssh: handshake failed: ssh: unable to authenticate'
207
+
Did you remember to add your SSH key to the ssh-agent? `ssh-agent -L` should list the key you used to provision the servers. If it's not there, `ssh-add -K `/path/to/your/key`.
208
+
209
+
#### Various NFS issues, specifically an 'access denied' error
210
+
The easiest workaround for this is to use rsync instead of NFS. In the Vagrantfile, swap out the `config.vm.synced_folder` line for the commented version.
211
+
212
+
#### Scaling an app doesn't work, and/or the app shows 'Welcome to nginx!'
213
+
This means the controller failed to submit jobs for the app to fleet. `fleetctl status deis-controller` will show detailed error information, but the most common cause of this is that the cluster was created with the wrong SSH key for the `--auth` parameter. The key supplied with the `--auth` parameter must be the same key that was used to provision the Deis servers. If you suspect this to be the issue, you'll need to `clusters:destroy` the cluster and recreate it, along with the app.
214
+
215
+
#### A Deis component fails to start
216
+
Use `fleetctl status deis-<component>.service` to get the output of the service. The most common cause of services failing to start are sporadic issues with the Docker index. The telltale sign of this is:
217
+
218
+
```console
219
+
May 12 18:24:37 deis-3 systemd[1]: Starting deis-controller...
220
+
May 12 18:24:37 deis-3 sh[6176]: 2014/05/12 18:24:37 Error: No such id: deis/controller
221
+
May 12 18:24:37 deis-3 sh[6176]: Pulling repository deis/controller
222
+
May 12 18:29:47 deis-3 sh[6176]: 2014/05/12 18:29:47 Could not find repository on any of the indexed registries.
223
+
May 12 18:29:47 deis-3 systemd[1]: deis-controller.service: control process exited, code=exited status=1
224
+
May 12 18:29:47 deis-3 systemd[1]: Failed to start deis-controller.
225
+
May 12 18:29:47 deis-3 systemd[1]: Unit deis-controller.service entered failed state.
226
+
```
227
+
228
+
We are exploring workarounds and are working with the Docker team to improve their index. In the meantime, try starting the service again with `fleetctl start deis-<component>.service`.
229
+
230
+
### Any other issues
231
+
Running into something not detailed here? Please [open an issue](https://github.com/deis/deis/issues/new) or hop into #deis and we'll help!
0 commit comments