Skip to content

Instantly share code, notes, and snippets.

@clintkitson
Created October 13, 2017 15:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save clintkitson/91ffb6355d090b46a7bad658492a3ad0 to your computer and use it in GitHub Desktop.
Save clintkitson/91ffb6355d090b46a7bad658492a3ad0 to your computer and use it in GitHub Desktop.
root@ip-172-31-24-81:/home/ubuntu# docker volume create -d rexray -o size=10000,type=io1,iops=10 test6
DEBU[0494] /VolumeDriver.Get host=unix:///var/run/rexray/962956160.sock integrationDriver=linux osDriver=linux pluginResponse={Name:test6 Opts:map[]} service=ec2 storageDriver=libstorage time=1507910334396
DEBU[0494] inspecting volume host=unix:///var/run/rexray/962956160.sock integrationDriver=linux opts=map[] osDriver=linux service=ec2 storageDriver=libstorage time=1507910334397 volumeName=test6
INFO[0494] inspecting volume host=unix:///var/run/rexray/962956160.sock integrationDriver=linux opts=map[] osDriver=linux service=ec2 storageDriver=libstorage time=1507910334397 volumeName=test6
DEBU[0494] executor using large device range: false
DEBU[0494] xli localdevices success host=unix:///var/run/rexray/962956160.sock instanceID=ec2=i-0a0b15a7edd48739f,availabilityZone=us-west-1c&region=us-west-1 integrationDriver=linux osDriver=linux server=apricot-servant-lc service=ec2 storageDriver=libstorage time=1507910334750 txCR=1507910334 txID=cdf97f22-6b4b-4503-663e-a88733d1d549
INFO[0494] http request host=unix:///var/run/rexray/962956160.sock route=volumeInspect server=apricot-servant-lc time=1507910334750 tls=false
DEBU[0494] added route middleware host=unix:///var/run/rexray/962956160.sock middleware=schema-validator route=volumeInspect server=apricot-servant-lc time=1507910334750 tls=false
DEBU[0494] added route middleware host=unix:///var/run/rexray/962956160.sock middleware=storage-session-handler route=volumeInspect server=apricot-servant-lc time=1507910334750 tls=false
DEBU[0494] added route middleware host=unix:///var/run/rexray/962956160.sock middleware=auth-svc-handler route=volumeInspect server=apricot-servant-lc time=1507910334750 tls=false
DEBU[0494] added route middleware host=unix:///var/run/rexray/962956160.sock middleware=service-validator route=volumeInspect server=apricot-servant-lc time=1507910334750 tls=false
DEBU[0494] added global middleware host=unix:///var/run/rexray/962956160.sock middleware=transaction-handler route=volumeInspect server=apricot-servant-lc time=1507910334751 tls=false
DEBU[0494] added global middleware host=unix:///var/run/rexray/962956160.sock middleware=local-devices-handler route=volumeInspect server=apricot-servant-lc time=1507910334751 tls=false
DEBU[0494] added global middleware host=unix:///var/run/rexray/962956160.sock middleware=instanceIDs-handler route=volumeInspect server=apricot-servant-lc time=1507910334751 tls=false
DEBU[0494] added global middleware host=unix:///var/run/rexray/962956160.sock middleware=auth-global-handler route=volumeInspect server=apricot-servant-lc time=1507910334751 tls=false
DEBU[0494] added global middleware host=unix:///var/run/rexray/962956160.sock middleware=error-handler route=volumeInspect server=apricot-servant-lc time=1507910334751 tls=false
DEBU[0494] added global middleware host=unix:///var/run/rexray/962956160.sock middleware=transaction-handler route=volumeInspect server=apricot-servant-lc time=1507910334751 tls=false
DEBU[0494] added global middleware host=unix:///var/run/rexray/962956160.sock middleware=query-params-handler route=volumeInspect server=apricot-servant-lc time=1507910334751 tls=false
DEBU[0494] query param host=unix:///var/run/rexray/962956160.sock key=attachments len(value)=1 route=volumeInspect server=apricot-servant-lc time=1507910334751 tls=false value=[0]
DEBU[0494] query param host=unix:///var/run/rexray/962956160.sock key=byName len(value)=1 route=volumeInspect server=apricot-servant-lc time=1507910334751 tls=false value=[]
DEBU[0494] http header Libstorage-Tx=txID=cdf97f22-6b4b-4503-663e-a88733d1d549, txCR=1507910334 host=unix:///var/run/rexray/962956160.sock route=volumeInspect server=apricot-servant-lc time=1507910334751 tls=false
DEBU[0494] skipping global auth handler; empty allow & deny lists host=unix:///var/run/rexray/962956160.sock route=volumeInspect server=apricot-servant-lc time=1507910334751 tls=false txCR=1507910334 txID=cdf97f22-6b4b-4503-663e-a88733d1d549
DEBU[0494] http header Libstorage-Instanceid=[ec2=i-0a0b15a7edd48739f,availabilityZone=us-west-1c&region=us-west-1] host=unix:///var/run/rexray/962956160.sock route=volumeInspect server=apricot-servant-lc time=1507910334751 tls=false txCR=1507910334 txID=cdf97f22-6b4b-4503-663e-a88733d1d549
DEBU[0494] http header Libstorage-Localdevices=[ec2=] host=unix:///var/run/rexray/962956160.sock route=volumeInspect server=apricot-servant-lc time=1507910334751 tls=false txCR=1507910334 txID=cdf97f22-6b4b-4503-663e-a88733d1d549
DEBU[0494] getting storage service host=unix:///var/run/rexray/962956160.sock route=volumeInspect server=apricot-servant-lc service=ec2 time=1507910334752 tls=false txCR=1507910334 txID=cdf97f22-6b4b-4503-663e-a88733d1d549
DEBU[0494] skipping svc auth handler; empty allow & deny lists host=unix:///var/run/rexray/962956160.sock instanceID=ec2=i-0a0b15a7edd48739f,availabilityZone=us-west-1c&region=us-west-1 route=volumeInspect server=apricot-servant-lc service=ec2 storageDriver=ec2 time=1507910334752 tls=false txCR=1507910334 txID=cdf97f22-6b4b-4503-663e-a88733d1d549
DEBU[0494] using cached ebs service cacheKey=82e2e20fdd4dde71b0c658060ed53dba
DEBU[0494] getting task service host=unix:///var/run/rexray/962956160.sock instanceID=ec2=i-0a0b15a7edd48739f,availabilityZone=us-west-1c&region=us-west-1 route=volumeInspect server=apricot-servant-lc service=ec2 storageDriver=ec2 time=1507910334752 tls=false txCR=1507910334 txID=cdf97f22-6b4b-4503-663e-a88733d1d549
DEBU[0494] getting task service host=unix:///var/run/rexray/962956160.sock instanceID=ec2=i-0a0b15a7edd48739f,availabilityZone=us-west-1c&region=us-west-1 route=volumeInspect server=apricot-servant-lc service=ec2 storageDriver=ec2 time=1507910334756 tls=false txCR=1507910334 txID=cdf97f22-6b4b-4503-663e-a88733d1d549
INFO[0494] executing task host=unix:///var/run/rexray/962956160.sock instanceID=ec2=i-0a0b15a7edd48739f,availabilityZone=us-west-1c&region=us-west-1 route=volumeInspect server=apricot-servant-lc service=ec2 storageDriver=ec2 task=0 time=1507910334756 tls=false txCR=1507910334 txID=cdf97f22-6b4b-4503-663e-a88733d1d549
DEBU[0494] driver is not StorageDriverVolInspectByName host=unix:///var/run/rexray/962956160.sock instanceID=ec2=i-0a0b15a7edd48739f,availabilityZone=us-west-1c&region=us-west-1 route=volumeInspect server=apricot-servant-lc service=ec2 storageDriver=ec2 task=0 time=1507910334756 tls=false txCR=1507910334 txID=cdf97f22-6b4b-4503-663e-a88733d1d549
ERRO[0494] resource not found host=unix:///var/run/rexray/962956160.sock instanceID=ec2=i-0a0b15a7edd48739f,availabilityZone=us-west-1c&region=us-west-1 resourceID=test6 route=volumeInspect server=apricot-servant-lc service=ec2 storageDriver=ec2 task=0 time=1507910334806 tls=false txCR=1507910334 txID=cdf97f22-6b4b-4503-663e-a88733d1d549
DEBU[0494] task completed host=unix:///var/run/rexray/962956160.sock instanceID=ec2=i-0a0b15a7edd48739f,availabilityZone=us-west-1c&region=us-west-1 route=volumeInspect server=apricot-servant-lc service=ec2 storageDriver=ec2 task=0 time=1507910334806 tls=false txCR=1507910334 txID=cdf97f22-6b4b-4503-663e-a88733d1d549
ERRO[0494] error: api call failed error.resourceID=test6 host=unix:///var/run/rexray/962956160.sock route=volumeInspect server=apricot-servant-lc time=1507910334807 tls=false txCR=1507910334 txID=cdf97f22-6b4b-4503-663e-a88733d1d549
DEBU[0494] api call error json apiErr={"message":"resource not found","status":404,"error":{"resourceID":"test6"}} host=unix:///var/run/rexray/962956160.sock route=volumeInspect server=apricot-servant-lc time=1507910334807 tls=false txCR=1507910334 txID=cdf97f22-6b4b-4503-663e-a88733d1d549
DEBU[0494] removing task host=unix:///var/run/rexray/962956160.sock instanceID=ec2=i-0a0b15a7edd48739f,availabilityZone=us-west-1c&region=us-west-1 removedAfter=0s route=volumeInspect server=apricot-servant-lc service=ec2 storageDriver=ec2 task=0 tasksLen=1 time=1507910334811 tls=false txCR=1507910334 txID=cdf97f22-6b4b-4503-663e-a88733d1d549
DEBU[0494] removed task host=unix:///var/run/rexray/962956160.sock instanceID=ec2=i-0a0b15a7edd48739f,availabilityZone=us-west-1c&region=us-west-1 route=volumeInspect server=apricot-servant-lc service=ec2 storageDriver=ec2 task=0 tasksLen=0 time=1507910334811 tls=false txCR=1507910334 txID=cdf97f22-6b4b-4503-663e-a88733d1d549
ERRO[0494] /VolumeDriver.Get: error getting volume error.status=404 error.inner.resourceID=test6 host=unix:///var/run/rexray/962956160.sock integrationDriver=linux osDriver=linux service=ec2 storageDriver=libstorage time=1507910334812
DEBU[0494] /VolumeDriver.Create host=unix:///var/run/rexray/962956160.sock integrationDriver=linux osDriver=linux pluginResponse={Name:test6 Opts:map[size:10000,type=io1,iops=10]} service=ec2 storageDriver=libstorage time=1507910334812
DEBU[0494] creating volume host=unix:///var/run/rexray/962956160.sock integrationDriver=linux opts=&{AvailabilityZone:<nil> IOPS:<nil> Size:<nil> Type:<nil> Encrypted:<nil> EncryptionKey:<nil> Opts:map[size:10000,type=io1,iops=10]} osDriver=linux service=ec2 storageDriver=libstorage time=1507910334812 volumeName=test6
INFO[0495] creating volume IOPS=0 availabilityZone= encrypted=<nil> encryptionKey=<nil> host=unix:///var/run/rexray/962956160.sock integrationDriver=linux opts=&{AvailabilityZone:<nil> IOPS:<nil> Size:<nil> Type:<nil> Encrypted:<nil> EncryptionKey:<nil> Opts:map[size:10000,type=io1,iops=10]} osDriver=linux service=ec2 size=0 storageDriver=libstorage time=1507910334910 volumeName=test6 volumeType=
DEBU[0495] executor using large device range: false
DEBU[0495] xli localdevices success host=unix:///var/run/rexray/962956160.sock instanceID=ec2=i-0a0b15a7edd48739f,availabilityZone=us-west-1c&region=us-west-1 integrationDriver=linux osDriver=linux server=apricot-servant-lc service=ec2 storageDriver=libstorage time=1507910335269 txCR=1507910334 txID=3508d6ac-5cfd-41ed-5cfd-4ed73bae23b6
INFO[0495] http request host=unix:///var/run/rexray/962956160.sock route=volumeCreate server=apricot-servant-lc time=1507910335269 tls=false
DEBU[0495] added route middleware host=unix:///var/run/rexray/962956160.sock middleware=post-args-handler route=volumeCreate server=apricot-servant-lc time=1507910335270 tls=false
DEBU[0495] added route middleware host=unix:///var/run/rexray/962956160.sock middleware=schema-validator route=volumeCreate server=apricot-servant-lc time=1507910335270 tls=false
DEBU[0495] added route middleware host=unix:///var/run/rexray/962956160.sock middleware=storage-session-handler route=volumeCreate server=apricot-servant-lc time=1507910335270 tls=false
DEBU[0495] added route middleware host=unix:///var/run/rexray/962956160.sock middleware=auth-svc-handler route=volumeCreate server=apricot-servant-lc time=1507910335270 tls=false
DEBU[0495] added route middleware host=unix:///var/run/rexray/962956160.sock middleware=service-validator route=volumeCreate server=apricot-servant-lc time=1507910335270 tls=false
DEBU[0495] added global middleware host=unix:///var/run/rexray/962956160.sock middleware=transaction-handler route=volumeCreate server=apricot-servant-lc time=1507910335270 tls=false
DEBU[0495] added global middleware host=unix:///var/run/rexray/962956160.sock middleware=local-devices-handler route=volumeCreate server=apricot-servant-lc time=1507910335270 tls=false
DEBU[0495] added global middleware host=unix:///var/run/rexray/962956160.sock middleware=instanceIDs-handler route=volumeCreate server=apricot-servant-lc time=1507910335270 tls=false
DEBU[0495] added global middleware host=unix:///var/run/rexray/962956160.sock middleware=auth-global-handler route=volumeCreate server=apricot-servant-lc time=1507910335270 tls=false
DEBU[0495] added global middleware host=unix:///var/run/rexray/962956160.sock middleware=error-handler route=volumeCreate server=apricot-servant-lc time=1507910335270 tls=false
DEBU[0495] added global middleware host=unix:///var/run/rexray/962956160.sock middleware=transaction-handler route=volumeCreate server=apricot-servant-lc time=1507910335270 tls=false
DEBU[0495] added global middleware host=unix:///var/run/rexray/962956160.sock middleware=query-params-handler route=volumeCreate server=apricot-servant-lc time=1507910335270 tls=false
DEBU[0495] http header Libstorage-Tx=txID=3508d6ac-5cfd-41ed-5cfd-4ed73bae23b6, txCR=1507910334 host=unix:///var/run/rexray/962956160.sock route=volumeCreate server=apricot-servant-lc time=1507910335270 tls=false
DEBU[0495] skipping global auth handler; empty allow & deny lists host=unix:///var/run/rexray/962956160.sock route=volumeCreate server=apricot-servant-lc time=1507910335271 tls=false txCR=1507910334 txID=3508d6ac-5cfd-41ed-5cfd-4ed73bae23b6
DEBU[0495] http header Libstorage-Instanceid=[ec2=i-0a0b15a7edd48739f,availabilityZone=us-west-1c&region=us-west-1] host=unix:///var/run/rexray/962956160.sock route=volumeCreate server=apricot-servant-lc time=1507910335271 tls=false txCR=1507910334 txID=3508d6ac-5cfd-41ed-5cfd-4ed73bae23b6
DEBU[0495] http header Libstorage-Localdevices=[ec2=] host=unix:///var/run/rexray/962956160.sock route=volumeCreate server=apricot-servant-lc time=1507910335271 tls=false txCR=1507910334 txID=3508d6ac-5cfd-41ed-5cfd-4ed73bae23b6
DEBU[0495] getting storage service host=unix:///var/run/rexray/962956160.sock route=volumeCreate server=apricot-servant-lc service=ec2 time=1507910335271 tls=false txCR=1507910334 txID=3508d6ac-5cfd-41ed-5cfd-4ed73bae23b6
DEBU[0495] skipping svc auth handler; empty allow & deny lists host=unix:///var/run/rexray/962956160.sock instanceID=ec2=i-0a0b15a7edd48739f,availabilityZone=us-west-1c&region=us-west-1 route=volumeCreate server=apricot-servant-lc service=ec2 storageDriver=ec2 time=1507910335271 tls=false txCR=1507910334 txID=3508d6ac-5cfd-41ed-5cfd-4ed73bae23b6
DEBU[0495] using cached ebs service cacheKey=82e2e20fdd4dde71b0c658060ed53dba
DEBU[0495] validating schema body={"name":"test6","availabilityZone":"","iops":0,"size":0,"type":"","opts":{"size":"10000,type=io1,iops=10"}} host=unix:///var/run/rexray/962956160.sock instanceID=ec2=i-0a0b15a7edd48739f,availabilityZone=us-west-1c&region=us-west-1 route=volumeCreate schema={
"$schema": "http://json-schema.org/draft-04/schema#",
"$ref": "https://github.com/codedellemc/libstorage#/definitions/volumeCreateRequest"
} server=apricot-servant-lc service=ec2 storageDriver=ec2 time=1507910335271 tls=false txCR=1507910334 txID=3508d6ac-5cfd-41ed-5cfd-4ed73bae23b6
DEBU[0495] getting task service host=unix:///var/run/rexray/962956160.sock instanceID=ec2=i-0a0b15a7edd48739f,availabilityZone=us-west-1c&region=us-west-1 route=volumeCreate server=apricot-servant-lc service=ec2 storageDriver=ec2 time=1507910335279 tls=false txCR=1507910334 txID=3508d6ac-5cfd-41ed-5cfd-4ed73bae23b6
DEBU[0495] getting task service host=unix:///var/run/rexray/962956160.sock instanceID=ec2=i-0a0b15a7edd48739f,availabilityZone=us-west-1c&region=us-west-1 route=volumeCreate server=apricot-servant-lc service=ec2 storageDriver=ec2 time=1507910335286 tls=false txCR=1507910334 txID=3508d6ac-5cfd-41ed-5cfd-4ed73bae23b6
INFO[0495] executing task host=unix:///var/run/rexray/962956160.sock instanceID=ec2=i-0a0b15a7edd48739f,availabilityZone=us-west-1c&region=us-west-1 route=volumeCreate server=apricot-servant-lc service=ec2 storageDriver=ec2 task=0 time=1507910335286 tls=false txCR=1507910334 txID=3508d6ac-5cfd-41ed-5cfd-4ed73bae23b6
DEBU[0495] creating volume availabilityZone=0xc4201aa1c0 host=unix:///var/run/rexray/962956160.sock instanceID=ec2=i-0a0b15a7edd48739f,availabilityZone=us-west-1c&region=us-west-1 iops=0xc4201aa1c8 route=volumeCreate server=apricot-servant-lc service=ec2 size=0xc4201aa1d0 storageDriver=ec2 task=0 time=1507910335286 tls=false txCR=1507910334 txID=3508d6ac-5cfd-41ed-5cfd-4ed73bae23b6 type=0xc4201aa1d8 volumeName=test6
ERRO[0495] error creating volume availabilityZone=0xc4201aa1c0 host=unix:///var/run/rexray/962956160.sock instanceID=ec2=i-0a0b15a7edd48739f,availabilityZone=us-west-1c&region=us-west-1 iops=0xc4201aa1c8 route=volumeCreate server=apricot-servant-lc service=ec2 size=0xc4201aa1d0 storageDriver=ec2 task=0 time=1507910335286 tls=false txCR=1507910334 txID=3508d6ac-5cfd-41ed-5cfd-4ed73bae23b6 type=0xc4201aa1d8 volumeName=test6
ERRO[0495] volume size too small host=unix:///var/run/rexray/962956160.sock instanceID=ec2=i-0a0b15a7edd48739f,availabilityZone=us-west-1c&region=us-west-1 route=volumeCreate server=apricot-servant-lc service=ec2 storageDriver=ec2 task=0 time=1507910335286 tls=false txCR=1507910334 txID=3508d6ac-5cfd-41ed-5cfd-4ed73bae23b6
DEBU[0495] task completed host=unix:///var/run/rexray/962956160.sock instanceID=ec2=i-0a0b15a7edd48739f,availabilityZone=us-west-1c&region=us-west-1 route=volumeCreate server=apricot-servant-lc service=ec2 storageDriver=ec2 task=0 time=1507910335286 tls=false txCR=1507910334 txID=3508d6ac-5cfd-41ed-5cfd-4ed73bae23b6
ERRO[0495] error: api call failed host=unix:///var/run/rexray/962956160.sock route=volumeCreate server=apricot-servant-lc time=1507910335286 tls=false txCR=1507910334 txID=3508d6ac-5cfd-41ed-5cfd-4ed73bae23b6
DEBU[0495] api call error json apiErr={"message":"volume size too small","status":500,"error":"volume size too small"} host=unix:///var/run/rexray/962956160.sock route=volumeCreate server=apricot-servant-lc time=1507910335286 tls=false txCR=1507910334 txID=3508d6ac-5cfd-41ed-5cfd-4ed73bae23b6
DEBU[0495] removing task host=unix:///var/run/rexray/962956160.sock instanceID=ec2=i-0a0b15a7edd48739f,availabilityZone=us-west-1c&region=us-west-1 removedAfter=0s route=volumeCreate server=apricot-servant-lc service=ec2 storageDriver=ec2 task=0 tasksLen=1 time=1507910335290 tls=false txCR=1507910334 txID=3508d6ac-5cfd-41ed-5cfd-4ed73bae23b6
DEBU[0495] removed task host=unix:///var/run/rexray/962956160.sock instanceID=ec2=i-0a0b15a7edd48739f,availabilityZone=us-west-1c&region=us-west-1 route=volumeCreate server=apricot-servant-lc service=ec2 storageDriver=ec2 task=0 tasksLen=0 time=1507910335290 tls=false txCR=1507910334 txID=3508d6ac-5cfd-41ed-5cfd-4ed73bae23b6
ERRO[0495] /VolumeDriver.Create: error creating volume error.status=500 host=unix:///var/run/rexray/962956160.sock integrationDriver=linux osDriver=linux service=ec2 storageDriver=libstorage time=1507910335290
Error response from daemon: create test6: VolumeDriver.Create: {"Error":"volume size too small"}
root@ip-172-31-24-81:/home/ubuntu# docker volume create -d rexray -o size=10000,type=io1,iops=10 test6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment