Skip to content

Setting PROVISIONING_NETWORK_DISABLED to true disables all operator functionality #2821

@mjovanovic0

Description

@mjovanovic0

What steps did you take and what happened:
When the PROVISIONING_NETWORK_DISABLED environment variable is set, the operator becomes unusable in clusters that do not have a provisioning network.

What did you expect to happen:
Certain features should remain available even when a provisioning network is not present (as was the case prior to v0.11.0).
For example, node registration and power management operations (Power Off/On, Reboot) should still function without a provisioning network.

Anything else you would like to add:
In versions prior to v0.11.0, it was possible to register nodes and use the power management features without relying on a provisioning network. This was acceptable in scenarios where dynamic provisioning was not required and was useful for administrators performing maintenance tasks. With the changes introduced in v0.11.0, specifically the addition of the environment variable mentioned above (see: f462c92), all
of these functionalities are now unavailable.

Environment:

  • Baremetal Operator version: OpenShift build
    Go Version: go1.24.6 (Red Hat 1.24.6-1.el9_6) X:strictfipsruntime
    Go OS/Arch: linux/amd64
    Git commit: a7d0035
  • Environment (metal3-dev-env or other): OpenShift 4.20.3

/kind bug

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.triage/acceptedIndicates an issue is ready to be actively worked on.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions