Bug 1223755
Summary: | NoMethodError: undefined method `archive_puppet_evironment' for #<Katello::ContentViewVersion:0x0000000f66e518> | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Sachin Ghai <sghai> | ||||||||
Component: | WebUI | Assignee: | Eric Helms <ehelms> | ||||||||
WebUI sub component: | Katello | QA Contact: | Sachin Ghai <sghai> | ||||||||
Status: | CLOSED CURRENTRELEASE | Docs Contact: | |||||||||
Severity: | high | ||||||||||
Priority: | unspecified | CC: | bkearney, mmccune, sthirugn | ||||||||
Version: | 6.1.0 | Keywords: | Regression | ||||||||
Target Milestone: | Unspecified | ||||||||||
Target Release: | Unused | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
URL: | http://projects.theforeman.org/issues/10588 | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2015-08-12 13:57:12 UTC | Type: | Bug | ||||||||
Regression: | --- | Mount Type: | --- | ||||||||
Documentation: | --- | CRM: | |||||||||
Verified Versions: | Category: | --- | |||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||
Embargoed: | |||||||||||
Attachments: |
|
Created attachment 1028109 [details]
production.log
Created redmine issue http://projects.theforeman.org/issues/10588 from this bug Moving to POST since upstream bug http://projects.theforeman.org/issues/10588 has been closed ------------- Eric Helms Applied in changeset commit:katello|014c84c3b5d77981e69497d95922c71c55592031. Verified with sat6.1 GA snap7. Now on selecting puppet-module tab from seelcted content-view version, UI is loading the modules properly. No error in logs. - 2015-06-04 07:43:25 [I] Processing by Katello::Api::V2::PuppetModulesController#index as JSON 2015-06-04 07:43:25 [I] Parameters: {"content_view_version_id"=>"6", "page"=>"1", "search"=>"", "api_version"=>"v2"} 2015-06-04 07:43:25 [I] Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.46/app/views/katello/api/v2/puppet_modules/index.json.rabl within katello/api/v2/layouts/collection (87.1ms) 2015-06-04 07:43:25 [I] Completed 200 OK in 129ms (Views: 83.6ms | ActiveRecord: 7.6ms) -- Created attachment 1034676 [details]
puppet_module loaded successfully
This bug is slated to be released with Satellite 6.1. This bug was fixed in version 6.1.1 of Satellite which was released on 12 August, 2015. |
Created attachment 1028108 [details] on selecting puppet-module tab, UI remains in loading state and production.log filled with long traceback: Description of problem: when you create a content-view and select the version to see what all packages/puppet-modules it contains then on selecting puppet-module tab, UI remains in loading state and production.log filled with long traceback: 2015-05-21 13:50:31 [I] Processing by Katello::Api::V2::PuppetModulesController#index as JSON 2015-05-21 13:50:31 [I] Parameters: {"content_view_version_id"=>"2", "page"=>"1", "search"=>"", "api_version"=>"v2"} 2015-05-21 13:50:31 [E] NoMethodError: undefined method `archive_puppet_evironment' for #<Katello::ContentViewVersion:0x0000000f66e518> /opt/rh/ruby193/root/usr/share/gems/gems/activemodel-3.2.8/lib/active_model/attribute_methods.rb:407:in `method_missing' /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/attribute_methods.rb:149:in `method_missing' /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.42/app/controllers/katello/api/v2/puppet_modules_controller.rb:21:in `filter_by_content_view_version' /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.42/app/controllers/katello/concerns/api/v2/repository_content_controller.rb:44:in `index' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/implicit_render.rb:4:in `send_action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/base.rb:167:in `process_action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/rendering.rb:10:in `process_action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/callbacks.rb:18:in `block in process_action' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:561:in `block (4 levels) in _run__2924347591320558897__process_action__2658524545881076663__callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_11495' Version-Release number of selected component (if applicable): sat6.1 GA snap5 How reproducible: always Steps to Reproduce: 1. create a content-view 2. publish it 3. select version1 4. goto puppet-modules tab Actual results: page remains in loading state and long traceback in production.log Expected results: no error and page should be loaded properly. Additional info: