python-designateclient > 3.0.0 has no v1 client, but helper/setup/image_setup.py requires a v1 client

Bug #1923848 reported by Alex Kavanagh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Openstack Mojo Testing
New
Undecided
Unassigned

Bug Description

image_setup.py run fro next_designate_ha

2021-04-14 11:50:35 [ERROR] Traceback (most recent call last):
  File "/srv/mojo/openstack/bionic/_20210314_100318/spec/specs/full_stack/next_designate_ha/queens/image_setup.py", line 4, in <module>
    import utils.mojo_os_utils as mojo_os_utils
  File "/mnt/mojo/openstack/bionic/_20210314_100318/spec/helper/setup/utils/mojo_os_utils.py", line 10, in <module>
    import designateclient.v1.domains as des_domains
ModuleNotFoundError: No module named 'designateclient.v1'

This means that whilst it can run on xenial (the default for mojo testing), it can't run on bionic as the py3-client-requirements.txt file in charm-test-infra allows >3.0.0 for python-designateclient which drops the v1 client.

It will either need to be re-written to use either v1 or v2 or just the v2 client.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.