These are chat archives for allegro/ralph

9th
Aug 2017
culterone
@culterone
Aug 09 2017 06:59
Hi, thank you for Ralph! It is working fine, but now I'm trying to authenticate via LDAP(Windows server 2016), and I successfully installed prod_ldap.txt, the "connector" script from your tutorial with adding AUTHENTICATION_BACKENDS, but when I'm trying to run the "mapping" script, I get an error: ImportError: No module named 'ralph.account'. Please help. Thank you.
Roman Prykhodchenko
@romcheg
Aug 09 2017 07:51
@ziompaul hi, we've received your email. Let's quickly discuss it here and resolve that issue with autostart you described
Paweł
@ziompaul
Aug 09 2017 07:51
:)
Roman Prykhodchenko
@romcheg
Aug 09 2017 07:52
What OS distribution do you have?
Paweł
@ziompaul
Aug 09 2017 07:52
ubuntu Trusty 14.04 (LTS)
✪ vi4m Marcin Kliks
@vi4m
Aug 09 2017 07:52
that looks good, it’s fully supported
we need to add only „upstart" script
@wrouesnel yes
Roman Prykhodchenko
@romcheg
Aug 09 2017 07:54
Well, actually we are switching to xenial that also bumps python version to 3.5 so you can consider upgrading your distro in the future. For now everything should work
Paweł
@ziompaul
Aug 09 2017 07:54
maybe
so, wuth this script will Ralph working 24/7 without console open?
Roman Prykhodchenko
@romcheg
Aug 09 2017 07:55
Sure
Paweł
@ziompaul
Aug 09 2017 07:55
ok
Roman Prykhodchenko
@romcheg
Aug 09 2017 07:56
upstart is a process orchestrator available in ubuntu up to Trusty
✪ vi4m Marcin Kliks
@vi4m
Aug 09 2017 07:56
@wrouesnel every item in Ralph, when changed, saves it’s history log
Zrzut ekranu 2017-08-09 o 09.54.44.png
Roman Prykhodchenko
@romcheg
Aug 09 2017 07:57
@ziompaul let me install a trusty VM quickly so I can actually test what I'm going to suggest you :)
Paweł
@ziompaul
Aug 09 2017 07:57
ok
Roman Prykhodchenko
@romcheg
Aug 09 2017 08:30
@ziompaul Small update: I have a trusty VM with a freshly instaled Ralph. Writing an upstart that should fulfill your needs
Paweł
@ziompaul
Aug 09 2017 08:31
ok
what to do?
Roman Prykhodchenko
@romcheg
Aug 09 2017 08:58
@ziompaul nothing for now :)
Paweł
@ziompaul
Aug 09 2017 08:58
what do you mean?
Roman Prykhodchenko
@romcheg
Aug 09 2017 08:59
I mean, I'm still working on the upstart script and at the moment I have all information required for that
Paweł
@ziompaul
Aug 09 2017 08:59
oh, ok. sorry
Roman Prykhodchenko
@romcheg
Aug 09 2017 08:59
I'll give you something to test soon
no problem at all
Paweł
@ziompaul
Aug 09 2017 09:28
is there a possibility to use an SNMProtocol to update server informations to RALPH 3?
Roman Prykhodchenko
@romcheg
Aug 09 2017 09:36
Not out of the box
However, you can create your own script that, say, will use ralph CLI in order to achieve what you described
Paweł
@ziompaul
Aug 09 2017 09:38
so with ralph CLI I can update servers informations, ok maybe we will be able to to taht in the future
Roman Prykhodchenko
@romcheg
Aug 09 2017 12:30
@ziompaul are you around?
I have finished prepairing and testing the configuration that allows Ralph to run as a daemon on Trusty without docker
We are going to contribute that to upstream so it will work for everyone
However, we can apply the same stuff for your set up manually now so you won't have to wait
Paweł
@ziompaul
Aug 09 2017 12:35
10 min
Paweł
@ziompaul
Aug 09 2017 12:41
ok, I am here
Paweł
@ziompaul
Aug 09 2017 14:03
Ok, we will continue tommorow