projectatomic / atomic

Atomic Run Tool for installing/running/managing container images.
Other
527 stars 139 forks source link

not sure how to run `atomic storage reset` #826

Open dustymabe opened 7 years ago

dustymabe commented 7 years ago

I'm trying to run atomic storage reset but I can't get past the command line validation:

-bash-4.3# rpm -q atomic
atomic-1.14.1-1.fc25.x86_64

-bash-4.3# atomic storage reset
/usr/bin/atomic storage reset: too few arguments
Try '/usr/bin/atomic storage reset --help' for more information.

-bash-4.3# atomic storage reset --help
usage: atomic storage reset [-h] [--graph GRAPH]

optional arguments:
  -h, --help     show this help message and exit
  --graph GRAPH  Root of the Docker runtime (Default: /var/lib/docker)

-bash-4.3# atomic storage reset --graph /var/lib/docker
/usr/bin/atomic storage reset --graph /var/lib/docker: too few arguments
Try '/usr/bin/atomic storage reset --graph /var/lib/docker --help' for more information.

The storage pool was previously set up using:

# cat /etc/sysconfig/docker-storage-setup 
GROWPART=true
ROOT_SIZE=9G
STORAGE_DRIVER=overlay2
mvollmer commented 7 years ago

See #805. atomic storage is broken and we didn't catch that because #808.

rhatdan commented 7 years ago

I just cut an atomic-1.15.1, we should prepare and build this for Fedora 26/25

mvollmer commented 7 years ago

807 was unfortunately not a complete fix. It made atomic storage reset work, but atomic storage modify is still broken.