Skip to content

In version 4.18.1, under the VPC network resource domain, DHCP dynamic IP addresses cannot be allocated across hosts #9285

@Qinshan886

Description

@Qinshan886
ISSUE TYPE
  • Bug Report
COMPONENT NAME
Virtual Router
CLOUDSTACK VERSION
4.18.1
CONFIGURATION
OS / ENVIRONMENT

Centos 7

SUMMARY

I am using CloudStack 4.18.1. After creating a resource domain of the VPC network type, I added two host nodes.
image
And created a VPC network (it automatically creates a virtual router on host node 1) and added the network layer
image
image

STEPS TO REPRODUCE

When I started to create the first instance machine, I chose the hk-node1 node. It is on the same host node as the vpc virtual router
image

The instance machine and the virtual router can be connected normally, and the instance machine can request the DHCP of the virtual router of the vpc to obtain the IP address
image
The above picture shows the log information of DHCP in the vpc virtual router

image
image
The above picture shows the log and IP information of the instance machine requesting the vpc virtual router during the dhcp process.this is normal

==================================hk-node2 host node dividing line============================
I now create an instance machine on the hk-node2 host node
image

image
The above picture shows the vpc virtual router log (it is on the hk-node1 host node), and there is no log showing the IP address assigned to the instance machine on the hk-node2 host node.

image
image
The above figure shows that the instance machine on the hk-node2 host node cannot access the gateway address of the vpc virtual router 10.1.100.1 during the dhcp request process, resulting in a dhcp timeout. Failed to obtain the IP address;

This is abnormal. Why can't the instance machine on the hk-node2 host node obtain an IP address when the two host nodes are in the same resource domain cluster? I tried to reproduce this operation in the latest version 4.19, and the problem of not being able to obtain an IP address across host nodes also exists. Please help!!!

EXPECTED RESULTS

The instance machine I created on the hk-node2 host node should be able to obtain the IP address dynamically allocated by DHCP normally, just like the instance machine on the hk-node1 host node.

ACTUAL RESULTS

The actual result is that the instance machine I created on another host node cannot connect to the host node where the vpc virtual router is located, resulting in the instance machine on other host nodes being unable to dynamically obtain an IP address through dhcp. In simple terms, the instance machine I created must be on the same host node as the vpc virtual router. If it is not on the same host node, the instance machine cannot obtain an IP

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions