Skip to content

panic when a CSI-driver supports the new ControllerServer.GetSnapshot RPC #1382

@nixpanic

Description

@nixpanic

What happened:
While adding the new ControllerService.GetSnapshot RPC with kubernetes-csi/csi-driver-host-path#606, the tests fail due to a panic.

The external-provisioner panics when a CSI-driver supports the GetSnapshot RPC. Commit 4213fcf resolves this, because csi-lib-utils v0.21 contains a fix for the crash (kubernetes-csi/csi-lib-utils#188).

What you expected to happen:
No panic.

How to reproduce it:
Pass a new value for an enumeration in the CSI-drivers GetCapabilities() reply.

Anything else we need to know?:
Fix has been merged in the master branch, a new release would be most welcome.

Environment:

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