[ovirt-users] engine setup error

dhy336 at sina.com dhy336 at sina.com
Fri Apr 27 04:31:58 UTC 2018


Hi I engine setup faces some error.
 I try to solute it and  it is work. here is my patch. But  not sure it is right?

 $HOME/ovirt-engine/bin/engine-setup[ INFO  ] Stage: Initializing
          Setup was run under unprivileged user this will produce development installation do you wish to proceed? (Yes, No) [No]: yes
[ INFO  ] Stage: Environment setup
          Configuration files: []
          Log file: /home/guoss4/ovirt-engine/var/log/ovirt-engine/setup/ovirt-engine-setup-20180427001528-6h7snp.log
          Version: otopi-1.8.0_master (otopi-1.8.0-0.0.master.20180313084114.git4e788f9.el7.centos)
[ 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 0x30087d0>>, 'condition': <bound method ?.<lambda> of <otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin object at 0x30087d0>>, '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 0x30087d0>>, 'condition': <bound method ?.<lambda> of <otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin object at 0x30087d0>>, 'stage': 11}
[ ERROR ] Failed to execute stage 'Environment setup': Found bad "before" or "after" parameters
[ INFO  ] Stage: Clean up
          Log file is located at /home/guoss4/ovirt-engine/var/log/ovirt-engine/setup/ovirt-engine-setup-20180427001528-6h7snp.log
[ ERROR ] Failed to execute stage 'Clean up': 'NoneType' object has no attribute 'cleanup'
[ INFO  ] Generating answer file '/home/guoss4/ovirt-engine/var/lib/ovirt-engine/setup/answers/20180427001531-setup.conf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ ERROR ] Execution of setup failed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20180427/b883d12f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-fixed-engine-setup-error.patch
Type: application/octet-stream
Size: 1445 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/users/attachments/20180427/b883d12f/attachment.obj>


More information about the Users mailing list