Skip to content

Instantly share code, notes, and snippets.

@vladimirvivien
Last active May 2, 2017 03:46
Show Gist options
  • Save vladimirvivien/8e564d9d5c7bb7ac64ae3734e403bef7 to your computer and use it in GitHub Desktop.
Save vladimirvivien/8e564d9d5c7bb7ac64ae3734e403bef7 to your computer and use it in GitHub Desktop.
local rexray client/service config

server config

libstorage:
  embedded: true
  host:    tcp://localhost:7979

  logging:
    level: debug
    httpRequests: true
    httpResponse: true

  server:
          #tls: true
    endpoints:
      public:
        address: tcp://:7979
    services:
      vfs:
        driver: vfs

vfs:
  root: /tmp/rexray/vfs

REX-Ray install

> sudo rexray install
Generating server self-signed certificate...
Created cert file /etc/libstorage/tls/libstorage.crt and key /etc/libstorage/tls/libstorage.key
REX-Ray is now installed. Before starting it please check http://github.com/codedellemc/rexray for instructions on how to configure it.

Once configured the REX-Ray service can be started with the command 'sudo systemctl start rexray'.

REX-Ray command (fail)

> sudo rexray device ls -l debug
INFO[0000] updated log level                             logLevel=debug
DEBU[0000] os.args                                       time=1493696451248 val=[rexray device ls -l debug]
DEBU[0000] activating libStorage                         cmd=ls time=1493696451248
DEBU[0000] is local tcp server active                    port=7979 time=1493696451250
DEBU[0000] starting embedded libStorage server           time=1493696451250
DEBU[0000] created scoped scope                          new=libstorage.server parentScopes=rexray,
INFO[0000] configured logging                            libstorage.logging.httpRequests=true libstorage.logging.httpResponses=false libstorage.logging.level=debug server=boulder-kitten-nz time=1493696451261
DEBU[0000] parsed server auth property                   libstorage.server.auth.disabled=false server=boulder-kitten-nz time=1493696451264
DEBU[0000] parsed server auth property                   libstorage.server.auth.key= server=boulder-kitten-nz time=1493696451266
DEBU[0000] parsed server auth property                   libstorage.server.auth.alg=HS256 server=boulder-kitten-nz time=1493696451267
DEBU[0000] parsed server auth property                   libstorage.server.auth.allow=[] server=boulder-kitten-nz time=1493696451270
DEBU[0000] parsed server auth property                   libstorage.server.auth.deny=[] server=boulder-kitten-nz time=1493696451272
INFO[0000] configured global auth                        libstorage.server.auth.alg=HS256 libstorage.server.auth.allow=[] libstorage.server.auth.deny=[] libstorage.server.auth.disabled=false libstorage.server.auth.key= server=boulder-kitten-nz time=1493696451272
INFO[0000] initializing server                           server=boulder-kitten-nz time=1493696451272
DEBU[0000] endpoint info                                 address=tcp://:7979 endpoint=libstorage.server.endpoints.public server=boulder-kitten-nz time=1493696451273
DEBU[0000] created scoped scope                          new=libstorage.server.endpoints.public parentScopes=libstorage.server,rexray,
DEBU[0000] parsing tls config                            server=boulder-kitten-nz time=1493696451273
INFO[0000] tls enabled                                   libstorage.tls.keyFile=/etc/libstorage/tls/libstorage.key server=boulder-kitten-nz time=1493696451331
DEBU[0000] tls field set                                 libstorage.tls.keyFile=/etc/libstorage/tls/libstorage.key server=boulder-kitten-nz time=1493696451331
DEBU[0000] tls field set                                 libstorage.tls.certFile=/etc/libstorage/tls/libstorage.crt server=boulder-kitten-nz time=1493696451331
INFO[0000] configured endpoint                           address=tcp://:7979 endpoint=public libstorage.tls.certFile=/etc/libstorage/tls/libstorage.crt libstorage.tls.keyFile=/etc/libstorage/tls/libstorage.key server=boulder-kitten-nz time=1493696451332
INFO[0000] server created                                server=boulder-kitten-nz time=1493696451332
INFO[0000] initialized endpoints                         server=boulder-kitten-nz time=1493696451332
INFO[0000] initializing server services                  server=boulder-kitten-nz time=1493696451332
DEBU[0000] configured result schema validation           enabled=false server=boulder-kitten-nz time=1493696451333
DEBU[0000] got services map                              count=1 server=boulder-kitten-nz time=1493696451333
DEBU[0000] processing service config                     server=boulder-kitten-nz service=vfs time=1493696451334
DEBU[0000] getting scoped config for service             scope=libstorage.server.services.vfs server=boulder-kitten-nz service=vfs time=1493696451334
DEBU[0000] created scoped scope                          new=libstorage.server.services.vfs parentScopes=libstorage.server,rexray,
DEBU[0000] got driver name                               driverName=vfs server=boulder-kitten-nz service=vfs time=1493696451335
INFO[0000] vfs.root                                      server=boulder-kitten-nz service=vfs storageDriver=vfs time=1493696451339 vfs.root.path=/tmp/rexray/vfs
DEBU[0000] parsed server auth property                   libstorage.server.auth.disabled=false server=boulder-kitten-nz service=vfs time=1493696451349
DEBU[0000] parsed server auth property                   libstorage.server.auth.key= server=boulder-kitten-nz service=vfs time=1493696451354
DEBU[0000] parsed server auth property                   libstorage.server.auth.alg=HS256 server=boulder-kitten-nz service=vfs time=1493696451359
DEBU[0000] parsed server auth property                   libstorage.server.auth.allow=[] server=boulder-kitten-nz service=vfs time=1493696451364
DEBU[0000] parsed server auth property                   libstorage.server.auth.deny=[] server=boulder-kitten-nz service=vfs time=1493696451370
INFO[0000] configured service auth                       libstorage.server.auth.alg=HS256 libstorage.server.auth.allow=[] libstorage.server.auth.deny=[] libstorage.server.auth.disabled=false libstorage.server.auth.key= server=boulder-kitten-nz service=vfs time=1493696451370
INFO[0000] created new service                           server=boulder-kitten-nz service=vfs time=1493696451371
INFO[0000] initialized services                          server=boulder-kitten-nz time=1493696451371
INFO[0000] initialized router                            len(routes)=3 router=executor-router server=boulder-kitten-nz time=1493696451371
INFO[0000] initialized router                            len(routes)=4 router=help-router server=boulder-kitten-nz time=1493696451372
INFO[0000] initialized router                            len(routes)=1 router=root-router server=boulder-kitten-nz time=1493696451372
INFO[0000] initialized router                            len(routes)=2 router=service-router server=boulder-kitten-nz time=1493696451372
INFO[0000] initialized router                            len(routes)=11 router=volume-router server=boulder-kitten-nz time=1493696451373
INFO[0000] initialized router                            len(routes)=6 router=snapshot-router server=boulder-kitten-nz time=1493696451373
INFO[0000] initialized router                            len(routes)=2 router=tasks-router server=boulder-kitten-nz time=1493696451373
DEBU[0000] registered route                              host=tcp://:7979 len(queries)=0 method=GET path=/executors queries=[] route=executors server=boulder-kitten-nz time=1493696451373 tls=true
DEBU[0000] registered route                              host=tcp://:7979 len(queries)=0 method=GET path=/executors/{executor} queries=[] route=executorInspect server=boulder-kitten-nz time=1493696451374 tls=true
DEBU[0000] registered route                              host=tcp://:7979 len(queries)=0 method=HEAD path=/executors/{executor} queries=[] route=executorHead server=boulder-kitten-nz time=1493696451374 tls=true
DEBU[0000] registered route                              host=tcp://:7979 len(queries)=0 method=GET path=/help queries=[] route=version server=boulder-kitten-nz time=1493696451374 tls=true
DEBU[0000] registered route                              host=tcp://:7979 len(queries)=0 method=GET path=/help/config queries=[] route=version server=boulder-kitten-nz time=1493696451375 tls=true
DEBU[0000] registered route                              host=tcp://:7979 len(queries)=0 method=GET path=/help/env queries=[] route=version server=boulder-kitten-nz time=1493696451375 tls=true
DEBU[0000] registered route                              host=tcp://:7979 len(queries)=0 method=GET path=/help/version queries=[] route=version server=boulder-kitten-nz time=1493696451377 tls=true
DEBU[0000] registered route                              host=tcp://:7979 len(queries)=0 method=GET path=/ queries=[] route=root server=boulder-kitten-nz time=1493696451377 tls=true
DEBU[0000] registered route                              host=tcp://:7979 len(queries)=0 method=GET path=/services queries=[] route=services server=boulder-kitten-nz time=1493696451377 tls=true
DEBU[0000] registered route                              host=tcp://:7979 len(queries)=0 method=GET path=/services/{service} queries=[] route=serviceInspect server=boulder-kitten-nz time=1493696451378 tls=true
DEBU[0000] registered route                              host=tcp://:7979 len(queries)=0 method=GET path=/volumes queries=[] route=volumes server=boulder-kitten-nz time=1493696451378 tls=true
DEBU[0000] registered route                              host=tcp://:7979 len(queries)=0 method=GET path=/volumes/{service} queries=[] route=volumesForService server=boulder-kitten-nz time=1493696451378 tls=true
DEBU[0000] registered route                              host=tcp://:7979 len(queries)=0 method=GET path=/volumes/{service}/{volumeID} queries=[] route=volumeInspect server=boulder-kitten-nz time=1493696451379 tls=true
DEBU[0000] registered route                              host=tcp://:7979 len(queries)=2 method=POST path=/volumes/{service} queries=[detach ] route=volumesDetachForService server=boulder-kitten-nz time=1493696451379 tls=true
DEBU[0000] registered route                              host=tcp://:7979 len(queries)=0 method=POST path=/volumes/{service} queries=[] route=volumeCreate server=boulder-kitten-nz time=1493696451379 tls=true
DEBU[0000] registered route                              host=tcp://:7979 len(queries)=2 method=POST path=/volumes/{service}/{volumeID} queries=[copy ] route=volumeCopy server=boulder-kitten-nz time=1493696451380 tls=true
DEBU[0000] registered route                              host=tcp://:7979 len(queries)=2 method=POST path=/volumes/{service}/{volumeID} queries=[snapshot ] route=volumeSnapshot server=boulder-kitten-nz time=1493696451380 tls=true
DEBU[0000] registered route                              host=tcp://:7979 len(queries)=2 method=POST path=/volumes/{service}/{volumeID} queries=[attach ] route=volumeAttach server=boulder-kitten-nz time=1493696451380 tls=true
DEBU[0000] registered route                              host=tcp://:7979 len(queries)=2 method=POST path=/volumes queries=[detach ] route=volumesDetachAll server=boulder-kitten-nz time=1493696451381 tls=true
DEBU[0000] registered route                              host=tcp://:7979 len(queries)=2 method=POST path=/volumes/{service}/{volumeID} queries=[detach ] route=volumeDetach server=boulder-kitten-nz time=1493696451381 tls=true
DEBU[0000] registered route                              host=tcp://:7979 len(queries)=0 method=DELETE path=/volumes/{service}/{volumeID} queries=[] route=volumeRemove server=boulder-kitten-nz time=1493696451381 tls=true
DEBU[0000] registered route                              host=tcp://:7979 len(queries)=0 method=GET path=/snapshots queries=[] route=snapshots server=boulder-kitten-nz time=1493696451382 tls=true
DEBU[0000] registered route                              host=tcp://:7979 len(queries)=0 method=GET path=/snapshots/{service} queries=[] route=snapshotsForService server=boulder-kitten-nz time=1493696451382 tls=true
DEBU[0000] registered route                              host=tcp://:7979 len(queries)=0 method=GET path=/snapshots/{service}/{snapshotID} queries=[] route=snapshotInspect server=boulder-kitten-nz time=1493696451382 tls=true
DEBU[0000] registered route                              host=tcp://:7979 len(queries)=2 method=POST path=/snapshots/{service}/{snapshotID} queries=[create ] route=snapshotCreate server=boulder-kitten-nz time=1493696451383 tls=true
DEBU[0000] registered route                              host=tcp://:7979 len(queries)=2 method=POST path=/snapshots/{service}/{snapshotID} queries=[copy ] route=snapshotCopy server=boulder-kitten-nz time=1493696451383 tls=true
DEBU[0000] registered route                              host=tcp://:7979 len(queries)=0 method=DELETE path=/snapshots/{service}/{snapshotID} queries=[] route=snapshotRemove server=boulder-kitten-nz time=1493696451383 tls=true
DEBU[0000] registered route                              host=tcp://:7979 len(queries)=0 method=GET path=/tasks queries=[] route=tasks server=boulder-kitten-nz time=1493696451384 tls=true
DEBU[0000] registered route                              host=tcp://:7979 len(queries)=0 method=GET path=/tasks/{taskID} queries=[] route=taskInspect server=boulder-kitten-nz time=1493696451384 tls=true
INFO[0000] api listening                                 host=tcp://:7979 server=boulder-kitten-nz time=1493696451384 tls=true
INFO[0000] waiting for err or close signal               server=boulder-kitten-nz time=1493696451384
INFO[0001] server started                                server=boulder-kitten-nz time=1493696452385
DEBU[0001] set host in context                           host=tcp://localhost:7979 time=1493696452385
DEBU[0001] set host in config                            host=tcp://localhost:7979 time=1493696452386
DEBU[0001] created spec file                             host=tcp://localhost:7979 path=/var/run/rexray/rexray.spec time=1493696452387
DEBU[0001] creating libStorage client                    cmd=ls host=tcp://localhost:7979 time=1493696452387
DEBU[0001] created scoped scope                          new=libstorage.client parentScopes=rexray,
INFO[0001] configured logging                            host=tcp://localhost:7979 libstorage.logging.httpRequests=true libstorage.logging.httpResponses=false libstorage.logging.level=debug time=1493696452407
DEBU[0001] got configured host address                   host=tcp://localhost:7979 service= storageDriver=libstorage time=1493696452410
DEBU[0001] parsing tls config                            host=tcp://localhost:7979 service= storageDriver=libstorage time=1493696452411
INFO[0001] tls enabled                                   host=tcp://localhost:7979 libstorage.tls.keyFile=/etc/libstorage/tls/libstorage.key service= storageDriver=libstorage time=1493696452432
DEBU[0001] tls field set                                 host=tcp://localhost:7979 libstorage.tls.keyFile=/etc/libstorage/tls/libstorage.key service= storageDriver=libstorage time=1493696452432
DEBU[0001] tls field set                                 host=tcp://localhost:7979 libstorage.tls.certFile=/etc/libstorage/tls/libstorage.crt service= storageDriver=libstorage time=1493696452432
INFO[0001] created libStorage client                     clientType=integration disableKeepAlive=false enableInstanceIDHeaders=true enableLocalDevicesHeaders=true host=tcp://localhost:7979 libstorage.tls.certFile=/etc/libstorage/tls/libstorage.crt libstorage.tls.keyFile=/etc/libstorage/tls/libstorage.key logRequests=true logResponses=false lsxMutexPath=/var/run/libstorage/lsx.lock lsxPath=/var/lib/libstorage/lsx-linux service= storageDriver=libstorage time=1493696452437
INFO[0001] registered custom context key                 externalID=Libstorage-Tx internalID=2 keyBitmask=2
INFO[0001] registered custom context key                 externalID=Libstorage-Instanceid internalID=3 keyBitmask=2
INFO[0001] registered custom context key                 externalID=Libstorage-Localdevices internalID=4 keyBitmask=2
INFO[0001] registered custom context key                 externalID=Authorization internalID=5 keyBitmask=2
INFO[0001]
INFO[0001]     -------------------------- HTTP REQUEST (CLIENT) -------------------------
INFO[0001]     GET /services HTTP/1.1
INFO[0001]     Host: localhost:7979
INFO[0001]     Libstorage-Tx: txID=1aecea87-0235-4f57-522e-9faf9b7f16bb, txCR=1493696452
INFO[0001]
Oops, an error occured!

