Description of problem: Failed to deploy Node Zero with "[ ERROR ] Failed to execute stage 'Clean up': 'NoneType' object has no attribute 'cleanup'" Version-Release number of selected component (if applicable): ovirt-hosted-engine-setup-2.2.9-1.el7ev.noarch ovirt-hosted-engine-ha-2.2.4-1.el7ev.noarch rhvm-appliance-4.2-20180201.0.el7.noarch How reproducible: 100% Steps to Reproduce: 1.Deploy SHE using ansible. Actual results: Deployment failed. Expected results: Should succeed. Additional info: Engine was not accessible during deployment via sshe, I could not gather logs from it. http://pastebin.test.redhat.com/552650 Sosreport from host appears within the attachment.
Created attachment 1390967 [details] sosreport from puma19
NFS? iSCSI? All? With Cockpit or CLI? Missing some information...
[ ERROR ] fatal: [nsednev-he-4.scl.lab.tlv.redhat.com]: FAILED! => {"changed": true, "cmd": ["/usr/bin/engine-setup", "--offline", "--config-append=/root/ovirt-engine-answers", "--config-append=/root/heanswers.conf"], "delta": "0:00:01.651093", "end": "2018-02-04 16:26:31.229317", "msg": "non-zero return code", "rc": 1, "start": "2018-02-04 16:26:29.578224", "stderr": "", "stderr_lines": [], "stdout": "[ INFO ] Stage: Initializing\n[ INFO ] Stage: Environment setup\n Configuration files: ['/etc/ovirt-engine-setup.conf.d/10-packaging-wsp.conf', '/etc/ovirt-engine-setup.conf.d/10-packaging.conf', '/root/ovirt-engine-answers', '/root/heanswers.conf']\n Log file: /var/log/ovirt-engine/setup/ovirt-engine-setup-20180204162630-upy1rz.log\n Version: otopi-1.7.7 (otopi-1.7.7-1.el7ev)\n[ ERROR ] \"before\" parameter of method otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin._misc_configure_ovn_pki is a string, should probably be a tuple. Perhaps a missing comma?\n methodinfo: {'priority': 5000, 'name': None, 'before': 'osetup.ovn.provider.service.restart', 'after': ('osetup.pki.ca.available', 'osetup.ovn.services.restart'), 'method': <bound method ?._misc_configure_ovn_pki of <otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin object at 0x18d9490>>, 'condition': <bound method ?.<lambda> of <otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin object at 0x18d9490>>, 'stage': 11}\n[ ERROR ] \"before\" parameter of method otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin._misc_configure_provider is a string, should probably be a tuple. Perhaps a missing comma?\n methodinfo: {'priority': 5000, 'name': None, 'before': 'osetup.ovn.provider.service.restart', 'after': ('osetup.pki.ca.available', 'osetup.ovn.services.restart'), 'method': <bound method ?._misc_configure_provider of <otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin object at 0x18d9490>>, 'condition': <bound method ?.<lambda> of <otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin object at 0x18d9490>>, 'stage': 11}\n[ ERROR ] Failed to execute stage 'Environment setup': Found bad \"before\" or \"after\" parameters\n[ INFO ] Stage: Clean up\n Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20180204162630-upy1rz.log\n[ ERROR ] Failed to execute stage 'Clean up': 'NoneType' object has no attribute 'cleanup'\n[ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20180204162631-setup.conf'\n[ INFO ] Stage: Pre-termination\n[ INFO ] Stage: Termination\n[ ERROR ] Execution of setup failed", "stdout_lines": ["[ INFO ] Stage: Initializing", "[ INFO ] Stage: Environment setup", " Configuration files: ['/etc/ovirt-engine-setup.conf.d/10-packaging-wsp.conf', '/etc/ovirt-engine-setup.conf.d/10-packaging.conf', '/root/ovirt-engine-answers', '/root/heanswers.conf']", " Log file: /var/log/ovirt-engine/setup/ovirt-engine-setup-20180204162630-upy1rz.log", " Version: otopi-1.7.7 (otopi-1.7.7-1.el7ev)", "[ ERROR ] \"before\" parameter of method otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin._misc_configure_ovn_pki is a string, should probably be a tuple. Perhaps a missing comma?", " methodinfo: {'priority': 5000, 'name': None, 'before': 'osetup.ovn.provider.service.restart', 'after': ('osetup.pki.ca.available', 'osetup.ovn.services.restart'), 'method': <bound method ?._misc_configure_ovn_pki of <otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin object at 0x18d9490>>, 'condition': <bound method ?.<lambda> of <otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin object at 0x18d9490>>, 'stage': 11}", "[ ERROR ] \"before\" parameter of method otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin._misc_configure_provider is a string, should probably be a tuple. Perhaps a missing comma?", " methodinfo: {'priority': 5000, 'name': None, 'before': 'osetup.ovn.provider.service.restart', 'after': ('osetup.pki.ca.available', 'osetup.ovn.services.restart'), 'method': <bound method ?._misc_configure_provider of <otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin object at 0x18d9490>>, 'condition': <bound method ?.<lambda> of <otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin object at 0x18d9490>>, 'stage': 11}", "[ ERROR ] Failed to execute stage 'Environment setup': Found bad \"before\" or \"after\" parameters", "[ INFO ] Stage: Clean up", " Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20180204162630-upy1rz.log", "[ ERROR ] Failed to execute stage 'Clean up': 'NoneType' object has no attribute 'cleanup'", "[ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20180204162631-setup.conf'", "[ INFO ] Stage: Pre-termination", "[ INFO ] Stage: Termination", "[ ERROR ] Execution of setup failed"]} It was a bug on engine-setup on the appliance. We already fixed and shipped a fresh appliance. *** This bug has been marked as a duplicate of bug 1541233 ***
(In reply to Yaniv Kaul from comment #2) > NFS? iSCSI? All? With Cockpit or CLI? > Missing some information... 1.Cockpit on RHEL is not working and not supported. 2.Deployment fails on its early stages, even without getting to storage type. 3.RHEL based deployment being always executed using CLI.
bug 1541233 had been verified, but it still happens on RHEL components as was described at the description section. Please consider on reopening this bug as it still reproducible on RHEL.
(In reply to Nikolai Sednev from comment #5) > bug 1541233 had been verified, but it still happens on RHEL components as > was described at the description section. > Please consider on reopening this bug as it still reproducible on RHEL. which version of the appliance are you using? rhvm-appliance-4.2-20180202.0 ?
Just as was mentioned within the description: rhvm-appliance-4.2-20180201.0.el7.noarch.
(In reply to Nikolai Sednev from comment #4) > 1.Cockpit on RHEL is not working and not supported. AFAIK it should work as well.
BZ<2>Jira re-sync