A netizen asked this question, Cloudstack, the system virtual machine normal start, running state.
However, there is no corresponding item in the host table, and the ability to upload the download template is not normal.
Cause: After the system virtual machine is started, the Management-server is actively connected through the management network segment.
After the link succeeds, the related record is written in the host table, and if the connection fails, it will remain in an abnormal but running state.
To find the problem step:
1, the VM has been started, indicating that the basic environment of the system is available, can be excluded from primary storage, level two storage and hyperviser connectivity issues.
2, the system virtual machine can not connect Management-server, but the network is also available, the basic may be located to the wrong settings.
3. View global configuration: Host, MANAGEMENT.NETWORK.CIDR, these two parameters
Host:management-server IP, when initializing DB, is automatically written, the item is the most prone to problems.
The private IP should be management-server, and the automatic write may be written as a different network segment IP.
If you have replaced the IP of management-server, you need to modify this key and restart Management-server after booting.
MANAGEMENT.NETWORK.CIDR: Managing network Segment CIDR
These two need to be the same as the management network segment of the system virtual machine
After the system virtual machine starts, the routing table is set according to these two parameters, and the system virtual machine is connected with mangement-server.
After modifying these two items, restart Management-server.
If it is not valid, destroy the system virtual machine so that it can be regenerated.
Cloudstack system virtual machine is started but not in the host table