Open kiranrs opened 1 year ago
Your system has a lot of 3rd party packages which is not supported. Most of them are from LightSpeed repo as I see. Try to add LightSpeed repo for EL9 to:
/etc/leapp/files/leapp_upgrade_repositories.repo
This could help.
hello , I have the same problem is there any solution
Hi,
Here is my problem
leapp preupgrade
==> Processing phase configuration_phase
====> ipu_workflow_config
IPU workflow config actor
==> Processing phase FactsCollection
====> system_facts
Provides data about many facts from system.
Process Process-217:
Traceback (most recent call last):
File "/usr/lib64/python2.7/multiprocessing/process.py", line 267, in _bootstrap
self.run()
File "/usr/lib64/python2.7/multiprocessing/process.py", line 114, in run
self._target(*self._args, *self._kwargs)
File "/usr/lib/python2.7/site-packages/leapp/repository/actor_definition.py", line 72, in _do_run
actor_instance.run(args, *kwargs)
File "/usr/lib/python2.7/site-packages/leapp/actors/init.py", line 290, in run
self.process(args)
File "/usr/share/leapp-repository/repositories/system_upgrade/common/actors/systemfacts/actor.py", line 57, in process
self.produce(systemfacts.get_repositories_status())
File "/usr/share/leapp-repository/repositories/system_upgrade/common/actors/systemfacts/libraries/systemfacts.py", line 194, in get_repositories_status
return RepositoriesFacts(repositories=repofileutils.get_parsed_repofiles())
File "/usr/share/leapp-repository/repositories/system_upgrade/common/libraries/repofileutils.py", line 101, in get_parsed_repofiles
cmd = ['find', '-L'] + get_repodirs() + ['-maxdepth', '1', '-type', 'f', '-name', '*.repo']
File "/usr/share/leapp-repository/repositories/system_upgrade/common/libraries/repofileutils.py", line 81, in get_repodirs
with dnf.base.Base() as base:
NameError: global name 'dnf' is not defined
Debug output written to /var/log/leapp/leapp-preupgrade.log
A report has been generated at /var/log/leapp/leapp-report.json A report has been generated at /var/log/leapp/leapp-report.txt
Answerfile has been generated at /var/log/leapp/answerfile
any suggestions?
This needs to follow steps post upgrade RHEL 7 to 8 then you will need to check command leapp preupgrade.
Hi all. I have been trying to solve this for 4 days now with no luck. Has anyone had this error before during a leapp upgrade from 8 to 9.
Answerfile has been generated at /var/log/leapp/answerfile [root@otv-linuxapp01 leapp]# cat /var/log/leapp/leapp-report.txt Risk Factor: high (error) Title: Actor read_openssh_config unexpectedly terminated with exit code: 1 Summary: Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/leapp/repository/actor_definition.py", line 74, in _do_run actor_instance.run(*args, *kwargs) File "/usr/lib/python3.6/site-packages/leapp/actors/init.py", line 289, in run self.process(args) File "/etc/leapp/repos.d/system_upgrade/common/actors/opensshconfigscanner/actor.py", line 28, in process readopensshconfig.scan_sshd(self.produce) File "/etc/leapp/repos.d/system_upgrade/common/actors/opensshconfigscanner/libraries/readopensshconfig.py", line 102, in scan_sshd config = parse_config(output) File "/etc/leapp/repos.d/system_upgrade/common/actors/opensshconfigscanner/libraries/readopensshconfig.py", line 42, in parse_config v = OpenSshPermitRootLogin(value=value, in_match=in_match) File "/usr/lib/python3.6/site-packages/leapp/models/init.py", line 90, in init getattr(defined_fields[field], init_method)(kwargs, field, self) File "/usr/lib/python3.6/site-packages/leapp/models/fields/init.py", line 111, in from_initialization self._validate_model_value(value=source_value, name=name) File "/usr/lib/python3.6/site-packages/leapp/models/fields/init.py", line 332, in _validate_model_value self._validate_choices(value, name) File "/usr/lib/python3.6/site-packages/leapp/models/fields/init.py", line 342, in _validate_choices 'The value of "{name}" field must be one of "{values}"'.format(name=name, values=values)) leapp.models.fields.ModelViolationError: The value of "value" field must be one of "yes, prohibit-password, forced-commands-only, no"
Key: cbbb94dfc66307035ea5d5bad66eb1428eb6bba3
Please open your /etc/ssh/sshd_config
and check the PermitRootLogin
option in it.
Also, thesshd -T
might be useful to check the validity of the configuration file.
While upgrading Almalinux 8.7 to 9 , I'm getting the following error. I followed this article.
Leapp report