Hi,

has anyone seen below error when running engine-setup in dev env on FC29?

[ INFO  ] Generating post install configuration file
'/home/mperina/ovirt-engine/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf'
[ ERROR ] Failed to execute stage 'Misc configuration': a bytes-like object
is required, not 'str'
[ INFO  ] Rolling back database schema
[ INFO  ] Clearing Engine database engine
[ INFO  ] Stage: Clean up
          Log file is located at
/home/mperina/ovirt-engine/var/log/ovirt-engine/setup/ovirt-engine-setup-20190909105257-dh2le0.log
[ INFO  ] Generating answer file
'/home/mperina/ovirt-engine/var/lib/ovirt-engine/setup/answers/20190909105355-setup.conf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ ERROR ] Execution of setup failed


Following exception is raised in the setup log:

2019-09-09 10:53:49,357+0200 DEBUG otopi.context context._executeMethod:127
Stage misc METHOD
otopi.plugins.ovirt_engine_common.base.core.postinstall.Plugin._misc

2019-09-09 10:53:49,357+0200 INFO
otopi.plugins.ovirt_engine_common.base.core.postinstall
postinstall._misc:60 Generating post install configuration file
'/home/mperina/ovirt-engine/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf'


2019-09-09 10:53:49,358+0200 DEBUG otopi.transaction
transaction._prepare:61 preparing 'File transaction for
'/home/mperina/ovirt-engine/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf''

2019-09-09 10:53:49,358+0200 DEBUG otopi.filetransaction
filetransaction.prepare:184 file
'/home/mperina/ovirt-engine/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf'
missing
2019-09-09 10:53:49,358+0200 DEBUG otopi.transaction
transaction._prepare:66 exception during prepare phase
FATAL Internal error (main): a bytes-like object is required, not 'str'
Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/otopi/__main__.py", line 83, in
main
    installer.execute()
  File "/usr/lib/python3.7/site-packages/otopi/main.py", line 151, in
execute
    self.context.runSequence()
  File "/usr/lib/python3.7/site-packages/otopi/context.py", line 643, in
runSequence
    util.raiseExceptionInformation(infos[0])
  File "/usr/lib/python3.7/site-packages/otopi/util.py", line 84, in
raiseExceptionInformation
    raise info[1].with_traceback(info[2])
  File "/usr/lib/python3.7/site-packages/otopi/context.py", line 132, in
_executeMethod
    method['method']()
  File
"/home/mperina/ovirt-engine/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-common/base/core/postinstall.py",
line 98, in _misc
    otopicons.CoreEnv.MODIFIED_FILES
  File "/usr/lib/python3.7/site-packages/otopi/transaction.py", line 106,
in append
    self._prepare(element=element)
  File "/usr/lib/python3.7/site-packages/otopi/transaction.py", line 62, in
_prepare
    element.prepare()
  File "/usr/lib/python3.7/site-packages/otopi/filetransaction.py", line
253, in prepare
    os.write(fd, self._content)
TypeError: a bytes-like object is required, not 'str'


It's latest master, all packages updated in the morning.

Thanks,
M.

-- 
Martin Perina
Manager, Software Engineering
Red Hat Czech s.r.o.
_______________________________________________
Devel mailing list -- devel@ovirt.org
To unsubscribe send an email to devel-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/devel@ovirt.org/message/AND2JSDGSVDISQ76B4IK7SYJGOOG5ALW/

Reply via email to