Hide Forgot
Created attachment 1160271 [details] server log Description of problem: Update watchdog device without specify model via REST, raise NullPointerException under server log Version-Release number of selected component (if applicable): ovirt-engine-4.0.0-0.0.master.20160516171427.git0860aa2.el7.centos.noarch How reproducible: Always Steps to Reproduce: 1. Run PUT request on watchdog device <watchdog> <action>reset</action> </watchdog> 2. 3. Actual results: <html><head><title>Error</title></head><body>Internal Server Error</body></html> Expected results: Request succeed and watchdog device has updated action Additional info: I also do not agree with behaviour under 3.6 on PUT request <watchdog> <action>reset</action> </watchdog> I receive <fault> <reason>Invalid value</reason> <detail>null is not a member of WatchdogModel. Possible values for WatchdogModel are: i6300esb</detail> </fault> I do not really see a reason to specify model if I want only to update watchdog action
1. Update with what data? 2. Does it work well when specifying the model? 3. With which API version?
Similar to bug 1338503 this is a low prio issue. Are you sure it's a regression?
To Yaniv: 1) Please check the reproduce steps you can see exact data that I send to REST 2) Yes 3) Both API versions To Doron: Yes, see 3.6 behaviour under additional info
Is it reproducible on latest 3.6.z?
This bug report has Keywords: Regression or TestBlocker. Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP.
This regression is a side effect of the introduction of type safe enums, so I'm moving to the infra team.
Bug relevant only for ovirt 4.0, under rhevm-3.6.7-0.1.el6.noarch if I try to update only with the watchdog action I recieve: <fault> <reason>Invalid value</reason> <detail>null is not a member of WatchdogModel. Possible values for WatchdogModel are: i6300esb</detail> </fault>
As this only affects version 4 of the API I'm removing the regression keyword and the blocker flag.
Merged long time ago and definitely part of 4.0.0.4 build
verified on : oVirt Engine Version: 4.1.0-0.0.master.20160609051254.gita18ebb1.el7.centos verification steps: 1. Run PUT request on watchdog device <watchdog> <action>reset</action> </watchdog>
oVirt 4.0.0 has been released, closing current release.