Bug 1375313
Summary: | Upgrade to 4.1 fails to start due to widget errors | |||
---|---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Colin Arnott <carnott> | |
Component: | Appliance | Assignee: | Nick Carboni <ncarboni> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | luke couzens <lcouzens> | |
Severity: | high | Docs Contact: | ||
Priority: | high | |||
Version: | 5.6.0 | CC: | abellott, benglish, cpelland, jhardy, ncarboni, obarenbo, simaishi | |
Target Milestone: | GA | Keywords: | TestOnly | |
Target Release: | 5.8.0 | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | upgrade:widget | |||
Fixed In Version: | 5.8.0.0 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1379728 1382761 (view as bug list) | Environment: | ||
Last Closed: | 2017-06-12 17:53:51 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1379728, 1382761 |
Description
Colin Arnott
2016-09-12 17:15:17 UTC
Okay, I was able to reproduce this by removing the default widget "Top Storage Consumers" and then recreating a widget with the same title, then restarting the server. The restart caused the seed to run which tried to recreate the default "Top Storage Consumers" widget which fails the unique validation on the title. We can remove the unique validation on the title, but for now just removing the "Top Storage Consumers" widget should do the trick (unless of course this has been done for other widgets as well). New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/0f60e7de16f6a3874c495710a282d96243b25dbb commit 0f60e7de16f6a3874c495710a282d96243b25dbb Author: Nick Carboni <ncarboni> AuthorDate: Wed Sep 21 14:56:05 2016 -0400 Commit: Nick Carboni <ncarboni> CommitDate: Wed Sep 21 14:56:05 2016 -0400 Remove unique validation on miq_widget title This allows a user to remove a default widget and recreate a new one with the same title without having the seed blow up with a unique validation error when it runs again. https://bugzilla.redhat.com/show_bug.cgi?id=1375313 app/models/miq_widget.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Verified fixed in 5.8.0.12 - 5.8.0.12-rc1.20170425180304_4f35996. |