[ovs-discuss] Need assistance

Numan Siddique numans at ovn.org
Thu Mar 19 16:54:56 UTC 2020


On Thu, Mar 19, 2020 at 10:03 PM Yalla Gnan Kumar <ykumar at sandvine.com> wrote:
>
> Hi,
>
>
> I have an openstack setup. On one of the compute nodes, the ovs agent is showing the following error:
>
>
>
>
> ---------
>
> root at b2a-1:~# service neutron-openvswitch-agent status
> ● neutron-openvswitch-agent.service - neutron-openvswitch-agent service
>    Loaded: loaded (/etc/systemd/system/neutron-openvswitch-agent.service; enabled; vendor preset: enabled)
>    Active: active (running) since Thu 2020-03-19 05:51:21 EDT; 43min ago
>  Main PID: 52848 (neutron-openvsw)
>     Tasks: 3 (limit: 8192)
>    Memory: 125.9M
>       CPU: 16.942s
>    CGroup: /neutron.slice/neutron-openvswitch-agent.service
>            ├─52848 /openstack/venvs/neutron-18.1.9/bin/python /openstack/venvs/neutron-18.1.9/bin/neutron-openvswitch-agent --config-file /etc/neutron/neutron.conf --config-file /etc/n
>            ├─52984 ovsdb-client monitor tcp:127.0.0.1:6640 Interface name,ofport,external_ids --format=json
>            └─52989 ovsdb-client monitor tcp:127.0.0.1:6640 Bridge name --format=json
>
> Mar 19 05:51:28 b2a-1 sudo[52980]: pam_unix(sudo:session): session closed for user root
> Mar 19 05:51:28 b2a-1 sudo[52985]:  neutron : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/openstack/venvs/neutron-18.1.9/bin/neutron-rootwrap /etc/neutron/rootwrap.conf ovs-vsctl --time
> Mar 19 05:51:28 b2a-1 sudo[52985]: pam_unix(sudo:session): session opened for user root by (uid=0)
> Mar 19 05:51:28 b2a-1 ovs-vsctl[52988]: ovs|00001|vsctl|INFO|Called as /usr/bin/ovs-vsctl --timeout=5 --id=@manager -- create Manager "target=\"ptcp:6640:127.0.0.1\"" -- add Open_vSwit
> Mar 19 05:51:28 b2a-1 ovs-vsctl[52988]: ovs|00002|ovsdb_idl|WARN|transaction error: {"details":"Transaction causes multiple rows in \"Manager\" table to have identical values (\"ptcp:6
> Mar 19 05:51:28 b2a-1 ovs-vsctl[52988]: ovs|00003|db_ctl_base|ERR|transaction error: {"details":"Transaction causes multiple rows in \"Manager\" table to have identical values (\"ptcp:
> Mar 19 05:51:28 b2a-1 sudo[52985]: pam_unix(sudo:session): session closed for user root
> Mar 19 05:51:28 b2a-1 sudo[52990]:  neutron : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/openstack/venvs/neutron-18.1.9/bin/neutron-rootwrap /etc/neutron/rootwrap.conf ovs-ofctl add-fl
> Mar 19 05:51:28 b2a-1 sudo[52990]: pam_unix(sudo:session): session opened for user root by (uid=0)
> Mar 19 05:51:29 b2a-1 sudo[52990]: pam_unix(sudo:session): session closed for user root
> ---------------------------------------------------------------
>
> The error line  in the above output is :
>
>
> ---------------
> ovs-vsctl[52988]: ovs|00003|db_ctl_base|ERR|transaction error: {"details":"Transaction causes multiple rows in \"Manager\" table to have identical values (\"ptcp:
> -----------
>
>
> Can someone help me to clear that row in the 'Manager' table manually ?

"ovs-vsctl del-manager" should delete that.

I wonder why neutron ovs agent isn't handling properly. Maybe you
should reach out to neutron folks or raise launchpad bug for openstack
neutron component.

Thanks
Numan

>
>
> Thanks
> Yalla
>
> Disclaimer:
> This communication (including any attachments) is intended for the use of the intended recipient(s) only and may contain information that is considered confidential, proprietary, sensitive and/or otherwise legally protected. Any unauthorized use or dissemination of this communication is strictly prohibited. If you have received this communication in error, please immediately notify the sender by return e-mail message and delete all copies of the original communication. Thank you for your cooperation.
>
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss


More information about the discuss mailing list