Bug 1669978
| Summary: | [CinderLib] - Adding 3PAR managed storage domain via webadmin/RESTAPI fails-ERROR [org.ovirt.engine.api.restapi.resource.AbstractBackendResource] (default task-4) [] Operation Failed: [Cannot add Storage. Failed to connect to the managed block domain.] | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | Avihai <aefrat> | ||||||
| Component: | BLL.Storage | Assignee: | Benny Zlotnik <bzlotnik> | ||||||
| Status: | CLOSED NOTABUG | QA Contact: | Elad <ebenahar> | ||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 4.3.0 | CC: | bugs, frolland | ||||||
| Target Milestone: | ovirt-4.3.4 | Flags: | rule-engine:
ovirt-4.3+
|
||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2019-04-03 13:08: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
Avihai
2019-01-28 09:37:29 UTC
Adding a HP3PAR SD with the one letter workaround (of Bug 1667002) still does not work via REST/Webadmin(see attached print screen). REST request: Method = POST Headers: Content-Type = application/xml Body: <storage_domain> <name>cinder-hp3par</name> <type>managed_block_storage</type> <storage> <type>managed_block_storage</type> <driver_options> <property> <name>hpe3par_api_url</name> <value>https://3par-cli.mgmt.lab3.tlv.redhat.com:8080/api/v1</value> </property> <property> <name>san_ip</name> <value>10.35.84.14</value> </property> <property> <name>san_login</name> <value>admin</value> </property> <property> <name>san_password</name> <value>Qum!0net</value> </property> <property> <name>hpe3par_username</name> <value>3paredit</value> </property> <property> <name>hpe3par_password</name> <value>123456</value> </property> <property> <name>hpe3par_cpg</name> <value>O</value> </property> <property> <name>volume_driver</name> <value>cinder.volume.drivers.hpe.hpe_3par_fc.HPE3PARFCDriver</value> </property> <property> <name>hpe3par_debug</name> <value>False</value> </property> <property> <name>hpe3par_iscsi_chap_enabled</name> <value>False</value> </property> <property> <name>hpe3par_snapshot_retention</name> <value>48</value> </property> <property> <name>hpe3par_snapshot_expiration</name> <value>72</value> </property> <property> <name>max_over_subscription_ratio</name> <value>20.0</value> </property> <property> <name>reserved_percentage</name> <value>15</value> </property> </driver_options> </storage> <host> <name>host_mixed_1</name> </host> </storage_domain> Created attachment 1524196 [details]
print screen of the HP3PAR webadmin request
san_login should be "root". but anyway, it is a bug in the driver code, not an oVirt bug. It is fixed in this commit: https://github.com/openstack/cinder/commit/ec7977b7615097fb56c5c1640fb5268dba9b26d4#diff-0eae18f6b32439ae3e4ff3beeecb9e50 Closing, it's a driver bug that has been fixed |