On Wed, Nov 05, 2008 at 04:21:57PM -0800, Bernard Li wrote:
> 
> While trying to upgrade my current 3.1.0 installation of Ganglia with
> the 3.1.1.1901 + spoofing RPMs I just built, I noticed that gmond.conf
> was created as gmond.conf.rpmnew.
>
> This doesn't surprise me much, as I know that there were minor
> configuration changes between 3.1.0 and 3.1.x branch.

there were changes from 3.1.0 to 3.1.1 because of the removal of the
module path as described in the release notes, and also changes from 3.1.1
to 3.1.2 because of the removal of support for clusterless gmond and
adding the option to filter out the extra metric metadata.

> However, when I ran diff, the result was that the *entire* file was
> completely different.

diff -b (assuming the version of diffutils from CentOS 4 supports that)
will let you see the relevant changes that will need porting.

> I double checked this and found out it is the same between 3.1.1 and
> 3.1.1.1901 (i.e. the entire 3.1.1 gmond.conf file was different from
> 3.1.1.1901 gmond.conf file).
> 
> Turns out, it was because of this recent backport in 3.1.x branch:
> 
> http://ganglia.svn.sourceforge.net/viewvc/ganglia?view=rev&revision=1882
> 
> Is this really necessary?  While in general I am in favour of
> whitespace cleanup, in this case I think since it impacts usability, I
> think we should punt this until later.

"later" will just defer the problem, and since every release will have
most likely configuration changes which will require updates then you
are not solving anything but just deferring this.

if the concern is really about usability then `gmond -r` could be used
if extended to aid in configuration migrations, but considering that
functionality was broken in 3.1 until recently (fixes will be released with
3.1.2) for migrations from 2.5 and migrations from 3.0 were being handled by
some hacky patch and manual steps, all that should be needed in that case will
be to update the procedures to use the right flags. 

Carlo

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ganglia-developers mailing list
Ganglia-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-developers

Reply via email to