Closed nobuto-m closed 1 year ago
Hi, @nobuto-m, this was a workaround that has since been removed on 14/edge
, but I cannot say when those changes will land in 14/stable
. Does this error happen persistently for you? Is it blocking you?
This was a part of the charm deployment and it didn't go any further after hitting into this parse error.
Do you mean the snap channel or charm channel by 14/edge
?
Do you mean the snap channel or charm channel by
14/edge
?
Both. The charm holds the update of the snap, so charm 14/stable
uses an old revision of the snap. Can you retry deploying 14/edge
of the charm?
Hi @nobuto-m @dragomirp
@dragomirp is referring to a patch that was manually applied to charmed-postgresql by the charm and removed in: https://github.com/canonical/postgresql-operator/pull/192
I don't think that manual patching is the issue here, as I can reproduce the same problem by downloading the snap myself and running the snap-seccomp
command pointed by @nobuto-m
I have filed a bug on snapd: https://bugs.launchpad.net/snapd/+bug/2035866
After discussing with snapd team, the issue was caused by a mismatch between the /usr/lib/snapd/
and snapd's snap, that is available in: /snap/snapd/current/
. When using /snap/snapd/current/usr/lib/snapd/snap-seccomp
, the compilation does not error.
Therefore, the issue seen by @nobuto-m was, as pointed by @dragomirp, from the operator code, that was using the DEB: /usr/lib/snapd/snap-seccomp
instead of /snap/snapd/current/usr/lib/snapd/snap-seccomp
.
I will close this bug. Feel free to open if the issue appears once again.
Okay so when are you folks planning to release those changes to 14/stable
then?
Dear @nobuto-m , we have recently promoted the fixed revision 324
to 14/candidate
.
Can you please check it from your side and share your findings. We are performing the final stage tests here and will release it to the 14/stable
soonish. Thank you for your report here!
(credit for the analysis below should go to @odufourc)
Steps to reproduce
juju deploy postgresql --channel 14/stable
Expected behavior
Installation completes without any error.
Actual behavior
[/var/log/juju/unit-postgresql-0.log]
Versions
Operating system: Ubuntu 22.04
Log output
As above.
Additional context
It looks like directly related to the snapd version.
-> no error