ERRO[0001] http: TLS handshake error from [::1]:59516: remote error: tls: bad certificate

  Get http://localhost:7979/services: x509: certificate signed by unknown authority

To correct the error please review:

  - Debug output by using the flag -l debug
  - The REX-ray website at https://github.com/codedellemc/rexray
  - The on↓ine he↓p be↓ow

Get a device's mount(s)

Usage:
  rexray device ls [flags]

Aliases:
  ls, get, list

Flags:
      --deviceName string
  -f, --format string       The output format (tmpl, json, jsonp) (default "tmpl")
      --mountPoint string
      --template string     The Go template to use when --format is set to 'tmpl'
      --templateTabs        Set to true to use a Go tab writer with the output template (default true)

Global Flags:
  -c, --config string     The path to a custom REX-Ray configuration file
  -?, --help              Help about the current command
  -h, --host string       The libStorage host.
  -l, --logLevel string   The log level (error, warn, info, debug) (default "warn")
  -s, --service string    The libStorage service.
  -v, --verbose           Print verbose help information

DEBU[0001] exiting with default error code 1, r=&{}

Updated Config

libstorage:
  embedded: true
  host:    tcp://localhost:7979

  logging:
    level: debug
    httpRequests: true
    httpResponse: true

  client:
    tls: verifyPeers


  server:
          #tls: true
    endpoints:
      public:
        address: tcp://:7979
    services:
      vfs:
        driver: vfs

