Skip to content

Not able to apply config changes on running database  #21

Open
@kamalaVenkatesh

Description

@kamalaVenkatesh

Hi,

I have installed Netopeer2GUI and could able to connect confd netconf server running in my localmachine. But when i am applying some config changes , it is not successfull and i have found below logs in backend
SystemError: <built-in method rpcEditConfig of netconf2.Session object at 0x7f698d7ac850> returned NULL without setting an error
127.0.0.1 - - [06/Sep/2019 13:09:25] "POST /netopeer/session/commit HTTP/1.1" 500 21185 0.023115
(19005) accepted ('127.0.0.1', 39082)
Traceback (most recent call last):
File "/root/liberouter-gui/venv/lib/python3.5/site-packages/flask/app.py", line 2287, in wsgi_app
response = self.handle_exception(e)
File "/root/liberouter-gui/venv/lib/python3.5/site-packages/flask/app.py", line 1733, in handle_exception
reraise(exc_type, exc_value, tb)
File "/root/liberouter-gui/venv/lib/python3.5/site-packages/flask/_compat.py", line 35, in reraise
raise value
File "/root/liberouter-gui/venv/lib/python3.5/site-packages/flask/app.py", line 2284, in wsgi_app
response = self.full_dispatch_request()
File "/root/liberouter-gui/venv/lib/python3.5/site-packages/flask/app.py", line 1807, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/root/liberouter-gui/venv/lib/python3.5/site-packages/flask/app.py", line 1710, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/root/liberouter-gui/venv/lib/python3.5/site-packages/flask/_compat.py", line 35, in reraise
raise value
File "/root/liberouter-gui/venv/lib/python3.5/site-packages/flask/app.py", line 1805, in full_dispatch_request
rv = self.dispatch_request()
File "/root/liberouter-gui/venv/lib/python3.5/site-packages/flask/app.py", line 1791, in dispatch_request
return self.view_functionsrule.endpoint
File "/root/liberouter-gui/backend/liberouterapi/Auth.py", line 132, in verify
return f(*args, **kwargs)
File "/root/liberouter-gui/modules/netopeer/backend/connections.py", line 456, in session_commit
sessions[user.username][req['key']]['session'].rpcEditConfig(nc.DATASTORE_RUNNING, root)
SystemError: <built-in method rpcEditConfig of netconf2.Session object at 0x7f698d7ac850> returned NULL without setting an error
libyang[0]: Failed to find "running" as a sibling to "ietf-netconf:config-target".
libyang[0]: Failed to find "running" as a sibling to "ietf-netconf:config-target".
libyang[0]: Failed to find "running" as a sibling to "ietf-netconf:config-target".
libyang[0]: Failed to find "running" as a sibling to "ietf-netconf:config-target".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions