Skip to content

Test VM for single node vSAN fails due to "vSAN Default Storage Policy" #8

Open
@ThisGuyFuchs

Description

@ThisGuyFuchs

Describe the bug

When using a single node vSAN cluster, clicking "Validate Config" on hcibench web ui, validation fails as tvm.ovf is configured to run as "vSAN Default Storage Policy". Changing this value to "Datastore Default" passes the test successfully as the VM inherits datastore properties.

Reproduction steps

  1. Log into hcibench web interface, fill out fields, save and then validate config
  2. Validate config fails as it expects to see two fault domains when I only have one
  3. Modify /opt/output/vm-template/tvm/tvm.ovf so that "vSAN Default Storage Policy" becomes "Datastore Default" (optionally, changed description as well to match change)
  4. Rerun validate config - tvm.ovf deploys successfully, test succeeds
    ...
    This does not impact the ability to actually run fio VMs through the web ui as the script defaults to datastore default, and allows for manual storage policy declaration.

Expected behavior

While single node vSAN isn't supported in production, test VMs should still validate config as it is a valid vSphere configuration.

Additional context

Keep up the great work!

-vShoeString (vExpert)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions