While queuing the report in CloudForms 3.2, it is giving error "Could not find the source association(s)".

Solution Verified - Updated -

Issue

  • While queuing the report in CloudForms 3.2, it is giving error "Could not find the source association(s)".
  • Error while executing a report:
[----] E, [2016-01-29T11:34:04.290851 #3646:7f7e98] ERROR -- : [ActiveRecord::HasManyThroughSourceAssociationNotFoundError]: Could not find the source association(s) :vm in model MiqProvision. Try 'has_many :miq_provision_vms, :through => :miq_provisions_from_template, :source => <name>'. Is it one of :miq_request, :source, :destination, :miq_request_tasks, or :miq_request_task?  Method:[rescue in _async_generate_table]
[----] E, [2016-01-29T11:34:04.291085 #3646:7f7e98] ERROR -- : /opt/rh/cfme-gemset/bundler/gems/rails-4842a8377644/activerecord/lib/active_record/reflection.rb:509:in `check_validity!'
....
[----] W, [2016-01-29T11:34:04.367302 #3646:7f7e98]  WARN -- : <AuditFailure> MIQ(Async.rescue in _async_generate_table) userid: [admin] - Could not find the source association(s) :vm in model MiqProvision. Try 'has_many :miq_provision_vms, :through => :miq_provisions_from_template, :source => <name>'. Is it one of :miq_request, :source, :destination, :miq_request_tasks, or :miq_request_task?

Environment

Red Hat CloudForms 3.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content