Bug 1851464 - Beaker inserts <system_type "machine"> despite <system><type></system>
Summary: Beaker inserts <system_type "machine"> despite <system><type></system>
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Beaker
Classification: Community
Component: scheduler
Version: 27
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 28.0
Assignee: Martin Styk
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-06-26 15:28 UTC by Jiri Jaburek
Modified: 2020-06-29 14:58 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-06-29 14:58:58 UTC


Attachments (Terms of Use)

Description Jiri Jaburek 2020-06-26 15:28:07 UTC
Description of problem:

Schedule a job which has

  <hostRequires>
    <and>
      <system>
        <type op="=" value="Resource"/>
      </system>
    </and>
  </hostRequires>

Beaker will not detect this as it probably only expects the older <system_type/>, so the final job XML will have:

  <hostRequires>
    <and>
      <system>
        <type op="=" value="Resource"/>
      </system>
    </and>
    <system_type value="Machine"/>
  </hostRequires>

and it will Abort due to no systems being both Machine and Resource. :)


Version-Release number of selected component (if applicable):
Beaker 27.4

Comment 1 Martin Styk 2020-06-29 14:58:58 UTC
Fix for this issue will be featured in part of Beaker 28.


Note You need to log in before you can comment on or make changes to this bug.