I am attempting to run Portworx for the 1st time (this is on Openshift), but it is failing to start.
One of the error messages I found is here: /var/lib/osd/log/disk_processing.log
Warning: skipping device: /dev/mapper/px_vg-px_storage. Failed size check, greater than 8G needed.
Head node:
No disks specified, starting as a storage-less node.
The device is however about 50G in size.
How is that storage check implemented ?
Should I do any additional preparation of the device before Portworx can use it?
The device size check simply looks at the size exported through sysfs. There is no additional preparation required to use the device. Could you post output of the following command from the failing node:
The output looks fine. For some reason we aren’t able to read the device size correctly. Will need some info to debug.
Can you post the install arguments (specifically the storage device options).
Check if there were any other device errors reported above the “Warning: skipping device” line. And post a few more lines from the log before the warn.
[root@labAakllocpa01 cores]# ls -l /var/lib/osd/log/termination.log
-rw-r-----. 1 root root 225 Jan 9 11:22 /var/lib/osd/log/termination.log
[root@labAakllocpa01 cores]# cat /var/lib/osd/log/termination.log
Could not init boot manager (error=“Failed in internal kvdb setup: Storage less node detected. No
de cannot act as a kvdb node. Waiting for other storage nodes to start kvdb.: timeout waiting for
other kvdb nodes to start.”)
As this was an initial install with no data yet on the disks, we wiped the storage disks with ‘pxctl service nw’ and restarted the portworx service.
That seemed to clear up the issue.
pxctl status, now reports everything is OK.