Bug 1451284
| Summary: | [cinder] Failed to run VM with attached cinder disk | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | Eyal Shenitzky <eshenitz> |
| Component: | BLL.Storage | Assignee: | Daniel Erez <derez> |
| Status: | CLOSED NOTABUG | QA Contact: | Raz Tamir <ratamir> |
| Severity: | urgent | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.1.2.2 | CC: | bugs, eshenitz |
| Target Milestone: | ovirt-4.2.0 | Flags: | rule-engine:
ovirt-4.2+
|
| 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: | 2017-06-18 07:00:19 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: | |||
|
Description
Eyal Shenitzky
2017-05-16 10:00:57 UTC
(In reply to Eyal Shenitzky from comment #0) > Steps to Reproduce: > 1.Add cinder external provider with ceph as backends Are you SURE this is a Ceph backend? There's a bunch of errors about iSCSI there: > 2017-05-16 11:28:02.841 32452 ERROR cinder.volume.targets.iscsi > [req-5a9ef451-38e0-493c-ba56-ea38252a5225 2f99b04274524140b06a6b23bbbb1429 > 85c0085b49b44e5dbe4b78c2b3a8eaf8 > - - -] The volume driver requires the iSCSI initiator name in the connector. > 2017-05-16 11:28:02.841 32452 ERROR oslo_messaging.rpc.dispatcher > [req-5a9ef451-38e0-493c-ba56-ea38252a5225 2f99b04274524140b06a6b23bbbb1429 > 85c0085b49b44e5dbe4b78c2b3a8eaf > 8 - - -] Exception during message handling: Invalid input received: > Connector doesn't have required information: initiator > 2017-05-16 11:28:02.841 32452 TRACE oslo_messaging.rpc.dispatcher Traceback > (most recent call last): > 2017-05-16 11:28:02.841 32452 TRACE oslo_messaging.rpc.dispatcher File > "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line > 142, in _dispatch_and_reply (In reply to Allon Mureinik from comment #1) > (In reply to Eyal Shenitzky from comment #0) > > Steps to Reproduce: > > 1.Add cinder external provider with ceph as backends > Are you SURE this is a Ceph backend? > > There's a bunch of errors about iSCSI there: > > > 2017-05-16 11:28:02.841 32452 ERROR cinder.volume.targets.iscsi > > [req-5a9ef451-38e0-493c-ba56-ea38252a5225 2f99b04274524140b06a6b23bbbb1429 > > 85c0085b49b44e5dbe4b78c2b3a8eaf8 > > - - -] The volume driver requires the iSCSI initiator name in the connector. > > 2017-05-16 11:28:02.841 32452 ERROR oslo_messaging.rpc.dispatcher > > [req-5a9ef451-38e0-493c-ba56-ea38252a5225 2f99b04274524140b06a6b23bbbb1429 > > 85c0085b49b44e5dbe4b78c2b3a8eaf > > 8 - - -] Exception during message handling: Invalid input received: > > Connector doesn't have required information: initiator > > 2017-05-16 11:28:02.841 32452 TRACE oslo_messaging.rpc.dispatcher Traceback > > (most recent call last): > > 2017-05-16 11:28:02.841 32452 TRACE oslo_messaging.rpc.dispatcher File > > "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line > > 142, in _dispatch_and_reply Yes, we use only ceph as enabled_backend Change severity, prevent us from running automation on cinder Seems that extra_specs are missing for ceph volume-type:
cinder extra-specs-list
+--------------------------------------+-------+----------------------------------+
| ID | Name | extra_specs |
+--------------------------------------+-------+----------------------------------+
| 182f8d3b-0558-46d8-918a-346e4ca53fb6 | ceph | {} |
| 6fb917b4-0f6b-4a8b-9dff-154f542111e7 | iscsi | {u'volume_backend_name': u'lvm'} |
+--------------------------------------+-------+----------------------------------+
Please set it to 'volume_backend_name':'ceph' and try again.
I try to create a cinder disk after you add the extra_specs and it failed. I looking for the storage to see if the problem is there. Will update when there are some findings. (In reply to Eyal Shenitzky from comment #5) > I try to create a cinder disk after you add the extra_specs and it failed. > > I looking for the storage to see if the problem is there. > > Will update when there are some findings. So it seems like a configuration issue indeed (normal flow works for me on latest build). Closing for now, please re-open again when relevant. |