[systemd-devel] gluster & libvritd

2017-01-18 Thread lejeczek
sorry guys, I bugged libvirtd but... weirdly, quiet there, 
so I'm hoping an expert here would share a thought.


I've a few VM guest which work/run perfectly fine, I 
believe, except for autostart.
Configuration of system, gluster and libvirt is pretty 
regular and not complex.

Errors I see:
...
failed to initialize gluster connection (src=0x7f9424266350 
priv=0x7f94242922b0): Transport endpoint is
internal error: Failed to autostart VM 'rhel-work2': failed 
to initialize gluster connection (src=0x7f9
failed to initialize gluster connection (src=0x7f942423fef0 
priv=0x7f9424256320): Transport endpoint is
internal error: Failed to autostart VM 'rhel-work3': failed 
to initialize gluster connection (src=0x7f9
failed to initialize gluster connection (src=0x7f9424261b20 
priv=0x7f94242a18b0): Transport endpoint is
internal error: Failed to autostart VM 'rhel-work1': failed 
to initialize gluster connection (src=0x7f9

...

I tried to make systemd libvirtd to wait for gluster:

After=glusterd.service

but if that's all required then, well, still fails.
Would you have any suggestions?
Many thanks,
L.

___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel


[systemd-devel] oneshot & restart

2017-01-18 Thread lejeczek

hi all
I'm reading man pages but cannot see whether there is a 
conflict there,

a unit:

[Service]
Type=oneshot
RemainAfterExit=yes
TimeoutSec=0

$ systemctl edit
[Service]
Restart=on-failure
RestartSec=90
TimeoutSec=10

and I see:

   Loaded: error (Reason: Invalid argument)
  Drop-In: /etc/systemd/system/ipa.service.d
   └─override.conf
   Active: active (exited) since Wed 2017-01-18 11:25:08 
GMT; 25min ago

 Main PID: 17579 (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/ipa.service

btw. I'm reading man page on edit
"... to extend or override the specified unit."
Is it that - override.conf extends by what is not in the 
original unit file and overrides what is there in the original ?


many thanks,
L.
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel