Hi,
I'm struggling with a check-patch failing. This is the error (I think):
[7;33m************* Module vdsm.tool.update_volume [0m
[1;31mE [0m: 87,16: [1;31mInstance of '_Client' has no 'Host' member [0m
(
[1;31mno-member [0m)
[1;31mE [0m:101,23: [1;31mInstance of '_Client' has no 'StoragePool'
member
[0m ( [1;31mno-member [0m)
The way I understand it, the error above from [1] means that the check
patch fails because the cli object does not contain Host or StoragePool.
However, from reading the code it seems the Host and StoragePool members
are created at runtime by parsing the API schema. So static checking for
[2] and [3] fails.
I see some other tools doing similar things (i,e. dump_volume_chains), but
I can't find anything specific done to prevent it. Or am I missing
something?
Any idea on how to solve this?
[1]
https://jenkins.ovirt.org/job/vdsm_master_check-patch-el7-x86_64/25017/ar...
[2]
https://gerrit.ovirt.org/gitweb?p=vdsm.git;f=lib/vdsm/tool/update_volume....
[3]
https://gerrit.ovirt.org/gitweb?p=vdsm.git;f=lib/vdsm/tool/update_volume....
Thanks!
Germano