Bug #29548
Pulp 3 migration warning for file and docker even if they are disabled
Description
When the ::Katello::Pulp3::Migration service initializes, it checks if Katello is already using Pulp 3 for file or docker. However, that calculation doesn't take in account for the file or docker types being disabled. We need to check if file or docker exist anywhere in the smart proxy's supported_pulp_types.
Related issues
History
#1
Updated by Ian Ballou about 3 years ago
- Blocks Tracker #26987: Pulp3 Main tracker added
#2
Updated by Ian Ballou about 3 years ago
The user in the forums who saw this bug reported that he did indeed have file and docker enabled but still saw the bug. He said he had upgraded from Katello 3.14 to 3.15 RC2. This is surprising, so it should also be investigated.
#3
Updated by Jonathon Turel about 3 years ago
- Triaged changed from No to Yes
- Target version set to Katello 3.16.1
#4
Updated by John Beranek about 3 years ago
For what it's worth with our Katello 3.15 installation we get this too. We've never used docker or file content types, but attempting the migration throws an error, which now shows as a permanently running/error task:
Actions::Pulp3::ContentMigration Input: {"services_checked"=>["pulp3"], "smart_proxy_id"=>1, "remote_user"=>"admin", "remote_cp_user"=>"admin", "current_request_id"=>nil, "current_timezone"=>"UTC", "current_user_id"=>1, "current_organization_id"=>nil, "current_location_id"=>nil} Output: {} Exception: Katello::Errors::Pulp3MigrationError: Pulp 3 migration cannot run. Types file, docker have already been migrated.
#5
Updated by Ian Ballou over 2 years ago
- Target version changed from Katello 3.16.1 to Katello 3.16.2
#6
Updated by Ian Ballou over 2 years ago
- Target version changed from Katello 3.16.2 to 1341
#7
Updated by Ian Ballou over 2 years ago
- Target version changed from 1341 to Katello 3.17.2
#8
Updated by Chris Roberts over 2 years ago
- Target version changed from Katello 3.17.2 to Katello Recycle Bin
- Status changed from New to Rejected