Skip to content

[BUG] retire foreman.get_hosts_by_rack in Foreman library to rely on QUADS #594

Closed
@sadsfae

Description

@sadsfae

With the inclusion of bcaa42b we can now rely on QUADS --rack and --uloc to populate the inventory in /dashboard inside of quads-web for racks, u-loc and blade considerations.

Also, moving to --uloc --rack and --blade will not actually work until we remove Foreman from supplying this.

https://github.com/redhat-performance/quads/blob/development/src/quads/web/blueprints/wiki.py#L170

Instead we need to find a cost-effective solution for gathering the other values we do need from Foreman like: MAC IP IPMIADDR IPMIURL IPMIMAC

If no Foreman is available simply display the things QUADS knows about in quads-web generated inventory like Workload Owner We might also consider some warning saying Foreman isn't available.

This change is actually needed for --rack and --uloc and --blade to function correctly.

This has the side benefit of letting complete sandbox testing occur with dummy data and no Foreman being available.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions