
When doing host-lock in storage nodes when ceph cluster is in warning state, it verifies the state of the storage node. Doing this involves calling 'pg dump_stuck' and 'osd crush tree' but their json format has changed and current code doesn't support this format. The fix was made to support the new format. Testing performed: STANDARD+STORAGE: Set ceph-cluster in warning state and successfully locked storage-1. To put the cluster in warning state I created a pool having size 3 and set nosizechange to true. This allows pgs_list to not be empty and test the loop iteration (which calls 'osd crush tree'). Story: 2009074 Task: 44128 Signed-off-by: Vinicius Lopes da Silva <vinicius.lopesdasilva@windriver.com> Change-Id: I1b0f76e89222e2de0f95858955ef07ba479a6822
Description
StarlingX miscellaneous tools and utilities
Languages
Shell
53.7%
Python
39.2%
C
3.3%
Makefile
1.2%
HTML
1.1%
Other
1.3%