Skip to content

Wrong parameter for a user provided network crashes the controller #590

@pierrecregut

Description

@pierrecregut

/kind bug

What steps did you take and what happened:
[A clear and concise description of what the bug is.]
Tried to specify in openstack cluster a network (which was wrong). Not only the deployment failed but the container crashed.

What did you expect to happen:
Just a failed deployment.

Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
In openstackcluster_controller line 300, an or (||) was probably intended on the check of err and the size of the network list.

Environment:

  • Cluster-api version:
  • Minikube/KIND version:
  • Kubernetes version: (use kubectl version):
  • OS (e.g. from /etc/os-release):

Metadata

Metadata

Assignees

Labels

good first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/bugCategorizes issue or PR as related to a bug.lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions