Problem
When modifying a host node's hypervisor, there is no check done to see if the hypervisor is valid.
vdc-manage>> host modify hn-hva1 --hypervisor hvm
vdc-manage>> host show
UUID Node ID Hypervisor Architecture Usage Status Scheduling
hn-hva1 hva.hva1 hvm x86_64 0% online true
Solution
Add a check and fail if the hypervisor being set is invalid.