Re: Certmaster Segfault & Groups issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2010-09-24 at 12:31 -0400, Andrew Rankin wrote:
> On Fri, Sep 24, 2010 at 12:25 PM, seth vidal <skvidal@xxxxxxxxxxxxxxxxx> wrote:
> > On Fri, 2010-09-24 at 12:23 -0400, Andrew Rankin wrote:
> >> >
> >> > Wow, that's bizarre. It seems to be dying right as it has finished
> >> > everything else.
> >> >
> >> > what distro/ver/python-ver/openssl version is this?
> >> >
> >>
> >> [root@rtpus175 ~]# python
> >> Python 2.4.3 (#1, Sep  3 2009, 15:37:37)
> >> [GCC 4.1.2 20080704 (Red Hat 4.1.2-46)] on linux2
> >> Type "help", "copyright", "credits" or "license" for more information.
> >>
> >> [root@rtpus175 ~]# cat /etc/redhat-release
> >> CentOS release 5.5 (Final)
> >>
> >> [root@rtpus175 ~]# uname -a
> >> Linux rtpus175.corpnet2.com 2.6.18-194.11.4.el5 #1 SMP Tue Sep 21
> >> 05:04:09 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
> >>
> >> [root@rtpus175 ~]# openssl
> >> OpenSSL> version
> >> OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
> >>
> >> >
> >> >> Your spacing comment made me check the groups file, if there is a
> >> >> space after the semicolon it breaks.  Remove the space, all is well.
> >> >> Since that groups file has been in place for about a year, that is
> >> >> new.  The file format description at
> >> >> https://fedorahosted.org/func/wiki/GroupsApi has spaces too.
> >> >
> >> > /me goes to fix
> >> >
> >> > thanks
> >> > -sv
> >> >
> >>
> >> I'll be happy to test a patch.
> >
> > Patch:
> >
> > diff --git a/func/overlord/group/conf_backend.py
> > b/func/overlord/group/conf_backend.py
> > index 70ad56c..6c2de21 100644
> > --- a/func/overlord/group/conf_backend.py
> > +++ b/func/overlord/group/conf_backend.py
> > @@ -61,6 +61,7 @@ class ConfBackend(BaseBackend):
> >                     hosts = hosts.replace(';',',')
> >                     hosts = hosts.split(",")
> >                     for h in hosts:
> > +                        h = h.strip()
> >                         self.add_host_to_group(section,h,save=False)
> >
> >     def add_host_to_group(self,group,host,save=True):
> >
> >
> > only apply that on the overlord(s)
> >
> > see if it magically fixes your problems.
> >
> > -sv
> >
> >
> >
> 
> Much better:
> 
> [root@rtpus040 group]# func @bc1 ping
> [ ok ... ] node101.040.csc.local
> [ ok ... ] node111.040.csc.local
> [ ok ... ] node108.040.csc.local
> [ ok ... ] node109.040.csc.local
> [ ok ... ] node114.040.csc.local
> [ ok ... ] node106.040.csc.local
> [ ok ... ] node113.040.csc.local
> [ ok ... ] node107.040.csc.local
> [ ok ... ] node110.040.csc.local
> [ ok ... ] node112.040.csc.local
> [ ok ... ] node102.040.csc.local
> [ ok ... ] node103.040.csc.local
> [ ok ... ] node104.040.csc.local
> [ ok ... ] node105.040.csc.local
> 

pushed.

-sv


_______________________________________________
Func-list mailing list
Func-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/func-list


[Index of Archives]     [Fedora Users]     [Linux Networking]     [Fedora Legacy List]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux