vdsm dependency rsyslog?

Hi, I just observed that vdsm has a hard dependency on rsyslog. Could anybody enlighten me why this is needed? As I understand it's a python script which could log to any configurable logging facility. What about other syslog services? -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH & Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen

On Wed, Apr 09, 2014 at 04:15:26PM +0000, Sven Kieske wrote:
Hi,
I just observed that vdsm has a hard dependency on rsyslog.
Could anybody enlighten me why this is needed?
As I understand it's a python script which could log to any configurable logging facility.
What about other syslog services?
Incidently, the same issue has been raised in Bug 1083100 - vdsm depends on rsyslog Could you present (here, or on bugzilla) your use case for another syslog service? Which one? Or do you want to turn it off completely?

Am 10.04.2014 12:04, schrieb Dan Kenigsberg:
Could you present (here, or on bugzilla) your use case for another syslog service? Which one? Or do you want to turn it off completely?
I'll do both (here and on BZ): Usecase: Well utilize existing log infrastructure which doesn't use rsyslog, perhaps? e.g. syslog-ng furthermore: vdsms logging is configured via /etc/vdsm/logger.conf and uses the python module logging: https://docs.python.org/2/library/logging.html this module is pretty cool, it allows you to redirect your logging basically to wherever you like, including syslog services or files, whatever. so why restrict this builtin feature by adding a hard dependency to a specific logging service? I know it's done because it's built on red hat linux where rsyslog is the default, and I don't want to say rsyslog is bad, it's just not used by everybody. As I understand there is work be done to port vdsm and engine to different distros like debian/ubuntu and gentoo. If you really want to port your software, keep it portable. This means in the first place don't introduce dependencies which aren't absolutely necessary. This one isn't really necessary. I can report to you that e.g. syslog-ng handles vdsm logs well. ;) HTH -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH & Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen

On 04/10/2014 02:36 PM, Sven Kieske wrote:
Am 10.04.2014 12:04, schrieb Dan Kenigsberg:
Could you present (here, or on bugzilla) your use case for another syslog service? Which one? Or do you want to turn it off completely?
I'll do both (here and on BZ): Usecase:
Well utilize existing log infrastructure which doesn't use rsyslog, perhaps? e.g. syslog-ng furthermore: vdsms logging is configured via /etc/vdsm/logger.conf and uses the python module logging: https://docs.python.org/2/library/logging.html
this module is pretty cool, it allows you to redirect your logging basically to wherever you like, including syslog services or files, whatever.
so why restrict this builtin feature by adding a hard dependency to a specific logging service?
I know it's done because it's built on red hat linux where rsyslog is the default, and I don't want to say rsyslog is bad, it's just not used by everybody.
As I understand there is work be done to port vdsm and engine to different distros like debian/ubuntu and gentoo.
If you really want to port your software, keep it portable. This means in the first place don't introduce dependencies which aren't absolutely necessary.
wouldn't that just be a dependency change for the package for the other distro's? its not like they will use the rhel spec anyway?
This one isn't really necessary. I can report to you that e.g. syslog-ng handles vdsm logs well. ;)
HTH

well as I already elaborated (with more detail in the BZ, though). ( Bug 1083100 - vdsm depends on rsyslog ) vdsm crashes if /dev/log is not there. the devs where a little inaccurate and added the dependency for rsyslog, but the real dependency is on /dev/log, which is also satisfied by e.g. syslog-ng. so if someone wants to use syslog-ng on rhel maybe because it is already used in other infrastructure you still have to install rsyslogd for no use? Am 11.04.2014 15:10, schrieb Itamar Heim:
wouldn't that just be a dependency change for the package for the other distro's? its not like they will use the rhel spec anyway?
-- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH & Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen

----- Original Message -----
From: "Sven Kieske" <S.Kieske@mittwald.de> To: "Itamar Heim" <iheim@redhat.com>, "Dan Kenigsberg" <danken@redhat.com>, ybronhei@redhat.com Cc: "Users@ovirt.org List" <Users@ovirt.org>, "Alon Bar-Lev" <alonbl@redhat.com> Sent: Friday, April 11, 2014 4:20:32 PM Subject: Re: [ovirt-users] vdsm dependency rsyslog?
well as I already elaborated (with more detail in the BZ, though). ( Bug 1083100 - vdsm depends on rsyslog )
vdsm crashes if /dev/log is not there.
It should not crash if /dev/log is not available. Having syslog or /dev/log should be optional.
the devs where a little inaccurate and added the dependency for rsyslog, but the real dependency is on /dev/log, which is also satisfied by e.g. syslog-ng.
I do not see that this is a standard nor rsyslog provides this.
so if someone wants to use syslog-ng on rhel maybe because it is already used in other infrastructure you still have to install rsyslogd for no use?
The problem is that we usually part software part integration, configuring other components when we install ours, this creates tight coupling between what we can support. However, in this case I do not see we try to configure rsyslog, so rsyslog should be completely optional. If we want integration type solution, the rsyslog or any other logger should be installed and enabled using host-deploy.
Am 11.04.2014 15:10, schrieb Itamar Heim:
wouldn't that just be a dependency change for the package for the other distro's? its not like they will use the rhel spec anyway?
-- Mit freundlichen Grüßen / Regards
Sven Kieske
Systemadministrator Mittwald CM Service GmbH & Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
participants (4)
-
Alon Bar-Lev
-
Dan Kenigsberg
-
Itamar Heim
-
Sven Kieske