Skip to content

vdc-manage allows setting non-existant hypervisor #757

@Metallion

Description

@Metallion

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions