Volume cmd failed by Service Unavailable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Invalid
|
Medium
|
Tao Liu |
Bug Description
Brief Description
-----------------
During test suite, volume cmd stopped working for 4 mins, then recovered by itself.
Severity
--------
Major
Steps to Reproduce
------------------
run Volume related cmd, like volume list, volume show etc
TC-name: networking/
Expected Behavior
------------------
Actual Behavior
----------------
Reproducibility
---------------
Seen once
System Configuration
-------
One node system
Lab-name: SM-3
Branch/Pull Time/Commit
-------
stx master as of 20190719T013000Z
Last Pass
---------
20190715T233000Z
Timestamp/Logs
--------------
[2019-07-19 14:10:23,917] 301 DEBUG MainThread ssh.send :: Send 'openstack --os-username 'tenant1' --os-password 'Li69nux*' --os-project-name tenant1 --os-auth-url http://
[2019-07-19 14:10:28,077] 423 DEBUG MainThread ssh.expect :: Output:
[sysadmin@
[2019-07-19 14:10:28,184] 301 DEBUG MainThread ssh.send :: Send 'openstack --os-username 'tenant1' --os-password 'Li69nux*' --os-project-name tenant1 --os-auth-url http://
[2019-07-19 14:10:34,239] 423 DEBUG MainThread ssh.expect :: Output:
+------
| Field | Value |
+------
| attachments | [] |
[2019-07-19 14:10:43,520] 301 DEBUG MainThread ssh.send :: Send 'openstack --os-username 'tenant1' --os-password 'Li69nux*' --os-project-name tenant1 --os-auth-url http://
[2019-07-19 14:10:47,282] 423 DEBUG MainThread ssh.expect :: Output:
Service Unavailable (HTTP 503)
[sysadmin@
[2019-07-19 14:10:53,898] 301 DEBUG MainThread ssh.send :: Send 'openstack --os-username 'admin' --os-password 'Li69nux*' --os-project-name admin --os-auth-url http://
[2019-07-19 14:10:55,028] 423 DEBUG MainThread ssh.expect :: Output:
Failed to discover available identity versions when contacting http://
Service Unavailable (HTTP 503)
[sysadmin@
[2019-07-19 14:11:04,482] 186 ERROR MainThread resource_
Details: ["CLI command is rejected.\nDetails: CLI 'openstack --os-username 'admin' --os-password 'Li69nux*' --os-project-name admin --os-auth-url http://
[2019-07-19 14:14:44,789] 301 DEBUG MainThread ssh.send :: Send 'openstack --os-username 'tenant1' --os-password 'Li69nux*' --os-project-name tenant1 --os-auth-url http://
[2019-07-19 14:14:47,248] 423 DEBUG MainThread ssh.expect :: Output:
+------
| ID | Name | Status | Size | Type | Bootable | Attached to | Properties |
+------
| 98b8cce5-
+------
[sysadmin@
Test Activity
-------------
Sanity
Changed in starlingx: | |
assignee: | nobody → Tao Liu (tliu88) |
Changed in starlingx: | |
assignee: | Peng Peng (ppeng) → Tao Liu (tliu88) |
tags: | added: stx.retestneeded |
tags: | removed: stx.retestneeded |
From the cinder-volume logs can see that the volume was created successfully:
{"log":"2019-07-19 14:10:36.795 17 INFO cinder. volume. flows.manager. create_ volume [req-c48e9eff- 9277-4856- 87b3-93db17635d 2a 4306f8d8d83742b fb8ba6a100596a0 ec 3ac59614e7784e2 da9dd04fd88a825 f6 - default default] Volume 98b8cce5- 3ad1-41b3- 8748-6eff3e7f97 ca: being created as image with specification: {'status': u'creating', 'image_location': (u'rbd: //7a5ed103- 91d1-45e0- abdd-2b21ffc6c0 00/images/ 9d38579a- f25c-4053- bd78-e9933990df 45/snap' , None), 'volume_size': 2, 'volume_name': u'98b8cce5- 3ad1-41b3- 8748-6eff3e7f97 ca', 'image_id': u'9d38579a- f25c-4053- bd78-e9933990df 45', 'image_service': \u003ccinder. image.glance. GlanceImageServ ice object at 0x7f7a908787d0\ u003e, 'image_meta': {u'container_ format' : u'bare', u'min_ram': 0, u'updated_at': datetime. datetime( 2019, 7, 19, 7, 37, 30, tzinfo= \u003ciso8601. Utc\u003e) , u'file': u'/v2/images/ 9d38579a- f25c-4053- bd78-e9933990df 45/file' , u'owner': u'dcc20d889db34 b30bbf720c33ea0 6471', u'id': u'9d38579a- f25c-4053- bd78-e9933990df 45', u'size': 1611581440, u'disk_format': u'raw', u'os_hash_algo': u'sha512', u'direct_url': u'rbd:/ /7a5ed103- 91d1-45e0- abdd-2b21ffc6c0 00/images/ 9d38579a- f25c-4053- bd78-e9933990df 45/snap' , u'status': u'active', u'tags': [], u'visibility': u'public', u'min_disk': 0, u'virtual_size': None, 'properties': {}, u'name': u'tis-centos- guest', u'checksum': u'b0e308015909f d2ac4c7472e19f1 49de', u'created_at': datetime. datetime( 2019, 7, 19, 7, 36, 56, tzinfo= \u003ciso8601. Utc\u003e) , u'os_hidden': False, u'protected': False, u'os_hash_value': u'265b109b030b3 b903ff7db541fdc 4d15c667da07a8e 4372b51ac6a1c84 0389f7acb21a1e9 42838fe8fec1cf5 c9190f27e4e65c8 d145b8a9a1346a0 6ff7c789f6' }}\n"," stream" :"stdout" ,"time" :"2019- 07-19T14: 10:36.796619748 Z"}
{"log":"2019-07-19 14:10:44.911 17 INFO cinder. volume. manager [req-c48e9eff- 9277-4856- 87b3-93db17635d 2a 4306f8d8d83742b fb8ba6a100596a0 ec 3ac59614e7784e2 da9dd04fd88a825 f6 - default default] Created volume successfully. \n","stream" :"stdout" ,"time" :"2019- 07-19T14: 10:44.912803166 Z"}
The issue does not appear to be a cinder issue but an issue contacting keystone based on this error message: keystone. openstack. svc.cluster. local/v3. Attempting to parse version from URL.
Failed to discover available identity versions when contacting http://
Service Unavailable (HTTP 503)