python-openstacksdk tool old for use with ansible

Solution In Progress - Updated -

Issue

  • openstacksdk is 0.11.4, but ansible needs 0.12 to use the openstack modules:
fatal: [testhost -> localhost]: FAILED! => {
    "changed": false,
    "invocation": {
        "module_args": {
            "api_timeout": null,
            "auth": null,
            "auth_type": null,
            "auto_ip": true,
            "availability_zone": null,
            "boot_from_volume": true,
            "boot_volume": null,
            "ca_cert": null,
            "client_cert": null,
            "client_key": null,
            "cloud": null,
            "config_drive": false,
            "delete_fip": false,
            "flavor": null,
            "flavor_include": null,
            "flavor_ram": 1280,
            "floating_ip_pools": null,
            "floating_ips": null,
            "image": "CentOS 7.6 (Text)",
            "image_exclude": "(deprecated)",
            "interface": "public",
            "key_name": "mykey",
            "meta": null,
            "name": "testhost",
            "network": null,
            "nics": [],
            "region_name": null,
            "reuse_ips": true,
            "scheduler_hints": null,
            "security_groups": [
                "default"
            ],
            "state": "present",
            "terminate_volume": false,
            "timeout": 180,
            "userdata": null,
            "validate_certs": null,
            "volume_size": 8,
            "volumes": [],
            "wait": true
        }
    },
    "msg": "To utilize this module, the installed version of the openstacksdk library MUST be >=0.12."
}
  • We have RHOSP 13 and the rhel-7-server-openstack-13-tools-rpms repo has the 0.11.4 version of python2-openstacksdk. We need at least 0.12 to work with ansible.

  • The rhel-7-server-openstack-14-tools-rpms repo has a functional version, but that version went EOL on Jan 10. There is no rhel-7-server-openstack-15-tools-rpms repo, so I'll assume that the next LTS release 16 also won't have a RHEL7 repo with an appropriate version.

  • We need to run an LTS version of RHOSP and we need to maintain security patches for all packages that we run. We also need to be able to run ansible against our RHOSP cluster from RHEL7 machines.

Environment

  • Red Hat OpenStack Platform 13.0 (RHOSP)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content