[Yahoo-eng-team] [Bug 2034096] [NEW] OVN source(main branch) deploy jobs fails with make: *** No rule to make target '/opt/stack/ovs/python/ovs_build_helpers/soutil.py', needed by 'manpages.mk'. Stop

2023-09-04 Thread yatin
Public bug reported:

Fails as below:-
2023-09-05 02:43:36.168367 | controller | checking that generated files are 
newer than configure... done
2023-09-05 02:43:36.169129 | controller | configure: creating ./config.status
2023-09-05 02:43:36.994278 | controller | config.status: creating lib/libovn.sym
2023-09-05 02:43:37.014160 | controller | config.status: creating Makefile
2023-09-05 02:43:37.035733 | controller | config.status: creating tests/atlocal
2023-09-05 02:43:37.056014 | controller | config.status: creating 
include/ovn/version.h
2023-09-05 02:43:37.076031 | controller | config.status: creating config.h
2023-09-05 02:43:37.093144 | controller | config.status: executing 
tests/atconfig commands
2023-09-05 02:43:37.096437 | controller | config.status: executing depfiles 
commands
2023-09-05 02:43:37.502518 | controller | config.status: executing libtool 
commands
2023-09-05 02:43:37.522280 | controller | config.status: executing 
include/openflow/openflow.h.stamp commands
2023-09-05 02:43:37.529722 | controller | config.status: executing 
utilities/bugtool/dummy commands
2023-09-05 02:43:37.537607 | controller | config.status: executing 
utilities/dummy commands
2023-09-05 02:43:37.546272 | controller | config.status: executing ipsec/dummy 
commands
2023-09-05 02:43:37.623678 | controller | ++ 
lib/neutron_plugins/ovn_agent:compile_ovn:340 :   nproc
2023-09-05 02:43:37.628062 | controller | + 
lib/neutron_plugins/ovn_agent:compile_ovn:340 :   make -j9
2023-09-05 02:43:37.651547 | controller | make: *** No rule to make target 
'/opt/stack/ovs/python/ovs_build_helpers/soutil.py', needed by 'manpages.mk'.  
Stop.
2023-09-05 02:43:37.654863 | controller | + 
lib/neutron_plugins/ovn_agent:compile_ovn:1 :   exit_trap
2023-09-05 02:43:37.657653 | controller | + ./stack.sh:exit_trap:551
 :   local r=2
2023-09-05 02:43:37.660729 | controller | ++ ./stack.sh:exit_trap:552   
  :   jobs -p
2023-09-05 02:43:37.664619 | controller | + ./stack.sh:exit_trap:552
 :   jobs=
2023-09-05 02:43:37.667207 | controller | + ./stack.sh:exit_trap:555
 :   [[ -n '' ]]
2023-09-05 02:43:37.669954 | controller | + ./stack.sh:exit_trap:561
 :   '[' -f '' ']'
2023-09-05 02:43:37.672302 | controller | + ./stack.sh:exit_trap:566
 :   kill_spinner

Example failure:-
https://f73d480b17c2b34dc38c-939d58bab8c2106dbf157cafeea8359a.ssl.cf2.rackcdn.com/periodic/opendev.org/openstack/neutron/master/neutron-
ovn-tempest-ipv6-only-ovs-master/7c297ec/job-output.txt

Builds:-  https://zuul.openstack.org/builds?job_name=neutron-ovn-
tempest-ipv6-only-ovs-master_name=neutron-ovn-tempest-ovs-master-
centos-9-stream=openstack%2Fneutron=0

Broken with https://github.com/ovn-
org/ovn/commit/558da0cd21ad0172405f7d93c5d0e7533edbf653

Need to update OVS_BRANCH in jobs to fix it.

** Affects: neutron
 Importance: High
 Assignee: yatin (yatinkarel)
 Status: Triaged


** Tags: ovn

** Changed in: neutron
   Status: New => Triaged

** Changed in: neutron
   Importance: Undecided => High

** Tags added: ovn

** Changed in: neutron
 Assignee: (unassigned) => yatin (yatinkarel)

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

