Description of problem:
this could be an issue as we parse ceph command output because there was no proper output from ceph cli json output
regarding size, there is an issue as we are able to parse in k, M and G (kb, mb, gb), but not in T (tb)
2016-10-12T12:15:59.105+02:00 ERROR monitoring.go:1015 FetchClusterStats] skyring:0b783375-03b6-4793-97bf-0dea590c6f9b - Failed to fetch cluster usage statistics.Error Failed to fetch cluster stats from cluster ceph.Could not unmarshal GLOBAL:
SIZE AVAIL RAW USED %RAW USED
210T 142T 69100G 32.13
POOLS:
NAME ID USED %USED MAX AVAIL OBJECTS
rbd 0 0 0 45281G 0
cephfs_data 1 22975G 33.66 45281G 14741206
cephfs_metadata 2 61931k 0 45281G 114516
.Error . Failed to fetch cluster total size. Error strconv.ParseInt: parsing "210T": invalid syntax. Failed to fetch cluster available size.Error strconv.ParseInt: parsing "142T": invalid syntax
Version-Release number of selected component (if applicable):
rhscon-core-0.0.41-1.el7scon.x86_64
How reproducible:
easily
Steps to Reproduce:
1.
2.
3.
Actual results:
Error when parsing in T units
Expected results:
no error
Additional info:
Description of problem: this could be an issue as we parse ceph command output because there was no proper output from ceph cli json output regarding size, there is an issue as we are able to parse in k, M and G (kb, mb, gb), but not in T (tb) 2016-10-12T12:15:59.105+02:00 ERROR monitoring.go:1015 FetchClusterStats] skyring:0b783375-03b6-4793-97bf-0dea590c6f9b - Failed to fetch cluster usage statistics.Error Failed to fetch cluster stats from cluster ceph.Could not unmarshal GLOBAL: SIZE AVAIL RAW USED %RAW USED 210T 142T 69100G 32.13 POOLS: NAME ID USED %USED MAX AVAIL OBJECTS rbd 0 0 0 45281G 0 cephfs_data 1 22975G 33.66 45281G 14741206 cephfs_metadata 2 61931k 0 45281G 114516 .Error . Failed to fetch cluster total size. Error strconv.ParseInt: parsing "210T": invalid syntax. Failed to fetch cluster available size.Error strconv.ParseInt: parsing "142T": invalid syntax Version-Release number of selected component (if applicable): rhscon-core-0.0.41-1.el7scon.x86_64 How reproducible: easily Steps to Reproduce: 1. 2. 3. Actual results: Error when parsing in T units Expected results: no error Additional info: