protobuf
protobuf copied to clipboard
panic: protobuf tag not enough fields in Empty.state
panic: protobuf tag not enough fields in Empty.state:
goroutine 323 [running]:
github.com/gogo/protobuf/proto.(*unmarshalInfo).computeUnmarshalInfo(0xc000c88500)
/root/go/pkg/mod/github.com/gogo/[email protected]/proto/table_unmarshal.go:341 +0x1897
github.com/gogo/protobuf/proto.(*unmarshalInfo).unmarshal(0xc000c88500, 0xc000888c30, 0x0, 0x0, 0x0, 0x40e0f8, 0x20)
/root/go/pkg/mod/github.com/gogo/[email protected]/proto/table_unmarshal.go:138 +0xf65
github.com/gogo/protobuf/proto.(*InternalMessageInfo).Unmarshal(0xc0007b8880, 0x7fab1c0f7540, 0xc000888c30, 0x0, 0x0, 0x0, 0xc000888c01, 0x0)
/root/go/pkg/mod/github.com/gogo/[email protected]/proto/table_unmarshal.go:63 +0x66
github.com/gogo/protobuf/proto.(*Buffer).Unmarshal(0xc0006311c8, 0x7fab1c0f7540, 0xc000888c30, 0x0, 0x0)
/root/go/pkg/mod/github.com/gogo/[email protected]/proto/decode.go:424 +0x1f5
github.com/gogo/protobuf/proto.Unmarshal(0x0, 0x0, 0x0, 0x7fab1c0f7540, 0xc000888c30, 0xc000b84001, 0xc00094aec0)
/root/go/pkg/mod/github.com/gogo/[email protected]/proto/decode.go:342 +0x15e
github.com/containerd/ttrpc.codec.Unmarshal(0x0, 0x0, 0x0, 0x1e5b020, 0xc000888c30, 0xc000da35d0, 0x0)
/root/go/pkg/mod/github.com/containerd/[email protected]/codec.go:39 +0xf2
github.com/containerd/ttrpc.(*Client).Call(0xc000da7000, 0x23fd128, 0xc00005c308, 0x216da10, 0x28, 0x2141bf8, 0xc, 0x1f8bfe0, 0xc000888c00, 0x1e5b020, ...)
/root/go/pkg/mod/github.com/containerd/[email protected]/client.go:136 +0x38e
github.com/kubernetes-sigs/alibaba-cloud-csi-driver/pkg/disk/proto.(*extendedStatusClient).ExpandVolume(0xc000631440, 0x23fd128, 0xc00005c308, 0xc000888c00, 0x0, 0xc000da7000, 0xc00000ee18)
/root/go/src/github.com/kubernetes-sigs/alibaba-cloud-csi-driver/pkg/disk/proto/disk.pb.go:208 +0xbd
github.com/kubernetes-sigs/alibaba-cloud-csi-driver/pkg/disk.checkRundVolumeExpand(0xc000a32cd0, 0x0, 0x0, 0x0)
/root/go/src/github.com/kubernetes-sigs/alibaba-cloud-csi-driver/pkg/disk/utils.go:1559 +0x2b2
github.com/kubernetes-sigs/alibaba-cloud-csi-driver/pkg/disk.(*nodeServer).NodeExpandVolume(0xc000715860, 0x23fd198, 0xc000888720, 0xc000a32cd0, 0xc000715860, 0x1, 0xc0004c8bb8)
/root/go/src/github.com/kubernetes-sigs/alibaba-cloud-csi-driver/pkg/disk/nodeserver.go:768 +0x19c
github.com/container-storage-interface/spec/lib/go/csi._Node_NodeExpandVolume_Handler.func1(0x23fd198, 0xc000888720, 0x1f6c040, 0xc000a32cd0, 0x0, 0x203000, 0x7fab1c0df390, 0x18)
/root/go/pkg/mod/github.com/container-storage-interface/[email protected]/lib/go/csi/csi.pb.go:5420 +0x89
github.com/kubernetes-csi/drivers/pkg/csi-common.logGRPC(0x23fd198, 0xc000888720, 0x1f6c040, 0xc000a32cd0, 0xc00094ae40, 0xc0004c8ba0, 0xc000c9eb80, 0x646f86, 0x1f422e0, 0xc000888720)
/root/go/pkg/mod/github.com/kubernetes-csi/[email protected]/pkg/csi-common/utils.go:99 +0x164
github.com/container-storage-interface/spec/lib/go/csi._Node_NodeExpandVolume_Handler(0x1f642e0, 0xc000715860, 0x23fd198, 0xc000888720, 0xc00017fb00, 0x2235048, 0x23fd198, 0xc000888720, 0xc000166c00, 0xf4)
/root/go/pkg/mod/github.com/container-storage-interface/[email protected]/lib/go/csi/csi.pb.go:5422 +0x150
google.golang.org/grpc.(*Server).processUnaryRPC(0xc000703080, 0x2419e58, 0xc001460180, 0xc000a4eb00, 0xc000816360, 0x375bd38, 0x0, 0x0, 0x0)
/root/go/pkg/mod/google.golang.org/[email protected]/server.go:1024 +0x522
google.golang.org/grpc.(*Server).handleStream(0xc000703080, 0x2419e58, 0xc001460180, 0xc000a4eb00, 0x0)
/root/go/pkg/mod/google.golang.org/[email protected]/server.go:1313 +0xd2c
google.golang.org/grpc.(*Server).serveStreams.func1.1(0xc000a30110, 0xc000703080, 0x2419e58, 0xc001460180, 0xc000a4eb00)
/root/go/pkg/mod/google.golang.org/[email protected]/server.go:722 +0xab
created by google.golang.org/grpc.(*Server).serveStreams.func1
/root/go/pkg/mod/google.golang.org/[email protected]/server.go:720 +0xa5
@houstar Please show us more info, for example the proto fileg, gogo-proto version, goland version...That may help a lot.