Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] uninitialized constant MiqReport::Formatters::Graph::ReportFormatter #19674

Closed
agrare opened this issue Dec 20, 2019 · 1 comment · Fixed by #19873 or ManageIQ/manageiq-ui-classic#6715
Assignees

Comments

@agrare
Copy link
Member

agrare commented Dec 20, 2019

Seen when running the full rake evm:start

[----] E, [2019-12-20T13:48:22.187505 #54322:2b12bbede5c4] ERROR -- : MIQ(MiqWidget#generate_one_content_for_group) Widget: [Virtual Infrastructure Platforms] ID: [8] Failed for [MiqGroup] [EvmGroup-super_administrator] with error: [NameError] [uninitialized constant MiqReport::Formatters::Graph::ReportFormatter]
[----] E, [2019-12-20T13:48:22.187598 #54322:2b12bbede5c4] ERROR -- : [NameError]: uninitialized constant MiqReport::Formatters::Graph::ReportFormatter  Method:[block (2 levels) in <class:LogProxy>]
[----] E, [2019-12-20T13:48:22.187649 #54322:2b12bbede5c4] ERROR -- : /home/grare/adam/src/manageiq/manageiq/app/models/miq_report/formatters/graph.rb:13:in `to_chart'
/home/grare/adam/src/manageiq/manageiq/app/models/miq_widget/chart_content.rb:8:in `generate'
/home/grare/adam/src/manageiq/manageiq/app/models/miq_widget.rb:242:in `generate_one_content_for_group'
/home/grare/adam/src/manageiq/manageiq/app/models/miq_widget/content_generator.rb:29:in `block in determine_content'
/home/grare/adam/src/manageiq/manageiq/app/models/miq_widget/content_generator.rb:29:in `collect'
/home/grare/adam/src/manageiq/manageiq/app/models/miq_widget/content_generator.rb:29:in `determine_content'
/home/grare/adam/src/manageiq/manageiq/app/models/miq_widget/content_generator.rb:8:in `generate'
/home/grare/adam/src/manageiq/manageiq/app/models/miq_widget.rb:223:in `generate_content'
/home/grare/adam/src/manageiq/manageiq/app/models/miq_queue.rb:480:in `block in dispatch_method'
@jrafanie
Copy link
Member

I believe this is because the backend workers don't include the ui_dependencies in the their bundler groups and now that we don't fork anymore, these workers are now using bundler groups.

A workaround is to add ui_dependencies here.

@chessbyte chessbyte changed the title uninitialized constant MiqReport::Formatters::Graph::ReportFormatter [Bug] uninitialized constant MiqReport::Formatters::Graph::ReportFormatter Jan 3, 2020
jrafanie added a commit to jrafanie/manageiq-ui-classic that referenced this issue Feb 26, 2020
Related to:
ManageIQ/manageiq#19674 (missing ReportFormatter for
backend workers)
ManageIQ/manageiq#19863 (move code from UI-classic
that can be called from either the frontend or backend)
jrafanie added a commit to jrafanie/manageiq-ui-classic that referenced this issue Feb 26, 2020
Related to:
ManageIQ/manageiq#19674 (missing ReportFormatter for
backend workers)
ManageIQ/manageiq#19863 (move code from UI-classic
that can be called from either the frontend or backend)
jrafanie added a commit to jrafanie/manageiq-ui-classic that referenced this issue Feb 26, 2020
Related to:
ManageIQ/manageiq#19674 (missing ReportFormatter for
backend workers)
ManageIQ/manageiq#19863 (move code from UI-classic
that can be called from either the frontend or backend)
jrafanie added a commit to jrafanie/manageiq that referenced this issue Feb 26, 2020
Related to:
ManageIQ#19674 (missing ReportFormatter for
backend workers)
ManageIQ#19863 (move code from UI-classic
that can be called from either the frontend or backend)
jrafanie added a commit to jrafanie/manageiq that referenced this issue Feb 26, 2020
Related to:
ManageIQ#19674 (missing ReportFormatter for
backend workers)
ManageIQ#19863 (move code from UI-classic
that can be called from either the frontend or backend)
jrafanie added a commit to jrafanie/manageiq that referenced this issue Feb 26, 2020
From ManageIQ#19863
Related to:
ManageIQ#19674 (missing ReportFormatter for
backend workers)
ManageIQ#19863 (move code from UI-classic
that can be called from either the frontend or backend)
jrafanie added a commit to jrafanie/manageiq that referenced this issue Feb 26, 2020
From ManageIQ#19863
Related to:
ManageIQ#19674 (missing ReportFormatter for
backend workers)
ManageIQ#19863 (move code from UI-classic
that can be called from either the frontend or backend)
jrafanie added a commit to jrafanie/manageiq that referenced this issue Feb 26, 2020
Related to:
ManageIQ#19674 (missing ReportFormatter for
backend workers)
ManageIQ#19863 (move code from UI-classic
that can be called from either the frontend or backend)

Transferred from ManageIQ/manageiq-ui-classic@24fc2be
jrafanie added a commit to jrafanie/manageiq that referenced this issue Feb 26, 2020
Related to:
ManageIQ#19674 (missing ReportFormatter for
backend workers)
ManageIQ#19863 (move code from UI-classic
that can be called from either the frontend or backend)
jrafanie added a commit to jrafanie/manageiq that referenced this issue Feb 26, 2020
From ManageIQ#19863
Related to:
ManageIQ#19674 (missing ReportFormatter for
backend workers)
ManageIQ#19863 (move code from UI-classic
that can be called from either the frontend or backend)
jrafanie added a commit to jrafanie/manageiq that referenced this issue Feb 26, 2020
From ManageIQ#19863
Related to:
ManageIQ#19674 (missing ReportFormatter for
backend workers)
ManageIQ#19863 (move code from UI-classic
that can be called from either the frontend or backend)
jrafanie added a commit to jrafanie/manageiq that referenced this issue Feb 26, 2020
From ManageIQ#19863
Related to:
ManageIQ#19674 (missing ReportFormatter for
backend workers)
ManageIQ#19863 (move code from UI-classic
that can be called from either the frontend or backend)
jrafanie added a commit to jrafanie/manageiq that referenced this issue Feb 26, 2020
From ManageIQ#19863
Related to:
ManageIQ#19674 (missing ReportFormatter for
backend workers)
ManageIQ#19863 (move code from UI-classic
that can be called from either the frontend or backend)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants