Skip to content

Default partition is confusing #149

@sjpb

Description

@sjpb

Because https://github.com/stackhpc/ansible-role-openhpc/blob/master/templates/slurm.conf.j2#L134 defaults to setting a partition to Default=YES if a group/partition in openhpc_slurm_partitions does not define the default parameter, in a case like this the second partition still ends up being the actual default in slurm:

openhpc_slurm_partitions:
    - name: first
      default: YES
    - name: second

and second has to specifically be marked default: NO to make the first the default.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions