Skip to content

Incorrect machine core detection on Windows platforms #1469

@anton-ubi

Description

@anton-ubi

Describe the bug
On Windows platforms, hosts cannot pick up jobs due to available processors incorrect detection.

The following error is constantly raised:

CoreReservationFailureException: Not launching, insufficient hyperthreading cores to reserve based on frameCores (0 < 36)

Details:
The reserveHT method of the RQD Machine class relies on a __procs_by_physid_and_coreid attribute that is not correctly filled when on a Windows platform. It is actually only filled when on Linux.

See:

To Reproduce

  • Submit a job so it is dispatched to a machine running on Windows.
  • Job has to have non fractional cores (the regular usage, nothing fancy here), else the reserveHT is skipped.

Expected behavior
The job should be picked up without raising a CoreReservationFailureException error.

Version Number
Spotted on 0.22.0. But looking at the current state of master, it seems nothing has changed since.

Additional context
Relates to #1171
A fix is already being addressed : #1468

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions