[stable/train] neutron-tempest-plugin-designate-scenario-train fails with AttributeError: 'Manager' object has no attribute 'zones_client'

Bug #1950346 reported by Bernard Cafarelli
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Critical
Lajos Katona

Bug Description

This is kind of a follow-up to neutron-tempest-plugin jobs failing in https://bugs.launchpad.net/neutron/+bug/1948804 as I see that designate jobs all fail on train branch.

Recent backport example and relevant logs:
https://review.opendev.org/c/openstack/neutron/+/816518/
https://zuul.opendev.org/t/openstack/build/a6a1142368b742248be710f902f541f5

    Traceback (most recent call last):

      File "/opt/stack/tempest/tempest/test.py", line 181, in setUpClass
    raise value.with_traceback(trace)

      File "/opt/stack/tempest/tempest/test.py", line 171, in setUpClass
    cls.setup_clients()

      File "/opt/stack/tempest/.tox/tempest/lib/python3.6/site-packages/neutron_tempest_plugin/scenario/test_dns_integration.py", line 50, in setup_clients
    cls.dns_client = cls.os_tempest.zones_client

    AttributeError: 'Manager' object has no attribute 'zones_client'

I did not see it when testing the fix for 1948804 as DNM patch to run it did not trigger designate job

Changed in neutron:
importance: Undecided → Critical
Revision history for this message
Lajos Katona (lajos-katona) wrote :

This patch causes the failure on older branches/jobs:
https://review.opendev.org/c/openstack/neutron-tempest-plugin/+/800291

Not sure why it happens, perhaps we have to add openstack/designate-tempest-plugin as required project to train job....

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron-tempest-plugin (master)
Changed in neutron:
status: New → In Progress
Changed in neutron:
assignee: nobody → Lajos Katona (lajos-katona)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron-tempest-plugin (master)

Reviewed: https://review.opendev.org/c/openstack/neutron-tempest-plugin/+/817465
Committed: https://opendev.org/openstack/neutron-tempest-plugin/commit/82cd7afa96a03d14660810889e4486cb6f560081
Submitter: "Zuul (22348)"
Branch: master

commit 82cd7afa96a03d14660810889e4486cb6f560081
Author: elajkat <email address hidden>
Date: Wed Nov 10 19:04:35 2021 +0100

    [train]: add designate-tempest-plugin as req

    Add designate-tempest-plugin to required-projects of
    neutron-tempest-plugin-designate-scenario-train and pin it to 0.7.0.
    This should avoid the client initialization issue bring in by [1].

    [1]: https://review.opendev.org/c/openstack/neutron-tempest-plugin/+/800291

    Change-Id: Ib58f0cf251b84c21db0f4b8defd213c770739134
    Closes-Bug: #1950346

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron-tempest-plugin 1.8.0

This issue was fixed in the openstack/neutron-tempest-plugin 1.8.0 release.

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.