Re: Func connections failing

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

 





On Fri, Feb 25, 2011 at 2:11 PM, seth vidal <skvidal@xxxxxxxxxxxxxxxxx> wrote:
On Fri, 2011-02-25 at 14:05 -0700, Thomas S Hatch wrote:
>
>
> On Fri, Feb 25, 2011 at 2:00 PM, seth vidal
> <skvidal@xxxxxxxxxxxxxxxxx> wrote:
>
>         On Mon, 2011-01-10 at 17:00 -0700, Thomas S Hatch wrote:
>         > I have been using func for years to manage my systems, but
>         today,
>         > while standing up a new environment I ran into this problem.
>         The func
>         > daemons and the certmaster all start up, and all the certs
>         are made
>         > and distributed.
>         > But every time I try to connect via func from the master to
>         a minion
>         > th eminion throws this error:
>         >
>         >
>         > ----------------------------------------
>         > Exception happened during processing of request from
>         ('10.23.0.3',
>         > 42188)
>         > Traceback (most recent call last):
>         >   File "/usr/lib/python2.7/SocketServer.py", line 558, in
>         > process_request
>         >     self.shutdown_request(request)
>         >   File "/usr/lib/python2.7/SocketServer.py", line 459, in
>         > shutdown_request
>         >     request.shutdown(socket.SHUT_WR)
>         >   File
>         "/usr/lib/python2.7/site-packages/certmaster/SSLConnection.py",
>         > line 54, in shutdown
>         >     self.__dict__["conn"].shutdown()
>         > Error: []
>         > ----------------------------------------
>         >
>         >
>         > And the connection fails
>         >
>         >
>         > I am running the latest func, func --version returns 0.26
>         >
>         >
>         > Does anyone have any ideas what might be causing this? Or
>         suggestions
>         > on how to find out more information?
>         >
>
>
>
>
>         this is python 2.7, right? Some changes just got committed
>         which help
>         python 2.7 issues. Can you try those?
>
>         I'm sorry it took so long to reply.
>
>         -sv
>
>
>
> Hey seth! finally they got committed eh? I have patched Arch Linux
> func package to include a patch for this, I am assuming it is the same
> issue?
>
>
> https://aur.archlinux.org/packages/func/func/python_27.patch
>
>
> And yes, I will be happy to test it out, I will roll an Arch package
> from it for testing, I will probably get to it tomorrow.


Thomas,
 Yes it finally happened. I got the round tuits and got something
together to do a proper test to make sure nothing else had broken.

I'm sorry for the long wait - things got busy but they MIGHT get
better. :)

Your patch is much the same but there was one other one needed to
certmaster/SSLConnection.py which Felix sent in. That makes it work,
too.

-sv



This probably:
https://aur.archlinux.org/packages/certmaster/certmaster/python_27.patch

I sent both patches to the list over a month ago, also, for what it is worth I have been running func in an Arch Linux environment with over 100 minions with these patches without issue for the past month.

I hope you get more time to refine func, I think it is great stuff, I know that ovirt is moving to matahari, and I have had issues with func scaling to handle the number of minions I have right now in one of my bigger deployments. But I don't like the matahari architecture as much. I am working on a func-like project right now called salt that uses zeromq, but I have not had the cycles to give it the love that it needs.

good luck on func, I am looking forward to the next release, and I will start testing soon.
_______________________________________________
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