Troubleshooting Node Deployment Errors

From Internet Computer Wiki
Revision as of 15:21, 27 June 2024 by Andrew.battat (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This page has some error codes that may display as you are onboarding your nodes. Please review this guide in its entirety before reaching out on the IC Node Provider Matrix channel.

If you need Dell to service your machine, then these links will assist in retrieving a Dell TSR Log and in resetting the iDRAC password.

General troubleshooting steps

These troubleshooting steps have been refined over hundreds of deployments. They catch the vast majority of deployment issues. Please complete ALL these steps before messaging in the Matrix channel.

  1. Re-attempt to verify your node onboarding. Reread all the directions in your node deployment guide's verification step:
  2. Make sure you are using the latest IC-OS release. If you are not sure if you are using the latest release, download the latest release and retry your node deployment.
  3. Make sure you are using the proper Node deployment guide:
  4. Reread all the directions in your node deployment guide to make sure you aren’t missing something. The directions are precise, and they do change slightly over time.
  5. Confirm the networking information inputted to your config.ini file is correct.
  6. Reread the Node Provider Networking Guide. Make sure you aren’t violating anything in the networking “What NOT to do” section.
  7. Restart everything you can between the node machine and the internet (router, firewall, etc.)
  8. Restart the node deployment process from the very beginning. Try to reproduce the error you are encountering.
  9. Try to deploy to a different node machine (one that is not being used in a subnet). Try to reproduce the error on multiple node machines.

Support request information requirements

If you are still encountering deployment issues, read the rest of this guide. If you still can't successfully deploy your nodes, post a support request message in the IC Node Provider Matrix channel containing ALL the following information:

  • A confirmation that you ran through ALL the above general troubleshooting steps
  • A screenshot of your failure / screenshots of any relevant logs.
  • The stage of the deployment in which you are failing
  • What deployment method you are using:
  • Is this your first time performing an IC-OS installation?
  • Is this your first time performing an IC-OS installation in this data center?
  • Is this your first time performing an IC-OS installation with this Node Operator Key?
  • Can you reproduce this issue?
  • Machine hardware details (Gen1 / Gen2, server brand)
  • The datacenter out of which you are attempting to deploy
  • Are you onboarding with an IPv4 address?
  • Any relevant networking details
  • Any other details you see as relevant

If you post a support request message that doesn't include ALL the above information, you will be asked to do so.

Unhealthy nodes

Example Error

You successfully installed your node without errors and your node registered with the IC, but on the dashboard, the status of your node is NOT either “Awaiting Subnet” or “Active in Subnet”

To troubleshoot, consult the Troubleshooting Unhealthy Nodes guide

Node registration failures

Example Error

You successfully installed your node without errors. The machine rebooted and hostOS came up, but now, your node is failing to register with the IC (your node is not listed on the dashboard). You've run though all the above general troubleshooting steps but they haven't solved your issue.

Common Causes

  • Networking issues: as the general troubleshooting steps direct, reread the Node Provider Networking Guide, make sure you aren’t violating anything in the networking “What NOT to do” section, and please restart everything you can between the node machine and the internet (router, firewall, etc.)
  • Node Allowance exhausted: If you see an error "Node allowance for this node operator is exhausted," this indicates that the node allowance in your node operator record created during the Node Provider Onboarding has been maxed out. Check the dashboard to see how many nodes are currently registered under your Node Provider principal ID. If there are more nodes listed than expected or old nodes that should be removed, see this guide on Removing a Node From the Registry.
  • "blank" console: If after the machine reboots and HostOS comes up, you then see a "blank" console, wait at least 10 minutes. You should see the node-ID logged to the console and then you'll be able to search for the node-ID on the dashboard to verify the node onboarding.
  • Redeploying node in a subnet: If you see an error "Cannot remove a node that is a member of a subnet," this indicates that you are attempting to redeploy a node that is currently assigned to a subnet. To redeploy a node in a subnet, the node must first be removed from the subnet. Note that if you performing a firmware upgrade, you do NOT need to redeploy the node.

IC-OS installation failures

Here are some common IC-OS installation failures:

Missing Drives

Example Error

--------------------------------------------------------------------------------
                      INTERNET COMPUTER - SETUP - FAILED
--------------------------------------------------------------------------------



       Please consult the wiki guide: Troubleshooting Node Deployment Errors.

 

--------------------------------------------------------------------------------
                                    ERROR
--------------------------------------------------------------------------------


Not enough drives found. Are all drives correctly installed?
 

--------------------------------------------------------------------------------
                                    ERROR
--------------------------------------------------------------------------------

Another version of it might say "Aggregate Disk size does not meet requirements"

Common Causes

This error means that the IC-OS installation medium could not detect all required drives. This is a common issue, even if you believe that all drives are installed correctly. Some of them may not be functioning properly, or may not be fully seated into the chassis.

Suggested Solutions

Check that all drives are fully seated and installed correctly, or install the required number of drives. You may be able to check the drives for indication LEDs to see which may not be installed or functioning correctly.

Invalid CPU Configuration

Example Error

--------------------------------------------------------------------------------
                      INTERNET COMPUTER - SETUP - FAILED
--------------------------------------------------------------------------------



       Please consult the wiki guide: Troubleshooting Node Deployment Errors.


--------------------------------------------------------------------------------
                                    ERROR
--------------------------------------------------------------------------------

Number of threads (16/32) does NOT meet system requirements.

--------------------------------------------------------------------------------
                                    ERROR
--------------------------------------------------------------------------------

Common Causes

Issues related to CPU capability usually mean that the CPUs are not configured correctly in the system BIOS.

Suggested Solutions

Please check that BIOS settings are configured correctly. It may be helpful to reset all settings to factory defaults, and go through the BIOS configuration again.

Unable to Reach Internet

Example Error

--------------------------------------------------------------------------------
                      INTERNET COMPUTER - SETUP - FAILED
--------------------------------------------------------------------------------



       Please consult the wiki guide: Troubleshooting Node Deployment Errors.
 


--------------------------------------------------------------------------------
                                    ERROR
--------------------------------------------------------------------------------
 
 
 Unable to ping IPv6 gateway.
 
 
--------------------------------------------------------------------------------
                                    ERROR
--------------------------------------------------------------------------------

Common Causes

This error means that the node is not able to communicate with the network properly. This can be due to a misconfigured network configuration, or due to issues somewhere between the node and the rest of the internet.

Suggested Solutions

Please try to capture any output that is displayed before this error shows. For example:

* Printing user defined network settings...
 IPv6 Prefix : XXX
 IPv6 Subnet : XXX
 IPv6 Gateway: XXX
 
* Printing system's network settings...
 IPv6 Prefix : XXX
 IPv6 Subnet : XXX
 IPv6 Gateway: XXX
 
* Printing IPv6 addresses...
 SetupOS: XXX
 HostOS : XXX
 GuestOS: XXX

Please compare this, and the initial configuration, to what you expect. If this configuration does not match, please update the initial configuration, and try again.

If this does match the expected configuration, please attempt to diagnose any machines between this node and the rest of the internet. This could be due to improper firewall configuration, or an issue with the data center’s network. If all configuration looks correct, please attempt to reboot any machines between this node and the rest of the Internet. In most cases, this would be a firewall. Rebooting the firewall - even if it seems to be operating correctly - has resolved this issue many times.

Unable to setup PV

Example Error

--------------------------------------------------------------------------------
                      INTERNET COMPUTER - SETUP - FAILED
--------------------------------------------------------------------------------



       Please consult the wiki guide: Troubleshooting Node Deployment Errors.
 


--------------------------------------------------------------------------------
                                    ERROR
--------------------------------------------------------------------------------
 
 
 Unable to setup PV on drive '/dev/nvme8n1'.
 
 
--------------------------------------------------------------------------------
                                    ERROR
--------------------------------------------------------------------------------

Common Causes

This error means that the node is able to recognize that a drive is installed, but is unable to write to it. This could indicate that there is a hardware issue with the drive.

Suggested Solutions

Please try to remove and re-install all drives, before attempting to install the node again. It may be helpful to independently verify that each drive is functioning correctly.

Troubleshooting IC-OS installation failures: Getting a shell in SetupOS

  • During the IC-OS installation, you may hit enter to obtain console access to troubleshoot any issues you are encountering. You can also hit enter at the error page in order to access the console. Hit enter until you see a login prompt
  • Log in with user root and empty password
  • Now you have root access for diagnostics, etc.

Note that after the installation is finished and the machine reboots into HostOS, the same troubleshooting console isn't available anymore. It is only available in SetupOS, i.e., during IC-OS installation. After the OS is installed you may boot the machine from a live USB distribution such as Ubuntu Live USB, and troubleshoot that way.