Skip to content

os_projects is failing due to nova api version #31

@g0rgamesh

Description

@g0rgamesh

I've encountered that while running CI with the following error:

TASK [stackhpc.openstack.os_projects : Ensure quotas are set] ****************** ... "msg": "BadRequestException: 400: Client Error for url: <redacted, Invalid input for field/attribute quota_set. Value: {'fixed_ips': -1, 'injected_file_content_bytes': -1}. Additional properties are not allowed ('fixed_ips' was unexpected)"}

Fixed IP quotas work only up to version 2.35 as per documentation:
https://docs.ansible.com/ansible/latest/collections/openstack/cloud/quota_module.html#parameter-fixed_ips

Solution:
export OS_COMPUTE_API_VERSION=2.3

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