-
Notifications
You must be signed in to change notification settings - Fork 910
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
LXD 5.21.1 Failed to ensure schema: not an error #13326
Comments
Hi, I've taken a look in the LXD source code and cannot see "not an error" as an error that LXD generates. One thing that certainly looks problematic are those BTRFS errors coming from the kernel:
I'm wondering if this is a dqlite issue with direct I/O. I'll ask the dqlite team if they have any ideas about this. |
Thanks for your reply. I overlooked those BTRFS errors...Indeed that doesn't look good. |
Hi,
LXD and services in container are still running after I restart LXD several time, but I can't do anything else. That's odd. |
@haryHuds0n do you also see those BTRFS related errors? Which version of Ubuntu (and kernel) are you using? |
Thanks for your reply, No, I don't see those BTRFS related errors. |
UPDATE |
If you have further issues please can you post over in the forum https://discourse.ubuntu.com/c/lxd/support/149 Thanks |
Unfortunately I cannot create new topics in the forum.
but the error still persists. Now the containers are not even starting. |
@cole-miller is there a fix we can apply to the dqlite build in lxd to avoid this error on bionic 4.15 kernel? |
As it doesn’t appear that the schema changes have been applied you could try switching to the 5.20/stable channel using:
|
Downgrading to 5.20 worked like a charm. Also the BTRFS errors are gone. |
@MggMuggins if you have any time would be great to see if we can get a reproducer for this one. |
@MggMuggins also see https://chat.canonical.com/canonical/pl/j33w411ydibnpcj67bwtidnzya for more context |
Hi! If you're affected by this issue, you can help us troubleshoot by following the instructions here: https://discourse.ubuntu.com/t/lxd-5-21-1-lts-has-been-released/43823/67. Thanks! |
Would you mind trying to refresh to If that works you can remain on 5.21/edge until we have fixed 5.21/stable (we will let you know). The snap revision you want is
|
Hi @tomponline , |
I'm not @haryHuds0n, but I was hit with this issue on Ubuntu 20.04.6 Focal, with 5.4.0-177-generic kernel. Rootfs is btrfs.
journalctl:
|
Hi @tomponline,
container start just fine. No BTRFS errors logged. |
Excellent. Good news @cole-miller , so whats the next step, do you want to keep the revert in dqlite and do a release or do you need to develop it further to address the reason it was removed in the first place? |
@ValdikSS please can you try doing |
The revert to dqlite has been pushed to the |
Required information
Issue description
Since the last update I get on any
lxc
commands following error:The containers itself are running as I can reach the services behind them.
Below are some logs collected from the server:
syslog
Steps to reproduce
Not sure
Information to attach
dmesg
)lxc info NAME --show-log
)lxc config show NAME --expanded
)lxc monitor
while reproducing the issue)The text was updated successfully, but these errors were encountered: