Actions
Bug #34531
closed4.3 -> nightly update has a bad migration and marks all organizations Airgapped
Status:
Closed
Priority:
Normal
Assignee:
Category:
Inter Server Sync
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Description
- Install 4.3 and make sure it has only one organization.
- Also make sure Adminstrator -> Settings -> Content -> Content_Disconnected is set to false.
- Upgrade to the nightly
- `foreman-rake console` and run the command `::Katello::CdnConfiguration.all`
Expected:
1 cdn configuration pointing to the redhat cdn.
>::Katello::CdnConfiguration.all #<Katello::CdnConfiguration:0x0000000017cbd600 id: 1, organization_id: 1, ssl_ca_credential_id: nil, ssl_cert: nil, ssl_key: nil, username: nil, password: nil, upstream_organization_label: nil, url: "https://cdn.redhat.com", upstream_content_view_label: nil, upstream_lifecycle_environment_label: nil, type: "redhat_cdn">]
Actual:
2 cdn configurations!. Also an unnecessary airgapped configuration.
>::Katello::CdnConfiguration.all => [#<Katello::CdnConfiguration:0x0000000017cbd6c8 id: 1, organization_id: 1, ssl_ca_credential_id: nil, ssl_cert: nil, ssl_key: nil, username: nil, password: nil, upstream_organization_label: nil, url: nil, upstream_content_view_label: nil, upstream_lifecycle_environment_label: nil, type: "airgapped">, #<Katello::CdnConfiguration:0x0000000017cbd600 id: 2, organization_id: 1, ssl_ca_credential_id: nil, ssl_cert: nil, ssl_key: nil, username: nil, password: nil, upstream_organization_label: nil, url: "https://cdn.redhat.com", upstream_content_view_label: nil, upstream_lifecycle_environment_label: nil, type: "redhat_cdn">]
::Katello::CdnConfiguration.all
Updated by The Foreman Bot almost 3 years ago
- Status changed from New to Ready For Testing
- Assignee set to Partha Aji
- Pull request https://github.com/Katello/katello/pull/9988 added
Updated by The Foreman Bot almost 3 years ago
- Fixed in Releases Katello 4.5.0 added
Updated by Partha Aji almost 3 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|26afdff1d4917f7b12316c616b28c572bd79c47e.
Actions