Fix a new node that didn't come online
A node you add usually comes online within a few minutes. While it is on its way, the Machines list shows a row for it with the step it is on. When that row stops moving, or turns into New node failed, the row itself says why. This guide reads that reason and takes the matching fix.
Who can do this: fixing a node that is being added requires the org admin role. Without it, the row's ⋯ menu offers none of the actions below; on the node's page, hovering the problem reads An admin finishes adding this machine.
Find the row and read why
-
In the sidebar, select Directory, then the Machines tab.
-
On the Nodes tab, find the row of the node you are adding. Until it is up, the row is named for the machine and shows its step instead of a load: Launching, Booting, Waiting for your machine, Installing on your machine, Connected, Joining or Placing.
-
Read the line under the row. It says what the node waits for and for how long, such as Install command not run yet. or No progress in 25 minutes. A step that has made no progress for 10 minutes turns to a warning colour.
-
Match what you see to a fix below:
You see Go to New node failed, with a ✕ and the reason under it A failed add Waiting for your machine with Install command not run yet. A machine of yours that never joined Installing on your machine with Installing. It upgrades the OS packages first, so this can take several minutes. Nothing yet: wait for the install to finish. Connected, then Your machine is connected but hasn’t asked for its nodes. A machine that connected but stopped
A failed add
- Select ⋯ at the end of the New node failed row.
- Pick the fix that fits the reason:
- Edit connection, shown when your cloud refused the launch. A refused launch is most often the connection's network, such as a subnet or security group that no longer exists. Fix it on the connection's page and save, then come back to this row.
- Retry, shown for a machine Jaah launched in your cloud. It tries the launch again with the same settings.
- Dismiss removes the row. Use it when you no longer want the node, or to start over with New node.
- Watch the row. After Retry it goes back to Launching and moves through the steps again.
If the New node page is still open on the node's progress, the same reason shows there in red, with Retry, and Edit connection when the connection refused the launch. A reason that asks you to start again shows Start again instead: retrying would only fail the same way. While Jaah retries a step by itself, the page says Last attempt failed. Retrying automatically.
Opening the link of a cloud node that never started shows didn’t start after its name, with the reason and Back to Nodes.
A machine of yours that never joined
The install command was never run on the machine, or it was lost before it ran.
- Select ⋯ on the node's row, then New install command.
- The dialog asks Get a new install command? and warns that the command you were shown before stops working. If that command is already running on the machine, select Cancel and let it finish instead.
- Select Get new command. The New node page opens on the node's progress, with the new command.
- Select Copy command, then paste the command whole into a terminal on the machine and run it, as a
user who can run
sudo. To pass it as a cloud machine's user-data instead, set Run as to Script, where it is offered, and select Copy script. User-data must start with#!/bin/bash, or the machine skips it. - Watch the step change to Installing on your machine, then Connected. The install upgrades the machine's packages first, so it can take several minutes.
On the node's own page, the same problem reads Never connected — the machine hasn’t joined yet., with Install beside it. Install asks the same question, then shows the new command in a dialog: select Copy, run it on the machine, and select I’ve copied it.
A machine that connected but stopped
The machine reached Jaah but stopped asking for its node. The line under the row ends with the command to check the node's service on the machine. Run it there, and restart the service if it has stopped. The row moves on to Joining once the machine asks again.
If nothing helps, Delete in the row's ⋯ menu removes the machine and ends the add, so you can add it again from New node.
Related
- Add a node: the first command, and what a machine needs before it can join.
- Read a node's status: check the node once it is online.
- Give a node a new token: for a node that joined before and lost its token.
- Machines: every row, step and menu item on the list.