Actions
Bug #51294
closedmgr/devicehealth: ValueError: time data '' does not match format '%Y%m%d-%H%M%S'
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Source:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Merge Commit:
Fixed In:
v17.0.0-5517-g07143c4dc3
Released In:
v17.2.0~1617
Upkeep Timestamp:
2025-07-14T17:47:52+00:00
Description
2021-06-20T20:30:05.393 INFO:tasks.ceph.mgr.x.smithi032.stderr:2021-06-20T20:30:05.394+0000 7fd44d3be700 -1 Remote method threw exception: Traceback (most recent call last):
2021-06-20T20:30:05.394 INFO:tasks.ceph.mgr.x.smithi032.stderr: File "/usr/share/ceph/mgr/devicehealth/module.py", line 569, in show_device_metrics
2021-06-20T20:30:05.394 INFO:tasks.ceph.mgr.x.smithi032.stderr: res = self._get_device_metrics(devid, sample=sample)
2021-06-20T20:30:05.394 INFO:tasks.ceph.mgr.x.smithi032.stderr: File "/usr/share/ceph/mgr/devicehealth/module.py", line 546, in _get_device_metrics
2021-06-20T20:30:05.395 INFO:tasks.ceph.mgr.x.smithi032.stderr: isample = self._t2epoch(sample)
2021-06-20T20:30:05.395 INFO:tasks.ceph.mgr.x.smithi032.stderr: File "/usr/share/ceph/mgr/devicehealth/module.py", line 532, in _t2epoch
2021-06-20T20:30:05.395 INFO:tasks.ceph.mgr.x.smithi032.stderr: return int(datetime.strptime(t, TIME_FORMAT).strftime("%s"))
2021-06-20T20:30:05.396 INFO:tasks.ceph.mgr.x.smithi032.stderr: File "/usr/lib64/python3.6/_strptime.py", line 565, in _strptime_datetime
2021-06-20T20:30:05.396 INFO:tasks.ceph.mgr.x.smithi032.stderr: tt, fraction = _strptime(data_string, format)
2021-06-20T20:30:05.396 INFO:tasks.ceph.mgr.x.smithi032.stderr: File "/usr/lib64/python3.6/_strptime.py", line 362, in _strptime
2021-06-20T20:30:05.396 INFO:tasks.ceph.mgr.x.smithi032.stderr: (data_string, format))
2021-06-20T20:30:05.397 INFO:tasks.ceph.mgr.x.smithi032.stderr:ValueError: time data '' does not match format '%Y%m%d-%H%M%S'
/a/sage-2021-06-20_15:30:30-rados-wip-sage-testing-2021-06-20-1007-distro-basic-smithi/6181869
Updated by Kefu Chai over 4 years ago
- Status changed from New to Resolved
- Pull request ID set to 41946
Updated by Upkeep Bot 8 months ago
- Merge Commit set to 07143c4dc342b91e8483feb73950b88d208204b1
- Fixed In set to v17.0.0-5517-g07143c4dc3
- Released In set to v17.2.0~1617
- Upkeep Timestamp set to 2025-07-14T17:47:52+00:00
Actions