Description
A cluster backend in the ZStack cloud platform mounts both local storage and eph-type primary storage. Cloud hosts make errors when migrating across storage. The keywords in the error include the fields QEMU unexpectedly closed the monitor and Connection timed out, which need to be resolved.
Environment
Cloud Platform Environment: ZStack Enterprise 3.8.0
Cluster environment: a cluster
Primary Storage Environment: Local Storage + Ceph Storage
Mirror Server Environment: Mirror Warehouse
Network Environment: Flat Network
Physical Machine Operating System: ZStack Custom CentOS7. 4
Cloud host operating system: Centos7. 2. Windows server2012R2
Cause
ZStack typically corresponds to a cluster with a Ceph-type primary store, in which case the local store is added to the cluster through a CLI backend command. Some nodes in a cluster do Ceph hyperfusion for local storage after adding. When cloud hosts migrate across storage (ZStack supports the migration of cloud hosts between different types of primary storage), locally stored cloud hosts should migrate to hyperfusion computing nodes. However, according to the error, the target physical machine actually fell on the computing node of the local storage at the time of migration, and the migration failed because the computing node of the local storage could not access the Ceph storage.
In fact, this cross-storage migration is not a best practice. In previous planning, you could plan two clusters, one to mount local storage and the other to mount Ceph storage to meet the migration needs of cloud hosts through cross-cluster migration.
Resolution
1. Deactivate the computing node locally stored in the cluster before cross-storage migration. Deactivating the computing node does not affect the operation of the cloud host on the current node, but it is not possible to create a new cloud host on the computing node during the deactivation phase.

(Fig.1 Physical machine deactivation button)

(Figure 2 deactivates the physical machine)
2. After deactivating computing nodes of local storage, migration of cloud hosts from local storage to Cepn storage across storage will be successful

(Figure 3 Cloud Host Cross Storage Migration Button)

(Figure 4 clicks Cross Storage Migration to select the target primary storage as the Ceph type primary storage)
3. When the migration is complete, click Enable Physical Machine

(Fig. 5 Enables the physical machine)
Comments
0 comments
Please sign in to leave a comment.