Got it

The Cinder-volume Component of the New HCS Storage Pool Is Faulty [HCS Case] Highlighted

Latest reply: May 18, 2022 06:48:09 218 3 3 0 0

Hello everyone!


In this post I would like to share with you a case about how to tackle the issue of the cinder-volume component of the new HCS storage pool being faulty. Please check it out below.


DIAGNOSTIC


Onsite HCS 6.5.1SPH7, a new storage pool is connected to the x86 AZ. After the storage pool is connected, the alarm component on the OM portal is faulty. The cinder-volume service on the host displays a fault, as shown in the below picture:


ebbaf2727a3f86ac76f5_1172x310.png@900-0-90-f.png


ANALYSIS PROCESS


1. Logged in to the node where the cinder-volume service is deployed and view the cinder-volume_error.log file. An error message was displayed indicating that the driver failed to be initialized and that the DSWARE query dsware version failed! was displayed, as shown in the below screenshot:


1677e2727a3f8b4eb36e_1329x264.png@900-0-90-f.png


2. Checked the /var/log/fsc_cli/fsc_cli.log log. No new log is displayed. Check the FSC process. No related process is displayed, as shown in the following figure.


ac4c72727a3f90d627da_1130x102.png@900-0-90-f.png


3. Ran the fsc_cli startService command as user root to start the FSC process. The following information was displayed:


9e3962727a3f933d02c4_1790x203.png@900-0-90-f.png


4. After attempting to switch to the openstack user, the FSC process could not be started. The user and user group with the corresponding directory permission were displayed as root, as shown in the below screenshot:


b17782727a3f991eb9a4_884x46.png@900-0-90-f.png


However, the file in the corresponding directory was openstack:openstack:


1012c2727a3f9afa3e4a_1010x160.png@900-0-90-f.png


As a result, the OpenStack user did not have permission to access the /usr/bin/lib and /usr/bin/conf directories. As a result, the FSC process could not be started.


PROCESS


Perform the below operations on each node where cinder-volume-kvmXXX resides:


1. Modify all users and user groups in the /usr/bin/lib and /usr/bin/conf directories.


2. Run the following command:


chown openstack:openstack /usr/bin/lib/

chown openstack:openstack /usr/bin/conf/


Restart the service on only one node.


3. Restart the cinder-volume service:


cps host-template-instance-operate --service cinder cinder-volume-kvmXXX --action stop

cps host-template-instance-operate --service cinder cinder-volume-kvmXXX --action start


This is my solution, thanks for reading!

  • x
  • convention:

Suhail
Created May 18, 2022 06:40:06

Thanks for sharing
View more
  • x
  • convention:

little_fish
Admin Created May 18, 2022 06:41:56

Good case.
View more
  • x
  • convention:

wissal
MVE Created May 18, 2022 06:48:09

Important content, thank you
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.