cinder create failed to copy image to volume (then stuck in cinder delete attempt)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
High
|
Daniel Badea |
Bug Description
Brief Description
-----------------
Volume in error on cinder create (then stuck deleting)
Severity
--------
Major
Steps to Reproduce
------------------
This testcase creates a 20g volume from default guest, collects image download rate, image conversion rate, and total volume creation time
# ceph -v
ceph version 13.2.2 (67ecc2fbbca4f6
1. create glance image
glance image-create --visibility public --file /home/wrsroot/
2. create volume as tenant2 user
eg. 20g
[2019-05-11 17:34:39,990] cinder create --display-name 20g-1 --image-id ecfd2352-
[2019-05-11 17:34:50,625]
id | 79a603f6-
| name | 20g-1
status | downloading
[2019-05-11 17:34:55,860]
id | 79a603f6-
| name | 20g-1
| status | error
| updated_at | 2019-05-
E utils.exception
Expected Behavior
------------------
Did not expect volume error
Actual Behavior
----------------
The first error reported in cinder log on controller-0 as follows (see log attached)
error in request req-af8e6850-
{"log":"2019-05-11 17:34:49.067 19 INFO cinder.
{"log":"2019-05-11 17:34:49.067 19 INFO cinder.
{"log":"2019-05-11 17:34:52.288 19 INFO cinder.
{"log":"2019-05-11 17:34:52.288 19 INFO cinder.
{"log":"2019-05-11 17:34:52.474 19 ERROR cinder.volume.utils [req-af8e6850-
{"log":"2019-05-11 17:34:52.474 19 ERROR cinder.volume.utils [req-af8e6850-
E utils.exception
id | 79a603f6-
| name | 20g-1
| status | error
| updated_at | 2019-05-
and volume can also not be deleted.
| 79a603f6-
Subsequent tests fail after that and volumes also were unable to be deleted (so cinder quota eventually becomes an issue)
Reproducibility
---------------
Reproducible
System Configuration
-------
effecting many systems
Lab-name: WP_3-7
Branch/Pull Time/Commit
-------
20190508T013000Z
Last Pass
---------
Timestamp/Logs
--------------
see inline
tags: | added: stx.retestneeded |
tags: | added: stx.retestneeded |
Changed in starlingx: | |
status: | Fix Committed → Fix Released |
This appears to be effecting many test scenarios
{"log":"2019-05-11 17:34:52.647 19 ERROR oslo_messaging. rpc.server ImageCopyFailure: Failed to copy image to volume: __init__() got an unexpected keyword argument 'errno' \n","stream" :"stdout" ,"time" :"2019- 05-11T17: 34:52.649166938 Z"} rpc.server ImageCopyFailure: Failed to copy image to volume: __init__() got an unexpected keyword argument 'errno' \n","stream" :"stdout" ,"time" :"2019- 05-11T23: 49:06.213450594 Z"} rpc.server ImageCopyFailure: Failed to copy image to volume: __init__() got an unexpected keyword argument 'errno' \n","stream" :"stdout" ,"time" :"2019- 05-12T00: 47:05.352018668 Z"} rpc.server ImageCopyFailure: Failed to copy image to volume: __init__() got an unexpected keyword argument 'errno' \n","stream" :"stdout" ,"time" :"2019- 05-12T14: 26:48.243809572 Z"} rpc.server ImageCopyFailure: Failed to copy image to volume: __init__() got an unexpected keyword argument 'errno' \n","stream" :"stdout" ,"time" :"2019- 05-12T14: 28:03.856014005 Z"} rpc.server ImageCopyFailure: Failed to copy image to volume: __init__() got an unexpected keyword argument 'errno' \n","stream" :"stdout" ,"time" :"2019- 05-12T14: 47:58.467415383 Z"} rpc.server ImageCopyFailure: Failed to copy image to volume: __init__() got an unexpected keyword argument 'errno' \n","stream" :"stdout" ,"time" :"2019- 05-12T14: 50:37.24834896Z "} rpc.server ImageCopyFailure: Failed to copy image to volume: __init__() got an unexpected keyword argument 'errno' \n","stream" :"stdout" ,"time" :"2019- 05-12T14: 53:20.738147912 Z"} rpc.server ImageCopyFailure: Failed to copy image to volume: __init__() got an unexpected keyword argument 'errno' \n","stream" :"stdout" ,"time" :"2019- 05-12T15: 13:47.840475073 Z"} rpc.server ImageCopyFailure: Failed to copy image to volume: __init__() got an unexpected keyword argument 'errno' \n","stream" :"stdout" ,"time" :"2019- 05-12T15: 35:34.367658819 Z"} rpc.server ImageCopyFailure: Failed to copy image to volume: __init__() got an unexpected keyword argument 'errno' \n","stream" :"stdout" ,"time" :"2019- 05-12T15: 38:26.710084499 Z"} rpc.server ImageCopyFailure: Failed to copy image to volume: __init__() got an unexpected keyword argument 'errno' \n","stream" :"stdout" ,"time" :"2019- 05-12T15: 58:00.334096859 Z"} rpc.server ImageCopyFailure: Failed to copy image to volume: __init__() got an unexpected keyword argument 'errno' \n","stream" :"stdout" ,"time" :"2019- 05-12T16: 01:19.909708734 Z"}
{"log":"2019-05-11 23:49:06.212 19 ERROR oslo_messaging.
{"log":"2019-05-12 00:47:05.351 19 ERROR oslo_messaging.
{"log":"2019-05-12 14:26:48.242 19 ERROR oslo_messaging.
{"log":"2019-05-12 14:28:03.855 19 ERROR oslo_messaging.
{"log":"2019-05-12 14:47:58.466 19 ERROR oslo_messaging.
{"log":"2019-05-12 14:50:37.247 19 ERROR oslo_messaging.
{"log":"2019-05-12 14:53:20.737 19 ERROR oslo_messaging.
{"log":"2019-05-12 15:13:47.839 19 ERROR oslo_messaging.
{"log":"2019-05-12 15:35:34.366 19 ERROR oslo_messaging.
{"log":"2019-05-12 15:38:26.709 19 ERROR oslo_messaging.
{"log":"2019-05-12 15:58:00.333 19 ERROR oslo_messaging.
{"log":"2019-05-12 16:01:19.908 19 ERROR oslo_messaging.