From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christine Caulfield Date: Thu, 10 Sep 2009 09:22:15 +0100 Subject: [Cluster-devel] ccs_config_dump / ccs_config_validate In-Reply-To: <1252517093.16393.116.camel@cerberus.int.fabbione.net> References: <1252045015.339.139.camel@cerberus.int.fabbione.net> <20090904153753.GA26463@redhat.com> <1252086256.6387.25.camel@cerberus.int.fabbione.net> <20090904180612.GB26463@redhat.com> <1252131148.6387.30.camel@cerberus.int.fabbione.net> <4AA4AB5E.5090300@redhat.com> <20090908160121.GA11641@redhat.com> <1252428569.16393.11.camel@cerberus.int.fabbione.net> <20090908183451.GB11641@redhat.com> <1252443046.16393.34.camel@cerberus.int.fabbione.net> <20090909154248.GA9771@redhat.com> <1252517093.16393.116.camel@cerberus.int.fabbione.net> Message-ID: <4AA8B737.5000800@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On 09/09/09 18:24, Fabio M. Di Nitto wrote: > On Wed, 2009-09-09 at 10:42 -0500, David Teigland wrote: >> On Tue, Sep 08, 2009 at 10:50:46PM +0200, Fabio M. Di Nitto wrote: >>>> -d Produce debug output >>> >>> I would prefer to skip debug completely and leave verbose to print >>> everything it prints now. >> >> ok >> >>>> Debugging options: >>>> -C config_loader Override config plugin loader >>> >>> Forgot to mention this one.. being able to override is not debugging. >> >> just remove "Debugging options", all those options are actually useful. > > Ok. > >> >>> For example I just imported current cluster.conf into LDAP, before I >>> change default settings, I can ask to validate the config there (or >>> whatever possible combination). >> >> Would it be useful to allow >> >> ccs_config_validate -l [/path/to/file | ldap/url] ? >> >> (To me, the sysconfig/cman nonsense is actually the part that makes all this >> too complicated for normal humans to keep straight. 99% of users will not be >> using sysconfig/cman, so let's be sure not to sacrifice clarity for the sake >> of the 1%.) > > The ldap config is complex and requires at least 2 env vars to be set. > I'll need to check with Chrissie if it's possible to pass them embedded > in the URL as I am really not the ldap expert. > In theory you can. In practise it doesn't work, unfortunately :-( Chrissie