[ovirt-devel] unable to add host(s)

Martin Mucha mmucha at redhat.com
Wed Sep 27 09:34:21 UTC 2017


Hi,

I have some hosts which are resilient to my effort to add them into engine:

1. produces some error about iptables:

2017-09-27 11:45:29,711+0300 DEBUG otopi.plugins.otopi.services.systemd
plugin.executeRaw:813 execute: ('/usr/bin/systemctl', 'enable',
u'iptables.service'), executable='None', cwd='None', e
nv=None
2017-09-27 11:45:29,717+0300 DEBUG otopi.plugins.otopi.services.systemd
plugin.executeRaw:863 execute-result: ('/usr/bin/systemctl', 'enable',
u'iptables.service'), rc=1
2017-09-27 11:45:29,717+0300 DEBUG otopi.plugins.otopi.services.systemd
plugin.execute:921 execute-output: ('/usr/bin/systemctl', 'enable',
u'iptables.service') stdout:


2017-09-27 11:45:29,717+0300 DEBUG otopi.plugins.otopi.services.systemd
plugin.execute:926 execute-output: ('/usr/bin/systemctl', 'enable',
u'iptables.service') stderr:
Failed to execute operation: No such file or directory

2017-09-27 11:45:29,718+0300 DEBUG otopi.context context._executeMethod:143
method exception
Traceback (most recent call last):
  File "/tmp/ovirt-5BawtgI21o/pythonlib/otopi/context.py", line 133, in
_executeMethod
    method['method']()
  File "/tmp/ovirt-5BawtgI21o/otopi-plugins/otopi/network/iptables.py",
line 108, in _closeup
    self.services.startup('iptables', True)
  File "/tmp/ovirt-5BawtgI21o/otopi-plugins/otopi/services/systemd.py",
line 122, in startup
    service=name,
RuntimeError: Failed to enable service 'iptables'
2017-09-27 11:45:29,720+0300 ERROR otopi.context context._executeMethod:152
Failed to execute stage 'Closing up': Failed to enable service 'iptables'


•
see ovirt-host-deploy-20170927104530-vm-18-133.eng.lab.tlv.redhat.com-310be768.log
in attachment
• but perpetual effort and retries seems to fix this, so I did not get this
one again.


2. generally hosts tries to install uninstallable cockpit-whatever and
other non existant libraries, which I can overcome with
/etc/ovirt-host-deploy.conf.d/50-offline-packager.conf, but it's making
whole process kinda very slow. Is there a better way?

3. and finally host vm-17-100.eng.lab.tlv.redhat.com responds to same
treatment (disabling package manager, multitude of retries to install host
and do yum updates before installing host ) differently, and now it always
became nonresponsive upon installation, without any information (apparently
to me) in logs. Otherwise host function pretty normal, it only cannot be
added to engine.

check
ovirt-host-deploy-20170927105857-vm-17-100.eng.lab.tlv.redhat.com-e01e0dd4-c0cc-499d-8f1f-6d0b12b64804.log
in attachment.

————

am I doing something wrong? Or is this a bug?

If you need any further information, please ask. I can retry any time,
possibly with different host.

M.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/devel/attachments/20170927/bf1ba95d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ovirt-host-deploy-20170927104530-vm-18-133.eng.lab.tlv.redhat.com-310be768.log
Type: text/x-log
Size: 409199 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/devel/attachments/20170927/bf1ba95d/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ovirt-host-deploy-20170927105857-vm-17-100.eng.lab.tlv.redhat.com-e01e0dd4-c0cc-499d-8f1f-6d0b12b64804.log
Type: text/x-log
Size: 429552 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/devel/attachments/20170927/bf1ba95d/attachment-0003.bin>


More information about the Devel mailing list