Skip to content

Commit 01de93a

Browse files
committed
Merge pull request #2562 from mboersma/could-not-find-unit
Add "could not find unit template" section to troubleshooting docs
2 parents 7491f2a + d54ca25 commit 01de93a

1 file changed

Lines changed: 27 additions & 11 deletions

File tree

docs/troubleshooting_deis/index.rst

Lines changed: 27 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -108,28 +108,45 @@ Note that store-volume requires CoreOS >= 471.1.0 for the CephFS kernel module.
108108
Any component fails to start
109109
----------------------------
110110

111-
Use `deisctl status <component>` to view the status of the component.
112-
You can also use `deisctl journal <component>` to tail logs for a component, or `deisctl list`
111+
Use ``deisctl status <component>`` to view the status of the component.
112+
You can also use ``deisctl journal <component>`` to tail logs for a component, or ``deisctl list``
113113
to list all components.
114114

115115
Failed initializing SSH client
116116
------------------------------
117117

118-
A `deisctl` command fails with: 'Failed initializing SSH client: ssh: handshake failed: ssh: unable to authenticate'.
119-
Did you remember to add your SSH key to the ssh-agent? `ssh-add -L` should list the key you used
120-
to provision the servers. If it's not there, `ssh-add -K /path/to/your/key`.
118+
A ``deisctl`` command fails with: 'Failed initializing SSH client: ssh: handshake failed: ssh: unable to authenticate'.
119+
Did you remember to add your SSH key to the ssh-agent? ``ssh-add -L`` should list the key you used
120+
to provision the servers. If it's not there, ``ssh-add -K /path/to/your/key``.
121121

122122
All the given peers are not reachable
123123
-------------------------------------
124124

125-
A `deisctl` command fails with: 'All the given peers are not reachable (Tried to connect to each peer twice and failed)'.
126-
The most common cause of this issue is that a [new discovery URL](https://discovery.etcd.io/new)
127-
wasn't generated and updated in `contrib/coreos/user-data` before the cluster was launched.
128-
Each Deis cluster must have a unique discovery URL, or else `etcd` will try and fail to connect to old hosts.
129-
Try destroying the cluster and relaunching the cluster with a fresh discovery URL.
125+
A ``deisctl`` command fails with: 'All the given peers are not reachable (Tried to connect to each peer twice and failed)'.
126+
The most common cause of this issue is that a new discovery URL wasn't generated and updated in
127+
``contrib/coreos/user-data`` before the cluster was launched. Each Deis cluster must have a unique
128+
discovery URL, or else ``etcd`` will try and fail to connect to old hosts. Try destroying the cluster
129+
and relaunching the cluster with a fresh discovery URL.
130130

131131
You can use ``make discovery-url`` to automatically fetch a new discovery URL.
132132

133+
Could not find unit template...
134+
-------------------------------
135+
136+
If you built ``deisctl`` locally or didn't use its installer, you may see an error like this:
137+
138+
.. code-block:: console
139+
140+
$ deisctl install platform
141+
142+
Storage subsystem...
143+
Could not find unit template for store-daemon
144+
145+
This is because ``deisctl`` could not find unit files for Deis locally. Run
146+
``deisctl help refresh-units`` to see where ``deisctl`` searches, and then run a command such as
147+
``deisctl refresh-units --tag=v1.0.1``, or set the ``$DEISCTL_UNITS`` environment variable to a directory
148+
containing the unit files.
149+
133150
Other issues
134151
------------
135152

@@ -138,4 +155,3 @@ Running into something not detailed here? Please `open an issue`_ or hop into #d
138155
.. _`Ceph FS`: https://ceph.com/docs/giant/cephfs/
139156
.. _`open an issue`: https://github.com/deis/deis/issues/new
140157
.. _`troubleshooting`: http://docs.ceph.com/docs/giant/rados/troubleshooting/
141-

0 commit comments

Comments
 (0)