No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


OpenStack can't create cinder volume on OceanStor 5500V3

Publication Date:  2016-06-25 Views:  226 Downloads:  0
Issue Description

When the customer try to create cinder volume from storage, it always failed.

Version information:


OceanStor 5500 V3
Driver Ver:
Version: V300R002C10
Patch Version: None.

OpenStack control node:
RH2288H V3
BIOS Ver: (U47) 1.56
IBMC Ver: (U25) 1.51
OS: Redhat OSP 7.0

Alarm Information
No alarm on storage
Handling Process

1. Collect logs on the storage and host.

For storage, we need to collect system log for both controller and the operating log.

For host, we should ask the customer collect volume.log on each control node , cinder.conf and cinder_huawer_conf.xml

2. Search the operation failed information from volume.log on each control node. Because the control node is like the CNA in FusionSphere, we don't know which control node the VM belongs to.

For this issue, the customer create volume failed, so search "create volume" in volume.log. Then, we found error message in the second node as below:

2016-05-31 13:04:56.207 18749 ERROR cinder.volume.drivers.huawei.rest_client [req-553b2237-4506-4bc8-9562-668b4b2e2782 - - - - -] Create volume error.
result: {u'data': {}, u'error': {u'code': 1077951771, u'description': u'The license file is invalid.', u'suggestion': u'Update the license file.'}}.

So, we have the error code, error description and suggestion. we have the clue that license invalid on storage, thus create volume failed.

3. Check the license on storage and found the customer didn't import SmartThin license. So we asked the customer import license and try again. Then the customer told the issue resolved.

Root Cause

The customer need to create a volume for VM on OpenStack which means he need to create a Thin LUN on storage.

The cinder driver from Huawei for OpenStack send the command to storage. But, the customer don't have SmartThin license on storage, then it failed.

Import SmartThin license
If you encounter a more complex issue for OpenStack Cinder driver, we can combine with Cinder log and event log on storage to analyze what happen on host and what implemented on storage.