[Port Creation failed] - openstack Wallaby

Lokendra Rathour lokendrarathour at gmail.com
Tue May 23 10:41:09 UTC 2023


Hi Team,
Issue is yet to be solved.

openstack network agent list:
(overcloud) [stack at undercloud-loke ~]$ openstack network agent list
/usr/lib64/python3.6/site-packages/_yaml/__init__.py:23:
DeprecationWarning: The _yaml extension module is now located at yaml._yaml
and its location is subject to change.  To use the LibYAML-based parser and
emitter, import from `yaml`: `from yaml import CLoader as Loader, CDumper
as Dumper`.
  DeprecationWarning
+--------------------------------------+------------+----------------------------------+-------------------+-------+-------+--------------------+
| ID                                   | Agent Type | Host
            | Availability Zone | Alive | State | Binary             |
+--------------------------------------+------------+----------------------------------+-------------------+-------+-------+--------------------+
| 8e6ce556-84f7-48c7-b9a0-5ebecad648d1 | DHCP agent |
overcloud-controller-0.myhsc.com | nova              | :-)   | UP    |
neutron-dhcp-agent |
| c0f29f3c-7eb0-4667-b522-61323185adac | DHCP agent |
overcloud-controller-2.myhsc.com | nova              | :-)   | UP    |
neutron-dhcp-agent |
| e5f5f950-99dd-4a4d-9702-232ffe9d0475 | DHCP agent |
overcloud-controller-1.myhsc.com | nova              | :-)   | UP    |
neutron-dhcp-agent |
+--------------------------------------+------------+----------------------------------+-------------------+-------+-------+--------------------+
(overcloud) [stack at undercloud-loke ~]$ source stackrc
  we do not see any OVN Controller agent.

Also as reported earlier we see no entry in this chassis DB.

Any pointers would be helpful.

Thanks,
Lokendra







On Thu, May 18, 2023 at 8:39 PM Rodolfo Alonso Hernandez <
ralonsoh at redhat.com> wrote:

> Hello Lokendra:
>
> 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.
>
> 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.
>
> Regards.
>
> On Wed, May 17, 2023 at 6:14 PM Lokendra Rathour <
> lokendrarathour at gmail.com> wrote:
>
>> 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 at 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 at 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
>>
>>
>>

-- 
~ Lokendra
skype: lokendrarathour
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.openstack.org/pipermail/openstack-discuss/attachments/20230523/1caba597/attachment.htm>


More information about the openstack-discuss mailing list