Bug 1568238
| Summary: | XMLRPC Fault in taskactions.to_xml: TypeError: expected string or buffer | ||
|---|---|---|---|
| Product: | [Retired] Beaker | Reporter: | Roman Joost <rjoost> |
| Component: | scheduler | Assignee: | Dan Callaghan <dcallagh> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | tools-bugs <tools-bugs> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 25 | CC: | dcallagh, ebaak, mtyson, rjoost, xiawu |
| Target Milestone: | 25.2 | Keywords: | Patch, Regression |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-04-19 03:51:03 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: | |||
|
Description
Roman Joost
2018-04-17 03:12:56 UTC
The line after this in the logs shows which XMLRPC method + args were being executed:
Apr 17 03:17:39 beaker-server beaker-server[122624]: bkr.server.xmlrpccontroller DEBUG Time: 0:00:02.251979 taskactions.to_xml ('J:2132598', False, True, True)
In this case, clone is the second arg, here False. The fourth arg is include_logs, here True. I think that means it's a user running bkr job-results.
Which is not great, but I was worried it was from beah trying to fetch its recipe to run. Those calls instead look like this (and they aren't affected by this bug):
Apr 17 03:21:24 beaker-server beaker-server[122523]: bkr.server.xmlrpccontroller DEBUG Time: 0:00:00.232315 taskactions.to_xml ('J:2328254',)
I suspect the best fix for this will be the same as for bug 1568217, namely that we should be populating the new installation columns on already-provisioned recipes from before the upgrade. Actually that's not true at all... this recipe was 5 months old. It is simply the exact same problem I already found and pointed out here: https://bugzilla.redhat.com/show_bug.cgi?id=911515#c33 The fix should have been: https://gerrit.beaker-project.org/c/5973/ but that only fixed one part of the problem. This exception is specific to guest recipes, which was not covered in that patch. *** Bug 1568684 has been marked as a duplicate of this bug. *** Released with 25.2: https://beaker-project.org/docs/whats-new/release-25.html#beaker-25-2 Due to their importance and impact on systems in use, we've decided to skip an expensive self test, rely on our automated tests and get them deployed ASAP. |