Title:
  OVN source(main branch) deploy jobs fails with make: *** No rule to
  make target '/opt/stack/ovs/python/ovs_build_helpers/soutil.py',
  needed by 'manpages.mk'.  Stop.

Status in neutron:
  Triaged

Bug description:
  Fails as below:-
  2023-09-05 02:43:36.168367 | controller | checking that generated files are 
newer than configure... done
  2023-09-05 02:43:36.169129 | controller | configure: creating ./config.status
  2023-09-05 02:43:36.994278 | controller | config.status: creating 
lib/libovn.sym
  2023-09-05 02:43:37.014160 | controller | config.status: creating Makefile
  2023-09-05 02:43:37.035733 | controller | config.status: creating 
tests/atlocal
  2023-09-05 02:43:37.056014 | controller | config.status: creating 
include/ovn/version.h
  2023-09-05 02:43:37.076031 | controller | config.status: creating config.h
  2023-09-05 02:43:37.093144 | controller | config.status: executing 
tests/atconfig commands
  2023-09-05 02:43:37.096437 | controller | config.status: executing depfiles 
commands
  2023-09-05 02:43:37.502518 | controller | config.status: executing libtool 
commands
  2023-09-05 02:43:37.522280 | controller | config.status: executing 
include/openflow/openflow.h.stamp commands
  2023-09-05 02:43:37.529722 | controller | config.status: executing 
utilities/bugtool/dummy commands
  2023-09-05 02:43:37.537607 | controller | config.status: executing 
utilities/dummy commands
  2023-09-05 02:43:37.546272 | controller | config.status: executing 
ipsec/dummy commands
  2023-09-05 02:43:37.623678 | controller | ++ 
lib/neutron_plugins/ovn_agent:compile_ovn:340 :   nproc
  2023-09-05 

[Yahoo-eng-team] [Bug 2019948] Re: [alembic] Alembic operations require keywords only arguments

2023-09-04 Thread OpenStack Infra
Reviewed:  https://review.opendev.org/c/openstack/nova/+/883344
Committed: 
https://opendev.org/openstack/nova/commit/32f191c359c1f2b5fb7c5877ddf145c59e6cbec8
Submitter: "Zuul (22348)"
Branch:master

commit 32f191c359c1f2b5fb7c5877ddf145c59e6cbec8
Author: Rodolfo Alonso Hernandez 
Date:   Wed May 17 12:16:06 2023 +0200

[alembic] Alembic operations require keywords only arguments

Since [1] (release 1.11.0), the Alembic operations "now enforce
keyword-only arguments as passed as keyword and not positionally"
(from the commit message).

This change is compatible with the previous versions (as confirmed
in the CI).


[1]https://github.com/zzzeek/alembic/commit/df75e85489b9ae69f2c5ad2594b30bed2fd4

Closes-Bug: #2019948
Change-Id: I020585a192ec5bcfb92cf92ef235da379ccb985e


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

Title:
  [alembic] Alembic operations require keywords only arguments

Status in neutron:
  Fix Released
Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  Since [1] (release 1.11.0), the Alembic operations "now enforce keyword-only
  arguments as passed as keyword and not positionally" (from the commit 
message).

  Detected in the "neutron-functional-with-sqlalchemy-master" CI job.

  Errors:
  
https://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_182/883287/1/experimental/neutron-
  functional-with-sqlalchemy-master/182d894/testr_results.html

  Snippet: https://paste.opendev.org/show/b2yvLMdjXZuFrXqsaE05/

  
[1]https://github.com/zzzeek/alembic/commit/df75e85489b9ae69f2c5ad2594b30bed2fd4

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/2019948/+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 2034035] [NEW] neutron allowed address pair with same ip address causes ValueError

2023-09-04 Thread Tobias Urdin
Public bug reported:

when managing allowed address pairs in horizon for a neutron port and
you create two identical ip_address but with different mac_address,
horizon crashes because the id in the table is the same, see below
traceback.

