-
Notifications
You must be signed in to change notification settings - Fork 221
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Made Trident PVC events more user-friendly
- Loading branch information
Showing
16 changed files
with
97 additions
and
1,724 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,26 @@ | ||
Troubleshooting | ||
^^^^^^^^^^^^^^^ | ||
|
||
* Run ``tridentctl logs -l all -n trident`` and look for problems in the logs | ||
for the ``trident-main`` and ``etcd`` containers. Alternatively, you can use | ||
``kubectl logs`` to retrieve the logs for the ``trident-********-****`` pod. | ||
* If there was a failure during install, run ``tridentctl logs -l all -n trident`` | ||
and look for problems in the logs for the ``trident-main`` and ``etcd`` containers. | ||
Alternatively, you can use ``kubectl logs`` to retrieve the logs for the | ||
``trident-********-****`` pod. | ||
* If the Trident pod fails to come up properly (e.g., when Trident pod is stuck | ||
in the ``ContainerCreating`` phase with fewer than 2 ready containers), | ||
running ``kubectl -n trident describe deployment trident`` and | ||
``kubectl -n trident describe pod trident-********-****`` can provide | ||
additional insights. Obtaining kubelet logs | ||
(e.g., via ``journalctl -xeu kubelet``) can also be helpful if there is a | ||
problem in mounting the ``trident`` PVC (the ``etcd`` volume). | ||
* If there's not enough information in the Trident and Trident launcher logs, | ||
you can try enabling debug mode for Trident and Trident launcher by passing | ||
the ``-d`` flag to the install parameter: ``./tridentctl install -d -n trident``. | ||
* If there's not enough information in the Trident logs, you can try enabling | ||
the debug mode for Trident by passing the ``-d`` flag to the install | ||
parameter: ``./tridentctl install -d -n trident``. | ||
* The :ref:`uninstall parameter <Uninstalling Trident>` can help with cleaning up | ||
after a failed run. By default the script does not touch the etcd backing | ||
store, making it safe to uninstall and install again even in a running | ||
deployment. | ||
* If a PVC is stuck in the ``Pending`` phase, running ``kubectl describe pvc`` | ||
can provide additional information on why Trident failed to provsion a PV for | ||
this PVC. | ||
* If service accounts are not available, the logs will report an error that | ||
``/var/run/secrets/kubernetes.io/serviceaccount/token`` does not exist. In | ||
this case, you will either need to enable service accounts or connect to the | ||
API server by specifying the insecure address and port on the command line. | ||
* After a successful install, if a PVC is stuck in the ``Pending`` phase, | ||
running ``kubectl describe pvc`` can provide additional information on why | ||
Trident failed to provsion a PV for this PVC. | ||
* If you require further assistance, please create a support bundle via | ||
``tridentctl logs -a -n trident`` and send it to :ref:`NetApp Support <Getting Help>`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.