neutronclient.tests.functional.core.test_readonly_neutron.SimpleReadOnlyNeutronClientTest.test_neutron_dhcp_agent_list_hosting_net repeatedly fails

Bug #1936965 reported by Takashi Kajinami
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released
Bernard Cafarelli

Bug Description

Currently the neutronclient-functional job always fails because of the following test case.


Captured traceback:
    Traceback (most recent call last):

      File "/home/zuul/src/", line 55, in test_neutron_dhcp_agent_list_hosting_net

      File "/home/zuul/src/", line 69, in neutron
    return self.clients.neutron(*args, **kwargs)

      File "/home/zuul/src/", line 311, in neutron
    return self.cmd_with_auth(

      File "/home/zuul/src/", line 394, in cmd_with_auth
    return execute(cmd, action, flags, params, fail_ok, merge_stderr,

      File "/home/zuul/src/", line 63, in execute
    raise exceptions.CommandFailed(proc.returncode,

    tempest.lib.exceptions.CommandFailed: Command '['/home/zuul/src/', '--os-username', 'admin', '--os-project-name', 'admin', '--os-password', 'secretadmin', '--os-auth-url', '', '--os-user-domain-id', 'default', '--os-project-domain-id', 'default', '--endpoint-type', 'publicURL', 'dhcp-agent-list-hosting-net', 'private']' returned non-zero exit status 1.
b"neutron CLI is deprecated and will be removed in the Z cycle. Use openstack CLI instead.\nThe resource could not be found.\nNeutron server returns request_ids: ['req-fb801512-842c-42ab-8292-936f76f1ee1d']\n"

An example can be found here:

This is likely to be an failure caused by recent switch from ovs to ovn.

Tags: gate-failure
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-neutronclient (master)
Changed in python-neutronclient:
status: New → In Progress
Changed in python-neutronclient:
assignee: nobody → Bernard Cafarelli (bcafarel)
tags: added: gate-failure
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-neutronclient (master)

Submitter: "Zuul (22348)"
Branch: master

commit 2f047b15957308e84dcb72baee3415b8bf5a470a
Author: Bernard Cafarelli <email address hidden>
Date: Fri Jul 23 11:23:22 2021 +0200

    Set ML2/OVS backend explicitly for functional job

    After default backend change to OVN, some client tests related to DHCP
    or L3 agents are not working fine. Switch the job to ML2/OVS, as it was
    done in openstack-client in changeset

    test_neutron_dhcp_agent_list_hosting_net was skipped temporarily
    to pass the gate in the parent commit. It is re-enabled now.

    Change-Id: I91d03d13adcd38d46ba1b042239a290ae2c99ea4
    Closes-Bug: #1936965

Changed in python-neutronclient:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-neutronclient 7.6.0

This issue was fixed in the openstack/python-neutronclient 7.6.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.