leapp upgrade RHEL8.7 to RHEL9.0 failed
when I tried to upgrade RHEL8.7 to RHEL9.0, running preupgrade failed with error:
leapp preupgrade --target 9.0
Stderr: Host and machine ids are equal (215ea792a4f1a3506e85831663a07e7c): refusing to link journals
Errors during downloading metadata for repository 'rhel-9-for-x86_64-appstream-rpms':
- Status code: 404 for https://xxxxxx.xxxx/pulp/content/xxxx/xxxx/xxxx/content/dist/rhel9/9.0/x86_64/appstream/os/repodata/repomd.xml (IP: xx.xx.xx.xx)
Error: Failed to download metadata for repo 'rhel-9-for-x86_64-appstream-rpms': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
further examine, I found my satellite published content view at location a bit difference as:
https://xxxx.xxxx/pulp/content/xxxxx/xxxx/xxxx/content/dist/rhel9/9/x86_64/baseos/os/repodata/repomd.xm
the difference is leapp looking for 9.0 and my satellite published at 9 not 9.0,
I tried to run :
leapp preupgrade --target 9
but it not allowed me and give error:
error: argument --target: invalid choice: '9' (choose from '9.0')
anyway to let leapp use 9 to get through this?
thanks,
James X