<div dir="ltr"><div>Hello Lokendra:</div><div><br></div><div>Did you check the version of the ovn-controller service in the compute nodes and the ovn services in the controller nodes? The services should be in sync.</div><div><br></div><div>What is the "openstack network agent list" output? Do you see the OVN controller, OVN gateways and OVN metadata entries corresponding to the compute and controller nodes you have? And did you check the sanity of your OVN SB database? What is the list of "Chassis" and "Chassis_Private" registers? Each "Chassis_Private" register must have a "Chassis" register associated.<br></div><div><br></div><div>Regards.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, May 17, 2023 at 6:14 PM Lokendra Rathour <<a href="mailto:lokendrarathour@gmail.com">lokendrarathour@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Swogat,<div>Thanks for the inputs, it was showing a similar issue but somehow the issue is not getting resolved.</div><div>we are trying to explore more around it. </div><div><br></div><div>getting the error in </div><div>ovn-metadata-agent.log</div><div>Cannot find Chassis_Private with name=f80799b9-0cf4-4413-bb4b-e36278c73f6c<br></div><div><br></div><div>detailed:</div><div>2023-05-17 19:26:31.984 45317 INFO oslo.privsep.daemon [-] privsep daemon running as pid 45317<br>2023-05-17 19:26:32.712 44735 ERROR ovsdbapp.backend.ovs_idl.transaction [-] Traceback (most recent call last):<br> File "/usr/lib/python3.6/site-packages/ovsdbapp/backend/ovs_idl/connection.py", line 131, in run<br> txn.results.put(txn.do_commit())<br> File "/usr/lib/python3.6/site-packages/ovsdbapp/backend/ovs_idl/transaction.py", line 93, in do_commit<br> command.run_idl(txn)<br> File "/usr/lib/python3.6/site-packages/ovsdbapp/backend/ovs_idl/command.py", line 172, in run_idl<br> record = self.api.lookup(self.table, self.record)<br> File "/usr/lib/python3.6/site-packages/ovsdbapp/backend/ovs_idl/__init__.py", line 208, in lookup<br> return self._lookup(table, record)<br> File "/usr/lib/python3.6/site-packages/ovsdbapp/backend/ovs_idl/__init__.py", line 268, in _lookup<br> row = idlutils.row_by_value(self, rl.table, rl.column, record)<br> File "/usr/lib/python3.6/site-packages/ovsdbapp/backend/ovs_idl/idlutils.py", line 114, in row_by_value<br> raise RowNotFound(table=table, col=column, match=match)<br>ovsdbapp.backend.ovs_idl.idlutils.RowNotFound: Cannot find Chassis_Private with name=f80799b9-0cf4-4413-bb4b-e36278c73f6c<br><br>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<br>2023-05-17 19:26:32.713 44735 ERROR ovsdbapp.backend.ovs_idl.command Traceback (most recent call last):<br>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<br><br></div><div>waiting for your always helpful inputs.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 16, 2023 at 10:47 PM Swogat Pradhan <<a href="mailto:swogatpradhan22@gmail.com" target="_blank">swogatpradhan22@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div>Hi <div dir="auto">I am not sure if this will help, but i faced something similar.</div><div dir="auto">You might need to check the ovn database entries.</div><div dir="auto"><a href="http://www.jimmdenton.com/neutron-ovn-private-chassis/" target="_blank">http://www.jimmdenton.com/neutron-ovn-private-chassis/</a><br></div><div dir="auto"><br></div><div dir="auto">Or maybe try restarting the ovn service from pcs, sometimes issue comes up when ovn doesn't sync up.</div><div dir="auto"><br></div><div dir="auto">Again m not sure if this will be of any help to you.</div><div dir="auto"><br></div>With regards,</div><div dir="auto">Swogat Pradhan</div><div dir="auto"><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Tue, 16 May 2023, 10:41 pm Lokendra Rathour, <<a href="mailto:lokendrarathour@gmail.com" target="_blank">lokendrarathour@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi All,<div>Was trying to create OpenStack VM in OpenStack wallaby release, not able to create VM, it is failing because of Port not getting created. </div><div><br></div><div>The error that we are getting:</div><div>nova-compute.log:</div><div><br></div><div>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.<br>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><br> sys.exit(main())<br> File "/usr/lib/python3.6/site-packages/nova/cmd/compute.py", line 59, in main<br> topic=compute_rpcapi.RPC_TOPIC)<br> File "/usr/lib/python3.6/site-packages/nova/service.py", line 264, in create<br> utils.raise_if_old_compute()<br> File "/usr/lib/python3.6/site-packages/nova/utils.py", line 1068, in raise_if_old_compute<br> ctxt, ['nova-compute'])<br> File "/usr/lib/python3.6/site-packages/nova/objects/service.py", line 563, in get_minimum_version_all_cells<br> binaries)<br> File "/usr/lib/python3.6/site-packages/nova/context.py", line 544, in scatter_gather_all_cells<br> fn, *args, **kwargs)<br> File "/usr/lib/python3.6/site-packages/nova/context.py", line 432, in scatter_gather_cells<br> with target_cell(context, cell_mapping) as cctxt:<br> File "/usr/lib64/python3.6/contextlib.py", line 81, in __enter__<br> return next(self.gen)<br><span><br></span></div><div><span><br></span></div><div><span>neutron/ovn-metadata-agent.log<br></span></div><div><span><br>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<br>2023-05-16 22:33:41.871 45204 ERROR ovsdbapp.backend.ovs_idl.command<br>2023-05-16 22:36:41.876 45204 ERROR ovsdbapp.backend.ovs_idl.transaction [-] Traceback (most recent call last):<br> File "/usr/lib/python3.6/site-packages/ovsdbapp/backend/ovs_idl/connection.py", line 131, in run<br> txn.results.put(txn.do_commit())<br> File "/usr/lib/python3.6/site-packages/ovsdbapp/backend/ovs_idl/transaction.py", line 93, in do_commit<br> command.run_idl(txn)<br> File "/usr/lib/python3.6/site-packages/ovsdbapp/backend/ovs_idl/command.py", line 172, in run_idl<br> record = self.api.lookup(self.table, self.record)<br> File "/usr/lib/python3.6/site-packages/ovsdbapp/backend/ovs_idl/__init__.py", line 208, in lookup<br> return self._lookup(table, record)<br> File "/usr/lib/python3.6/site-packages/ovsdbapp/backend/ovs_idl/__init__.py", line 268, in _lookup<br> row = idlutils.row_by_value(self, rl.table, rl.column, record)<br> File "/usr/lib/python3.6/site-packages/ovsdbapp/backend/ovs_idl/idlutils.py", line 114, in row_by_value<br> raise RowNotFound(table=table, col=column, match=match)<br>ovsdbapp.backend.ovs_idl.idlutils.RowNotFound: Cannot find Chassis_Private with name=b6e6f0d3-40c6-4d4e-8ef6-c935fa027bd2<br></span></div><div><span><br></span></div><div><span>any input to help get this issue fixed would be of great help.</span></div><div><span>thanks</span></div><div><span>-- </span><br><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">~ Lokendra<br></div><div>skype: lokendrarathour</div><div dir="ltr"><img src="https://ci3.googleusercontent.com/mail-sig/AIorK4zyd6LpJOGqagxmzUlY59eMQx0-FN0t8HtjdtGE7VLZSKIxBUz3bI7z-MBqbgDVg1-XbtvHgN_ATJ10N6bonyO-JSGTtl5s_mNSbDoXBg" width="200" height="41"><br></div><div dir="ltr"><br></div></div></div></div></div></div>
</blockquote></div></div></div>
</blockquote></div><br clear="all"><div><br></div><span>-- </span><br><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">~ Lokendra<br></div><div>skype: lokendrarathour</div><div dir="ltr"><img src="https://ci3.googleusercontent.com/mail-sig/AIorK4zyd6LpJOGqagxmzUlY59eMQx0-FN0t8HtjdtGE7VLZSKIxBUz3bI7z-MBqbgDVg1-XbtvHgN_ATJ10N6bonyO-JSGTtl5s_mNSbDoXBg" width="200" height="41"><br></div><div dir="ltr"><br></div></div></div></div>
</blockquote></div>