Got it

clone cloud host status is faulty in fusionCloud2.06

Latest reply: Jun 29, 2019 07:56:56 364 1 9 0 0

[Issue description]

Customer tried to clone a Cloud host. The Procedure: Stop cloud host; More; Clone

154949qexl0avnddru05nn.png

The procedure ended in error. Cannot start or delete the cloning host. The host cloned was rai-gv-vip-01

154949jbh5hhghe9phqhig.png

[Version] FusionCloud 2.0.6 + FusionCompute(Xen)

154949ftpyp3ttg3t2z3wl.png

[Analysis]

1.       As other case, we checked the license of the storage. It contains HyperCopy license.

# Actually, the clone procedure has no error. No need to check this step.

154950r227u26m4ypge14p.jpg

2.       By remote session, we try to check the VM in FusionCompute, but by ID of cloud host, we did not find the VM in FusionCompute. # don’t know the reason for the moment.

3.        In CLI, login to the FusionSphere OpenStack Management Console IP with fsp account (default passwd is Huawei@CLOUD8). Run “su - root”, default passwd is Huawei@CLOUD8!). Run “source set_env”, intput “1”, and passwd “FusionSphere123”.

4.       Run “nova show $ID”, $ID is the faulty cloud host. We can see, there is no IP for the VM, and copy its network ID.

154950xfxqdlz7457gjzxx.png

5.       Run the command “neutron net-show $network-ID” to get its subnet ID.

154950f2zntkcchph4yyn4.png

6.       neutron port-list --network $sub-network-id, to get its IP range, which is 10.4.9.146-150

154950hvvj97xv213vvb7p.png

7.       neutron port-list | grep 10.9.14, and neutron port-list | grep 10.9.150. we can see the all IPs are used by other VMs, and there is no available IP for new VMs. Now we find the root cause.

8.       After the customer add more IPs in the subnet, clone made successfully.

154950lm038yy81t2uk92y.jpg

154950ynxkkv9vl5b4t9t9.png

9.       Besides, the customer cannot delete the two faulty VMs in portal, we use the below two commands to delete them one by one.

1)      nova reset-state vm-id --active

2)      nova delete vm-id

 

thanks
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.