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

"Unexpected error encountered" loading dashboard for some users #8908

Open
jbarson47 opened this issue Aug 31, 2023 · 10 comments
Open

"Unexpected error encountered" loading dashboard for some users #8908

jbarson47 opened this issue Aug 31, 2023 · 10 comments
Assignees

Comments

@jbarson47
Copy link

Hi there - we're seeing an odd issue when attempting to edit a dashboard, and some users report seeing this issue on login as well when loading up the dashboard, resulting in an "Unexpected error encountered" screen displaying the following message:
Validation failed: MiqWidgetSet: Set data Unable to find widget ids: 23, 25 [dashboard/show]

from production.log:
[----] I, [2023-08-29T06:22:43.125452 #1737390:131f0] INFO -- production: Started GET "/dashboard/show" for 127.0.0.1 at 2023-08-29 06:22:43 +0000
[----] I, [2023-08-29T06:22:43.129525 #1737390:131f0] INFO -- production: Processing by DashboardController#show as HTML
[----] F, [2023-08-29T06:22:43.171369 #1737390:131f0] FATAL -- production: Error caught: [ActiveRecord::RecordInvalid] Validation failed: MiqWidgetSet: Set data Unable to find widget ids: 23, 25

However, we confirmed that no miq_widget_set exists in the VMDB with miq_widget 23 or 25 in their miq_widgets, so we're having some trouble identifying what's referring to these widgets. Is there another way to determine what could be referencing the widget in the validation errors?

@Fryguy
Copy link
Member

Fryguy commented Sep 27, 2023

If I recall, the widget references are in a serialized column under the dashboard (not the best but it is what it is). @jeffibm do you recall where those lived exactly.

@jeffibm
Copy link
Member

jeffibm commented Sep 28, 2023

If I recall, the widget references are in a serialized column under the dashboard (not the best but it is what it is). @jeffibm do you recall where those lived exactly.

The widgets are stored in MiqWidgetSet.

MiqWidgetSet.last.set_data
 => {:col1=>[5, 19, 17], :col2=>[16, 6], :reset_upon_login=>false, :locked=>false} 

@Fryguy Fryguy added bug and removed question labels Dec 6, 2023
@Fryguy
Copy link
Member

Fryguy commented Dec 6, 2023

@jeffibm Can you take a look at this one or assign to someone?

@jeffibm
Copy link
Member

jeffibm commented Dec 7, 2023

@jeffibm Can you take a look at this one or assign to someone?

Hey @Fryguy

In which branch should we test this?

I believe this case has been fixed In the master branch though.

@Fryguy
Copy link
Member

Fryguy commented Dec 14, 2023

@jbarson47 Which version?

@jbarson47
Copy link
Author

@Fryguy We are running Najdorf 1.3.

@miq-bot
Copy link
Member

miq-bot commented Mar 18, 2024

This issue has been automatically marked as stale because it has not been updated for at least 3 months.

If you can still reproduce this issue on the current release or on master, please reply with all of the information you have about it in order to keep the issue open.

@miq-bot miq-bot added the stale label Mar 18, 2024
@jeffibm
Copy link
Member

jeffibm commented Mar 18, 2024

is there an environment where we can test/reproduce this issue?
if possible, a screen video would help narrow this down..

@miq-bot
Copy link
Member

miq-bot commented Jun 24, 2024

This issue has been automatically marked as stale because it has not been updated for at least 3 months.

If you can still reproduce this issue on the current release or on master, please reply with all of the information you have about it in order to keep the issue open.

1 similar comment
@miq-bot
Copy link
Member

miq-bot commented Sep 30, 2024

This issue has been automatically marked as stale because it has not been updated for at least 3 months.

If you can still reproduce this issue on the current release or on master, please reply with all of the information you have about it in order to keep the issue open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants