get-stats.py - ValueError: invalid literal for int() with base 10: '[not set]'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
devstack |
Fix Released
|
Undecided
|
Harald Jensås |
Bug Description
Task Generate statistics failed running on host controller.
This happens after what looks like a different issue in openstack/
Problem is when generate statistics failes, the job result in POST_FAILURE and no logs are collected. Which makes it impossible to troubleshoot.
source /opt/stack/
python3 /opt/stack/
--db-
--db-
--db-
--apache-
Traceback (most recent call last):
File "/opt/stack/
'services': get_services_
File "/opt/stack/
return [dict(service=
File "/opt/stack/
return [dict(service=
File "/opt/stack/
stats[stat] = int(val)
ValueError: invalid literal for int() with base 10: '[not set]'
https:/
Changed in devstack: | |
assignee: | nobody → Harald Jensås (harald-jensas) |
stack@openstack:~$ /usr/bin/systemctl show etcd -pMemoryCurrent
MemoryCurrent=[not set]
It looks like we either need to skip in case value is '[not set]'? Or use tryint() in get-stats.py#L34