Project

General

Profile

Actions

Bug #34862

closed

Rails 6.1 upgrade raising errors on server startup

Added by Partha Aji almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Tooling
Target version:
Fixed in Releases:
Found in Releases:

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 of
         1: 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)
    
Actions #1

Updated by The Foreman Bot almost 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
Actions #2

Updated by Chris Roberts almost 2 years ago

  • Category set to Tooling
  • Target version set to Katello 4.5.0
Actions #3

Updated by Chris Roberts almost 2 years ago

  • Triaged changed from No to Yes
Actions #4

Updated by The Foreman Bot almost 2 years ago

  • Fixed in Releases Katello 4.5.0 added
Actions #5

Updated by Partha Aji almost 2 years ago

  • Status changed from Ready For Testing to Closed
Actions #6

Updated by The Foreman Bot almost 2 years ago

  • Pull request https://github.com/Katello/katello/pull/10125 added
Actions

Also available in: Atom PDF