Skip to content

Instantly share code, notes, and snippets.

@displague
Created November 27, 2018 03:13
Show Gist options
  • Save displague/22513efcb7a4de4792957c8f75823fce to your computer and use it in GitHub Desktop.
Save displague/22513efcb7a4de4792957c8f75823fce to your computer and use it in GitHub Desktop.
csi linode node daemon set fails to register nodeid
I1126 23:00:08.277141 1 main.go:58] Driver vendor version v0.0.1-12-g6721167
RESTY 2018/11/26 23:00:08
---------------------- REQUEST LOG -----------------------
GET /v4/linode/instances HTTP/1.1
HOST : api.linode.com
HEADERS:
Accept: application/json
Content-Type: application/json
User-Agent: LinodeCSI/v0.0.1-12-g6721167 linodego/0.6.2
X-Filter: {"label":"foo12-node-1"}
BODY :
***** NO CONTENT *****
----------------------------------------------------------
RESTY 2018/11/26 23:00:09
---------------------- RESPONSE LOG -----------------------
STATUS : 200 OK
RECEIVED AT : 2018-11-26T23:00:09.178370298Z
RESPONSE TIME : 900.586002ms
HEADERS:
Access-Control-Allow-Credentials: true
Access-Control-Allow-Headers: Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter
Access-Control-Allow-Methods: HEAD, GET, OPTIONS, POST, PUT, DELETE
Access-Control-Allow-Origin: *
Access-Control-Expose-Headers: X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status
Cache-Control: private, max-age=0, s-maxage=0, no-cache, no-store, private, max-age=60, s-maxage=60
Connection: keep-alive
Content-Length: 681
Content-Security-Policy: default-src 'none'
Content-Type: application/json
Date: Mon, 26 Nov 2018 23:00:09 GMT
Retry-After: 118
Server: nginx
Strict-Transport-Security: max-age=31536000
Vary: Authorization, X-Filter, Authorization, X-Filter
X-Accepted-Oauth-Scopes: linodes:read_only
X-Content-Type-Options: nosniff, nosniff
X-Frame-Options: DENY, DENY
X-Oauth-Scopes: *
X-Ratelimit-Limit: 400
X-Ratelimit-Remaining: 399
X-Ratelimit-Reset: 1543273328
X-Spec-Version: 4.0.9
X-Xss-Protection: 1; mode=block
BODY :
{
"pages": 1,
"results": 1,
"data": [
{
"type": "g6-standard-2",
"status": "running",
"updated": "2018-11-25T20:55:58",
"ipv4": [
"192.168....",
"139........"
],
"hypervisor": "kvm",
"ipv6": "2a01:7e00::..../64",
"id": 11605341,
"label": "foo12-node-1",
"specs": {
"memory": 4096,
"disk": 81920,
"transfer": 4000,
"vcpus": 2
},
"created": "2018-11-25T20:55:58",
"region": "eu-west",
"alerts": {
"cpu": 90,
"network_out": 10,
"transfer_quota": 80,
"io": 10000,
"network_in": 10
},
"tags": [],
"image": "linode/containerlinux",
"watchdog_enabled": true,
"backups": {
"schedule": {
"day": null,
"window": null
},
"enabled": false
},
"group": "k8-terraform-test"
}
],
"page": 1
}
----------------------------------------------------------
I1126 23:00:09.178860 1 driver.go:93] Enabling volume access mode: SINGLE_NODE_WRITER
I1126 23:00:09.178877 1 driver.go:103] Enabling controller service capability: CREATE_DELETE_VOLUME
I1126 23:00:09.178884 1 driver.go:103] Enabling controller service capability: PUBLISH_UNPUBLISH_VOLUME
I1126 23:00:09.178892 1 driver.go:103] Enabling controller service capability: PUBLISH_READONLY
I1126 23:00:09.178899 1 driver.go:113] Enabling node service capability: STAGE_UNSTAGE_VOLUME
I1126 23:00:09.178909 1 driver.go:159] Driver: linodebs.csi.linode.com
I1126 23:00:09.179066 1 server.go:91] Start listening with scheme unix, addr /csi/csi.sock
I1126 23:00:09.179279 1 server.go:110] Listening for connections on address: &net.UnixAddr{Name:"/csi/csi.sock", Net:"unix"}
I1127 03:05:15.638113 1 utils.go:51] GRPC call: /csi.v1.Identity/GetPluginInfo
I1127 03:05:15.638157 1 utils.go:52] GRPC request:
I1127 03:05:15.638364 1 identityserver.go:31] Using default GetPluginInfo
I1127 03:05:15.638377 1 utils.go:57] GRPC response: name:"linodebs.csi.linode.com" vendor_version:"v0.0.1-12-g6721167"
I1127 03:05:15.645640 1 utils.go:51] GRPC call: /csi.v1.Node/NodeGetInfo
I1127 03:05:15.645710 1 utils.go:52] GRPC request:
I1127 03:05:15.645830 1 nodeserver.go:284] NodeGetInfo called with req: &csi.NodeGetInfoRequest{XXX_NoUnkeyedLiteral:struct {}{}, XXX_unrecognized:[]uint8(nil), XXX_sizecache:0}
I1127 03:05:15.645975 1 utils.go:57] GRPC response: node_id:"11605341" max_volumes_per_node:8 accessible_topology:<segments:<key:"topology.linode.com/region" value:"eu-west" > >
I1127 03:05:15.636133 1 main.go:138] Version: v1.0.1-0-g78b5c12e
I1127 03:05:15.636330 1 main.go:145] Attempting to open a gRPC connection with: "/csi/csi.sock"
I1127 03:05:15.636354 1 connection.go:68] Connecting to /csi/csi.sock
I1127 03:05:15.636755 1 connection.go:95] Still trying, connection is CONNECTING
I1127 03:05:15.637106 1 connection.go:92] Connected
I1127 03:05:15.637123 1 main.go:153] Calling CSI driver to discover driver name.
I1127 03:05:15.637136 1 connection.go:136] GRPC call: /csi.v1.Identity/GetPluginInfo
I1127 03:05:15.637142 1 connection.go:137] GRPC request:
I1127 03:05:15.644068 1 connection.go:139] GRPC response: name:"linodebs.csi.linode.com" vendor_version:"v0.0.1-12-g6721167"
I1127 03:05:15.644387 1 connection.go:140] GRPC error: <nil>
I1127 03:05:15.644488 1 main.go:161] CSI driver name: "linodebs.csi.linode.com"
I1127 03:05:15.644561 1 main.go:165] Loading kubeconfig.
I1127 03:05:15.645052 1 node_register.go:55] Calling CSI driver to discover node ID.
I1127 03:05:15.645136 1 connection.go:136] GRPC call: /csi.v1.Node/NodeGetInfo
I1127 03:05:15.645214 1 connection.go:137] GRPC request:
I1127 03:05:15.646447 1 connection.go:139] GRPC response: node_id:"11605341" max_volumes_per_node:8 accessible_topology:<segments:<key:"topology.linode.com/region" value:"eu-west" > >
I1127 03:05:15.646668 1 connection.go:140] GRPC error: <nil>
I1127 03:05:15.646885 1 node_register.go:63] CSI driver node ID: "11605341"
I1127 03:05:15.647126 1 node_register.go:86] Starting Registration Server at: /registration/linodebs.csi.linode.com-reg.sock
I1127 03:05:15.647366 1 node_register.go:93] Registration Server started at: /registration/linodebs.csi.linode.com-reg.sock
I1127 03:05:15.651462 1 main.go:111] Received GetInfo call: &InfoRequest{}
I1127 03:05:15.674877 1 main.go:121] Received NotifyRegistrationStatus call: &RegistrationStatus{PluginRegistered:false,Error:plugin registration failed with err: error updating CSI node info in the cluster: error adding CSI driver node info: driverNodeID must not be empty,}
E1127 03:05:15.675146 1 main.go:123] Registration process failed with error: plugin registration failed with err: error updating CSI node info in the cluster: error adding CSI driver node info: driverNodeID must not be empty, restarting registration container.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment