Skip to content
This repository was archived by the owner on Dec 11, 2020. It is now read-only.
This repository was archived by the owner on Dec 11, 2020. It is now read-only.

Missing BMH network data secret does not produce actionable logs #7

@drewwalters96

Description

@drewwalters96

When SIP cannot retrieve the IP address of a vBMH from the NetworkData secret because it does not exist, the logs do not show any sign of missing NetworkData.

2020-11-30T21:59:35.768Z        INFO    controllers.SIPCluster.machines BMH didn't pass scheduling test {"SIPCluster": "default/subcluster-test1", "role": "master", "BaremetalHost Name": "node08", "BMH count to be scheduled": 1}
2020-11-30T21:59:35.768Z        INFO    controllers.SIPCluster.machines failed to get enough BMHs to complete scheduling        {"SIPCluster": "default/subcluster-test1", "role": "master"}
2020-11-30T21:59:35.768Z        ERROR   controller      Reconciler error        {"reconcilerGroup": "airship.airshipit.org", "reconcilerKind": "SIPCluster", "controller": "sipcluster", "name": "subcluster-test1", "namespace": "default", "error": "Unable to complete a schedule with a target of  master nodes, with a flavor of airshipit.org/vino-flavor=master "}

The logs should include why the VM is unschedulable

Metadata

Metadata

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