[Gluster-devel] Force issue

James purpleidea at gmail.com
Tue Jan 21 00:24:28 UTC 2014


On Mon, Jan 20, 2014 at 5:01 PM, Paul Cuzner <pcuzner at redhat.com> wrote:
> Bit of a delay on this one (on hols), but +1 from me
>
> I use the force parameter in gluster-deploy - specifically for enabling
> snapshot support by provisioning thin LV's.
Cool - maybe there are other specific arguments that we should add.
Could you add your comments to bz? I opened this last week:

https://bugzilla.redhat.com/show_bug.cgi?id=1051993

>
> PC
PS: Once upon a time I remember we spoke about porting gluster deploy
to use Puppet-Gluster. FWIW, if you look at the Puppet-Gluster+Vagrant
stuff I just published, it shows how to integrate something (vagrant)
with Puppet-Gluster.
https://ttboj.wordpress.com/2014/01/08/automatically-deploying-glusterfs-with-puppet-gluster-vagrant/

>
>
> ________________________________
>
> From: "James" <purpleidea at gmail.com>
> To: "Gluster Devel" <gluster-devel at nongnu.org>
> Sent: Saturday, 11 January, 2014 6:50:50 PM
> Subject: [Gluster-devel] Force issue
>
>
> I came across this issue while working on Puppet Gluster...
>
> volume create: puppet: failed: The brick
> annex1.example.com:/var/lib/puppet/tmp/gluster/data/puppet is is being
> created in the root partition. It is recommended that you don't use
> the system's root partition for storage backend. Or use 'force' at the
> end of the command if you want to override this behavior.
>
> For automation purposes, this is a problem, because while I'm happy to
> add in the 'force' argument for all commands to avoid the above error,
> if a different type of error that can be overrided by force occurs,
> then I'll be unknowingly allowing it.
>
> For this reason, it probably makes sense to add in an alternate
> syntax, such as --allow-root-storage or similar... One for each
> possible override.
>
> Also:
>
> As a side note, I would _LOVE_ to see an --allow-reusing-prefix to
> forcibly clear the prefixes if they are empty and create the volume.
> The problem is failed gluster volume create commands make folders on
> all the hosts, and cause you to hit the prefix problem.
>
> Cheers,
> James
>
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at nongnu.org
> https://lists.nongnu.org/mailman/listinfo/gluster-devel
>
>




More information about the Gluster-devel mailing list