[Yahoo-eng-team] [Bug 1950276] Re: AcceleratorRequestBindingFailed exception doesnot fill the msg info

2022-01-16 Thread OpenStack Infra
Reviewed:  https://review.opendev.org/c/openstack/nova/+/817326
Committed: 
https://opendev.org/openstack/nova/commit/2af7eb00f57b766458d96a13565570169423a256
Submitter: "Zuul (22348)"
Branch:master

commit 2af7eb00f57b766458d96a13565570169423a256
Author: songwenping 
Date:   Wed Nov 10 02:14:22 2021 +

Fill the AcceleratorRequestBindingFailed exception msg info

Closes-Bug: #1950276
Change-Id: Iac1d74ebeefc8e4192896b10c76c16942dbe30fc


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

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1950276

Title:
  AcceleratorRequestBindingFailed exception doesnot fill the msg info

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  If we meet the AcceleratorRequestBindingFailed exception, the msg is not 
filled. with the exception info below:
  nova.exception.AcceleratorRequestBindingFailed: Failed to bind accelerator 
requests: %(msg)s

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


-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp


[Yahoo-eng-team] [Bug 1955639] Re: Performance of mariadb's neutron.agents table

2022-01-16 Thread OpenStack Infra
Reviewed:  https://review.opendev.org/c/openstack/neutron/+/823822
Committed: 
https://opendev.org/openstack/neutron/commit/ebe9e046c674c6c7aa72a58b38104894e90bbafe
Submitter: "Zuul (22348)"
Branch:master

commit ebe9e046c674c6c7aa72a58b38104894e90bbafe
Author: Rodolfo Alonso Hernandez 
Date:   Fri Jan 7 15:50:19 2022 +

Create an index for "agents.host" column

This index improves any query filtering by agent host name.

Closes-Bug: #1955639
Change-Id: Ice4fd6319d4c7d403bdc74a25e3d7cac31fb4c9f


** 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/1955639

Title:
  Performance of mariadb's neutron.agents table

Status in neutron:
  Fix Released

Bug description:
  mariadb table of neutron.agents, only agents.When using only agent.host as 
