Bug 1768735
| Summary: | [rhv-4.4.0-4] - Adding ISCSI storage domains Failes with error VolumeGroupCreateError and code 502 - TypeError: devicemapper_removeMapping() missing 1 required positional argument: 'deviceName' | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | Avihai <aefrat> | ||||
| Component: | BLL.Storage | Assignee: | Vojtech Juranek <vjuranek> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Evelina Shames <eshames> | ||||
| Severity: | urgent | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 4.4.0 | CC: | bugs, vjuranek | ||||
| Target Milestone: | ovirt-4.4.0 | Flags: | pm-rhel:
ovirt-4.4+
|
||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | No Doc Update | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2020-05-20 20:02:36 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: | |||||||
| Attachments: |
|
||||||
|
Description
Avihai
2019-11-05 07:26:14 UTC
requested LUN is in use and DM probably failed to remove mapping to this LUN: 360002ac0000000000000001a00021f6b 253:4 0 50G 0 mpath ├─a52c5f80--536c--4d3f--a581--682038fd80ed-metadata 253:14 0 128M 0 lvm ├─a52c5f80--536c--4d3f--a581--682038fd80ed-outbox 253:19 0 128M 0 lvm ├─a52c5f80--536c--4d3f--a581--682038fd80ed-xleases 253:23 0 1G 0 lvm ├─a52c5f80--536c--4d3f--a581--682038fd80ed-leases 253:27 0 2G 0 lvm ├─a52c5f80--536c--4d3f--a581--682038fd80ed-ids 253:31 0 128M 0 lvm ├─a52c5f80--536c--4d3f--a581--682038fd80ed-inbox 253:35 0 128M 0 lvm ├─a52c5f80--536c--4d3f--a581--682038fd80ed-master 253:39 0 1G 0 lvm ├─a52c5f80--536c--4d3f--a581--682038fd80ed-4dfea443--be0e--4760--8671--d3d27a319a16 253:43 0 128M 0 lvm └─a52c5f80--536c--4d3f--a581--682038fd80ed-a93ae40a--78fe--418f--bab1--601079bf1b5c 253:47 0 128M 0 lvm will need to reproduce it to debug further. I can confirm it's vdsm bug. After fix seems to be working: curl --insecure --request POST --header "Accept: application/xml" --header "Content-Type: application/xml" --user "***" https://storage-ge-04.scl.lab.tlv.redhat.com/ovirt-engine/api/storagedomains --data '<storage_domain> > <name>sd_test1</name> > <storage> > <logical_units> > <logical_unit id="360002ac0000000000000001a00021f6b"> > <address>10.35.146.1</address> > <port>3260</port> > <target>iqn.2000-05.com.3pardata:20210002ac021f6b</target> > </logical_unit> > </logical_units> > <override_luns>true</override_luns> > <type>iscsi</type> > </storage> > <storage_format>v5</storage_format> > <type>data</type> > <host> > <name>host_mixed_1</name> > </host> > </storage_domain>' <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <storage_domain href="/ovirt-engine/api/storagedomains/e9e2fa04-c08f-4cc9-9074-0b52b834554d" id="e9e2fa04-c08f-4cc9-9074-0b52b834554d"> <actions> <link href="/ovirt-engine/api/storagedomains/e9e2fa04-c08f-4cc9-9074-0b52b834554d/isattached" rel="isattached"/> <link href="/ovirt-engine/api/storagedomains/e9e2fa04-c08f-4cc9-9074-0b52b834554d/refreshluns" rel="refreshluns"/> <link href="/ovirt-engine/api/storagedomains/e9e2fa04-c08f-4cc9-9074-0b52b834554d/reduceluns" rel="reduceluns"/> <link href="/ovirt-engine/api/storagedomains/e9e2fa04-c08f-4cc9-9074-0b52b834554d/updateovfstore" rel="updateovfstore"/> </actions> <name>sd_test1</name> <description></description> <comment></comment> <link href="/ovirt-engine/api/storagedomains/e9e2fa04-c08f-4cc9-9074-0b52b834554d/diskprofiles" rel="diskprofiles"/> <link href="/ovirt-engine/api/storagedomains/e9e2fa04-c08f-4cc9-9074-0b52b834554d/disks" rel="disks"/> <link href="/ovirt-engine/api/storagedomains/e9e2fa04-c08f-4cc9-9074-0b52b834554d/templates" rel="templates"/> <link href="/ovirt-engine/api/storagedomains/e9e2fa04-c08f-4cc9-9074-0b52b834554d/vms" rel="vms"/> <link href="/ovirt-engine/api/storagedomains/e9e2fa04-c08f-4cc9-9074-0b52b834554d/disksnapshots" rel="disksnapshots"/> <link href="/ovirt-engine/api/storagedomains/e9e2fa04-c08f-4cc9-9074-0b52b834554d/storageconnections" rel="storageconnections"/> <link href="/ovirt-engine/api/storagedomains/e9e2fa04-c08f-4cc9-9074-0b52b834554d/permissions" rel="permissions"/> <available>48318382080</available> <backup>false</backup> <block_size>512</block_size> <committed>0</committed> <critical_space_action_blocker>5</critical_space_action_blocker> <discard_after_delete>false</discard_after_delete> <external_status>ok</external_status> <master>false</master> <status>unknown</status> <storage> <type>iscsi</type> <volume_group id="XFVexi-8xqt-lWqs-uOn5-ippb-Nmr4-if7uAv"> <logical_units> <logical_unit id="360002ac0000000000000001a00021f6b"> <address>10.35.146.1</address> <discard_max_size>33554432</discard_max_size> <discard_zeroes_data>false</discard_zeroes_data> <lun_mapping>4</lun_mapping> <paths>0</paths> <port>3260</port> <portal>10.35.146.1:3260,21</portal> <product_id>VV</product_id> <serial>S3PARdataVV_CZ3836C3RB</serial> <size>53687091200</size> <storage_domain_id>e9e2fa04-c08f-4cc9-9074-0b52b834554d</storage_domain_id> <target>iqn.2000-05.com.3pardata:20210002ac021f6b</target> <vendor_id>3PARdata</vendor_id> <volume_group_id>XFVexi-8xqt-lWqs-uOn5-ippb-Nmr4-if7uAv</volume_group_id> </logical_unit> </logical_units> </volume_group> </storage> <storage_format>v5</storage_format> <supports_discard>true</supports_discard> <supports_discard_zeroes_data>false</supports_discard_zeroes_data> <type>data</type> <used>4294967296</used> <warning_low_space_indicator>10</warning_low_space_indicator> <wipe_after_delete>false</wipe_after_delete> </storage_domain> Verified on: 4.4.0-0.13.master.el7 This bugzilla is included in oVirt 4.4.0 release, published on May 20th 2020. Since the problem described in this bug report should be resolved in oVirt 4.4.0 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report. |