Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Startup and default of same object causes too-many-elements error #503

Closed
olofhagsand opened this issue Mar 18, 2024 · 0 comments
Closed

Comments

@olofhagsand
Copy link
Member

On startup of the backend, if startup-db contains an object (eg <x>17</x>) and there is a default value for one symbol (eg <x>42</x>), then both objects will appear and cause a too-many-elements error and fail to come up.
For example:

clixon_backend: 58724 <rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"><rpc-error><error-type>protocol</error-type><error-tag>operation-failed</error-tag><error-app-tag>too-many-elements</error-app-tag><error-severity>error</error-severity><error-path>/myconfig</error-path></rpc-error></rpc-reply>
clixon_backend[58724]: Mar 14 16:03:54.878824: load_failsafe: 1124: Database error: Startup failed and no Failsafe database found, exiting
clixon_backend[58724]: Mar 14 16:03:54.878828: clixon_backend: 58724 Terminated retval:-1
@olofhagsand olofhagsand changed the title Startup and default of same objct causes too-many-elements error Startup and default of same object causes too-many-elements error Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant