Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node patch label failure in Replicated Storage mode #1794

Open
ming135 opened this issue Dec 27, 2024 · 0 comments
Open

Node patch label failure in Replicated Storage mode #1794

ming135 opened this issue Dec 27, 2024 · 0 comments

Comments

@ming135
Copy link

ming135 commented Dec 27, 2024

Describe the bug
openebs-test-csi-node log:

CSI Driver (csi-node) revision bebdf8a100cb (v2.7.1+0)
["csi-node", "--csi-socket=/csi/csi.sock", "--node-name=nd03", "--rest-endpoint=http://openebs-test-api-rest:8081", "--enable-registration", "--grpc-endpoint=11.xx.xx.xx:10199", "--nvme-io-timeout=110s10s", "--nvme-core-io-timeout=110s10s", "--nvme-ctrl-loss-tmo=1980", "--nvme-nr-io-queues=2", "--node-selector=openebs.io/csi-node=mayastor", "--fmt-style=pretty", "--ansi-colors=true"]
2024-12-26T09:02:38.497274Z DEBUG csi_node::dev::nvmf: Setting nvme_core IO timeout on "/sys/module/nvme_core/parameters" to 120s
at control-plane/csi-driver/src/bin/node/dev/nvmf.rs:302

2024-12-26T09:02:38.502757Z DEBUG kube_client::client::builder: requesting
at /build/cargo-vendor-dir/kube-client-0.85.0/src/client/builder.rs:127
in kube_client::client::builder::HTTP with http.method: PATCH, http.url: https://211.96.0.1/api/v1/nodes/nd03?&force=true&fieldManager=node_label_patch, otel.name: "patch", otel.kind: "client"

2024-12-26T09:02:38.531689Z DEBUG kube_client::client: Unsuccessful: ErrorResponse { status: "Failure", message: "415: Unsupported Media Type", reason: "UnsupportedMediaType", code: 415 }
at /build/cargo-vendor-dir/kube-client-0.85.0/src/client/mod.rs:442

2024-12-26T09:02:38.531780Z ERROR csi_node: Terminated with error, error: Failed to patch node: nd03 with patch: {"apiVersion":"v1","kind":"Node","metadata":{"labels":{"openebs.io/csi-node.nvme-ana":"true"}}}. ApiError: 415: Unsupported Media Type: UnsupportedMediaType (ErrorResponse { status: "Failure", message: "415: Unsupported Media Type", reason: "UnsupportedMediaType", code: 415 })
at control-plane/csi-driver/src/bin/node/main.rs:51

Error: Failed to patch node: nd03 with patch: {"apiVersion":"v1","kind":"Node","metadata":{"labels":{"openebs.io/csi-node.nvme-ana":"true"}}}. ApiError: 415: Unsupported Media Type: UnsupportedMediaType (ErrorResponse { status: "Failure", message: "415: Unsupported Media Type", reason: "UnsupportedMediaType", code: 415 }

** OS info (please complete the following information):**
root@mt01 ~]# cat /etc/os-release
NAME="NeoKylin Linux Advanced Server"
VERSION="V7Update4 (Titanium)"
ID="neokylin"
ID_LIKE="fedora"

[root@mt01 ~]# uname -a
Linux mt01 5.4.277-1.el7.elrepo.x86_64 #1 SMP Sun May 26 13:12:21 EDT 2024 x86_64 x86_64 x86_64 GNU/Linux

[root@mt01 ~]# lsmod |grep nvm
nvme_tcp 36864 0
nvme_fabrics 24576 1 nvme_tcp
nvme_core 94208 2 nvme_tcp,nvme_fabrics

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant