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

fix: extraction of module UI #822

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

fix: extraction of module UI #822

wants to merge 1 commit into from

Conversation

DavidePrincipi
Copy link
Member

@DavidePrincipi DavidePrincipi commented Mar 5, 2025

The cluster leader keeps a copy of UI code. During the module update the previous UI code is renamed before being deleted. If an error occurs it is ignored in this case.

Mar  5 07:37:55 server1 agent@cluster[2049224]: Module UI update failed for instance nethvoice-proxy2: [Errno 2] No such file or directory: '/var/lib/nethserver/cluster/ui/apps/nethvoice-proxy2' -> '/var/lib/nethserver/cluster/ui/apps/nethvoice-proxy2.d1bf94bf~'
Mar  5 07:37:55 server1 agent@cluster[2049224]: Assertion failed
Mar  5 07:37:55 server1 agent@cluster[2049224]:  File "/var/lib/nethserver/cluster/actions/update-module/50update", line 154, in <module>
Mar  5 07:37:55 server1 agent@cluster[2049224]:    agent.assert_exp(errors == 0)
Mar  5 07:37:55 server1 agent@cluster[2049224]: task/cluster/d1bf94bf-7cb6-4250-a54f-7338e4ab1a7f: action "update-module" status is "aborted" (2) at step 50update

Refs https://mattermost.nethesis.it/nethesis/pl/utjk4jt117r5jr9z14oou9qu6y

The cluster leader keeps a copy of UI code. During the module update the
previous UI code is renamed before being deleted. If an error occurs it
is ignored in this case.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant