Skip to content

NRI pod can't access the device /dev/isst_interface #101

@changzhi1990

Description

@changzhi1990

Hi, all.

Based on my testing about the sst feature in the topology-aware policy. I found that there some problems in the NRI pod.

The NRI pod can't find the /host/dev/isst_interface device.

image

After some research, I add these lines to the NRI daemonset.
image

Then, the NRI pod has no permission to access this device:

W0804 01:56:49.287017       1 system.go:297] failed to get SST info for package 0: failed to read SST PP info: Mbox command failed with failed to open isst device "/host/dev/isst_interface": open /host/dev/isst_interface: operation not permitted

After that, I noticed that there are some securitycontext in the daemonset file and I modified it:
image

I added the privileged: true into it and I commented the next two lines. At last, the NRI can access the sst device:
image

So does my approach was correct?

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