solution is to concat mac_address if set in the ID for that row

Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/django/core/handlers/exception.py", 
line 47, in inner
response = get_response(request)
  File "/usr/lib/python3.6/site-packages/django/core/handlers/base.py", line 
181, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/usr/lib/python3.6/site-packages/horizon/decorators.py", line 51, in dec
return view_func(request, *args, **kwargs)
  File "/usr/lib/python3.6/site-packages/horizon/decorators.py", line 35, in dec
return view_func(request, *args, **kwargs)
  File "/usr/lib/python3.6/site-packages/horizon/decorators.py", line 35, in dec
return view_func(request, *args, **kwargs)
  File "/usr/lib/python3.6/site-packages/horizon/decorators.py", line 111, in 
dec
return view_func(request, *args, **kwargs)
  File "/usr/lib/python3.6/site-packages/horizon/decorators.py", line 83, in dec
return view_func(request, *args, **kwargs)
  File "/usr/lib/python3.6/site-packages/django/views/generic/base.py", line 
70, in view
return self.dispatch(request, *args, **kwargs)
  File "/usr/lib/python3.6/site-packages/django/views/generic/base.py", line 
98, in dispatch
return handler(request, *args, **kwargs)
  File "/usr/lib/python3.6/site-packages/horizon/tabs/views.py", line 156, in 
post
return self.get(request, *args, **kwargs)
  File "/usr/lib/python3.6/site-packages/horizon/tabs/views.py", line 135, in 
get
handled = self.handle_table(self._table_dict[table_name])
  File "/usr/lib/python3.6/site-packages/horizon/tabs/views.py", line 116, in 
handle_table
handled = tab._tables[table_name].maybe_handle()
  File "/usr/lib/python3.6/site-packages/horizon/tables/base.py", line 1802, in 
maybe_handle
return self.take_action(action_name, obj_id)
  File "/usr/lib/python3.6/site-packages/horizon/tables/base.py", line 1644, in 
take_action
response = action.multiple(self, self.request, obj_ids)
  File "/usr/lib/python3.6/site-packages/horizon/tables/actions.py", line 305, 
in multiple
return self.handle(data_table, request, object_ids)
  File "/usr/lib/python3.6/site-packages/horizon/tables/actions.py", line 760, 
in handle
datum = table.get_object_by_id(datum_id)
  File "/usr/lib/python3.6/site-packages/horizon/tables/base.py", line 1480, in 
get_object_by_id
% matches)
ValueError: Multiple matches were returned for that id: 
[, ].

** Affects: horizon
 Importance: Undecided
 Status: In Progress

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

Title:
  neutron allowed address pair with same ip address causes ValueError

Status in OpenStack Dashboard (Horizon):
  In Progress

Bug description:
  when managing allowed address pairs in horizon for a neutron port and
  you create two identical ip_address but with different mac_address,
  horizon crashes because the id in the table is the same, see below
  traceback.

  solution is to concat mac_address if set in the ID for that row

  Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/django/core/handlers/exception.py", 
line 47, in inner
  response = get_response(request)
File "/usr/lib/python3.6/site-packages/django/core/handlers/base.py", line 
181, in _get_response
  response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/python3.6/site-packages/horizon/decorators.py", line 51, in 
dec
  return view_func(request, *args, **kwargs)
File "/usr/lib/python3.6/site-packages/horizon/decorators.py", line 35, in 
dec
  return view_func(request, *args, **kwargs)
File "/usr/lib/python3.6/site-packages/horizon/decorators.py", line 35, in 
dec
  return view_func(request, *args, **kwargs)
File "/usr/lib/python3.6/site-packages/horizon/decorators.py", line 111, in 
dec
  return view_func(request, *args, **kwargs)
File "/usr/lib/python3.6/site-packages/horizon/decorators.py", line 83, in 
dec
  return view_func(request, *args, **kwargs)
File "/usr/lib/python3.6/site-packages/django/views/generic/base.py", line 
70, in view
  return self.dispatch(request, *args, **kwargs)
File "/usr/lib/python3.6/site-packages/django/views/generic/base.py", line 
98, in dispatch
  return handler(request, *args, **kwargs)
