Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BLOCK] target_userspace_creator - inconsistent error message #1

Open
plt-dio opened this issue Jul 5, 2023 · 0 comments
Open

[BLOCK] target_userspace_creator - inconsistent error message #1

plt-dio opened this issue Jul 5, 2023 · 0 comments

Comments

@plt-dio
Copy link

plt-dio commented Jul 5, 2023

There is no clear error message as no recomended solution about this situation.

I'm stuck in this case and i can't find any information. Trying support.

[INFO] ====> * target_userspace_creator

2023-07-05 00:12:57 (4296) [INFO] Initializes a directory to be populated as a minimal environment to run binaries from the target system.
2023-07-05 00:12:59 (4296) [INFO] Process Process-512:
2023-07-05 00:12:59 (4296) [INFO] Traceback (most recent call last):
2023-07-05 00:12:59 (4296) [INFO] File "/usr/lib64/python2.7/multiprocessing/process.py", line 258, in _bootstrap
2023-07-05 00:12:59 (4296) [INFO] self.run()
2023-07-05 00:12:59 (4296) [INFO] File "/usr/lib64/python2.7/multiprocessing/process.py", line 114, in run
2023-07-05 00:12:59 (4296) [INFO] self._target(*self._args, **self._kwargs)
2023-07-05 00:12:59 (4296) [INFO] File "/usr/lib/python2.7/site-packages/leapp/repository/actor_definition.py", line 72, in _do_run
2023-07-05 00:12:59 (4296) [INFO] actor_instance.run(*args, **kwargs)
2023-07-05 00:12:59 (4296) [INFO] File "/usr/lib/python2.7/site-packages/leapp/actors/init.py", line 290, in run
2023-07-05 00:12:59 (4296) [INFO] self.process(*args)
2023-07-05 00:12:59 (4296) [INFO] File "/usr/share/leapp-repository/repositories/system_upgrade/common/actors/targetuserspacecreator/actor.py", line 52, in process
2023-07-05 00:12:59 (4296) [INFO] userspacegen.perform()
2023-07-05 00:12:59 (4296) [INFO] File "/usr/lib/python2.7/site-packages/leapp/utils/deprecation.py", line 42, in process_wrapper
2023-07-05 00:12:59 (4296) [INFO] return target_item(*args, **kwargs)
2023-07-05 00:12:59 (4296) [INFO] File "/usr/share/leapp-repository/repositories/system_upgrade/common/actors/targetuserspacecreator/libraries/userspacegen.py", line 685, in perform
2023-07-05 00:12:59 (4296) [INFO] target_repoids = _gather_target_repositories(context, indata, prod_cert_path)
2023-07-05 00:12:59 (4296) [INFO] File "/usr/share/leapp-repository/repositories/system_upgrade/common/actors/targetuserspacecreator/libraries/userspacegen.py", line 629, in _gather_target_repositories
2023-07-05 00:12:59 (4296) [INFO] _install_custom_repofiles(context, indata.custom_repofiles)
2023-07-05 00:12:59 (4296) [INFO] File "/usr/share/leapp-repository/repositories/system_upgrade/common/actors/targetuserspacecreator/libraries/userspacegen.py", line 607, in _install_custom_repofiles
2023-07-05 00:12:59 (4296) [INFO] context.copy_to(rfile.file, dst_path)
2023-07-05 00:12:59 (4296) [INFO] File "/usr/share/leapp-repository/repositories/system_upgrade/common/libraries/mounting.py", line 233, in copy_to
2023-07-05 00:12:59 (4296) [INFO] shutil.copy2(src, self.full_path(dst))
2023-07-05 00:12:59 (4296) [INFO] File "/usr/lib64/python2.7/shutil.py", line 130, in copy2
2023-07-05 00:12:59 (4296) [INFO] copyfile(src, dst)
2023-07-05 00:12:59 (4296) [INFO] File "/usr/lib64/python2.7/shutil.py", line 69, in copyfile
2023-07-05 00:12:59 (4296) [INFO] raise Error("%s and %s are the same file" % (src, dst))
2023-07-05 00:12:59 (4296) [INFO] Error: /etc/yum.repos.d/cloudlinux-rollout.repo and /var/lib/leapp/scratch/mounts/root
/system_overlay/etc/yum.repos.d/cloudlinux-rollout.repo are the same file
2023-07-05 00:12:59 (4296) [INFO]
2023-07-05 00:12:59 (4296) [INFO]
2023-07-05 00:12:59 (4296) [INFO] =========================================================================================================
2023-07-05 00:12:59 (4296) [INFO] Actor target_userspace_creator unexpectedly terminated with exit code: 1 - Please check the above details
2023-07-05 00:12:59 (4296) [INFO] =========================================================================================================
2023-07-05 00:12:59 (4296) [INFO] Traceback (most recent call last):
2023-07-05 00:12:59 (4296) [INFO] File "/usr/bin/leapp", line 9, in
2023-07-05 00:12:59 (4296) [INFO] load_entry_point('leapp==0.14.0', 'console_scripts', 'leapp')()
2023-07-05 00:12:59 (4296) [INFO] File "/usr/lib/python2.7/site-packages/leapp/cli/init.py", line 37, in main
2023-07-05 00:12:59 (4296) [INFO] cli.command.execute('leapp version {}'.format(VERSION))
2023-07-05 00:12:59 (4296) [INFO] File "/usr/lib/python2.7/site-packages/leapp/utils/clicmd.py", line 106, in execute
2023-07-05 00:12:59 (4296) [INFO] args.func(args)
2023-07-05 00:12:59 (4296) [INFO] File "/usr/lib/python2.7/site-packages/leapp/utils/clicmd.py", line 128, in called
2023-07-05 00:12:59 (4296) [INFO] self.target(args)
2023-07-05 00:12:59 (4296) [INFO] File "/usr/lib/python2.7/site-packages/leapp/cli/commands/upgrade/breadcrumbs.py", line 94, in wrapper
2023-07-05 00:12:59 (4296) [INFO] return f(*args, breadcrumbs=breadcrumbs, **kwargs)
2023-07-05 00:12:59 (4296) [INFO] File "/usr/lib/python2.7/site-packages/leapp/cli/commands/upgrade/init.py", line 104, in upgrade
2023-07-05 00:12:59 (4296) [INFO] only_with_tags=only_with_tags)
2023-07-05 00:12:59 (4296) [INFO] File "/usr/lib64/python2.7/contextlib.py", line 35, in exit
2023-07-05 00:12:59 (4296) [INFO] self.gen.throw(type, value, traceback)
2023-07-05 00:12:59 (4296) [INFO] File "/usr/lib/python2.7/site-packages/leapp/cli/commands/upgrade/util.py", line 304, in format_actor_exceptions
2023-07-05 00:12:59 (4296) [INFO] logger.error(e.message)
2023-07-05 00:12:59 (4296) [INFO] NameError: global name 'e' is not defined
2023-07-05 00:12:59 (4313) [INFO]
2023-07-05 00:12:59 (742) [INFO] Sending notification: Fail to update to CloudLinux 8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant