sagemathinc / cocalc-compute-docker

Docker image for adding remote compute capabilities to a CoCalc project.
Other
2 stars 1 forks source link

cloud filesystem: failed to format #15

Open williamstein opened 2 weeks ago

williamstein commented 2 weeks ago

The check here is not sufficiently robust:

https://github.com/sagemathinc/cocalc-compute-docker/blob/main/src/cloud-filesystem/scripts/cloud_filesystem.py#L839

I saw an example of a cloud filesystem where we had only this:

/buckets/storage-bucket-25/juicefs$ ls 
juicefs_uuid

It thus wouldn't format it. However, it wasn't formatted. So I think we need a better test:

We should be able to check this though using juicefs.

williamstein commented 2 weeks ago

In the case where I saw this I removed /buckets/storage-bucket-25/juicefs and then it worked to format.