Bug 691666
Summary: | guestname attribute of guestrecipe should not be required in job xml | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Beaker | Reporter: | Jan Tluka <jtluka> | ||||
Component: | command line | Assignee: | Qixiang Wan <qwan> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Raymond Mancy <rmancy> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 0.5 | CC: | bpeck, dcallagh, ebaak, llim, mcsontos, qwan, rmancy, stl | ||||
Target Milestone: | 0.12 | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | Misc | ||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2013-04-11 04:57:16 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Jan Tluka
2011-03-29 08:26:13 UTC
Created attachment 488370 [details]
job xml
To be more precise it results in: WARNING: job xml validation failed: Invalid sequence in interleave <Fault 1: 'exceptions.KeyError:'> The warning itself is harmless and in this case it pinpoints the problem - the KeyError message does not help much. Bulk reassignment of issues as Bill has moved to another team. Note that if the guestname is not supplied (ignoring the validation errors) it will appear in the recipe XML (and therefore to beah and /distribution/virt/install) as the literal 'None' which can lead to duplicate guest names in a multihost test. Dan, given the changes to guest recipes in 0.10, isn't this a fairly trivial fix now? Yes we can support empty guestname easily. There are obviously lots of people using it in spite of the validation warnings (e.g. bug 880983). There are probably just two things needed here: updating the RELAX NG schema to make the guestname attribute optional, and making sure when it is omitted that we store and return sensible values everywhere ("" instead of "None" as in comment 4). On Gerrit: http://gerrit.beaker-project.org/#/c/1666/ Beaker 0.12 has been released. |