Skip to content

bug: error when trying to initialize libovsdb NB client: no space left on device #372

@Dr0p42

Description

@Dr0p42

Hello, while upgrading an OKD cluster from 4.11.0-0.okd-2022-10-28-153352 to 4.11.0-0.okd-2022-12-02-145640 I got the following error:

F1124 20:44:04.871535       1 ovnkube.go:133] error when trying to initialize libovsdb NB client: no space left on device

This occurred while there was still a lot of space on the master node. After a lot of testing, I actually tried to check if it was not a storage issue but a port binding issue. And I saw that there was an ovnkube-node already running on the same machine. So I tried to:

  • Delete pod: ovnkube-master
  • Delete pod: ovnkube-node

And the master was able to finally boot and go over that error.

I don't know if there is something doable to update the error message error when trying to initialize libovsdb NB client: no space left on device which I find misleading.

I think the log message is being displayed from this line: https://github.com/ovn-org/ovn-kubernetes/blob/ac6820df0b338a246f10f412cd5ec903bd234694/go-controller/cmd/ovnkube/ovnkube.go#L486

But I see that the code is just printing the error as is. So I guess if something can be done it might be in this repo this is why I am opening it here.

I can provide more logs if needed.
Best,
Maxime

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions