query: return UNAVAIL for "wrong" HV parameters
query: return UNAVAIL for "wrong" HV parameters

If a HV parameter is required that does not apply for an instance,
currently the code returns None. This is bad, as it means we cannot
switch to the actual HV parameter types and validate correctly this
field.

This patch changes it so that in this case we return QRFS_UNAVAIL;
ideally we would use a NOT_APPROPRIATE or similar field, but UNAVAIL is
good enough (the call cannot fail in another way).

Signed-off-by: Iustin Pop <acf83a5274f31a43af6b914614365999469c1a31@google.com>
Reviewed-by: Michael Hanselmann <68b67885ff74281219b4a4be33cc20fd45078d7c@google.com>

apyrgio/ganeti,yiannist/ganeti,dimara/ganeti,ganeti-github-testing/ganeti-test-1,onponomarev/ganeti,andir/ganeti,apyrgio/snf-ganeti,mbakke/ganeti,grnet/snf-ganeti,andir/ganeti,leshchevds/ganeti,ganeti/ganeti,apyrgio/ganeti,yiannist/ganeti,dimara/ganeti,mbakke/ganeti,mbakke/ganeti,onponomarev/ganeti,bitemyapp/ganeti,andir/ganeti,apyrgio/snf-ganeti,yiannist/ganeti,ganeti-github-testing/ganeti-test-1,grnet/snf-ganeti,ganeti/ganeti,ganeti/ganeti,bitemyapp/ganeti,leshchevds/ganeti,leshchevds/ganeti