← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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.

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: doc gate-failure in-stable-stein

** Tags removed: sta
** Tags added: in-stable-stein

-- 
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:
  New

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


Follow ups