Open bjoern-r opened 6 months ago
Hi @bjoern-r
The ansible code doesn't currently handle upgrades, what it tries to do is to deploy fresh OpenNebula environments in minimal number of steps. I believe this is not the correct place to report this problem, that's because we currently cannot do anything about it in ansible scripts. If the manually executed command apt upgrade
breaks filesystem permissions then the problem is in the DEB package itself. :thinking:
Hi @sk4zuzu Thanks for clarifying.
are there any plans to make this playbooks idempotent so it does not break on a second execution?
I believe so, but only when we implement upgrades. For the time being we'll try to reproduce your issue and take a look at the DEB package itself. :thinking:
Description Something is wrong with the deployment of the sunstone directory rights. After an initial deployment everything works, however after the installation of updates (
apt upgrade
) on the frontend the sunstone gui does not load after login. In the network -console of chrome i do see thatmain.js
cannot be loaded because of an 403 error. the apache error.log shows the following error:[core:error] [pid 962:tid 139710705915456] [client 10.147.78.61:60188] AH00037: Symbolic link not allowed or link target not accessible: /usr/lib/one/sunstone/public/dist/main.js,
and file rights of the two mentiond files are:
Last time i happen to have this issue i just redeployed with one-deploy but this time i tried to fix the issue without reinstallation.
To Reproduce
apt upgrade
Expected behavior frontend shoud still work after an upgrade
Details
Ubuntu 22.04.4 LTS
5f9939d ("M #-: Fix typo in federation-master.yml example (#39)", 2024-03-05)
Additional context after running the following snipped it worked again:
Progress Status