Actions
Bug #34862
closedRails 6.1 upgrade raising errors on server startup
Difficulty:
Triaged:
Yes
Description
Based of
https://community.theforeman.org/t/upgrading-rails-to-6-1-and-plugins/27558/3
- Checkout https://github.com/theforeman/foreman/pull/9117
- Checkout latest master
- bundle update rails
- Assuming 6.1 got installed, start the server
Error along the lines of1: from /home/vagrant/katello/app/controllers/katello/api/v2/repositories_controller.rb:10:in `<class:RepositoriesController>' /home/vagrant/katello/app/controllers/katello/api/v2/repositories_controller.rb:10:in `concat': can't modify frozen Array: ["id", "name", "created_at", "updated_at", "major", "minor", "gpg_key_id", "content_id", "arch", "label", "url", "unprotected", "content_type", "product_id", "checksum_type", "pulp_scratchpad_checksum_type", "docker_upstream_name", "download_policy", "verify_ssl_on_sync", "upstream_username", "upstream_password", "deb_releases", "deb_components", "deb_architectures", "ssl_ca_cert_id", "ssl_client_cert_id", "ssl_client_key_id", "ignorable_content", "include_tags", "description", "ansible_collection_requirements", "http_proxy_policy", "http_proxy_id", "download_concurrency", "os_versions", "ansible_collection_auth_url", "ansible_collection_auth_token", "retain_package_versions_count", "generic_remote_options", "upstream_authentication_token", "mirroring_policy", "exclude_tags", "docker_tags_whitelist"] (FrozenError)
Updated by The Foreman Bot over 2 years ago
- Status changed from New to Ready For Testing
- Assignee set to Partha Aji
- Pull request https://github.com/Katello/katello/pull/10087 added
Updated by Chris Roberts over 2 years ago
- Category set to Tooling
- Target version set to Katello 4.5.0
Updated by The Foreman Bot over 2 years ago
- Fixed in Releases Katello 4.5.0 added
Updated by Partha Aji over 2 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|7fa2de58861c68c446033a5828dbe0e756ec46aa.
Updated by The Foreman Bot over 2 years ago
- Pull request https://github.com/Katello/katello/pull/10125 added
Actions