[Bugs] [Bug 1649054] glustereventsd does not start on Ubuntu 16.04 LTS

bugzilla at redhat.com bugzilla at redhat.com
Fri Dec 28 04:14:37 UTC 2018


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



--- Comment #12 from dchang0 <dchang at silverlakecorp.com> ---
This doesn't matter now, since you've changed at least the glustereventsd.py
patch, but I'm posting these anyway for diagnostic purposes.

The source code was built in /root/glusterfs-5.1. The install with the patches
applied is in /usr/local...

-----


root at datastore2c:/home/pi# diff
/root/glusterfs-5.1/events/src/glustereventsd.py
/usr/local/libexec/glusterfs/events/glustereventsd.py
31c31
< class GlusterEventsRequestHandler(SocketServer.BaseRequestHandler):
---
> class GlusterEventsRequestHandler(socketserver.BaseRequestHandler):
101c101
<         server = SocketServer.ThreadingUDPServer(
---
>         server = socketserver.ThreadingUDPServer(


-----


root at datastore2c:/home/pi# diff  /root/glusterfs-5.1/events/src/utils.py
/usr/local/libexec/glusterfs/events/utils.py
29,35c29,42
< from .eventsapiconf import (LOG_FILE,
<                            WEBHOOKS_FILE,
<                            DEFAULT_CONFIG_FILE,
<                            CUSTOM_CONFIG_FILE,
<                            UUID_FILE,
<                            CERTS_DIR)
< from . import eventtypes
---
> try:
>     from .eventsapiconf import (LOG_FILE,
>                                 WEBHOOKS_FILE,
>                                 DEFAULT_CONFIG_FILE,
>                                 CUSTOM_CONFIG_FILE,
>                                 UUID_FILE,
>                                 CERTS_DIR)
> except ImportError:
>     from eventsapiconf import (LOG_FILE,
>                                WEBHOOKS_FILE,
>                                DEFAULT_CONFIG_FILE,
>                                CUSTOM_CONFIG_FILE,
>                                UUID_FILE,
>                                CERTS_DIR)
36a44,47
> try:
>     from . import eventtypes
> except ImportError:
>     import eventtypes


-----

So it looks like I did apply the patches before, but they were probably
bad/broken patches.

Anyway, I will replace the patched files with the original source, then apply
your new patches and see what happens and report back.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Bugs mailing list