PG::UndefinedTable: ERROR: relation "vm_samples_history" does not exist

Solution Verified - Updated -


  • The evm.log is filling up really quick with following error message:

    [----] E, [2019-02-22T15:52:05.345780 #61083:e77110] ERROR -- : MIQ(ManageIQ::Providers::Redhat::InfraManager::MetricsCapture#perf_collect_metrics) [hourly] for: [ManageIQ::Providers::Redhat::InfraManager::Vm], 
    [536], [abc] Unhandled exception during perf data collection: [PG::UndefinedTable: ERROR:  relation "vm_samples_history" does not exist
    LINE 9:                WHERE a.attrelid = '"vm_samples_history"'::re...
    :               SELECT a.attname, format_type(a.atttypid, a.atttypmod),
                     pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
                     , (SELECT c.collname FROM pg_collation c, pg_type t
                         WHERE c.oid = a.attcollation AND t.oid = a.atttypid
                         AND a.attcollation <> t.typcollation)
                     , col_description(a.attrelid, a.attnum) AS comment
                FROM pg_attribute a LEFT JOIN pg_attrdef d
                  ON a.attrelid = d.adrelid AND a.attnum = d.adnum
               WHERE a.attrelid = '"vm_samples_history"'::regclass
                 AND a.attnum > 0 AND NOT a.attisdropped
               ORDER BY a.attnum
    ], class: [ActiveRecord::StatementInvalid]


  • Red Hat CloudForms 4.6
  • Red Hat Virtualization 4.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