ManageIQ / manageiq-schema

SQL schema and database migrations for ManageIQ
Apache License 2.0
20 stars 125 forks source link

Missing migrations for hawkular removal #423

Closed himdel closed 3 years ago

himdel commented 5 years ago

Hawkular was dropped in 2018, yet, I'm still getting...

[----] E, [2019-10-03T12:53:18.973782 #18727:2b1f12158f18] ERROR -- : [ActiveRecord::SubclassNotFound]: The single-table inheritance mechanism failed to locate the subclass: 'ManageIQ::Providers::Hawkular::MiddlewareManager::EventCatcher'. This error is raised because the column 'type' is reserved for storing the class in case of inheritance. Please rename this column if you didn't intend it to be used for storing the inheritance class or overwrite MiqWorker.inheritance_column to use another column for that information. Method:[block (2 levels) in <class:LogProxy>]

Seems like we're missing migrations to remove the no longer supported class instances from our db.

Related to:

agrare commented 4 years ago

This should be resolved by https://github.com/ManageIQ/manageiq-schema/pull/157

That PR removed most of the middleware tables but not the worker subclasses.

Fryguy commented 3 years ago

@agrare Is this still an issue?

agrare commented 3 years ago

Looks like it, I don't see any migrations removing hawkular workers

Fryguy commented 3 years ago

Do you know when hawkular workers were removed? it's been so long, I wonder if we care at this point, because users would have hit it, I think.

agrare commented 3 years ago

A long time ago, highly doubtful this is an issue for anyone anymore.

Fryguy commented 3 years ago

I'm going to close this then