Help Center> Cloud Container Engine> FAQ> Node> Node Creation> How Do I Troubleshoot Problems Occurred When Adding Nodes to a CCE Cluster?

How Do I Troubleshoot Problems Occurred When Adding Nodes to a CCE Cluster?

Note

  • The node images in the same cluster must be the same. Pay attention to this when creating, adding, or accepting nodes in a cluster.
  • If you need to allocate user space from the data disk when creating a node, do not set the data storage path to any key directory. For example, to store data in the /home directory, set the directory to /home/test instead of /home.

    Do not set Path inside a node to the root directory /. Otherwise, the mounting fails. Set Path inside a node to any of the following:

    • /opt/xxxx (excluding /opt/cloud)
    • /mnt/xxxx (excluding /mnt/paas)
    • /tmp/xxx
    • /var/xxx (excluding key directories such as /var/lib, /var/script, and /var/paas)
    • /xxxx (It cannot conflict with the system directory, such as bin, lib, home, root, boot, dev, etc, lost+found, mnt, proc, sbin, srv, tmp, var, media, opt, selinux, sys, and usr.)

    Do not set it to /home/paas, /var/paas, /var/lib, /var/script, /mnt/paas, or /opt/cloud. Otherwise, the system or node installation will fail.

Check Item 1: Subnet Quota

Symptom

New nodes cannot be added to a CCE cluster, and a message is displayed indicating that the subnet quota is insufficient.

Cause Analysis

Example:

VPC CIDR block: 192.168.66.0/24

Subnet CIDR block: 192.168.66.0/24

In 192.168.66.0/24, all 251 private IP addresses have been used.

Solution

  1. Expand the VPC.

    Log in to the management console. In the service list, click Virtual Private Cloud. In the VPC list, locate the target VPC and click Edit CIDR Block in the Operation column.

  2. Change the subnet mask to 16 and click OK.

  3. Click the VPC name. On the Summary tab page, click the number next to Subnets on the right and click Create Subnet to create a subnet.

  4. Return to the Buy Node page on the CCE console, and select the newly created subnet.

    1. Adding subnets to the VPC does not affect the use of the existing 192.168.66.0/24 CIDR block.

      You can select a new subnet when creating a CCE node. The new subnet has a maximum of 251 private IP addresses. If the number of private IP addresses cannot meet service requirements, you can add more subnets.

    2. Subnets in the same VPC can communicate with each other.

Check Item 2: EIP Quota

Symptom

When EIP is set to Automatically assign as a node is added to a CCE cluster, a message indicating that EIPs are insufficient is displayed.

Figure 1 Purchasing an EIP

Solution

Two methods are available to solve the problem.

  • Method 1: Unbind the VMs bound with EIPs and add a node again.
    1. Log in to the HUAWEI CLOUD management console.
    2. Choose Computing > Elastic Cloud Server.
    3. In the ECS list, locate the target ECS and click its name.
    4. On the ECS details page, click the EIPs tab. In the EIP list, click Unbind at the row of the target ECS and click Yes.
      Figure 2 Unbinding an EIP
    5. Return to the Buy Node page on the CCE console, select Use existing for EIP, and add the node again.
      Figure 3 Using an unbound EIP
  • Method 2: Submit a service ticket to increase the EIP quota.

    Quotas are used to limit the resources available to users. If the existing resource quota cannot meet your service requirements, you can submit a service ticket to increase your quota. Once your application is approved, your quota will be updated and a notification will be sent to you.