File "/usr/lib/python3.6/site-packages/horizon/tabs/views.py", line 156, in 
post
  return self.get(request, *args, **kwargs)
File "/usr/lib/python3.6/site-packages/horizon/tabs/views.py", line 135, in 
get
  handled = 

[Yahoo-eng-team] [Bug 2034016] Re: openstack-tox-py310-with-sqlalchemy-master broken with latest alembic commit

2023-09-04 Thread OpenStack Infra
Reviewed:  https://review.opendev.org/c/openstack/neutron/+/893602
Committed: 
https://opendev.org/openstack/neutron/commit/f7489abaf822574f6d8c01b72495788e07d756d3
Submitter: "Zuul (22348)"
Branch:master

commit f7489abaf822574f6d8c01b72495788e07d756d3
Author: yatinkarel 
Date:   Mon Sep 4 13:33:29 2023 +0530

[UT] Adjust autogen_process_directives for alembic-1.12.0+

With [1] included in alembic-1.12.0 the unit test
test_autogen_process_directives fails as it was
expecting 'type_' param in Autogenerated output.
But this is not included with 1.12.0 by default,
this patch enhances the regex to care only for relevant
parameters.

[1] https://github.com/sqlalchemy/alembic/commit/733197e
Closes-Bug: #2034016
Change-Id: I088cc4b260cccf6be2963d23a76a05f11cfccf2c


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

Title:
  openstack-tox-py310-with-sqlalchemy-master broken with latest alembic
  commit

Status in neutron:
  Fix Released

Bug description:
  The job runs with latest alembic/sqlalchemy commits and is broken with
  recent alembic commit[1].

  Test 
neutron.tests.unit.db.test_migration.TestCli.test_autogen_process_directives 
fails as below:-
  ft1.27: 
neutron.tests.unit.db.test_migration.TestCli.test_autogen_process_directivestesttools.testresult.real._StringException:
 Traceback (most recent call last):
File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/base.py", 
line 178, in func
  return f(self, *args, **kwargs)
File "/usr/lib/python3.10/unittest/mock.py", line 1379, in patched
  return func(*newargs, **newkeywargs)
File 
"/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/unit/db/test_migration.py",
 line 708, in test_autogen_process_directives
  self.assertThat(
File 
"/home/zuul/src/opendev.org/openstack/neutron/.tox/py310/lib/python3.10/site-packages/testtools/testcase.py",
 line 481, in assertThat
  raise mismatch_error
  testtools.matchers._impl.MismatchError: "# ### commands auto generated by 
Alembic - please adjust! ###\nop.drop_constraint('user', 'uq_user_org')\n   
 op.drop_column('user', 'organization_name')\n# ### end Alembic commands 
###" does not match /(# )?### commands\ auto\ generated\ by\ Alembic\ \-\ 
please\ adjust!\ \#\#\#\\n\ \ \ \ op\.drop_constraint\('user',\ 'uq_user_org',\ 
type_=None\)\\n\ \ \ \ op\.drop_column\('user',\ 'organization_name'\)\\n\ \ \ 
\ (# )?### end\ Alembic\ commands\ \#\#\#/
   
  Example failure:-
  
https://76069f8f7ed36a9de08a-3a08f5dd30775d36f5503265ac08cfa4.ssl.cf2.rackcdn.com/886988/10/check/openstack-tox-py310-with-sqlalchemy-master/70a282c/testr_results.html

  [1]
  
https://github.com/sqlalchemy/alembic/commit/733197e0e794ed6aec3e21542257d6cec5bb7d1f

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/2034016/+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 2034016] [NEW] openstack-tox-py310-with-sqlalchemy-master broken with latest alembic commit

2023-09-04 Thread yatin
Public bug reported:

The job runs with latest alembic/sqlalchemy commits and is broken with
recent alembic commit[1].

Test 
neutron.tests.unit.db.test_migration.TestCli.test_autogen_process_directives 
fails as below:-
ft1.27: 
neutron.tests.unit.db.test_migration.TestCli.test_autogen_process_directivestesttools.testresult.real._StringException:
 Traceback (most recent call last):
  File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/base.py", 
