Re: [atomic-devel] Running docker-storage-setup from a UI

2016-04-19 Thread Marius Vollmer
Vivek Goyal writes: > Ok, I am playing with it more and trying to understand it better. I wrote a test case for this: https://github.com/mvollmer/docker-storage-setup/blob/664a1fbf4f9683778081f9827737e84af7a8bc8f/tests/002-no-pvcreate-prompts-for-stale-fs-signatures > So If

Re: [atomic-devel] Running docker-storage-setup from a UI

2016-04-18 Thread Vivek Goyal
On Mon, Apr 18, 2016 at 12:02:49PM +0300, Marius Vollmer wrote: > Vivek Goyal writes: > > > On Fri, Apr 15, 2016 at 02:46:24PM +0300, Marius Vollmer wrote: > > > >> Sorry, I was talking about d-s-s. Do you think it is a bug in d-s-s > >> that pvcreate might prompt during its

Re: [atomic-devel] Running docker-storage-setup from a UI

2016-04-18 Thread Marius Vollmer
Vivek Goyal writes: > On Fri, Apr 15, 2016 at 02:46:24PM +0300, Marius Vollmer wrote: > >> Sorry, I was talking about d-s-s. Do you think it is a bug in d-s-s >> that pvcreate might prompt during its run and make it fail in a >> non-interactive use? > > No it is not a bug. If

Re: [atomic-devel] Running docker-storage-setup from a UI

2016-04-15 Thread Vivek Goyal
On Fri, Apr 15, 2016 at 02:46:24PM +0300, Marius Vollmer wrote: > Vivek Goyal writes: > > > On Thu, Apr 14, 2016 at 10:45:03AM +0300, Marius Vollmer wrote: > >> > >> In your opinion, is it a bug or a feature that pvcreate might prompt > >> like this? > > > > I think this is

Re: [atomic-devel] Running docker-storage-setup from a UI

2016-04-15 Thread Marius Vollmer
Vivek Goyal writes: > On Thu, Apr 14, 2016 at 10:45:03AM +0300, Marius Vollmer wrote: >> >> In your opinion, is it a bug or a feature that pvcreate might prompt >> like this? > > I think this is default behavior of pvcreate. By default it will not > create lvm signature on

Re: [atomic-devel] Running docker-storage-setup from a UI

2016-04-14 Thread Marius Vollmer
Vivek Goyal writes: > On Wed, Apr 13, 2016 at 10:36:40AM +0300, Marius Vollmer wrote: > >> [..] So any user-prompting from docker-storage-setup is a bug? I get >> a prompt from pvcreate sometimes, for example when the random data on >> the new partition has a filesystem

Re: [atomic-devel] Running docker-storage-setup from a UI

2016-04-13 Thread Vivek Goyal
On Wed, Apr 13, 2016 at 10:36:40AM +0300, Marius Vollmer wrote: > Vivek Goyal writes: > > > On Tue, Apr 12, 2016 at 03:09:08PM +0300, Marius Vollmer wrote: > > > >> - Docker-storage-setup needs to run non-interactively, but I think it > >> can't do that right now, and asks

Re: [atomic-devel] Running docker-storage-setup from a UI

2016-04-13 Thread Jeremy Eder
On Wed, Apr 13, 2016 at 9:06 AM, Daniel J Walsh wrote: > COW on loopback device, how do I fix? > Want to try out Overlayfs How? > ​ ​ ​Yes! These !​ ​

Re: [atomic-devel] Running docker-storage-setup from a UI

2016-04-13 Thread Daniel J Walsh
On 04/13/2016 08:46 AM, Marius Vollmer wrote: Daniel J Walsh writes: Well one case you can do right now is `atomic images --prune`, [...] I start to think we need to make a UI for "atomic" rather than for docker-storage-setup... What do you think of "atomic add-storage

Re: [atomic-devel] Running docker-storage-setup from a UI

2016-04-13 Thread Elvir Kuric
On 04/13/2016 10:56 AM, Marius Vollmer wrote: Elvir Kuric writes: I had same dilemma in past when I wanted to make d-s-s to wipe out all on device specified in DEVS section in /etc/sysconfig/docker-storage, however I think option to stop d-s-s if it detects fs signature is

Re: [atomic-devel] Running docker-storage-setup from a UI

2016-04-13 Thread Marius Vollmer
Elvir Kuric writes: > I had same dilemma in past when I wanted to make d-s-s to wipe out all > on device specified in DEVS section in /etc/sysconfig/docker-storage, > however I think option to stop d-s-s if it detects fs signature is > security warning for case when someone by

Re: [atomic-devel] Running docker-storage-setup from a UI

2016-04-13 Thread Marius Vollmer
Vivek Goyal writes: > On Tue, Apr 12, 2016 at 03:09:08PM +0300, Marius Vollmer wrote: > >> - Docker-storage-setup needs to run non-interactively, but I think it >> can't do that right now, and asks confirmation for various things. > > It already runs non-interactively. It is

Re: [atomic-devel] Running docker-storage-setup from a UI

2016-04-12 Thread Daniel J Walsh
On 04/12/2016 03:50 PM, Vivek Goyal wrote: On Tue, Apr 12, 2016 at 03:09:08PM +0300, Marius Vollmer wrote: Hi, I am working on this: https://github.com/cockpit-project/cockpit/wiki/Atomic:-Docker-Storage which is basically a UI inside Cockpit for docker-storage-setup. I am not super

Re: [atomic-devel] Running docker-storage-setup from a UI

2016-04-12 Thread Jeremy Eder
On Tue, Apr 12, 2016 at 10:26 AM, Marius Vollmer wrote: > Elvir Kuric writes: > > > On 04/12/2016 02:28 PM, Jeremy Eder wrote: > > > > I think --force-wipe and --init-storage ... or any destructive operation > > on disks was not good option in past

Re: [atomic-devel] Running docker-storage-setup from a UI

2016-04-12 Thread Marius Vollmer
Elvir Kuric writes: > On 04/12/2016 02:28 PM, Jeremy Eder wrote: > > I think --force-wipe and --init-storage ... or any destructive operation > on disks was not good option in past ( due by mistake selecting in > /etc/sysconfing/docker-storage wrong device ) .. not sure

Re: [atomic-devel] Running docker-storage-setup from a UI

2016-04-12 Thread Elvir Kuric
On 04/12/2016 02:28 PM, Jeremy Eder wrote: ​ Adding Vivek, not sure he's on this list.​ docker-storage-setup includes an example conf file: /usr/lib/docker-storage-setup/docker-storage-setup Perhaps there are some other options to that should be exposed to the UI? If it's helpful, here is an

Re: [atomic-devel] Running docker-storage-setup from a UI

2016-04-12 Thread Jeremy Eder
​Adding Vivek, not sure he's on this list.​ docker-storage-setup includes an example conf file: /usr/lib/docker-storage-setup/docker-storage-setup Perhaps there are some other options to that should be exposed to the UI? If it's helpful, here is an ansible I use to reprovision docker storage