Open
Description
Describe the bug
Attempting to migrate my cobbler instance from one server to another using the replicate command.
When running the following, recommended, command I get an rsync failed error:
# cobbler replicate --master=FQDN --distros=* --profiles=* --repos=* --systems=* --image=*
task started: 2025-02-26_092502_Replicate_d057fcf74c4c4233b21e582c7a7e88f7
task started (id=Replicate, time=Wed Feb 26 09:25:02 2025)
start_task(replicate); event_id(2025-02-26_092502_Replicate_d057fcf74c4c4233b21e582c7a7e88f7)
cobbler_master = FQDN
port =
distro_patterns = ['*']
profile_patterns = ['*']
system_patterns = ['*']
repo_patterns = ['*']
image_patterns = ['*']
mgmtclass_patterns = []
package_patterns = []
file_patterns = []
omit_data = False
sync_all = False
use_ssl = False
XMLRPC endpoint: http://FQDN:/cobbler_api
Querying Both Servers
*NOT* Removing Objects Not Stored On Master
Rsyncing distros
Rsyncing distro CentOS-Stream-8-x86_64
[2025-02-26_092502_Replicate_d057fcf74c4c4233b21e582c7a7e88f7] 2025-02received on stdout:
rsync failed
Rsyncing distro RHEL-8.2-x86_64
running: rsync -avzH FQDN::distro-RHEL-8.2-x86_64 /var/www/cobbler/distro_mirror/RHEL-8.2-x86_64
received on stdout:
rsync failed
.
.
.
Rsyncing scripts
running: rsync -avzH FQDN::cobbler-scripts /var/lib/cobbler/scripts
received on stdout:
rsync failed
Adding Objects Not Stored On Local
new_distro; [False]
Exception occurred: <class 'ValueError'>
Exception value: initrd not found
Exception Info:
!!! TASK FAILED !!!
If I run a manual rsync, like so, this works so I know I don't have any issues with connecting to the master.
rsync -avzH FQDN:/var/lib/cobbler/scripts /var/lib/cobbler/.
I wonder if the cobbler versions are causing me issues here
Cobbler version
Master
Cobbler 3.2.2
source: ?, ?
build time: Fri Aug 26 01:42:52 2022
New Host
Cobbler 3.3.7
source: ?, ?
build time: Sun Nov 17 00:00:00 2024
Operating system
Master
RHEL 8.10
New Host
RHEL 9.4
Does anyone have any ideas about how to debug this? The log files in /var/log/cobbler just give me the stdout messages I see when i run the command on the cmd line.
Many thanks,
Fab
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Todo