OpenStack从失败的映像创建卷、并显示VolumeDeviceNotFound错误
- Views:
- 16
- Visibility:
- Public
- Votes:
- 0
- Category:
- element-software<a>2009963956</a>
- Specialty:
- solidfire
- Last Updated:
适用场景
- Element软件
- SolidFire
问题描述
- OpenStack会从映像创建一个卷、并且SolidFire会显示API已成功完成:
9733 2024-03-05T05:42:34.315Z apiEvent API Call (CreateVolume) 1 { "success": true, "warning": { "unusedParameters": { "sliceCount": 1 } }, "params": { "enable512e": true, "qos": { "burstIOPS": 25000, "minIOPS": 100, "maxIOPS": 20000 }, "name": "clustername-6d70a4e6-a61c-43de-91e3-d9a781c205dd", "requestAPIVersion": "1.0", "totalSize": 8589934592, "sliceCount": 1, "attributes": { "cinder-name": "test_sysvol", "created_at": "2024-03-05T05:42:09+00:00", "is_clone": "False", "uuid": "6d70a4e6-a61c-43de-91e3-d9a781c205dd" }, "accountID": 1 }, "method": "CreateVolume", "context": { "ip": "10.xx.xx.xx", "authMethod": "Cluster", "user": "cinderuser" } }
- OpenStack上的卷状态显示为"错误"并
cinder-volume.log
输出以下错误:
2024-03-05 05:49:33.485 40 ERROR cinder.volume.flows.manager.create_volume [req-edeb32ad-83c6-490b-8c7c-514dfc79356b 22193062483343998046f0c79b2f2fe9 882d1ddcc2a2492cb6702b4b53ff76d7 - - -] Failed to copy image 1e8d4a48-bbde-416f-b6fd-fff016673d6c to volume: 6d70a4e6-a61c-43de-91e3-d9a781c205dd: VolumeDeviceNotFound: Volume device not found at .
ModifyVolume
在创建卷之前执行API (将容量从8 GB更改为30 GB):
9735 2024-03-05T05:49:34.057Z apiEvent API Call (ModifyVolume) 1 { "success": true, "params": { "totalSize": 32212254720, "volumeID": 7, "requestAPIVersion": "5.0" }, "method": "ModifyVolume", "context": { "ip": "10.xx.xx.xx", "authMethod": "Cluster", "user": "cinderuser" } }