Bug 1686538
| Summary: | [Cinderlib] - "Internal Engine Error" appears when creating disk of storage domain for Netapp | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | Shir Fishbain <sfishbai> | ||||||
| Component: | BLL.Storage | Assignee: | Benny Zlotnik <bzlotnik> | ||||||
| Status: | CLOSED NOTABUG | QA Contact: | Elad <ebenahar> | ||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | future | CC: | aefrat, bugs | ||||||
| Target Milestone: | ovirt-4.3.4 | Flags: | pm-rhel:
ovirt-4.3+
|
||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2019-03-18 14:41:11 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | Storage | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Bug Depends On: | |||||||||
| Bug Blocks: | 1539837 | ||||||||
| Attachments: |
|
||||||||
|
Description
Shir Fishbain
2019-03-07 16:13:43 UTC
Created attachment 1545188 [details]
NetApp free space print screen
I don't know how the storage backend works,
if you look at the cinderlib logs (possible since 4.3.2), you will see:
2019-03-18 13:45:47,829 - cinder.volume.drivers.netapp.dataontap.block_base - ERROR - Exception creating LUN volume-448a3ce6-c339-462d-a5d5-96857e53e064 in pool test1.
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/netapp/dataontap/block_base.py", line 243, in create_volume
qos_policy_group_name)
File "/usr/lib/python2.7/site-packages/cinder/utils.py", line 849, in trace_method_logging_wrapper
return f(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/cinder/utils.py", line 849, in trace_method_logging_wrapper
return f(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/netapp/dataontap/block_cmode.py", line 172, in _create_lun
volume_name, lun_name, size, metadata, qos_policy_group_name)
File "/usr/lib/python2.7/site-packages/cinder/utils.py", line 849, in trace_method_logging_wrapper
return f(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/netapp/dataontap/client/client_base.py", line 112, in create_lun
'ex': ex})
File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
self.force_reraise()
File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
six.reraise(self.type_, self.value, self.tb)
File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/netapp/dataontap/client/client_base.py", line 105, in create_lun
self.connection.invoke_successfully(lun_create, True)
File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/netapp/dataontap/client/api.py", line 227, in invoke_successfully
raise NaApiError(code, msg)
NaApiError: NetApp API failed. Reason - 28:No space left on device
(In reply to Benny Zlotnik from comment #3) > I don't know how the storage backend works, > if you look at the cinderlib logs (possible since 4.3.2), you will see: > > 2019-03-18 13:45:47,829 - cinder.volume.drivers.netapp.dataontap.block_base > - ERROR - Exception creating LUN volume-448a3ce6-c339-462d-a5d5-96857e53e064 > in pool test1. > Traceback (most recent call last): > File > "/usr/lib/python2.7/site-packages/cinder/volume/drivers/netapp/dataontap/ > block_base.py", line 243, in create_volume > qos_policy_group_name) > File "/usr/lib/python2.7/site-packages/cinder/utils.py", line 849, in > trace_method_logging_wrapper > return f(*args, **kwargs) > File "/usr/lib/python2.7/site-packages/cinder/utils.py", line 849, in > trace_method_logging_wrapper > return f(*args, **kwargs) > File > "/usr/lib/python2.7/site-packages/cinder/volume/drivers/netapp/dataontap/ > block_cmode.py", line 172, in _create_lun > volume_name, lun_name, size, metadata, qos_policy_group_name) > File "/usr/lib/python2.7/site-packages/cinder/utils.py", line 849, in > trace_method_logging_wrapper > return f(*args, **kwargs) > File > "/usr/lib/python2.7/site-packages/cinder/volume/drivers/netapp/dataontap/ > client/client_base.py", line 112, in create_lun > 'ex': ex}) > File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, > in __exit__ > self.force_reraise() > File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, > in force_reraise > six.reraise(self.type_, self.value, self.tb) > File > "/usr/lib/python2.7/site-packages/cinder/volume/drivers/netapp/dataontap/ > client/client_base.py", line 105, in create_lun > self.connection.invoke_successfully(lun_create, True) > File > "/usr/lib/python2.7/site-packages/cinder/volume/drivers/netapp/dataontap/ > client/api.py", line 227, in invoke_successfully > raise NaApiError(code, msg) > NaApiError: NetApp API failed. Reason - 28:No space left on device As we saw the NetApp storage have a lot of space and creating a volume/LUN manually with 1G/10G size works without issues. Maybe this is a cinderLib request or NetApp bug? As discussed on IRC, since `netapp_pool_name_search_pattern` was not set, which probably caused it to use the test1 pool which has only 900MB~
Using something like:
<property>
<name>netapp_pool_name_search_pattern</name>
<value>vol_ge_4</value>
</property>
in the driver options should resolve the issue
|