A more practical guide on how to configure and get csi working (preferably with ceph)

2020-08-14 Thread Marc Roos



Can anyone point me to a more practical guide on how to configure and 
get csi working (preferably with ceph)



test-csi-plugin should work?

2020-08-14 Thread Marc Roos




   This option has no effect when 
using the HTTP scheduler/executor APIs.
   By default, this option is true. 
(default: true)
  --log_dir=VALUE  Location to put log files.  By 
default, nothing is written to disk.
   Does not affect logging to 
stderr.
   If specified, the log file will 
appear in the Mesos WebUI.
   NOTE: 3rd party log messages 
(e.g. ZooKeeper) are
   only written to stderr!
  --logbufsecs=VALUE   Maximum number of seconds that 
logs may be buffered for.
   By default, logs are flushed 
immediately. (default: 0)
  --logging_level=VALUELog message at or above this 
level.
   Possible values: `INFO`, 
`WARNING`, `ERROR`.
   If `--quiet` is specified, this 
will only affect the logs
   written to `--log_dir`, if 
specified. (default: INFO)
  --[no-]quiet Disable logging to stderr. 
(default: false)
  --volume_metadata=VALUE  The static properties to add to 
the contextual information of each
   volume. The metadata are 
specified as a semicolon-delimited list of
   prop=value pairs. (Example: 
'prop1=value1;prop2=value2')
  --volumes=VALUE  Creates preprovisioned volumes 
upon start-up. The volumes are
   specified as a 
semicolon-delimited list of name:capacity pairs.
   If a volume with the same name 
already exists, the pair will be
   ignored. (Example: 
'volume1:1GB;volume2:2GB')
  --work_dir=VALUE Path to the work directory of the 
plugin. (default: )

*** Error in `/usr/libexec/cni/test-csi-plugin': free(): invalid 
pointer: 0x7f5e1ea25a10 ***
=== Backtrace: =
/lib64/libc.so.6(+0x81299)[0x7f5e18dcc299]
/usr/libexec/cni/test-csi-plugin(_ZN9__gnu_cxx13new_allocatorIPNSt8__det
ail15_Hash_node_baseEE10deallocateEPS3_m+0x20)[0x5631f93bc1b0]
/usr/libexec/cni/test-csi-plugin(_ZNSt10_HashtableISsSt4pairIKSsSsESaIS2
_ENSt8__detail10_Select1stESt8equal_toISsESt4hashISsENS4_18_Mod_range_ha
shingENS4_20_Default_ranged_hashENS4_20_Prime_rehash_policyENS4_17_Hasht
able_traitsILb1ELb0ELb121_M_deallocate_bucketsEPPNS4_15_Hash_node_ba
seEm+0x58)[0x5631f93b2772]
/usr/libexec/cni/test-csi-plugin(_ZNSt10_HashtableISsSt4pairIKSsSsESaIS2
_ENSt8__detail10_Select1stESt8equal_toISsESt4hashISsENS4_18_Mod_range_ha
shingENS4_20_Default_ranged_hashENS4_20_Prime_rehash_policyENS4_17_Hasht
able_traitsILb1ELb0ELb1D2Ev+0x36)[0x5631f93a597c]
/usr/libexec/cni/test-csi-plugin(_ZNSt13unordered_mapISsSsSt4hashISsESt8
equal_toISsESaISt4pairIKSsSsEEED1Ev+0x18)[0x5631f9399eb0]
/usr/libexec/cni/test-csi-plugin(_ZN7hashmapISsSsSt4hashISsESt8equal_toI
SsEED1Ev+0x18)[0x5631f9399eca]
/lib64/libc.so.6(__cxa_finalize+0x9a)[0x7f5e18d8505a]
/usr/local/lib/libmesos-1.10.0.so(+0x22b34f3)[0x7f5e1be074f3]
=== Memory map: 
5631f9315000-5631f9442000 r-xp  fd:00 507586 
/usr/libexec/cni/test-csi-plugin
5631f9642000-5631f9646000 r--p 0012d000 fd:00 507586 
/usr/libexec/cni/test-csi-plugin
5631f9646000-5631f9647000 rw-p 00131000 fd:00 507586 
/usr/libexec/cni/test-csi-plugin
5631fb041000-5631fb0a4000 rw-p  00:00 0  
[heap]
7f5e0c00-7f5e0c021000 rw-p  00:00 0
7f5e0c021000-7f5e1000 ---p  00:00 0
7f5e130ea000-7f5e1314a000 r-xp  fd:00 16872768   
/usr/lib64/libpcre.so.1.2.0
7f5e1314a000-7f5e1334a000 ---p 0006 fd:00 16872768   
/usr/lib64/libpcre.so.1.2.0
7f5e1334a000-7f5e1334b000 r--p 0006 fd:00 16872768   
/usr/lib64/libpcre.so.1.2.0
7f5e1334b000-7f5e1334c000 rw-p 00061000 fd:00 16872768   
/usr/lib64/libpcre.so.1.2.0


mesos csi test plugin slrp 401 Unauthorized

2020-08-14 Thread Marc Roos


I am testing with this 

Failed to recover resource provider with type 
'org.apache.mesos.rp.local.storage' and name 'test_slrp': Failed to get 
containers: Unexpected response '401 Unauthorized' (401 Unauthorized.)

Is this because I am having authentication on, and the standalone 
container cannot launch? How to resolve this?


[1]
http://mesos.apache.org/documentation/latest/csi/