← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1856156] Re: Constraints file is not considered during doc build

 

Reviewed:  https://review.opendev.org/698692
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=07be7934359aa121761396ba47128904f19cb2e4
Submitter: Zuul
Branch:    master

commit 07be7934359aa121761396ba47128904f19cb2e4
Author: Elod Illes <elod.illes@xxxxxxxx>
Date:   Thu Dec 12 11:14:10 2019 +0100

    Use constraints for docs tox target
    
    In Stein the docs target started to fail when new release of
    neutron-lib appeared. This is because tox installs neutron and its
    requirements without any constraints. To fix this both the upper
    constraints and neutron requirements needs to be added to dependencies
    of docs target.
    
    Closes-Bug: #1856156
    Change-Id: Iea61238f37fdf24c0264f96d104ee0b3b6aec8e2


** Changed in: neutron
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1856156

Title:
  Constraints file is not considered during doc build

Status in neutron:
  Fix Released

Bug description:
  During doc build constraints file is not considered, which actually
  causes that stable/stein docs job is failing since neutron-lib 1.30.0
  is released.

  The traceback:
  2019-12-11 13:17:24.407556 | ubuntu-bionic |   File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/functional/db/test_migrations.py", line 34, in <module>
  2019-12-11 13:17:24.407622 | ubuntu-bionic |     from neutron.db.migration.models import head as head_models
  2019-12-11 13:17:24.407718 | ubuntu-bionic |   File "/home/zuul/src/opendev.org/openstack/neutron/neutron/db/migration/models/head.py", line 29, in <module>
  2019-12-11 13:17:24.407770 | ubuntu-bionic |     from neutron.db import agentschedulers_db  # noqa
  2019-12-11 13:17:24.407883 | ubuntu-bionic |   File "/home/zuul/src/opendev.org/openstack/neutron/neutron/db/agentschedulers_db.py", line 47, in <module>
  2019-12-11 13:17:24.407941 | ubuntu-bionic |     class AgentSchedulerDbMixin(agents_db.AgentDbMixin):
  2019-12-11 13:17:24.408050 | ubuntu-bionic |   File "/home/zuul/src/opendev.org/openstack/neutron/neutron/db/agentschedulers_db.py", line 55, in AgentSchedulerDbMixin
  2019-12-11 13:17:24.408095 | ubuntu-bionic |     constants.AGENT_TYPE_LOADBALANCER: None,
  2019-12-11 13:17:24.408181 | ubuntu-bionic | AttributeError: module 'neutron_lib.constants' has no attribute 'AGENT_TYPE_LOADBALANCER'

  The issue presents on master as well.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1856156/+subscriptions


References