On Tue, Mar 31, 2020 at 10:29 PM Николаев Алексей
<alexeynikolaev.post@yandex.ru> wrote:
Hi community!
An error occurred during the upgrade procedure from version 4.2.8.2-1.el7. How is debugging possible?
otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin._restart_ovn_services
2020-03-31 21:56:47,184+0300 DEBUG otopi.context context._executeMethod:136 otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin._restart_ovn_services condition False
2020-03-31 21:56:47,188+0300 DEBUG otopi.context context._executeMethod:127 Stage misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin._upgrade
2020-03-31 21:56:47,188+0300 DEBUG otopi.context context._executeMethod:145 method exception
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/otopi/context.py", line 132, in _executeMethod
method['method']()
File "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine/network/ovirtproviderovn.py", line 941, in _upgrade
self._update_ovn_key_file_permissions()
File "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine/network/ovirtproviderovn.py", line 950, in _update_ovn_key_file_permissions
True
File "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine/network/ovirtproviderovn.py", line 584, in _sanitize_ovn_key_file_permissions
desired_gid = grp.getgrnam('hugetlbfs').gr_gid
KeyError: 'getgrnam(): name not found: hugetlbfs'
This seems like a bug, introduced by:
https://gerrit.ovirt.org/#/q/I967f1f3a27a3caa459518017b626b539a5f20f91,n,z
Dominik, seems like some versions of openvswitch do not create the
group hugetlbfs. Can you have a look?
A workaround, for now: Create the group hugetlbfs, e.g. using:
groupadd -r hugetlbfs
and try engine-setup again.
2020-03-31 21:56:47,189+0300 ERROR otopi.context context._executeMethod:154 Failed to execute stage 'Misc configuration': 'getgrnam(): name not found: hugetlbfs'
2020-03-31 21:56:47,190+0300 DEBUG otopi.transaction transaction.abort:119 aborting 'Yum Transaction'
2020-03-31 21:56:47,190+0300 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Performing yum transaction rollback
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/6DWKW4DI7DVECIX5ZGJF2GRTI3U2AZI5/--
Didi