portworx / lcfs

LCFS Graph driver for Docker
Apache License 2.0
300 stars 27 forks source link

Error while installing on Ubuntu 18.04 Virtualbox VM #53

Closed Pensu closed 5 years ago

Pensu commented 5 years ago

Hi, I created a Ubuntu 18.04 VM on Virtualbox, attached a virtual hard disk to it and then tried to install lcfs on that disk. Here is the error I am getting:

root@pensu-VirtualBox:~# curl -fsSL http://lcfs.portworx.com/lcfs-setup.sh | sudo DEV=/dev/sdb bash
Unable to find image 'centos:latest' locally
latest: Pulling from library/centos
aeb7866da422: Pull complete 
Digest: sha256:67dad89757a55bfdfabec8abd0e22f8c7c12a1856514726470228063ed86593b
Status: Downloaded newer image for centos:latest
Preparing...                          ########################################
Updating / installing...
lcfs-0.5.0-0                          ########################################
Connecting to device, please wait...
Note: LCFS device file exists. Using existing device file /dev/sdb without modifying.
lcfs[2187]: Build: 3e2810a7e7150a231e03d9e75c565c330484cc13 Release: 0.5.0-3e2810a
lcfs[2187]: Maximum memory allowed for data pages 512 MB
lcfs[2187]: Formatting /dev/sdb, size 16106127360
lcfs[2187]: /dev/sdb mounted at /var/lib/docker
lcfs[2187]: /dev/sdb mounted at /lcfs
lcfs: linux.h:43: lc_lockOwned: Assertion `(lock == ((void *)0)) || lock->__data.__writer || (!exclusive && lock->__data.__nr_readers)' failed.

And it hangs there forever, any idea why it could be happening? TIA. @jjobi

jjobi commented 5 years ago

Not sure why this assertion is enabled in your build, since it has been compiled out (Need a new lcfs build?). The assertion is for enforcing the lock is held, we may want to look at the stack in the core dump to see which lock it is complaining about.

Pensu commented 5 years ago

Created a new environment, hitting #50 now, closing this issue.

lietu commented 4 years ago

I ran into the same issue on a fresh install of Pop!_OS 20.04, almost identical log .. same build hash and number.