Ubuntu Repo sync error after server migration into different environment

Problem:

Ubuntu Repo sync error after server migration into different environment

Expected outcome:

Repo sync should be working fine

Foreman and Proxy versions:
3.3.0
Foreman and Proxy plugin versions:
foreman-tasks 6.0.0
foreman_remote_execution 7.1.1
katello 4.5.0
Distribution and version:
Ubuntu 20.04.1 LTS
Other relevant data:

Recently I have migrated a foreman server into a different environment. The server has Rocky 8 abd Ubuntu 20 and 22 repos. After migration all repos related with Rocky is working fine. but When trying to sync Ubuntu 20 and 22 repos I am seeing error -

’list’ object has no attribute 'delete’

FYI, the foreman server use to communicate with upstream repo “Index of /ubuntu” via internet directly but after migration still using same repo link but using Intranet as we have upstream repo “Index of /ubuntu” available in the offline environment.

Thanks,

Imtiaz

The full backtrace of the sync error is needed here. (Should be available in the failed Foreman task).

Also, some more information on what “migrating Foreman server into a different environment” involved might be helpful.

Hi quba42,

Please see the attached image.

Cheers,

Imtiaz