Linux: Node status is "orphaned"

If a Linux node is in the orphaned state, you cannot stop or start it with the storagegrid node commands. An orphaned state usually indicates that either the storagegrid service or the storagegrid node daemon controlling the node's container died unexpectedly.

About this task

If a Linux node reports that it is in an orphaned state, you should:
  • Check logs for both the service daemon and the orphaned node for obvious errors or messages about exiting unexpectedly.
  • Use the storagegrid node start node-name to start the node again.

Steps

  1. Log in to the host as root or using an account with sudo permission.
  2. Run the following command: $ sudo storagegrid node start node-name
    Example
    $ sudo storagegrid node start DC1-S1-172-16-1-172
    If the node is orphaned, the response is
    Not starting ORPHANED node DC1-S1-172-16-1-172
  3. From Linux, stop the Docker container and any controlling storagegrid-node processes:sudo docker stop --time seconds container-name
    For seconds, enter the number of seconds you want to wait for the container to stop (typically 15 minutes or less).
    Example
    sudo docker stop --time 900 storagegrid-DC1-S1-172-16-1-172
  4. Restart the node: storagegrid node start node-name
    Example
    storagegrid node start DC1-S1-172-16-1-172