summaryrefslogtreecommitdiff
path: root/os_client_config/constructors.json
diff options
context:
space:
mode:
authorAlexander D <maniac@pzskc383.dp.ua>2018-05-18 02:17:21 +0300
committerAlexander D <maniac@pzskc383.dp.ua>2018-05-18 02:17:21 +0300
commit590b1723b5d70761dd14be132109173cfc1d9425 (patch)
tree9352a205a0e5d89202ab159a15e2ffdf232b563d /os_client_config/constructors.json
parentc0bffa60f3456676afce390e44f20263301ecd44 (diff)
downloados-client-config-590b1723b5d70761dd14be132109173cfc1d9425.tar.gz
fix saltstack breakage introduced in v1.31.0
SaltStack's openstack cloud provider in current production release calls os_client_config.vendors.get_profile after importing just os_client_config: https://github.com/saltstack/salt/blob/v2018.3.0/salt/cloud/clouds/openstack.py#L319 After 5c2eae8f8242332aff59d18b45a7d17f01524aaa vendors module is no longer imported into os_client_config which results in AttributeError: 'module' object has no attribute 'vendors' Importing this manually in __init__.py fixes it, however I wasn't able to write a working test case — testtools loader loads all submodules recursively and test runs without throwing exception. I hope someone more knowledgeable review this change and confirm it doesn't break this use case anymore. Thanks in advance. Change-Id: I5a3cb6096a090c29e257079da7c3d07d5a9b3428 Signed-off-by: Alexander D <maniac@pzskc383.dp.ua>
Diffstat (limited to 'os_client_config/constructors.json')
0 files changed, 0 insertions, 0 deletions