Problem:
I would like to migrate a Client System from one Katello environment to another with the bootstrap.py script.
This works perfect when I migrate to the new Katello System, but when I try to migrate to a Smart Proxy in the new environment the script fails with the following error.
/usr/libexec/platform-python bootstrap.py -s smartproxy.doamin -g Rocky8 -l location -o org -a RockyLinux8 --force
[NOTIFICATION], [2022-02-16 10:38:03], [Deleting cURL configuration]
[SUCCESS], [2022-02-16 10:38:03], [Removing /tmp/tmph2uzd3ci], completed successfully.
[NOTIFICATION], [2022-02-16 10:38:03], [Writing FQDN katello-fact]
An error occurred: HTTP Error 404: Not Found
url: https://smartproxy.doamin:443/api/v2/hostgroups/?search=title%3D%22RockyLinux8-Development%22
code: 404
error: HTTP Error 404: Not Found
Is something wrong with my bootstrap.py parameters ?
Why does it not work when I specify a Smart Proxy and not the central Kallelo System ?
Could anybody help me ?
Expected outcome:
Client should be migrated to the new Katello environment using the specified Smart Proxy.
- ansible-collection-theforeman-foreman-3.0.0-1.el8.noarch
- candlepin-4.1.8-1.el8.noarch
- candlepin-selinux-4.1.8-1.el8.noarch
- -foreman-client-1.0-1.noarch
- -foreman-proxy-1.0-1.noarch
*-foreman-proxy-client-1.0-1.noarch - foreman-3.1.1-1.el8.noarch
- foreman-cli-3.1.1-1.el8.noarch
- foreman-debug-3.1.1-1.el8.noarch
- foreman-dynflow-sidekiq-3.1.1-1.el8.noarch
- foreman-installer-3.1.1-1.el8.noarch
- foreman-installer-katello-3.1.1-1.el8.noarch
- foreman-postgresql-3.1.1-1.el8.noarch
- foreman-proxy-3.1.1-1.el8.noarch
- foreman-release-3.1.1-1.el8.noarch
- foreman-service-3.1.1-1.el8.noarch
- foreman-vmware-3.1.1-1.el8.noarch
- katello-4.3.0-1.el8.noarch
- katello-certs-tools-2.8.2-1.el8.noarch
- katello-client-bootstrap-1.7.7-1.el8.noarch
- katello-common-4.3.0-1.el8.noarch
- katello-debug-4.3.0-1.el8.noarch
- katello-default-ca-1.0-1.noarch
- katello-host-tools-3.5.3-1.el8.noarch
- katello-host-tools-tracer-3.5.3-1.el8.noarch
- katello-repos-4.3.0-1.el8.noarch
- katello-server-ca-1.0-1.noarch
- pulp-client-1.0-1.noarch
- python38-pulp-ansible-0.10.1-1.el8.noarch
- python38-pulp-certguard-1.5.1-1.el8.noarch
- python38-pulp-container-2.9.0-1.el8.noarch
- python38-pulp-deb-2.16.1-1.el8.noarch
- python38-pulp-file-1.10.1-1.el8.noarch
- python38-pulp-python-3.5.2-1.el8.noarch
- python38-pulp-rpm-3.16.1-2.el8.noarch
- python38-pulpcore-3.16.1-1.el8.noarch
- qpid-proton-c-0.35.0-1.el8.x86_64
- rubygem-foreman-tasks-5.2.0-1.fm3_1.el8.noarch
- rubygem-foreman_bootdisk-19.0.3-1.fm3_1.el8.noarch
- rubygem-foreman_maintain-1.0.2-1.el8.noarch
- rubygem-foreman_puppet-2.0.3-1.fm3_1.el8.noarch
- rubygem-foreman_remote_execution-5.0.1-1.fm3_1.el8.noarch
- rubygem-foreman_virt_who_configure-0.5.8-1.fm3_1.el8.noarch
- rubygem-hammer_cli-3.1.0-1.el8.noarch
- rubygem-hammer_cli_foreman-3.1.0-1.el8.noarch
- rubygem-hammer_cli_foreman_puppet-0.0.4-1.fm3_1.el8.noarch
- rubygem-hammer_cli_foreman_remote_execution-0.2.2-1.fm3_0.el8.noarch
- rubygem-hammer_cli_foreman_tasks-0.0.17-1.fm3_1.el8.noarch
- rubygem-hammer_cli_katello-1.3.1-1.el8.noarch
- rubygem-katello-4.3.0-1.el8.noarch
- rubygem-pulp_ansible_client-0.10.1-1.el8.noarch
- rubygem-pulp_certguard_client-1.5.0-1.el8.noarch
- rubygem-pulp_container_client-2.9.0-1.el8.noarch
- rubygem-pulp_deb_client-2.16.0-1.el8.noarch
- rubygem-pulp_file_client-1.10.0-1.el8.noarch
- rubygem-pulp_ostree_client-2.0.0-0.1.a1.el8.noarch
- rubygem-pulp_python_client-3.5.2-1.el8.noarch
- rubygem-pulp_rpm_client-3.16.1-1.el8.noarch
- rubygem-pulpcore_client-3.16.0-1.el8.noarch
- rubygem-qpid_proton-0.35.0-1.el8.x86_64
- rubygem-smart_proxy_pulp-3.2.0-2.fm3_1.el8.noarch