Bug 1466326
| Summary: | cannot import storage storage domain when 'use manage gluster volume' feature is used. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | RamaKasturi <knarra> | ||||||
| Component: | Frontend.WebAdmin | Assignee: | Gobinda Das <godas> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | RamaKasturi <knarra> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| Version: | 4.1.2.2 | CC: | bugs, lveyde, pavel.borecki, sabose | ||||||
| Target Milestone: | ovirt-4.1.8 | Flags: | sabose:
ovirt-4.1?
sabose: planning_ack? rule-engine: devel_ack+ rule-engine: testing_ack+ |
||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | ovirt-engine-4.1.8.1 | Doc Type: | If docs needed, set a value | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | |||||||||
| : | 1489349 (view as bug list) | Environment: | |||||||
| Last Closed: | 2017-12-11 16:30:48 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | Gluster | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Bug Depends On: | |||||||||
| Bug Blocks: | 1411323, 1489349 | ||||||||
| Attachments: |
|
||||||||
Created attachment 1292869 [details]
Attaching screenshot for the error
Created attachment 1292870 [details]
Attaching screenshot showing the error
Logs are present in the link below: =================================== http://rhsqe-repo.lab.eng.blr.redhat.com/sosreports/HC/1466326/ Sahina, this is not marked as a blocker, please either block 4.1.7 or push to 4.1.8. Verified and works fine with Red Hat Virtualization Manager Version: 4.1.8.1-0.1.el7 Followed the steps below to verify the bug. =============================================== 1) Create a gluster volume and add that as a storage domain in the UI using the feature 'Use managed gluster volume'. 2) Now moved the storage domain to maintenance, detached and removed it from UI . 3) Tried importing the same domain again using 'use managed gluster volume' feature and it worked well with out any issues. It is back in ovirt 4.2.1 - gluster volumes created during hosted engine deployment wizard - regression? In Storage - Storage domain import domain fail, but New Domain (using managed domain) works. Confusing at least... |
Description of problem: While importing a storage domain using 'use manager gluster volume' feature it fails with error "Error while executing action DisconnectStorageServerConnection: Error storage server disconnection" and "Error while executing action: Path filed cannot be empty". Traceback in vdsm.log: ========================== 2017-06-28 19:56:45,514+0530 INFO (jsonrpc/5) [dispatcher] Run and protect: disconnectStorageServer(domType=7, spUUID=u'00000000-0000-0000-0000-000000000000', conList=[{u'm nt_options': u'backup-volfile-servers=10.70.36.80:10.70.36.81', u'id': u'00000000-0000-0000-0000-000000000000', u'connection': u'', u'iqn': u'', u'user': u'', u'tpgt': u'1', u'vfs_type': u'glusterfs', u'password': '********', u'port': u''}], options=None) (logUtils:51) 2017-06-28 19:56:45,515+0530 ERROR (jsonrpc/5) [storage.TaskManager.Task] (Task='d79757ac-7338-4171-b01b-b9a59222c98a') Unexpected error (task:870) Traceback (most recent call last): File "/usr/share/vdsm/storage/task.py", line 877, in _run return fn(*args, **kargs) File "/usr/lib/python2.7/site-packages/vdsm/logUtils.py", line 52, in wrapper res = f(*args, **kwargs) File "/usr/share/vdsm/storage/hsm.py", line 2470, in disconnectStorageServer conObj = storageServer.ConnectionFactory.createConnection(conInfo) File "/usr/share/vdsm/storage/storageServer.py", line 638, in createConnection return ctor(**params) File "/usr/share/vdsm/storage/storageServer.py", line 245, in __init__ self._volfileserver, volname = self._remotePath.split(":", 1) ValueError: need more than 1 value to unpack 2017-06-28 19:56:45,555+0530 INFO (jsonrpc/5) [storage.TaskManager.Task] (Task='d79757ac-7338-4171-b01b-b9a59222c98a') aborting: Task is aborted: u'need more than 1 value t o unpack' - code 100 (task:1175) 2017-06-28 19:56:45,555+0530 ERROR (jsonrpc/5) [storage.Dispatcher] need more than 1 value to unpack (dispatcher:80) Traceback (most recent call last): File "/usr/share/vdsm/storage/dispatcher.py", line 72, in wrapper result = ctask.prepare(func, *args, **kwargs) File "/usr/share/vdsm/storage/task.py", line 105, in wrapper return m(self, *a, **kw) File "/usr/share/vdsm/storage/task.py", line 1183, in prepare raise self.error ValueError: need more than 1 value to unpack 2017-06-28 19:56:45,566+0530 INFO (jsonrpc/5) [jsonrpc.JsonRpcServer] RPC call StoragePool.disconnectStorageServer failed (error 452) in 0.05 seconds (__init__:533) Version-Release number of selected component (if applicable): Red Hat Virtualization Manager Version: 4.1.2.2-0.1.el7 How reproducible: Always Steps to Reproduce: 1. Create new storage domain from UI 2. Now detach and remove that storage domain 3. Try importing the same domain using 'use manage gluster volume' feature Actual results: Importing of storage domain fails with error mentioned in the description. Expected results: Importing of storage domain should be successful. Additional info: Importing storage domain with out using 'use mange gluster volume' feature works fine.