Hide Forgot
Created attachment 990350 [details] UI and firebug raises 500 ISE with: NameError: undefined local variable or method `finalize' for #<Actions::Katello::Environment::Destroy:0x0000000f652c28> Description of problem: This is the issue with latest errata advisory 19815. we have installed Sat6 (6.0.7) from CDN and updated the box with errata packages. But when I tried to delete LifeCycle environment, I got error following error on webUI: - An error occurred removing the environment: Task 295cbd7c-e7b5-4838-8b42-2fcdd2f1bb44: NameError: undefined local variable or method `finalize' for #<Actions::Katello::Environment::Destroy:0x0000000f652c28> - firebug raises: -- "NetworkError: 500 Internal Server Error - https://ibm-x3550m3-13.lab.eng.brq.redhat.com/katello/api/v2/environments/7?$promise=%7B%7D&$resolved=true&created_at=2015-02-11T05:34:15Z&label=dev&library=false&name=dev&organization=%7B%22name%22:%22Default_Organization%22,%22label%22:%22Default_Organization%22%7D&organization_id=1&permissions=%7B%22view_lifecycle_environments%22:true,%22edit_lifecycle_environments%22:true,%22destroy_lifecycle_environments%22:true,%22promote_or_remove_content_views_to_environments%22:true%7D&prior=%7B%22name%22:%22Library%22,%22id%22:1%7D&updated_at=2015-02-11T05:34:15Z" -- Version-Release number of selected component (if applicable): Updated latest install of sat6 from CDN with following packages: ruby193-rubygem-katello-1.5.0-94.el6sat.noarch.rpm foreman-1.6.0.53-1.el6sat.noarch.rpm foreman-postgresql-1.6.0.53-1.el6sat.noarch.rpm foreman-vmware-1.6.0.53-1.el6sat.noarch.rpm foreman-gce-1.6.0.53-1.el6sat.noarch.rpm foreman-libvirt-1.6.0.53-1.el6sat.noarch.rpm foreman-ovirt-1.6.0.53-1.el6sat.noarch.rpm How reproducible: always Steps to Reproduce: 1. create a lifecycle environment 2. delete it 3. Actual results: - An error occurred removing the environment: Task 295cbd7c-e7b5-4838-8b42-2fcdd2f1bb44: NameError: undefined local variable or method `finalize' for #<Actions::Katello::Environment::Destroy:0x0000000f652c28> - firebug raises: -- "NetworkError: 500 Internal Server Error - https://ibm-x3550m3-13.lab.eng.brq.redhat.com/katello/api/v2/environments/7?$promise=%7B%7D&$resolved=true&created_at=2015-02-11T05:34:15Z&label=dev&library=false&name=dev&organization=%7B%22name%22:%22Default_Organization%22,%22label%22:%22Default_Organization%22%7D&organization_id=1&permissions=%7B%22view_lifecycle_environments%22:true,%22edit_lifecycle_environments%22:true,%22destroy_lifecycle_environments%22:true,%22promote_or_remove_content_views_to_environments%22:true%7D&prior=%7B%22name%22:%22Library%22,%22id%22:1%7D&updated_at=2015-02-11T05:34:15Z" -- Expected results: Life cycle environment should be deleted successfully Additional info:
This was due to not restarting the service. Please run katello-service restart. I will update the errata with the same.
Removing 6.0.z flag as per Comment 4 above.
(In reply to sthirugn from comment #7) > Removing 6.0.z flag as per Comment 4 above. correction: Comment 6