[openstack-dev] [openstack-ansible][tempest] "Ensure tempest image" failing

Lawrence J. Albinson lawrence at ljalbinson.com
Fri Sep 8 12:29:01 UTC 2017


Just noticed that I left off the OSA version which is 15.1.7.
________________________________
From: Lawrence J. Albinson
Sent: 08 September 2017 10:57
To: OpenStack Development Mailing List (not for usage questions)
Subject: [openstack-dev] [openstack-ansible][tempest] "Ensure tempest image" failing

Dear Colleagues,

I have just noticed that the short-form tempest run at the end of an openstack-ansible installation is failing with the following error:

TASK [os_tempest : Ensure tempest image] ***************************************
Thursday 07 September 2017  19:29:12 +0100 (0:00:07.251)       0:45:55.029 ****
FAILED - RETRYING: TASK: os_tempest : Ensure tempest image (5 retries left).
FAILED - RETRYING: TASK: os_tempest : Ensure tempest image (4 retries left).
FAILED - RETRYING: TASK: os_tempest : Ensure tempest image (3 retries left).
FAILED - RETRYING: TASK: os_tempest : Ensure tempest image (2 retries left).
FAILED - RETRYING: TASK: os_tempest : Ensure tempest image (1 retries left).
fatal: [vyainfra1_utility_container-12b6cf07]: FAILED! => {"attempts": 5, "changed": false, "failed": true, "module_stderr": "mesg: ttyname failed: Inappropriate ioctl for device\nTraceback (most recent call last):\n  File \"/tmp/ansible_2l6Fyx/ansible_module_os_image.py\", line 193, in <module>\n    main()\n  File \"/tmp/ansible_2l6Fyx/ansible_module_os_image.py\", line 147, in main\n    image = cloud.get_image(name_or_id=module.params['name'])\n  File \"/usr/local/lib/python2.7/dist-packages/shade/openstackcloud.py\", line 3074, in get_image\n    return _utils._get_entity(self.search_images, name_or_id, filters)\n  File \"/usr/local/lib/python2.7/dist-packages/shade/_utils.py\", line 220, in _get_entity\n    entities = func(name_or_id, filters, **kwargs)\n  File \"/usr/local/lib/python2.7/dist-packages/shade/openstackcloud.py\", line 1550, in search_images\n    images = self.list_images()\n  File \"/usr/local/lib/python2.7/dist-packages/shade/openstackcloud.py\", line 2130, in list_images\n    if self._is_client_version('image', 2):\n  File \"/usr/local/lib/python2.7/dist-packages/shade/openstackcloud.py\", line 457, in _is_client_version\n    client = getattr(self, client_name)\n  File \"/usr/local/lib/python2.7/dist-packages/shade/openstackcloud.py\", line 525, in _image_client\n    'image', min_version=1, max_version='2.latest')\n  File \"/usr/local/lib/python2.7/dist-packages/shade/openstackcloud.py\", line 403, in _get_versioned_client\n    shade_logger=self.log)\n  File \"/usr/local/lib/python2.7/dist-packages/shade/_adapter.py\", line 87, in __init__\n    super(ShadeAdapter, self).__init__(*args, **kwargs)\n  File \"/usr/local/lib/python2.7/dist-packages/positional/__init__.py\", line 101, in inner\n    return wrapped(*args, **kwargs)\nTypeError: __init__() got an unexpected keyword argument 'min_version'\n", "module_stdout": "", "msg": "MODULE FAILURE"}

The message "got an unexpected keyword argument 'min_version'" seems to suggest some recent change to the ansible module os-image. Before I go looking too deep though, has anyone else seen this please?

Kind regards, Lawrence Albinson

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20170908/3f980526/attachment.html>


More information about the OpenStack-dev mailing list