vfs:
  root: /tmp/rexray/vfs

Run after update successful

> sudo rexray device ls -l debug
INFO[0000] updated log level                             logLevel=debug
DEBU[0000] os.args                                       time=1493696607412 val=[rexray device ls -l debug]
DEBU[0000] activating libStorage                         cmd=ls time=1493696607412
DEBU[0000] read spec file                                host=tcp://localhost:7979 path=/var/run/rexray/rexray.spec time=1493696607413
DEBU[0000] is local tcp server active                    port=7979 time=1493696607413
INFO[0000] removed invalid spec file                     specFile=/var/run/rexray/rexray.spec time=1493696607413
DEBU[0000] host is empty; initiliazing default services  time=1493696607413
DEBU[0000] libStorage auto service mode disabled; services defined  time=1493696607414
DEBU[0000] starting embedded libStorage server           time=1493696607414
DEBU[0000] created scoped scope                          new=libstorage.server parentScopes=rexray,
INFO[0000] configured logging                            libstorage.logging.httpRequests=true libstorage.logging.httpResponses=false libstorage.logging.level=debug server=mire-binder-vn time=1493696607424
DEBU[0000] parsed server auth property                   libstorage.server.auth.disabled=false server=mire-binder-vn time=1493696607427
DEBU[0000] parsed server auth property                   libstorage.server.auth.key= server=mire-binder-vn time=1493696607429
DEBU[0000] parsed server auth property                   libstorage.server.auth.alg=HS256 server=mire-binder-vn time=1493696607430
DEBU[0000] parsed server auth property                   libstorage.server.auth.allow=[] server=mire-binder-vn time=1493696607433
DEBU[0000] parsed server auth property                   libstorage.server.auth.deny=[] server=mire-binder-vn time=1493696607434
INFO[0000] configured global auth                        libstorage.server.auth.alg=HS256 libstorage.server.auth.allow=[] libstorage.server.auth.deny=[] libstorage.server.auth.disabled=false libstorage.server.auth.key= server=mire-binder-vn time=1493696607435
INFO[0000] initializing server                           server=mire-binder-vn time=1493696607435
DEBU[0000] endpoint info                                 address=tcp://:7979 endpoint=libstorage.server.endpoints.public server=mire-binder-vn time=1493696607436
DEBU[0000] created scoped scope                          new=libstorage.server.endpoints.public parentScopes=libstorage.server,rexray,
DEBU[0000] parsing tls config                            server=mire-binder-vn time=1493696607436
INFO[0000] tls enabled                                   libstorage.tls.keyFile=/etc/libstorage/tls/libstorage.key server=mire-binder-vn time=1493696607495
DEBU[0000] tls field set                                 libstorage.tls.keyFile=/etc/libstorage/tls/libstorage.key server=mire-binder-vn time=1493696607495
DEBU[0000] tls field set                                 libstorage.tls.certFile=/etc/libstorage/tls/libstorage.crt server=mire-binder-vn time=1493696607495
INFO[0000] configured endpoint                           address=tcp://:7979 endpoint=public libstorage.tls.certFile=/etc/libstorage/tls/libstorage.crt libstorage.tls.keyFile=/etc/libstorage/tls/libstorage.key server=mire-binder-vn time=1493696607496
INFO[0000] server created                                server=mire-binder-vn time=1493696607496
INFO[0000] initialized endpoints                         server=mire-binder-vn time=1493696607496
INFO[0000] initializing server services                  server=mire-binder-vn time=1493696607496
DEBU[0000] configured result schema validation           enabled=false server=mire-binder-vn time=1493696607497
DEBU[0000] got services map                              count=1 server=mire-binder-vn time=1493696607498
DEBU[0000] processing service config                     server=mire-binder-vn service=vfs time=1493696607498
DEBU[0000] getting scoped config for service             scope=libstorage.server.services.vfs server=mire-binder-vn service=vfs time=1493696607498
DEBU[0000] created scoped scope                          new=libstorage.server.services.vfs parentScopes=libstorage.server,rexray,
DEBU[0000] got driver name                               driverName=vfs server=mire-binder-vn service=vfs time=1493696607500
INFO[0000] vfs.root                                      server=mire-binder-vn service=vfs storageDriver=vfs time=1493696607504 vfs.root.path=/tmp/rexray/vfs
DEBU[0000] parsed server auth property                   libstorage.server.auth.disabled=false server=mire-binder-vn service=vfs time=1493696607514
DEBU[0000] parsed server auth property                   libstorage.server.auth.key= server=mire-binder-vn service=vfs time=1493696607520
DEBU[0000] parsed server auth property                   libstorage.server.auth.alg=HS256 server=mire-binder-vn service=vfs time=1493696607525
DEBU[0000] parsed server auth property                   libstorage.server.auth.allow=[] server=mire-binder-vn service=vfs time=1493696607530
DEBU[0000] parsed server auth property                   libstorage.server.auth.deny=[] server=mire-binder-vn service=vfs time=1493696607536
INFO[0000] configured service auth                       libstorage.server.auth.alg=HS256 libstorage.server.auth.allow=[] libstorage.server.auth.deny=[] libstorage.server.auth.disabled=false libstorage.server.auth.key= server=mire-binder-vn service=vfs time=1493696607536
INFO[0000] created new service                           server=mire-binder-vn service=vfs time=1493696607536
INFO[0000] initialized services                          server=mire-binder-vn time=1493696607537
INFO[0000] initialized router                            len(routes)=3 router=executor-router server=mire-binder-vn time=1493696607537
INFO[0000] initialized router                            len(routes)=4 router=help-router server=mire-binder-vn time=1493696607537
INFO[0000] initialized router                            len(routes)=1 router=root-router server=mire-binder-vn time=1493696607538
INFO[0000] initialized router                            len(routes)=2 router=service-router server=mire-binder-vn time=1493696607538
INFO[0000] initialized router                            len(routes)=11 router=volume-router server=mire-binder-vn time=1493696607538
INFO[0000] initialized router                            len(routes)=6 router=snapshot-router server=mire-binder-vn time=1493696607538
INFO[0000] initialized router                            len(routes)=2 router=tasks-router server=mire-binder-vn time=1493696607539
DEBU[0000] registered route                              host=tcp://:7979 len(queries)=0 method=GET path=/executors queries=[] route=executors server=mire-binder-vn time=1493696607539 tls=true
DEBU[0000] registered route                              host=tcp://:7979 len(queries)=0 method=GET path=/executors/{executor} queries=[] route=executorInspect server=mire-binder-vn time=1493696607539 tls=true
DEBU[0000] registered route                              host=tcp://:7979 len(queries)=0 method=HEAD path=/executors/{executor} queries=[] route=executorHead server=mire-binder-vn time=1493696607540 tls=true
DEBU[0000] registered route                              host=tcp://:7979 len(queries)=0 method=GET path=/help queries=[] route=version server=mire-binder-vn time=1493696607540 tls=true
DEBU[0000] registered route                              host=tcp://:7979 len(queries)=0 method=GET path=/help/config queries=[] route=version server=mire-binder-vn time=1493696607540 tls=true
DEBU[0000] registered route                              host=tcp://:7979 len(queries)=0 method=GET path=/help/env queries=[] route=version server=mire-binder-vn time=1493696607540 tls=true
DEBU[0000] registered route                              host=tcp://:7979 len(queries)=0 method=GET path=/help/version queries=[] route=version server=mire-binder-vn time=1493696607540 tls=true
DEBU[0000] registered route                              host=tcp://:7979 len(queries)=0 method=GET path=/ queries=[] route=root server=mire-binder-vn time=1493696607541 tls=true
DEBU[0000] registered route                              host=tcp://:7979 len(queries)=0 method=GET path=/services queries=[] route=services server=mire-binder-vn time=1493696607541 tls=true
DEBU[0000] registered route                              host=tcp://:7979 len(queries)=0 method=GET path=/services/{service} queries=[] route=serviceInspect server=mire-binder-vn time=1493696607541 tls=true
DEBU[0000] registered route                              host=tcp://:7979 len(queries)=0 method=GET path=/volumes queries=[] route=volumes server=mire-binder-vn time=1493696607541 tls=true
DEBU[0000] registered route                              host=tcp://:7979 len(queries)=0 method=GET path=/volumes/{service} queries=[] route=volumesForService server=mire-binder-vn time=1493696607542 tls=true
DEBU[0000] registered route                              host=tcp://:7979 len(queries)=0 method=GET path=/volumes/{service}/{volumeID} queries=[] route=volumeInspect server=mire-binder-vn time=1493696607542 tls=true
DEBU[0000] registered route                              host=tcp://:7979 len(queries)=2 method=POST path=/volumes/{service} queries=[detach ] route=volumesDetachForService server=mire-binder-vn time=1493696607542 tls=true
DEBU[0000] registered route                              host=tcp://:7979 len(queries)=0 method=POST path=/volumes/{service} queries=[] route=volumeCreate server=mire-binder-vn time=1493696607542 tls=true
DEBU[0000] registered route                              host=tcp://:7979 len(queries)=2 method=POST path=/volumes/{service}/{volumeID} queries=[copy ] route=volumeCopy server=mire-binder-vn time=1493696607543 tls=true
DEBU[0000] registered route                              host=tcp://:7979 len(queries)=2 method=POST path=/volumes/{service}/{volumeID} queries=[snapshot ] route=volumeSnapshot server=mire-binder-vn time=1493696607543 tls=true
DEBU[0000] registered route                              host=tcp://:7979 len(queries)=2 method=POST path=/volumes/{service}/{volumeID} queries=[attach ] route=volumeAttach server=mire-binder-vn time=1493696607543 tls=true
DEBU[0000] registered route                              host=tcp://:7979 len(queries)=2 method=POST path=/volumes queries=[detach ] route=volumesDetachAll server=mire-binder-vn time=1493696607543 tls=true
DEBU[0000] registered route                              host=tcp://:7979 len(queries)=2 method=POST path=/volumes/{service}/{volumeID} queries=[detach ] route=volumeDetach server=mire-binder-vn time=1493696607544 tls=true
DEBU[0000] registered route                              host=tcp://:7979 len(queries)=0 method=DELETE path=/volumes/{service}/{volumeID} queries=[] route=volumeRemove server=mire-binder-vn time=1493696607544 tls=true
DEBU[0000] registered route                              host=tcp://:7979 len(queries)=0 method=GET path=/snapshots queries=[] route=snapshots server=mire-binder-vn time=1493696607544 tls=true
DEBU[0000] registered route                              host=tcp://:7979 len(queries)=0 method=GET path=/snapshots/{service} queries=[] route=snapshotsForService server=mire-binder-vn time=1493696607545 tls=true
DEBU[0000] registered route                              host=tcp://:7979 len(queries)=0 method=GET path=/snapshots/{service}/{snapshotID} queries=[] route=snapshotInspect server=mire-binder-vn time=1493696607545 tls=true
DEBU[0000] registered route                              host=tcp://:7979 len(queries)=2 method=POST path=/snapshots/{service}/{snapshotID} queries=[create ] route=snapshotCreate server=mire-binder-vn time=1493696607546 tls=true
DEBU[0000] registered route                              host=tcp://:7979 len(queries)=2 method=POST path=/snapshots/{service}/{snapshotID} queries=[copy ] route=snapshotCopy server=mire-binder-vn time=1493696607547 tls=true
DEBU[0000] registered route                              host=tcp://:7979 len(queries)=0 method=DELETE path=/snapshots/{service}/{snapshotID} queries=[] route=snapshotRemove server=mire-binder-vn time=1493696607547 tls=true
DEBU[0000] registered route                              host=tcp://:7979 len(queries)=0 method=GET path=/tasks queries=[] route=tasks server=mire-binder-vn time=1493696607547 tls=true
DEBU[0000] registered route                              host=tcp://:7979 len(queries)=0 method=GET path=/tasks/{taskID} queries=[] route=taskInspect server=mire-binder-vn time=1493696607547 tls=true
INFO[0000] waiting for err or close signal               server=mire-binder-vn time=1493696607548
INFO[0000] api listening                                 host=tcp://:7979 server=mire-binder-vn time=1493696607548 tls=true
INFO[0001] server started                                server=mire-binder-vn time=1493696608548
DEBU[0001] got host from new server address              host=tcp://:7979 time=1493696608548
DEBU[0001] set host in context                           host=tcp://:7979 time=1493696608549
DEBU[0001] set host in config                            host=tcp://:7979 time=1493696608549
DEBU[0001] created spec file                             host=tcp://:7979 path=/var/run/rexray/rexray.spec time=1493696608549
DEBU[0001] creating libStorage client                    cmd=ls host=tcp://:7979 time=1493696608550
DEBU[0001] created scoped scope                          new=libstorage.client parentScopes=rexray,
INFO[0001] configured logging                            host=tcp://:7979 libstorage.logging.httpRequests=true libstorage.logging.httpResponses=false libstorage.logging.level=debug time=1493696608569
DEBU[0001] got configured host address                   host=tcp://:7979 service= storageDriver=libstorage time=1493696608571
DEBU[0001] parsing tls config                            host=tcp://:7979 service= storageDriver=libstorage time=1493696608572
DEBU[0001] tls field set                                 host=tcp://:7979 libstorage.tls=verifyPeers service= storageDriver=libstorage time=1493696608576
INFO[0001] tls enabled                                   host=tcp://:7979 libstorage.tls=verifyPeers service= storageDriver=libstorage time=1493696608576
DEBU[0001] tls field set                                 host=tcp://:7979 libstorage.tls.keyFile=/etc/libstorage/tls/libstorage.key service= storageDriver=libstorage time=1493696608593
DEBU[0001] tls field set                                 host=tcp://:7979 libstorage.tls.certFile=/etc/libstorage/tls/libstorage.crt service= storageDriver=libstorage time=1493696608593
INFO[0001] created libStorage client                     clientType=integration disableKeepAlive=false enableInstanceIDHeaders=true enableLocalDevicesHeaders=true host=tcp://:7979 libstorage.tls=verifyPeers libstorage.tls.certFile=/etc/libstorage/tls/libstorage.crt libstorage.tls.keyFile=/etc/libstorage/tls/libstorage.key logRequests=true logResponses=false lsxMutexPath=/var/run/libstorage/lsx.lock lsxPath=/var/lib/libstorage/lsx-linux service= storageDriver=libstorage time=1493696608597
INFO[0001] registered custom context key                 externalID=Libstorage-Tx internalID=2 keyBitmask=2
INFO[0001] registered custom context key                 externalID=Libstorage-Instanceid internalID=3 keyBitmask=2
INFO[0001] registered custom context key                 externalID=Libstorage-Localdevices internalID=4 keyBitmask=2
INFO[0001] registered custom context key                 externalID=Authorization internalID=5 keyBitmask=2
INFO[0001]
INFO[0001]     -------------------------- HTTP REQUEST (CLIENT) -------------------------
INFO[0001]     GET /services HTTP/1.1
INFO[0001]     Host: :7979
INFO[0001]     Libstorage-Tx: txID=871f3ffa-a1c1-475e-7cc2-05cc4b63f4e9, txCR=1493696608
INFO[0001]

Rejecting connection to unknown host 127.0.0.1.
SHA Fingerprint presented: sha256:b95112c8e9333ef6/619f.
Do you want to save host to known_hosts file? (yes/no): yes
DEBU[0013] fingerprint added to known_hosts file         algo=sha256 fingerprint=b95112c8e9333ef638328a0d50d07812c2f167c2cd7b259092596873e7bf619f host=tcp://:7979 time=1493696621253
Permanently added host 127.0.0.1 to known_hosts file /root/.libstorage/known_hosts
It is safe to retry your last rexray command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment