Satellite 6.04 is unable to register ESX hypervisors
Issue
- Satellite 6.04 is unable to register ESX hypervisors with the following trace in the production logs :
Processing by Katello::Api::Rhsm::CandlepinProxiesController#server_status as JSON
Completed 200 OK in 255ms (Views: 1.9ms | ActiveRecord: 12.7ms)
[ERROR 2014-11-05 18:27:58 cp_proxy #40878] NameError: undefined local variable or method `hypervisor' for #<Class:0x00000009c4cd28>
| /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/dynamic_matchers.rb:55:in `method_missing'
| /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/models/katello/glue/candlepin/consumer.rb:530:in `block in register_hypervisors'
| /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/models/katello/glue/candlepin/consumer.rb:529:in `each'
| /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/models/katello/glue/candlepin/consumer.rb:529:in `register_hypervisors'
| /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/controllers/katello/api/rhsm/candlepin_proxies_controller.rb:106:in `hypervisors_update'
| /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'
Environment
- Satellite 6.0.4
- ruby193-rubygem-katello-1.5.0-91
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
