Skip to content

Instantly share code, notes, and snippets.

@kumy
Created February 26, 2019 18:15
Show Gist options
  • Save kumy/93386e7e6f74527629b3f5a1dfc0a67d to your computer and use it in GitHub Desktop.
Save kumy/93386e7e6f74527629b3f5a1dfc0a67d to your computer and use it in GitHub Desktop.
rexray volume mount test
INFO[0000] updated log level logLevel=debug
DEBU[0000] os.args time=1551204649825 val=[rexray volume mount test]
DEBU[0000] activating libStorage cmd=mount time=1551204649825
DEBU[0000] parseSafeHost - no change postParse=unix:///var/run/rexray/232197648.sock preParse=unix:///var/run/rexray/232197648.sock time=1551204649841
DEBU[0000] read spec file host=unix:///var/run/rexray/232197648.sock path=/var/run/rexray/rexray.spec time=1551204649841
DEBU[0000] is local unix server active sock=/var/run/rexray/232197648.sock time=1551204649841
DEBU[0000] set host in context host=unix:///var/run/rexray/232197648.sock time=1551204649841
DEBU[0000] set host in config host=unix:///var/run/rexray/232197648.sock time=1551204649842
DEBU[0000] not starting embedded server; already running host=unix:///var/run/rexray/232197648.sock time=1551204649842
DEBU[0000] creating libStorage client cmd=mount host=unix:///var/run/rexray/232197648.sock time=1551204649842
DEBU[0000] created scoped scope new=libstorage.client parentScopes=rexray.cli,rexray,
INFO[0000] configured logging host=unix:///var/run/rexray/232197648.sock libstorage.logging.httpRequests=true libstorage.logging.httpResponses=true libstorage.logging.level=debug time=1551204650064
INFO[0000] set client service name host=unix:///var/run/rexray/232197648.sock service=cinder serviceName=cinder time=1551204650071
DEBU[0000] got configured host address host=unix:///var/run/rexray/232197648.sock service=cinder storageDriver=libstorage time=1551204650081
DEBU[0000] disabling tls for unix sockets host=unix:///var/run/rexray/232197648.sock service=cinder storageDriver=libstorage time=1551204650087
DEBU[0000] getHost proto == "unix" getHost=libstorage-server host=unix:///var/run/rexray/232197648.sock service=cinder storageDriver=libstorage time=1551204650087
INFO[0000] created libStorage client clientType=integration disableKeepAlive=false enableInstanceIDHeaders=true enableLocalDevicesHeaders=true host=unix:///var/run/rexray/232197648.sock lAddr=libstorage-server logRequests=true logResponses=true lsxPath= service=cinder storageDriver=libstorage time=1551204650128
INFO[0000] registered custom context key externalID=Libstorage-Tx internalID=2 keyBitmask=2
INFO[0000] registered custom context key externalID=Libstorage-Instanceid internalID=3 keyBitmask=2
INFO[0000] registered custom context key externalID=Libstorage-Localdevices internalID=4 keyBitmask=2
INFO[0000] registered custom context key externalID=Authorization internalID=5 keyBitmask=2
INFO[0000]
INFO[0000] -------------------------- HTTP REQUEST (CLIENT) -------------------------
INFO[0000] GET /services HTTP/1.1
INFO[0000] Host: libstorage-server
INFO[0000] Libstorage-Tx: txID=59e818f4-cf63-46f1-4577-42e30fbb51b9, txCR=1551204650
INFO[0000]
DEBU[0000] successful connection host=unix:///var/run/rexray/232197648.sock service=cinder storageDriver=libstorage time=1551204650129
INFO[0000]
INFO[0000] -------------------------- HTTP RESPONSE (CLIENT) -------------------------
INFO[0000] HTTP/1.1 200 OK
INFO[0000] Content-Length: 111
INFO[0000] Content-Type: application/json
INFO[0000] Date: Tue, 26 Feb 2019 18:10:50 GMT
INFO[0000] Libstorage-Servername: small-fright-gt
INFO[0000]
INFO[0000] {
INFO[0000] "cinder": {
INFO[0000] "name": "cinder",
INFO[0000] "driver": {
INFO[0000] "name": "cinder",
INFO[0000] "type": "block"
INFO[0000] }
INFO[0000] }
INFO[0000] }
INFO[0000] initializing supported cache host=unix:///var/run/rexray/232197648.sock server=small-fright-gt service=cinder storageDriver=libstorage time=1551204650132
DEBU[0000] cached supported flag host=unix:///var/run/rexray/232197648.sock server=small-fright-gt service=cinder storageDriver=libstorage supported=15 time=1551204650132 txCR=1551204650 txID=f3463854-de2a-4e58-71b7-fc2b84bebaa6
INFO[0000] initializing instance ID cache host=unix:///var/run/rexray/232197648.sock server=small-fright-gt service=cinder storageDriver=libstorage time=1551204650132
DEBU[0005] cached instanceID host=unix:///var/run/rexray/232197648.sock instanceID=cinder=a244e5a5-6426-45a1-80ca-a91d45c01466 server=small-fright-gt service=cinder storageDriver=libstorage time=1551204655168 txCR=1551204650 txID=59be0280-6b62-48e8-64db-c73bfff8cc5e
DEBU[0005] xli instanceID success host=unix:///var/run/rexray/232197648.sock instanceID=cinder=a244e5a5-6426-45a1-80ca-a91d45c01466 server=small-fright-gt service=cinder storageDriver=libstorage time=1551204655168 txCR=1551204650 txID=59be0280-6b62-48e8-64db-c73bfff8cc5e
INFO[0005] successefully dialed libStorage server host=unix:///var/run/rexray/232197648.sock server=small-fright-gt service=cinder storageDriver=libstorage time=1551204655168
INFO[0005] storage driver initialized host=unix:///var/run/rexray/232197648.sock service=cinder storageDriver=libstorage time=1551204655168
INFO[0005] os driver initialized host=unix:///var/run/rexray/232197648.sock osDriver=linux service=cinder storageDriver=libstorage time=1551204655177
INFO[0005] linux integration driver successfully initialized host=unix:///var/run/rexray/232197648.sock integrationDriver=linux libstorage.integration.volume.operations.create.default.IOPS=0 libstorage.integration.volume.operations.create.default.availabilityZone= libstorage.integration.volume.operations.create.default.fsType=ext4 libstorage.integration.volume.operations.create.default.size=1 libstorage.integration.volume.operations.create.default.type= libstorage.integration.volume.operations.create.implicit=true libstorage.integration.volume.operations.mount.path=/var/lib/rexray/volumes libstorage.integration.volume.operations.mount.rootPath=/data osDriver=linux service=cinder storageDriver=libstorage time=1551204655248
INFO[0005] path cache initializion disabled host=unix:///var/run/rexray/232197648.sock integrationDriver=linux osDriver=linux service=cinder storageDriver=libstorage time=1551204655263
INFO[0005] libStorage integration driver successfully initialized host=unix:///var/run/rexray/232197648.sock integrationDriver=linux libstorage.integration.volume.operations.create.disable=false libstorage.integration.volume.operations.mount.preempt=false libstorage.integration.volume.operations.path.cache.async=true libstorage.integration.volume.operations.path.cache.enabled=false libstorage.integration.volume.operations.remove.disable=false libstorage.integration.volume.operations.unmount.ignoreusedcount=false osDriver=linux service=cinder storageDriver=libstorage time=1551204655307
INFO[0005] integration driver initialized host=unix:///var/run/rexray/232197648.sock integrationDriver=linux osDriver=linux service=cinder storageDriver=libstorage time=1551204655307
INFO[0005] created libStorage client host=unix:///var/run/rexray/232197648.sock integrationDriver=linux osDriver=linux service=cinder storageDriver=libstorage time=1551204655307
DEBU[0005] xli localdevices success host=unix:///var/run/rexray/232197648.sock instanceID=cinder=a244e5a5-6426-45a1-80ca-a91d45c01466 integrationDriver=linux osDriver=linux server=small-fright-gt service=cinder storageDriver=libstorage time=1551204655307 txCR=1551204655 txID=ddb5ccf9-1f10-4f24-74b5-304263a77ca5
INFO[0005]
INFO[0005] -------------------------- HTTP REQUEST (CLIENT) -------------------------
INFO[0005] GET /volumes/cinder?attachments=27 HTTP/1.1
INFO[0005] Host: libstorage-server
INFO[0005] Libstorage-Instanceid: cinder=a244e5a5-6426-45a1-80ca-a91d45c01466
INFO[0005] Libstorage-Localdevices: cinder=/dev/dm-0::,/dev/dm-1::,/dev/sda::,/dev/sda1::,/dev/sda2::,/dev/sda3::,/dev/sdb::,/dev/sdc::,/dev/sdf::,/dev/sdg::,/dev/sdi::,/dev/sdm::,/dev/sdn::
INFO[0005] Libstorage-Tx: txID=ddb5ccf9-1f10-4f24-74b5-304263a77ca5, txCR=1551204655
INFO[0005]
INFO[0005]
INFO[0005] -------------------------- HTTP RESPONSE (CLIENT) -------------------------
INFO[0005] HTTP/1.1 200 OK
INFO[0005] Transfer-Encoding: chunked
INFO[0005] Content-Type: application/json
INFO[0005] Date: Tue, 26 Feb 2019 18:10:55 GMT
INFO[0005] Libstorage-Servername: small-fright-gt
INFO[0005]
INFO[0005] 16e5
INFO[0005] {
INFO[0005] "22a77294-4121-4f86-844a-6d5e8f21bd68": {
INFO[0005] "attachmentState": 3,
INFO[0005] "availabilityZone": "nova",
INFO[0005] "name": "xxx",
INFO[0005] "size": 1,
INFO[0005] "status": "available",
INFO[0005] "id": "22a77294-4121-4f86-844a-6d5e8f21bd68",
INFO[0005] "type": "classic"
INFO[0005] },
INFO[0005] "4e430035-a18c-4f24-a8bc-2b74dc8019a3": {
INFO[0005] "attachmentState": 3,
INFO[0005] "availabilityZone": "nova",
INFO[0005] "name": "xxx",
INFO[0005] "size": 1,
INFO[0005] "status": "available",
INFO[0005] "id": "4e430035-a18c-4f24-a8bc-2b74dc8019a3",
INFO[0005] "type": "classic"
INFO[0005] },
INFO[0005] "4f70a93f-2792-41bd-b4e5-a5009a45b4fd": {
INFO[0005] "attachmentState": 3,
INFO[0005] "availabilityZone": "nova",
INFO[0005] "name": "xxx",
INFO[0005] "size": 1,
INFO[0005] "status": "available",
INFO[0005] "id": "4f70a93f-2792-41bd-b4e5-a5009a45b4fd",
INFO[0005] "type": "classic"
INFO[0005] },
INFO[0005] "52c65efe-d3fa-440a-8627-fe2a9f82b5fa": {
INFO[0005] "attachments": [
INFO[0005] {
INFO[0005] "deviceName": "/dev/sdb",
INFO[0005] "instanceID": {
INFO[0005] "id": "a244e5a5-6426-45a1-80ca-a91d45c01466",
INFO[0005] "driver": "cinder",
INFO[0005] "service": ""
INFO[0005] },
INFO[0005] "status": "",
INFO[0005] "volumeID": "52c65efe-d3fa-440a-8627-fe2a9f82b5fa"
INFO[0005] }
INFO[0005] ],
INFO[0005] "attachmentState": 2,
INFO[0005] "availabilityZone": "nova",
INFO[0005] "name": "xxx",
INFO[0005] "size": 20,
INFO[0005] "status": "in-use",
INFO[0005] "id": "52c65efe-d3fa-440a-8627-fe2a9f82b5fa",
INFO[0005] "type": "classic"
INFO[0005] },
INFO[0005] "5569888b-5d88-4a57-92bb-9dd1d0d71395": {
INFO[0005] "attachments": [
INFO[0005] {
INFO[0005] "deviceName": "/dev/sdi",
INFO[0005] "instanceID": {
INFO[0005] "id": "a244e5a5-6426-45a1-80ca-a91d45c01466",
INFO[0005] "driver": "cinder",
INFO[0005] "service": ""
INFO[0005] },
INFO[0005] "status": "",
INFO[0005] "volumeID": "5569888b-5d88-4a57-92bb-9dd1d0d71395"
INFO[0005] }
INFO[0005] ],
INFO[0005] "attachmentState": 2,
INFO[0005] "availabilityZone": "nova",
INFO[0005] "name": "xxx",
INFO[0005] "size": 1,
INFO[0005] "status": "in-use",
INFO[0005] "id": "5569888b-5d88-4a57-92bb-9dd1d0d71395",
INFO[0005] "type": "classic"
INFO[0005] },
INFO[0005] "6e79fb94-862e-4c50-b187-88a66d3a3621": {
INFO[0005] "attachments": [
INFO[0005] {
INFO[0005] "deviceName": "/dev/sdn",
INFO[0005] "instanceID": {
INFO[0005] "id": "a244e5a5-6426-45a1-80ca-a91d45c01466",
INFO[0005] "driver": "cinder",
INFO[0005] "service": ""
INFO[0005] },
INFO[0005] "status": "",
INFO[0005] "volumeID": "6e79fb94-862e-4c50-b187-88a66d3a3621"
INFO[0005] }
INFO[0005] ],
INFO[0005] "attachmentState": 2,
INFO[0005] "availabilityZone": "nova",
INFO[0005] "name": "xxx",
INFO[0005] "size": 1,
INFO[0005] "status": "in-use",
INFO[0005] "id": "6e79fb94-862e-4c50-b187-88a66d3a3621",
INFO[0005] "type": "high-speed"
INFO[0005] },
INFO[0005] "85ca1031-b162-4396-9e03-278ec0e3e662": {
INFO[0005] "attachmentState": 3,
INFO[0005] "availabilityZone": "nova",
INFO[0005] "name": "xxx",
INFO[0005] "size": 15,
INFO[0005] "status": "available",
INFO[0005] "id": "85ca1031-b162-4396-9e03-278ec0e3e662",
INFO[0005] "type": "classic"
INFO[0005] },
INFO[0005] "91814765-6a26-487f-9f5a-518de0b8c91d": {
INFO[0005] "attachments": [
INFO[0005] {
INFO[0005] "deviceName": "/dev/sdf",
INFO[0005] "instanceID": {
INFO[0005] "id": "a244e5a5-6426-45a1-80ca-a91d45c01466",
INFO[0005] "driver": "cinder",
INFO[0005] "service": ""
INFO[0005] },
INFO[0005] "status": "",
INFO[0005] "volumeID": "91814765-6a26-487f-9f5a-518de0b8c91d"
INFO[0005] }
INFO[0005] ],
INFO[0005] "attachmentState": 2,
INFO[0005] "availabilityZone": "nova",
INFO[0005] "name": "xxx",
INFO[0005] "size": 1,
INFO[0005] "status": "in-use",
INFO[0005] "id": "91814765-6a26-487f-9f5a-518de0b8c91d",
INFO[0005] "type": "classic"
INFO[0005] },
INFO[0005] "932398af-a277-4b57-b50b-28609b362e22": {
INFO[0005] "attachmentState": 3,
INFO[0005] "availabilityZone": "nova",
INFO[0005] "name": "xxx",
INFO[0005] "size": 1,
INFO[0005] "status": "available",
INFO[0005] "id": "932398af-a277-4b57-b50b-28609b362e22",
INFO[0005] "type": "classic"
INFO[0005] },
INFO[0005] "a317df38-359c-4e41-be4c-a90a8141a33d": {
INFO[0005] "attachments": [
INFO[0005] {
INFO[0005] "deviceName": "/dev/sdc",
INFO[0005] "instanceID": {
INFO[0005] "id": "a244e5a5-6426-45a1-80ca-a91d45c01466",
INFO[0005] "driver": "cinder",
INFO[0005] "service": ""
INFO[0005] },
INFO[0005] "status": "",
INFO[0005] "volumeID": "a317df38-359c-4e41-be4c-a90a8141a33d"
INFO[0005] }
INFO[0005] ],
INFO[0005] "attachmentState": 2,
INFO[0005] "availabilityZone": "nova",
INFO[0005] "name": "xxx",
INFO[0005] "size": 1,
INFO[0005] "status": "in-use",
INFO[0005] "id": "a317df38-359c-4e41-be4c-a90a8141a33d",
INFO[0005] "type": "classic"
INFO[0005] },
INFO[0005] "bd9eb723-2846-4ed1-88f8-46e9079324bc": {
INFO[0005] "attachments": [
INFO[0005] {
INFO[0005] "deviceName": "/dev/sdg",
INFO[0005] "instanceID": {
INFO[0005] "id": "a244e5a5-6426-45a1-80ca-a91d45c01466",
INFO[0005] "driver": "cinder",
INFO[0005] "service": ""
INFO[0005] },
INFO[0005] "status": "",
INFO[0005] "volumeID": "bd9eb723-2846-4ed1-88f8-46e9079324bc"
INFO[0005] }
INFO[0005] ],
INFO[0005] "attachmentState": 2,
INFO[0005] "availabilityZone": "nova",
INFO[0005] "name": "xxx",
INFO[0005] "size": 20,
INFO[0005] "status": "in-use",
INFO[0005] "id": "bd9eb723-2846-4ed1-88f8-46e9079324bc",
INFO[0005] "type": "classic"
INFO[0005] },
INFO[0005] "c171d33d-5f9e-4876-b112-9265dfda0fd5": {
INFO[0005] "attachmentState": 3,
INFO[0005] "availabilityZone": "nova",
INFO[0005] "name": "test",
INFO[0005] "size": 1,
INFO[0005] "status": "available",
INFO[0005] "id": "c171d33d-5f9e-4876-b112-9265dfda0fd5",
INFO[0005] "type": "classic"
INFO[0005] },
INFO[0005] "cf88c714-693a-4151-9fd3-77b218333864": {
INFO[0005] "attachmentState": 3,
INFO[0005] "availabilityZone": "nova",
INFO[0005] "name": "xxx",
INFO[0005] "size": 50,
INFO[0005] "status": "available",
INFO[0005] "id": "cf88c714-693a-4151-9fd3-77b218333864",
INFO[0005] "type": "classic"
INFO[0005] },
INFO[0005] "de409803-70eb-4315-80f8-af6e42deca4e": {
INFO[0005] "attachmentState": 3,
INFO[0005] "availabilityZone": "nova",
INFO[0005] "name": "xxx",
INFO[0005] "size": 250,
INFO[0005] "status": "available",
INFO[0005] "id": "de409803-70eb-4315-80f8-af6e42deca4e",
INFO[0005] "type": "classic"
INFO[0005] },
INFO[0005] "f35d8023-13ef-483a-84af-23440862ed4b": {
INFO[0005] "attachments": [
INFO[0005] {
INFO[0005] "deviceName": "/dev/sdm",
INFO[0005] "instanceID": {
INFO[0005] "id": "a244e5a5-6426-45a1-80ca-a91d45c01466",
INFO[0005] "driver": "cinder",
INFO[0005] "service": ""
INFO[0005] },
INFO[0005] "status": "",
INFO[0005] "volumeID": "f35d8023-13ef-483a-84af-23440862ed4b"
INFO[0005] }
INFO[0005] ],
INFO[0005] "attachmentState": 2,
INFO[0005] "availabilityZone": "nova",
INFO[0005] "name": "xxx",
INFO[0005] "size": 1,
INFO[0005] "status": "in-use",
INFO[0005] "id": "f35d8023-13ef-483a-84af-23440862ed4b",
INFO[0005] "type": "high-speed"
INFO[0005] }
INFO[0005] }
INFO[0005] 0
INFO[0005]
DEBU[0005] mounting volume host=unix:///var/run/rexray/232197648.sock opts=&{OverwriteFS:false NewFSType: Preempt:false Opts:<nil>} time=1551204655610 volumeID=c171d33d-5f9e-4876-b112-9265dfda0fd5 volumeName=
INFO[0005] mounting volume host=unix:///var/run/rexray/232197648.sock integrationDriver=linux opts=&{OverwriteFS:false NewFSType: Preempt:false Opts:<nil>} osDriver=linux service=cinder storageDriver=libstorage time=1551204655611 volumeID=c171d33d-5f9e-4876-b112-9265dfda0fd5 volumeName=
DEBU[0005] xli localdevices success host=unix:///var/run/rexray/232197648.sock instanceID=cinder=a244e5a5-6426-45a1-80ca-a91d45c01466 integrationDriver=linux osDriver=linux server=small-fright-gt service=cinder storageDriver=libstorage time=1551204655611 txCR=1551204655 txID=736df322-e9cc-4f8f-5f34-807024602db7
INFO[0005]
INFO[0005] -------------------------- HTTP REQUEST (CLIENT) -------------------------
INFO[0005] GET /volumes/cinder/c171d33d-5f9e-4876-b112-9265dfda0fd5?attachments=31 HTTP/1.1
INFO[0005] Host: libstorage-server
INFO[0005] Libstorage-Instanceid: cinder=a244e5a5-6426-45a1-80ca-a91d45c01466
INFO[0005] Libstorage-Localdevices: cinder=/dev/dm-0::,/dev/dm-1::,/dev/sda::,/dev/sda1::,/dev/sda2::,/dev/sda3::,/dev/sdb::,/dev/sdc::,/dev/sdf::,/dev/sdg::,/dev/sdi::,/dev/sdm::,/dev/sdn::
INFO[0005] Libstorage-Tx: txID=736df322-e9cc-4f8f-5f34-807024602db7, txCR=1551204655
INFO[0005]
INFO[0005]
INFO[0005] -------------------------- HTTP RESPONSE (CLIENT) -------------------------
INFO[0005] HTTP/1.1 200 OK
INFO[0005] Content-Length: 181
INFO[0005] Content-Type: application/json
INFO[0005] Date: Tue, 26 Feb 2019 18:10:55 GMT
INFO[0005] Libstorage-Servername: small-fright-gt
INFO[0005]
INFO[0005] {
INFO[0005] "attachmentState": 3,
INFO[0005] "availabilityZone": "nova",
INFO[0005] "name": "test",
INFO[0005] "size": 1,
INFO[0005] "status": "available",
INFO[0005] "id": "c171d33d-5f9e-4876-b112-9265dfda0fd5",
INFO[0005] "type": "classic"
INFO[0005] }
DEBU[0005] performing precautionary unmount host=unix:///var/run/rexray/232197648.sock integrationDriver=linux osDriver=linux service=cinder storageDriver=libstorage time=1551204655701
DEBU[0005] xli localdevices success host=unix:///var/run/rexray/232197648.sock instanceID=cinder=a244e5a5-6426-45a1-80ca-a91d45c01466 integrationDriver=linux osDriver=linux server=small-fright-gt service=cinder storageDriver=libstorage time=1551204655703 txCR=1551204655 txID=fc1696a2-a26a-45fb-7977-3043cffea04c
INFO[0005]
INFO[0005] -------------------------- HTTP REQUEST (CLIENT) -------------------------
INFO[0005] POST /volumes/cinder/c171d33d-5f9e-4876-b112-9265dfda0fd5?attach HTTP/1.1
INFO[0005] Host: libstorage-server
INFO[0005] Libstorage-Instanceid: cinder=a244e5a5-6426-45a1-80ca-a91d45c01466
INFO[0005] Libstorage-Localdevices: cinder=/dev/dm-0::,/dev/dm-1::,/dev/sda::,/dev/sda1::,/dev/sda2::,/dev/sda3::,/dev/sdb::,/dev/sdc::,/dev/sdf::,/dev/sdg::,/dev/sdi::,/dev/sdm::,/dev/sdn::
INFO[0005] Libstorage-Tx: txID=fc1696a2-a26a-45fb-7977-3043cffea04c, txCR=1551204655
INFO[0005]
INFO[0005] {}
INFO[0007]
INFO[0007] -------------------------- HTTP RESPONSE (CLIENT) -------------------------
INFO[0007] HTTP/1.1 200 OK
INFO[0007] Content-Length: 543
INFO[0007] Content-Type: application/json
INFO[0007] Date: Tue, 26 Feb 2019 18:10:57 GMT
INFO[0007] Libstorage-Servername: small-fright-gt
INFO[0007]
INFO[0007] {
INFO[0007] "volume": {
INFO[0007] "attachments": [
INFO[0007] {
INFO[0007] "deviceName": "/dev/sdd",
INFO[0007] "instanceID": {
INFO[0007] "id": "a244e5a5-6426-45a1-80ca-a91d45c01466",
INFO[0007] "driver": "cinder",
INFO[0007] "service": ""
INFO[0007] },
INFO[0007] "status": "",
INFO[0007] "volumeID": "c171d33d-5f9e-4876-b112-9265dfda0fd5"
INFO[0007] }
INFO[0007] ],
INFO[0007] "attachmentState": 2,
INFO[0007] "availabilityZone": "nova",
INFO[0007] "name": "test",
INFO[0007] "size": 1,
INFO[0007] "status": "in-use",
INFO[0007] "id": "c171d33d-5f9e-4876-b112-9265dfda0fd5",
INFO[0007] "type": "classic"
INFO[0007] },
INFO[0007] "attachToken": "/dev/sdd"
INFO[0007] }
DEBU[0008] xli waitfordevice success host=unix:///var/run/rexray/232197648.sock integrationDriver=linux osDriver=linux server=small-fright-gt service=cinder storageDriver=libstorage time=1551204658004 txCR=1551204657 txID=cd0611c4-c87a-4bc1-7c93-16d95c3875fc
DEBU[0008] xli localdevices success host=unix:///var/run/rexray/232197648.sock instanceID=cinder=a244e5a5-6426-45a1-80ca-a91d45c01466 integrationDriver=linux osDriver=linux server=small-fright-gt service=cinder storageDriver=libstorage time=1551204658004 txCR=1551204658 txID=7a9fea2d-d476-440c-5697-af23816f7f4d
INFO[0008]
INFO[0008] -------------------------- HTTP REQUEST (CLIENT) -------------------------
INFO[0008] GET /volumes/cinder/c171d33d-5f9e-4876-b112-9265dfda0fd5?attachments=15 HTTP/1.1
INFO[0008] Host: libstorage-server
INFO[0008] Libstorage-Instanceid: cinder=a244e5a5-6426-45a1-80ca-a91d45c01466
INFO[0008] Libstorage-Localdevices: cinder=/dev/dm-0::,/dev/dm-1::,/dev/sda::,/dev/sda1::,/dev/sda2::,/dev/sda3::,/dev/sdb::,/dev/sdc::,/dev/sdd::,/dev/sdf::,/dev/sdg::,/dev/sdi::,/dev/sdm::,/dev/sdn::
INFO[0008] Libstorage-Tx: txID=7a9fea2d-d476-440c-5697-af23816f7f4d, txCR=1551204658
INFO[0008]
INFO[0008]
INFO[0008] -------------------------- HTTP RESPONSE (CLIENT) -------------------------
INFO[0008] HTTP/1.1 200 OK
INFO[0008] Content-Length: 458
INFO[0008] Content-Type: application/json
INFO[0008] Date: Tue, 26 Feb 2019 18:10:58 GMT
INFO[0008] Libstorage-Servername: small-fright-gt
INFO[0008]
INFO[0008] {
INFO[0008] "attachments": [
INFO[0008] {
INFO[0008] "deviceName": "/dev/sdd",
INFO[0008] "instanceID": {
INFO[0008] "id": "a244e5a5-6426-45a1-80ca-a91d45c01466",
INFO[0008] "driver": "cinder",
INFO[0008] "service": ""
INFO[0008] },
INFO[0008] "status": "",
INFO[0008] "volumeID": "c171d33d-5f9e-4876-b112-9265dfda0fd5"
INFO[0008] }
INFO[0008] ],
INFO[0008] "attachmentState": 2,
INFO[0008] "availabilityZone": "nova",
INFO[0008] "name": "test",
INFO[0008] "size": 1,
INFO[0008] "status": "in-use",
INFO[0008] "id": "c171d33d-5f9e-4876-b112-9265dfda0fd5",
INFO[0008] "type": "classic"
INFO[0008] }
INFO[0008]
INFO[0008] -------------------------- HTTP REQUEST (CLIENT) -------------------------
INFO[0008] GET /services/cinder?instance HTTP/1.1
INFO[0008] Host: libstorage-server
INFO[0008] Libstorage-Instanceid: cinder=a244e5a5-6426-45a1-80ca-a91d45c01466
INFO[0008] Libstorage-Tx: txID=4623d260-9e05-47a8-4862-527e7b3b6e6c, txCR=1551204658
INFO[0008]
INFO[0008]
INFO[0008] -------------------------- HTTP RESPONSE (CLIENT) -------------------------
INFO[0008] HTTP/1.1 200 OK
INFO[0008] Content-Length: 252
INFO[0008] Content-Type: application/json
INFO[0008] Date: Tue, 26 Feb 2019 18:10:58 GMT
INFO[0008] Libstorage-Servername: small-fright-gt
INFO[0008]
INFO[0008] {
INFO[0008] "name": "cinder",
INFO[0008] "instance": {
INFO[0008] "instanceID": {
INFO[0008] "id": "a244e5a5-6426-45a1-80ca-a91d45c01466",
INFO[0008] "driver": "cinder",
INFO[0008] "service": ""
INFO[0008] },
INFO[0008] "providerName": ""
INFO[0008] },
INFO[0008] "driver": {
INFO[0008] "name": "cinder",
INFO[0008] "type": "block"
INFO[0008] }
INFO[0008] }
INFO[0008] probe information deviceName=/dev/sdd driverName=linux fsDetected=true fsType=ext4 host=unix:///var/run/rexray/232197648.sock integrationDriver=linux osDriver=linux overwriteFs=false service=cinder storageDriver=libstorage time=1551204658119
INFO[0008] volume mounted host=unix:///var/run/rexray/232197648.sock integrationDriver=linux mntPath=/var/lib/rexray/volumes/test/data osDriver=linux service=cinder storageDriver=libstorage time=1551204658184 vol=&{Attachments:[0xc4201f4af0] AttachmentState:attached AvailabilityZone:nova Encrypted:false IOPS:0 Name:test NetworkName: Size:1 Status:in-use ID:c171d33d-5f9e-4876-b112-9265dfda0fd5 Type:classic Fields:map[]}
DEBU[0008] set count count=1 host=unix:///var/run/rexray/232197648.sock integrationDriver=linux osDriver=linux service=cinder storageDriver=libstorage time=1551204658184 volumeName=
DEBU[0008] built output template host=unix:///var/run/rexray/232197648.sock template={{define "printJSON"}}{{. | json}}{{end}}{{define "printPrettyJSON"}}{{. | jsonp}}{{end}}{{define "printScriptFields"}}{{.Path}} {{.Installed}} {{.Modified}}{{end}}{{define "printVolumeWithPathFields"}}{{.ID}} {{.Name}} {{.Volume.AttachmentState | printAttState}} {{.Size}} {{.Path}}{{end}}{{define "printEncVolumeFields"}}{{.ID}} {{.Name}} {{.AttachmentState | printAttState}} {{.Size}} {{.Encrypted}}{{end}}{{define "printInstanceFields"}}{{.InstanceID.ID}} {{.Name}} {{.ProviderName}} {{.Region}}{{end}}{{define "printServiceFields"}}{{.Name}} {{.Driver.Name}}{{end}}{{define "printStringSlice"}}{{.}}{{end}}{{define "printVolumeID"}}{{.ID}}{{end}}{{define "printEncVolumeWithPathFields"}}{{.ID}} {{.Name}} {{.Volume.AttachmentState | printAttState}} {{.Size}} {{.Encrypted}} {{.Path}}{{end}}{{define "printSnapshotFields"}}{{.ID}} {{.Name}} {{.Status}} {{.VolumeID}}{{end}}{{define "printMountFields"}}{{.ID}} {{.Source}} {{.MountPoint}}{{end}}{{define "printAuthTokenFields"}}{{.Subject}} {{.IssuedAt}} {{.NotBefore}} {{.Expires}}{{end}}{{define "printObject"}}{{printf "%v" .}}{{end}}{{define "printVolumeFields"}}{{.ID}} {{.Name}} {{.AttachmentState | printAttState}} {{.Size}}{{end}}ID Name Status Size Path
{{range sort .D "Name" }}{{template "printVolumeWithPathFields" .}}
{{end}} time=1551204658184
ID Name Status Size Path
c171d33d-5f9e-4876-b112-9265dfda0fd5 test attached 1 /var/lib/rexray/volumes/test/data
DEBU[0008] waiting until libStorage is stopped host=unix:///var/run/rexray/232197648.sock time=1551204658185
DEBU[0008] done waiting on err chan; err chan is nil host=unix:///var/run/rexray/232197648.sock time=1551204658185
DEBU[0008] completed cli execution time=1551204658185
INFO[0008] exiting process time=1551204658185
DEBU[0008] completed onExit at end of program time=1551204658185
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment