Got it

The UVP Package Needs to Be Updated Manually in FusionSphere Scenarios

193 0 0 0 0

Problem Information

Table1 Basic problem information

Item

Description

Storage type

Distributed storage

Product version

FusionStorage 8.0.0; FusionStorage 8.0.1

Problem type

Capacity expansion

Keyword

HCS; UVP package update


Problem Symptom

After the UVP package of an earlier version has been imported to the existing FusionSphere OpenStack system, the UVP package of a later version cannot be imported.

Problem Diagnosis

Log in to the FusionSphere OpenStack web client and choose Cloud Service > FusionStorage to check whether the FusionStorage_Manager version of the created VM is the same as the version of the UVP package to be imported. If they are different, the old UVP package cannot be overwritten by importing a new package.

2_en-us_image_0219730958.png

Causes

FusionSphere OpenStack does not allow component packages to be updated in overwritten mode. The current UVP package contains the storage software version. Therefore, you need to manually delete the current UVP package and then import a new one of a later version.

Solution

  1. Use SSH to log in to a FusionSphere OpenStack node as user fsp, switch to user root, and run the following command to import the environment variables:

    source set_env

    Information similar to the following is displayed:

    please choose environment variable which you want to import:  (1) openstack environment variable (keystone v3)  (2) cps environment variable  (3) openstack environment variable legacy (keystone v2)  please choose:[1|2|3]
  2. Enter 1, press Enter, and enter the password of OS_USERNAME as prompted. The default password is FusionSphere123. The environment variables have been successfully imported if the command outputs of cps host-list and nova list are automatically displayed. After the environment variables are imported, the system uses Keystone V3 authentication, and you can run both CPS and OpenStack commands.

  3. Run the cps package-instance-list | grep FusionStorage_Manager command to query the FusionStorage Manager version. FusionStorage Manager 8.0.1.1 is used as an example.

    2_en-us_image_0219900699.png

  4. Run the cps package-delete --version FusionStorage_Manager_8.0.1.1 command to delete the FusionStorage Manager package of the earlier version.

    2_en-us_image_0219900703.png

  5. Run the cps package-delete-status command to query the deletion progress. When progress is 100%, the deletion is complete.

    2_en-us_image_0219900704.png

  6. Run the cps package-instance-list | grep FusionStorage_Manager command to check whether the FusionStorage Manager package of the earlier version has been deleted.

    2_en-us_image_0219900705.png

  7. Log in to the FusionSphere OpenStack web client and choose Cloud Service > FusionStorage. In the Installation Package area, upload the latest UVP package FusionStorage_UVP_8.0.1.2.tar.gz.

    2_en-us_image_0219900706.png

  8. Use SSH to log in to a FusionSphere OpenStack node as user fsp and switch to user root. Run the cps package-instance-list | grep FusionStorage_Manager command to query the updated FusionStorage Manager version.

    2_en-us_image_0219900707.png

  9. Run the nova list | grep dsware command to query the IDs of the dsware server VMs.

    2_en-us_image_0219900709.png

  10. Run the nova meta 0d5ef488-1709-4ffc-b0a4-6eca73c8965a set version=FusionStorage_Manager_8.0.1.2 command on all the queried dsware server VMs to modify the VM version to the updated version.

    2_en-us_image_0219900711.png

  11. Log in to the FusionSphere OpenStack web client and choose Cloud Service > FusionStorage. In the VM List area, check whether the version of the created VMs is the updated version.

    2_en-us_image_0219900712.png

Check After Recovery

N/A

Suggestion and Summary

After a new UVP package is imported, the newly created VMs and new compute nodes will use the contents in the new package. However, the existing VMs and added compute nodes are not updated synchronously. The FusionStorage_Agent component of existing compute nodes needs to be updated by upgrading the storage package.

Applicable Versions

All

The post is synchronized to: Cloud & Big Data

Comment

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

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.