line 178, in func
return f(self, *args, **kwargs)
  File "/usr/lib/python3.10/unittest/mock.py", line 1379, in patched
return func(*newargs, **newkeywargs)
  File 
"/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/unit/db/test_migration.py",
 line 708, in test_autogen_process_directives
self.assertThat(
  File 
"/home/zuul/src/opendev.org/openstack/neutron/.tox/py310/lib/python3.10/site-packages/testtools/testcase.py",
 line 481, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: "# ### commands auto generated by 
Alembic - please adjust! ###\nop.drop_constraint('user', 'uq_user_org')\n   
 op.drop_column('user', 'organization_name')\n# ### end Alembic commands 
###" does not match /(# )?### commands\ auto\ generated\ by\ Alembic\ \-\ 
please\ adjust!\ \#\#\#\\n\ \ \ \ op\.drop_constraint\('user',\ 'uq_user_org',\ 
type_=None\)\\n\ \ \ \ op\.drop_column\('user',\ 'organization_name'\)\\n\ \ \ 
\ (# )?### end\ Alembic\ commands\ \#\#\#/
 
Example failure:-
https://76069f8f7ed36a9de08a-3a08f5dd30775d36f5503265ac08cfa4.ssl.cf2.rackcdn.com/886988/10/check/openstack-tox-py310-with-sqlalchemy-master/70a282c/testr_results.html

[1]
https://github.com/sqlalchemy/alembic/commit/733197e0e794ed6aec3e21542257d6cec5bb7d1f

** Affects: neutron
 Importance: Critical
 Status: Triaged


** Tags: gate-failure unittest

** Changed in: neutron
   Importance: Undecided => Critical

** Changed in: neutron
   Status: New => Triaged

** Tags added: gate-failure unittest

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

Title:
  openstack-tox-py310-with-sqlalchemy-master broken with latest alembic
  commit

Status in neutron:
  Triaged

Bug description:
  The job runs with latest alembic/sqlalchemy commits and is broken with
  recent alembic commit[1].

  Test 
neutron.tests.unit.db.test_migration.TestCli.test_autogen_process_directives 
fails as below:-
  ft1.27: 
neutron.tests.unit.db.test_migration.TestCli.test_autogen_process_directivestesttools.testresult.real._StringException:
 Traceback (most recent call last):
File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/base.py", 
line 178, in func
  return f(self, *args, **kwargs)
File "/usr/lib/python3.10/unittest/mock.py", line 1379, in patched
  return func(*newargs, **newkeywargs)
File 
"/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/unit/db/test_migration.py",
 line 708, in test_autogen_process_directives
  self.assertThat(
File 
"/home/zuul/src/opendev.org/openstack/neutron/.tox/py310/lib/python3.10/site-packages/testtools/testcase.py",
 line 481, in assertThat
  raise mismatch_error
  testtools.matchers._impl.MismatchError: "# ### commands auto generated by 
Alembic - please adjust! ###\nop.drop_constraint('user', 'uq_user_org')\n   
 op.drop_column('user', 'organization_name')\n# ### end Alembic commands 
###" does not match /(# )?### commands\ auto\ generated\ by\ Alembic\ \-\ 
please\ adjust!\ \#\#\#\\n\ \ \ \ op\.drop_constraint\('user',\ 'uq_user_org',\ 
type_=None\)\\n\ \ \ \ op\.drop_column\('user',\ 'organization_name'\)\\n\ \ \ 
\ (# )?### end\ Alembic\ commands\ \#\#\#/
   
  Example failure:-
  
https://76069f8f7ed36a9de08a-3a08f5dd30775d36f5503265ac08cfa4.ssl.cf2.rackcdn.com/886988/10/check/openstack-tox-py310-with-sqlalchemy-master/70a282c/testr_results.html

  [1]
  
https://github.com/sqlalchemy/alembic/commit/733197e0e794ed6aec3e21542257d6cec5bb7d1f

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/2034016/+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