Got it

Running VM cannot modify specification

Latest reply: Nov 25, 2021 16:43:18 520 1 3 0 0

Hello, everyone!

Huawei Cloud Stack running VM can't modify specification after wrongly changed the flavor type from "Cloud Disk" to a "Local Disk". The post will share with you how to solve the issue.

Issue Description

1. The VM (A) originally deployed using “Cloud Disk”.  Afterward the running VM (A) was manually modified the flavor to “Local Disk” in ServiceOM using unrecognized method. Currently, the VM (A) couldn't change back the flavor which belongs to “Cloud Disk”.

2. In other words, Modify Specification for CPU and Memory option is not available. This option only allows in disk type “Cloud Disk” instead of "Local Disk".

3. The "modify specification" feature "grey-out", which unable to modify the specification of the VM (corp2). The reason is that the flavor has been modified from "Cloud Disk" to "Local Disk" flavor.

download?uuid=2521101af4714ababc275e6ce38c7c7f


4. However, as you can see, the VM (corp2) is actually deployed as "Cloud Disk" type.

download?uuid=692293ebe3cd4f2e9b37c80a65a71dac

Handling Process

1. Locate the controller node where the VM was deployed to. Then login using the Putty or any CLI application.

2. Run the command "source set_env" and select 1st choice. Then type FusionSphere123 for the password.

3. Run the command "nova resize 'VM ID' 'FlavorName' " as shown in screenshot below. 

This step is to modify the current "Local disk" Flavor to "Cloud disk" Flavor for the VM.

download?uuid=8b351952e7bd431491120627d1d51391


4. Wait around 1 or 2 minutes for the, then execute "nova resize confirm" to finalize the configuration.

5. After that, check the status of the VM on ManageOne SC, should be able to modify the specification as shown in the screenshot below:

download?uuid=f90fdb0066824b8dac10fbcc7960f5be


Root Cause

1. User manually modifies the flavor of the from "Cloud" type to "Local" which causes the user unable to modify the specification of the VMs.

2. Once the VM changed to "Local Disk" flavor, this couldn't be changed back to "Cloud Disk" Flavor through GUI. (need to be done using CLI)**Note: modify specification this feature only available in "Cloud Disk" Flavor's VM.

Solution

Manually change the VM's flavor from "Cloud Disk" to "Local Disk" through CLI.

This is my solution, how about yours? Go ahead and share it with us!


  • x
  • convention:

simchamnan
Created Nov 25, 2021 16:43:18

cool
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.
Information Protection Guide
Thanks for using Huawei Enterprise Support Community! We will help you learn how we collect, use, store and share your personal information and the rights you have in accordance with Privacy Policy and User Agreement.