Hi Swogat,
Thanks for the inputs, it was showing a similar issue but somehow the issue is not getting resolved.
we are trying to explore more around it. 

getting the error in 
ovn-metadata-agent.log
Cannot find Chassis_Private with name=f80799b9-0cf4-4413-bb4b-e36278c73f6c

detailed:
2023-05-17 19:26:31.984 45317 INFO oslo.privsep.daemon [-] privsep daemon running as pid 45317
2023-05-17 19:26:32.712 44735 ERROR ovsdbapp.backend.ovs_idl.transaction [-] Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/ovsdbapp/backend/ovs_idl/connection.py", line 131, in run
    txn.results.put(txn.do_commit())
  File "/usr/lib/python3.6/site-packages/ovsdbapp/backend/ovs_idl/transaction.py", line 93, in do_commit
    command.run_idl(txn)
  File "/usr/lib/python3.6/site-packages/ovsdbapp/backend/ovs_idl/command.py", line 172, in run_idl
    record = self.api.lookup(self.table, self.record)
  File "/usr/lib/python3.6/site-packages/ovsdbapp/backend/ovs_idl/__init__.py", line 208, in lookup
    return self._lookup(table, record)
  File "/usr/lib/python3.6/site-packages/ovsdbapp/backend/ovs_idl/__init__.py", line 268, in _lookup
    row = idlutils.row_by_value(self, rl.table, rl.column, record)
  File "/usr/lib/python3.6/site-packages/ovsdbapp/backend/ovs_idl/idlutils.py", line 114, in row_by_value
    raise RowNotFound(table=table, col=column, match=match)
ovsdbapp.backend.ovs_idl.idlutils.RowNotFound: Cannot find Chassis_Private with name=f80799b9-0cf4-4413-bb4b-e36278c73f6c

2023-05-17 19:26:32.713 44735 ERROR ovsdbapp.backend.ovs_idl.command [-] Error executing command (DbAddCommand): ovsdbapp.backend.ovs_idl.idlutils.RowNotFound: Cannot find Chassis_Private with name=f80799b9-0cf4-4413-bb4b-e36278c73f6c
2023-05-17 19:26:32.713 44735 ERROR ovsdbapp.backend.ovs_idl.command Traceback (most recent call last):
2023-05-17 19:26:32.713 44735 ERROR ovsdbapp.backend.ovs_idl.command   File "/usr/lib/python3.6/site-packages/ovsdbapp/backend/ovs_idl/command.py", line 42, in execute

waiting for your always helpful inputs.

On Tue, May 16, 2023 at 10:47 PM Swogat Pradhan <swogatpradhan22@gmail.com> wrote:
Hi 
I am not sure if this will help, but i faced something similar.
You might need to check the ovn database entries.
http://www.jimmdenton.com/neutron-ovn-private-chassis/

Or maybe try restarting the ovn service from pcs, sometimes issue comes up when ovn doesn't sync up.

Again m not sure if this will be of any help to you.

With regards,
Swogat Pradhan

On Tue, 16 May 2023, 10:41 pm Lokendra Rathour, <lokendrarathour@gmail.com> wrote:
Hi All,
Was trying to create OpenStack VM in OpenStack wallaby release, not able to create VM, it is failing because of Port not getting created. 

The error that we are getting:
nova-compute.log:

2023-05-16 18:15:35.495 7 INFO nova.compute.provider_config [req-faaf38e7-b5ee-43d1-9303-d508285f5ab7 - - - - -] No provider configs found in /etc/nova/provider_config. If files are present, ensure the Nova process has access.
2023-05-16 18:15:35.549 7 ERROR nova.cmd.common [req-8842f11c-fe5a-4ad3-92ea-a6898f482bf0 - - - - -] No db access allowed in nova-compute:   File "/usr/bin/nova-compute", line 10, in <module>
    sys.exit(main())
  File "/usr/lib/python3.6/site-packages/nova/cmd/compute.py", line 59, in main
    topic=compute_rpcapi.RPC_TOPIC)
  File "/usr/lib/python3.6/site-packages/nova/service.py", line 264, in create
    utils.raise_if_old_compute()
  File "/usr/lib/python3.6/site-packages/nova/utils.py", line 1068, in raise_if_old_compute
    ctxt, ['nova-compute'])
  File "/usr/lib/python3.6/site-packages/nova/objects/service.py", line 563, in get_minimum_version_all_cells
    binaries)
  File "/usr/lib/python3.6/site-packages/nova/context.py", line 544, in scatter_gather_all_cells
    fn, *args, **kwargs)
  File "/usr/lib/python3.6/site-packages/nova/context.py", line 432, in scatter_gather_cells
    with target_cell(context, cell_mapping) as cctxt:
  File "/usr/lib64/python3.6/contextlib.py", line 81, in __enter__
    return next(self.gen)


neutron/ovn-metadata-agent.log

2023-05-16 22:33:41.871 45204 ERROR ovsdbapp.backend.ovs_idl.command ovsdbapp.backend.ovs_idl.idlutils.RowNotFound: Cannot find Chassis_Private with name=b6e6f0d3-40c6-4d4e-8ef6-c935fa027bd2
2023-05-16 22:33:41.871 45204 ERROR ovsdbapp.backend.ovs_idl.command
2023-05-16 22:36:41.876 45204 ERROR ovsdbapp.backend.ovs_idl.transaction [-] Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/ovsdbapp/backend/ovs_idl/connection.py", line 131, in run
    txn.results.put(txn.do_commit())
  File "/usr/lib/python3.6/site-packages/ovsdbapp/backend/ovs_idl/transaction.py", line 93, in do_commit
    command.run_idl(txn)
  File "/usr/lib/python3.6/site-packages/ovsdbapp/backend/ovs_idl/command.py", line 172, in run_idl
    record = self.api.lookup(self.table, self.record)
  File "/usr/lib/python3.6/site-packages/ovsdbapp/backend/ovs_idl/__init__.py", line 208, in lookup
    return self._lookup(table, record)
  File "/usr/lib/python3.6/site-packages/ovsdbapp/backend/ovs_idl/__init__.py", line 268, in _lookup
    row = idlutils.row_by_value(self, rl.table, rl.column, record)
  File "/usr/lib/python3.6/site-packages/ovsdbapp/backend/ovs_idl/idlutils.py", line 114, in row_by_value
    raise RowNotFound(table=table, col=column, match=match)
ovsdbapp.backend.ovs_idl.idlutils.RowNotFound: Cannot find Chassis_Private with name=b6e6f0d3-40c6-4d4e-8ef6-c935fa027bd2

any input to help get this issue fixed would be of great help.
thanks
--
~ Lokendra
skype: lokendrarathour




--
~ Lokendra
skype: lokendrarathour