Skip to content

Instantly share code, notes, and snippets.

Clint Kitson clintkitson

Block or report user

Report or block clintkitson

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View vsphere
INFO[0000] serving endpoint="unix:///var/lib/kubelet/plugins/com.thecodeteam.vsphere/csi.sock"
INFO[0153] device file found device="/dev/disk/by-path/pci-0000:03:00.0-scsi-0:0:2:0"
INFO[0203] attempting to mount disk fsType=ext4 options="[defaults]" source=/dev/sdc target=/root/go/src/github.com/thecodeteam/csi-vsphere/.csi-vsphere/0728dc824cd58f24b6c6e69c89550614
INFO[0203] mount command args="-t ext4 -o defaults /dev/sdc /root/go/src/github.com/thecodeteam/csi-vsphere/.csi-vsphere/0728dc824cd58f24b6c6e69c89550614" cmd=mount
ERRO[0203] mount Failed args="-t ext4 -o defaults /dev/sdc /root/go/src/github.com/thecodeteam/csi-vsphere/.csi-vsphere/0728dc824cd58f24b6c6e69c89550614" cmd=mount error="exit status 32" output="mount: wrong fs type, bad option, bad superblock on /dev/sdc,\n missing codepage or helper program, or other error\n\n In some cases
View CSI up and running - vfs
#updated 12/4
# centos pre-req for git
yum install -y git
download go 1.9.2
tar -zxvf
mv go /usr/local/go
export PATH=$PATH:/usr/local/go/bin:/go/bin
mkdir -p /go/src/github.com/kubernetes-csi
export GOPATH=/go
View volumes
WARN[0006] docker-csi-bridge: List: skipped volume w missing id and name host=unix:///var/run/rexray/651390204.sock integrationDriver=linux osDriver=linux service=ebs storageDriver=libstorage time=1507930351003 volume=capacity_bytes:8589934592 id:<values:<key:"id" value:"vol-0822112f81dcfc57a" > > metadata:<values:<key:"availabilityzone" value:"us-west-1c" > values:<key:"iops" value:"100" > values:<key:"status" value:"in-use" > values:<key:"type" value:"gp2" > >
WARN[0006] docker-csi-bridge: List: skipped volume w missing id and name host=unix:///var/run/rexray/651390204.sock integrationDriver=linux osDriver=linux service=ebs storageDriver=libstorage time=1507930351003 volume=capacity_bytes:8589934592 id:<values:<key:"id" value:"vol-02e1bf5e1ca350b39" > > metadata:<values:<key:"availabilityzone" value:"us-west-1c" > values:<key:"iops" value:"100" > values:<key:"status" value:"in-use" > values:<key:"type" value:"gp2" > >
DRIVER VOLUME NAME
local test
rexray test1
loc
View ebs-volopts
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 inte
View docker legacy mode
root@ip-172-31-24-81:/home/ubuntu# REXRAY_DEBUG=true DOCKER_LEGACY=true rexray start -s ebs &
[1] 11436
root@ip-172-31-24-81:/home/ubuntu# INFO[0000] DockerLegacyMode enabled=true time=1507909730797
DEBU[0000] trapped signals time=1507909730797
DEBU[0000] loading config buildType=client+agent+controller configFileName=rexray globalConfigFileExists=false globalConfigFilePath=/etc/rexray/rexray.yml ignoreExists=false time=1507909730797 userConfigFileExists=false userConfigFilePath=/root/.rexray/rexray.yml
DEBU[0000] cannot find global or user file buildType=client+agent+controller configFileName=rexray globalConfigFileExists=false globalConfigFilePath=/etc/rexray/rexray.yml ignoreExists=false time=1507909730797 userConfigFileExists=false userConfigFilePath=/root/.rexray/rexray.yml
DEBU[0000] loading config buildType=client+agent+controller configFileName=config globalConfigFileE
View non docker legacy mode
root@ip-172-31-24-81:/home/ubuntu# REXRAY_DEBUG=true rexray start -s ebs &
[1] 11271
root@ip-172-31-24-81:/home/ubuntu# INFO[0000] DockerLegacyMode enabled=false time=1507909297072
DEBU[0000] trapped signals time=1507909297072
DEBU[0000] loading config buildType=client+agent+controller configFileName=rexray globalConfigFileExists=false globalConfigFilePath=/etc/rexray/rexray.yml ignoreExists=false time=1507909297072 userConfigFileExists=false userConfigFilePath=/root/.rexray/rexray.yml
DEBU[0000] cannot find global or user file buildType=client+agent+controller configFileName=rexray globalConfigFileExists=false globalConfigFilePath=/etc/rexray/rexray.yml ignoreExists=false time=1507909297072 userConfigFileExists=false userConfigFilePath=/root/.rexray/rexray.yml
DEBU[0000] loading config buildType=client+agent+controller configFileName=config globalConfigFileExists=false global
View host2
INFO[0000] DockerLegacyMode enabled=false time=1507909066091
DEBU[0000] trapped signals time=1507909066091
DEBU[0000] loading config buildType=client+agent+controller configFileName=rexray globalConfigFileExists=false globalConfigFilePath=/etc/rexray/rexray.yml ignoreExists=false time=1507909066091 userConfigFileExists=false userConfigFilePath=/root/.rexray/rexray.yml
DEBU[0000] cannot find global or user file buildType=client+agent+controller configFileName=rexray globalConfigFileExists=false globalConfigFilePath=/etc/rexray/rexray.yml ignoreExists=false time=1507909066092 userConfigFileExists=false userConfigFilePath=/root/.rexray/rexray.yml
DEBU[0000] loading config buildType=client+agent+controller configFileName=config globalConfigFileExists=false globalConfigFilePath=/etc/rexray/config.yml ignoreExists=true time=1507909066092 userConfigFileExists=false userConfigFilePath
View host1
INFO[0000] DockerLegacyMode enabled=false time=1507909004378
DEBU[0000] trapped signals time=1507909004378
DEBU[0000] loading config buildType=client+agent+controller configFileName=rexray globalConfigFileExists=false globalConfigFilePath=/etc/rexray/rexray.yml ignoreExists=false time=1507909004378 userConfigFileExists=false userConfigFilePath=/root/.rexray/rexray.yml
DEBU[0000] cannot find global or user file buildType=client+agent+controller configFileName=rexray globalConfigFileExists=false globalConfigFilePath=/etc/rexray/rexray.yml ignoreExists=false time=1507909004378 userConfigFileExists=false userConfigFilePath=/root/.rexray/rexray.yml
DEBU[0000] loading config buildType=client+agent+controller configFileName=config globalConfigFileExists=false globalConfigFilePath=/etc/rexray/config.yml ignoreExists=true time=1507909004378 userConfigFileExists=false userConfigFilePath
View .Dockerfile-csi-nfs
FROM alpine:3.6
RUN apk update
RUN apk add ca-certificates nfs-utils
RUN mkdir -p /lib64 && ln -s /lib/libc.musl-x86_64.so.1 /lib64/ld-linux-x86-64.so.2
RUN mkdir -p /etc/rexray /run/docker/plugins /var/lib/rexray/volumes
ADD rexray /usr/bin/rexray
ADD rexray.yml /etc/rexray/rexray.yml
View config.json-csi-nfs
{
"Args": {
"Description": "",
"Name": "",
"Settable": null,
"Value": null
},
"Description": "REX-Ray for NFS",
"Documentation": "https://github.com/codedellemc/rexray/.docker/plugins/csi-nfs",
"Entrypoint": [
You can’t perform that action at this time.