index, it will not hit the index and will scan the whole table. neutron's many 
interfaces are using agents.host as index query, index can not be hit, query 
efficiency is too low.
  eg:
  ```
  def get_dvr_active_network_ports(context, network_id):
  query = context.session.query(ml2_models.DistributedPortBinding,
agent_model.Agent)
  query = query.join(agent_model.Agent,
 agent_model.Agent.host ==
 ml2_models.DistributedPortBinding.host)
  MariaDB [neutron]> show index from agents;
  
+++-+--+-+---+-+--++--++-+---+
  | Table  | Non_unique | Key_name| Seq_in_index | 
Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | 
Comment | Index_comment |
  
+++-+--+-+---+-+--++--++-+---+
  | agents |  0 | PRIMARY |1 | id   
   | A |  20 | NULL | NULL   |  | BTREE  | 
|   |
  | agents |  0 | uniq_agents0agent_type0host |1 | 
agent_type  | A |  10 | NULL | NULL   |  | BTREE  | 
|   |
  | agents |  0 | uniq_agents0agent_type0host |2 | host 
   | A |  20 | NULL | NULL   |  | BTREE  | 
|   |
  
+++-+--+-+---+-+--++--++-+---+

  explain SELECT ports.project_id AS ports_project_id, ports.id AS ports_id, 
ports.name AS ports_name, ports.network_id AS ports_network_id, 
ports.mac_address AS ports_mac_address, ports.admin_state_up AS 
ports_admin_state_up, ports.status AS ports_status, ports.device_id AS 
ports_device_id, ports.device_owner AS ports_device_owner, ports.ip_allocation 
AS ports_ip_allocation, ports.standard_attr_id AS ports_standard_attr_id, 
anon_1.ml2_port_bindings_port_id AS anon_1_ml2_port_bindings_port_id, 
standardattributes_1.id AS standardattributes_1_id, 
standardattributes_1.resource_type AS standardattributes_1_resource_type, 
standardattributes_1.description AS standardattributes_1_description, 
standardattributes_1.revision_number AS standardattributes_1_revision_number, 
standardattributes_1.created_at AS standardattributes_1_created_at, 
standardattributes_1.updated_at AS standardattributes_1_updated_at, 
ml2_port_bindings_1.port_id AS ml2_port_bindings_1_port_id, 
ml2_port_bindings_1.host AS ml2_port_bindings_1_host, 
ml2_port_bindings_1.vnic_type AS ml2_port_bindings_1_vnic_type, 
ml2_port_bindings_1.profile AS ml2_port_bindings_1_profile, 
ml2_port_bindings_1.vif_type AS ml2_port_bindings_1_vif_type, 
ml2_port_bindings_1.vif_details AS ml2_port_bindings_1_vif_details, 
ml2_port_bindings_1.status AS ml2_port_bindings_1_status, subports_1.port_id AS 
subports_1_port_id, subports_1.trunk_id AS subports_1_trunk_id, 
subports_1.segmentation_type AS subports_1_segmentation_type, 
subports_1.segmentation_id AS subports_1_segmentation_id, 
standardattributes_2.id AS standardattributes_2_id, 
standardattributes_2.resource_type AS standardattributes_2_resource_type, 
standardattributes_2.description AS standardattributes_2_description, 
standardattributes_2.revision_number AS standardattributes_2_revision_number, 
standardattributes_2.created_at AS standardattributes_2_created_at, 
standardattributes_2.updated_at AS standardattributes_2_updated_at, 
trunks_1.project_id AS trunks_1_project_id, trunks_1.id AS trunks_1_id, 
trunks_1.admin_state_up AS trunks_1_admin_state_up, trunks_1.name AS 
trunks_1_name, trunks_1.port_id AS trunks_1_port_id, trunks_1.status AS 
trunks_1_status, 

[Yahoo-eng-team] [Bug 1954903] Re: [OVN] Add floating IP pools L3 extension to OVN L3 service

2022-01-16 Thread OpenStack Infra
Reviewed:  https://review.opendev.org/c/openstack/neutron/+/821818
Committed: 
https://opendev.org/openstack/neutron/commit/636f33b16bc74857a849b56409490a572b4e2734
Submitter: "Zuul (22348)"
Branch:master

commit 636f33b16bc74857a849b56409490a572b4e2734
Author: Rodolfo Alonso Hernandez 
Date:   Wed Dec 15 10:31:29 2021 +

[OVN] Add floating IP pools extension to OVN L3

Closes-Bug: #1954903
Change-Id: Ic1e0d78c9887ec37b40962ef0f7ed8ad5fa6c8a9


** 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/1954903

Title:
  [OVN] Add floating IP pools L3 extension to OVN L3 service

Status in neutron:
  Fix Released

Bug description:
  Add floating IP pools L3 extension to OVN L3 service

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


-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp


[Yahoo-eng-team] [Bug 1957936] Re: [FT] Functional CI jobs broken, OVS compilation not executed

2022-01-16 Thread OpenStack Infra
Reviewed:  https://review.opendev.org/c/openstack/neutron/+/824750
Committed: 
https://opendev.org/openstack/neutron/commit/b5a7dbc67dd12137d850de95542f4e2fd7a06d7b
Submitter: "Zuul (22348)"
Branch:master

commit b5a7dbc67dd12137d850de95542f4e2fd7a06d7b
Author: Rodolfo Alonso 
Date:   Fri Jan 14 16:38:09 2022 +

Revert "Make configure_for_func_testing compatible with e.g. Centos"

This reverts commit 391726bd4c0302ca3ce27f5de8e39ee4c6d91457.

Reason for revert: This patch is breaking CI testing, functional jobs. 
Variable
"BUILD_OVS_FROM_SOURCE" should be kept.

From a working CI job:

/home/zuul/src/opendev.org/openstack/neutron/tools/configure_for_func_testing.sh:_install_base_deps:106
 :   [[ True == \T\r\u\e ]]

From a now broken CI job:

/home/zuul/src/opendev.org/openstack/neutron/tools/configure_for_func_testing.sh:_install_base_deps:106
 :   [[ False == \T\r\u\e ]]

"BUILD_OVS_FROM_SOURCE: True" in the "neutron-functional" job definition.

Closes-Bug: #1957936

Change-Id: I564358c64c8ea7ae6039e9f8e6c0e90655fbb8eb


** 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/1957936

Title:
  [FT] Functional CI jobs broken, OVS compilation not executed

Status in neutron:
  Fix Released

Bug description:
  The commit than changed this behaviour is
  https://review.opendev.org/q/391726bd4c0302ca3ce27f5de8e39ee4c6d91457.

  I've pushed a revert just to fix the gate during the weekend.

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


-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp


[Yahoo-eng-team] [Bug 1958075] [NEW] The fixtures library is missing from requirements.txt

2022-01-16 Thread Takashi Kajinami
Public bug reported:

Description
===
The following change[1] made the nova.utils module depend on the fixtures 
library.
[1] https://review.opendev.org/c/openstack/nova/+/824280

However the fixtures library is listed only in test-requirements.txt and is not 
yet listed in requirements.txt .
Because of this the library is not installed in normal deployment and the 
`nova-manage api_db sync` command fails with the following error.

Traceback (most recent call last):
  File "/usr/bin/nova-manage", line 6, in 
from nova.cmd.manage import main
  File "/usr/lib/python3.6/site-packages/nova/cmd/manage.py", line 49, in 

from nova.cmd import common as cmd_common
  File "/usr/lib/python3.6/site-packages/nova/cmd/common.py", line 26, in 

import nova.db.main.api
  File "/usr/lib/python3.6/site-packages/nova/db/main/api.py", line 45, in 

from nova import block_device
  File "/usr/lib/python3.6/site-packages/nova/block_device.py", line 26, in 

from nova import utils
  File "/usr/lib/python3.6/site-packages/nova/utils.py", line 32, in 
import fixtures
ModuleNotFoundError: No module named 'fixtures'

This issue was initially detected in litmus jobs in puppet repos[2].
These jobs uses rdo packages which define dependencies based on requirements.txt

[2] example:
https://zuul.opendev.org/t/openstack/build/e086ca3375714860ae463b7a1d9b1bab

Steps to reproduce
==

Expected result
===

Actual result
=

Environment
===

Logs & Configs
==

** Affects: nova
 Importance: Undecided
 Assignee: Takashi Kajinami (kajinamit)
 Status: In Progress

** Changed in: nova
 Assignee: (unassigned) => Takashi Kajinami (kajinamit)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1958075

Title:
  The fixtures library is missing from requirements.txt

Status in OpenStack Compute (nova):
  In Progress

Bug description:
  Description
  ===
  The following change[1] made the nova.utils module depend on the fixtures 
library.
  [1] https://review.opendev.org/c/openstack/nova/+/824280

  However the fixtures library is listed only in test-requirements.txt and is 
not yet listed in requirements.txt .
  Because of this the library is not installed in normal deployment and the 
`nova-manage api_db sync` command fails with the following error.

  Traceback (most recent call last):
File "/usr/bin/nova-manage", line 6, in 
  from nova.cmd.manage import main
File "/usr/lib/python3.6/site-packages/nova/cmd/manage.py", line 49, in 

  from nova.cmd import common as cmd_common
File "/usr/lib/python3.6/site-packages/nova/cmd/common.py", line 26, in 

  import nova.db.main.api
File "/usr/lib/python3.6/site-packages/nova/db/main/api.py", line 45, in 

  from nova import block_device
File "/usr/lib/python3.6/site-packages/nova/block_device.py", line 26, in 

  from nova import utils
File "/usr/lib/python3.6/site-packages/nova/utils.py", line 32, in 
  import fixtures
  ModuleNotFoundError: No module named 'fixtures'

  This issue was initially detected in litmus jobs in puppet repos[2].
  These jobs uses rdo packages which define dependencies based on 
requirements.txt

  [2] example:
  https://zuul.opendev.org/t/openstack/build/e086ca3375714860ae463b7a1d9b1bab

  Steps to reproduce
  ==

  Expected result
  ===

  Actual result
  =

  Environment
  ===

  Logs & Configs
  ==

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


-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp