I have 3 nodes with RancherOS 1.3.0 (and testing with 3 nodes ros 1.4.0)
mounts:
- - /dev/sdb
- /data
- ext4
- ""
rancher:
autologin: ttyS0
console: ubuntu
docker:
engine: docker-17.03.2-ce
graph: /data
storage_driver: overlay2
with the docker installed in the /data
directory.
set installed rook with /var/lib/kubelet/volumeplugins
(data on the host appeared)
rancher@docker-vm13:~$ ls /var/lib/kubelet/volumeplugins
ceph.rook.io~rook ceph.rook.io~rook-ceph-system rook.io~rook rook.io~rook-ceph-system
create rook with mysql/wordpress example
kubectl create -f operator.yaml
kubectl create -f cluster.yaml
kubectl create -f https://raw.githubusercontent.com/rook/rook/master/cluster/examples/kubernetes/mysql.yaml
kubectl create -f https://raw.githubusercontent.com/rook/rook/master/cluster/examples/kubernetes/wordpress.yaml
creates pvm
but the containers do not start
kubectl -n rook-ceph-system logs -f rook-discover-5lzkv (infinity write this every 30 seconds)
2018-06-06 08:05:53.282729 I | rook-discover: updating device configmap
2018-06-06 08:05:53.282796 I | exec: Running command: lsblk --all --noheadings --list --output KNAME
2018-06-06 08:05:53.288272 I | exec: Running command: lsblk /dev/loop1 --bytes --nodeps --pairs --output SIZE,ROTA,RO,TYPE,PKNAME
2018-06-06 08:05:53.291832 W | inventory: skipping device loop1: Failed to complete 'lsblk /dev/loop1': exit status 1.
2018-06-06 08:05:53.291865 I | exec: Running command: lsblk /dev/sdb --bytes --nodeps --pairs --output SIZE,ROTA,RO,TYPE,PKNAME
2018-06-06 08:05:53.294755 I | exec: Running command: udevadm info --query=property /dev/sdb
2018-06-06 08:05:53.297263 I | exec: Running command: udevadm info --query=property /dev/sdb
2018-06-06 08:05:53.299891 I | exec: Running command: lsblk /dev/loop6 --bytes --nodeps --pairs --output SIZE,ROTA,RO,TYPE,PKNAME
2018-06-06 08:05:53.302668 W | inventory: skipping device loop6: Failed to complete 'lsblk /dev/loop6': exit status 1.
2018-06-06 08:05:53.302707 I | exec: Running command: lsblk /dev/loop4 --bytes --nodeps --pairs --output SIZE,ROTA,RO,TYPE,PKNAME
2018-06-06 08:05:53.305731 W | inventory: skipping device loop4: Failed to complete 'lsblk /dev/loop4': exit status 1.
2018-06-06 08:05:53.305762 I | exec: Running command: lsblk /dev/sr0 --bytes --nodeps --pairs --output SIZE,ROTA,RO,TYPE,PKNAME
2018-06-06 08:05:53.308949 I | exec: Running command: lsblk /dev/loop2 --bytes --nodeps --pairs --output SIZE,ROTA,RO,TYPE,PKNAME
2018-06-06 08:05:53.311852 W | inventory: skipping device loop2: Failed to complete 'lsblk /dev/loop2': exit status 1.
2018-06-06 08:05:53.311896 I | exec: Running command: lsblk /dev/loop0 --bytes --nodeps --pairs --output SIZE,ROTA,RO,TYPE,PKNAME
2018-06-06 08:05:53.314707 W | inventory: skipping device loop0: Failed to complete 'lsblk /dev/loop0': exit status 1.
2018-06-06 08:05:53.314748 I | exec: Running command: lsblk /dev/sda --bytes --nodeps --pairs --output SIZE,ROTA,RO,TYPE,PKNAME
2018-06-06 08:05:53.318033 I | exec: Running command: udevadm info --query=property /dev/sda
2018-06-06 08:05:53.321099 I | exec: Running command: udevadm info --query=property /dev/sda
2018-06-06 08:05:53.324030 I | exec: Running command: lsblk /dev/sda1 --bytes --nodeps --pairs --output SIZE,ROTA,RO,TYPE,PKNAME
2018-06-06 08:05:53.328649 I | exec: Running command: udevadm info --query=property /dev/sda1
2018-06-06 08:05:53.331948 I | exec: Running command: lsblk /dev/loop7 --bytes --nodeps --pairs --output SIZE,ROTA,RO,TYPE,PKNAME
2018-06-06 08:05:53.335981 W | inventory: skipping device loop7: Failed to complete 'lsblk /dev/loop7': exit status 1.
2018-06-06 08:05:53.336022 I | exec: Running command: lsblk /dev/loop5 --bytes --nodeps --pairs --output SIZE,ROTA,RO,TYPE,PKNAME
2018-06-06 08:05:53.338982 W | inventory: skipping device loop5: Failed to complete 'lsblk /dev/loop5': exit status 1.
2018-06-06 08:05:53.339013 I | exec: Running command: lsblk /dev/loop3 --bytes --nodeps --pairs --output SIZE,ROTA,RO,TYPE,PKNAME
2018-06-06 08:05:53.341732 W | inventory: skipping device loop3: Failed to complete 'lsblk /dev/loop3': exit status 1.
2018-06-06 08:05:53.341768 I | exec: Running command: lsblk /dev/sdb --bytes --pairs --output NAME,SIZE,TYPE,PKNAME
2018-06-06 08:05:53.344809 I | exec: Running command: udevadm info --query=property /dev/sdb
2018-06-06 08:05:53.347293 I | exec: Running command: lsblk /dev/sda --bytes --pairs --output NAME,SIZE,TYPE,PKNAME
2018-06-06 08:05:53.350987 I | exec: Running command: udevadm info --query=property /dev/sda1
2018-06-06 08:05:53.354279 I | exec: Running command: udevadm info --query=property /dev/sda1
2018-06-06 08:05:53.357668 I | exec: Running command: udevadm info --query=property /dev/sda
2018-06-06 08:05:53.360444 I | rook-discover: available devices: [{Name:sdb Parent: HasChildren:false DevLinks:/dev/disk/by-id/ata-QEMU_HARDDISK_QM00007 /dev/disk/by-uuid/a659a83d-4269-4816-92f5-f118da828da6 Size:107374182400 UUID:a659a83d-4269-4816-92f5-f118da828da6 Serial:QEMU_HARDDISK_QM00007 Type:disk Rotational:true Readonly:false Partitions:[] Filesystem:ext4 Vendor: Model:QEMU_HARDDISK WWN: WWNVendorExtension: Empty:true} {Name:sda Parent: HasChildren:false DevLinks:/dev/disk/by-id/ata-QEMU_HARDDISK_QM00005 Size:10737418240 UUID:4003f5e1 Serial:QEMU_HARDDISK_QM00005 Type:disk Rotational:true Readonly:false Partitions:[{Name:sda1 Size:10735321088 Label: Filesystem:ext4}] Filesystem: Vendor: Model:QEMU_HARDDISK WWN: WWNVendorExtension: Empty:true}]