Skip to content

pulp distribution promotion failing #34

@markgoddard

Description

@markgoddard
TASK [stackhpc.pulp.pulp_distribution : Ensure RPM distributions are defined] ****************************************************************************************************************************************************************
fatal: [localhost]: FAILED! => {"msg": "The conditional check 'item.state == 'absent' or not (item.skip_existing | default(pulp_distribution_rpm_skip_existing) | bool and pub_has_dists)' failed. The error was: error while evaluating conditional (item.state == 'absent' or not (item.skip_existing | default(pulp_distribution_rpm_skip_existing) | bool and pub_has_dists)): {{ pulp_dists_list.distributions | selectattr('publication', 'equalto', pubs[0].pulp_href if item.state == 'present' else None) | list | length > 0 }}: 'str object' has no attribute 'pulp_href'\n\nThe error appears to be in .../ansible_collections/stackhpc/pulp/roles/pulp_distribution/tasks/rpm.yml': line 26, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Ensure RPM distributions are defined\n  ^ here\n"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions