-
tozhu
does the zfs support ZSTD for smartos right now?
-
jesse_
uh... yes, but how?
-
jfqd1
jperkin: Got "pkgin: failed to commit transaction" while updating packages in a global zone. Any idea how to fix it?
-
sjorge
tozhu: I don't thing we have zstd yet, but not 100% sure
-
tozhu
sjorge: thank you
-
jperkin
jfqd1: what version?
-
jfqd1
jperkin: pkgin 22.9.0
-
jfqd1
repo is: ttps://pkgsrc.smartos.org/packages/SmartOS/trunk/tools/All
-
jperkin
jfqd1: anything useful in /opt/tools/var/db/pkgin/sql.log?
-
jfqd1
jperkin: SQL error at 2022-09-17 06:23:13 UTC
-
jfqd1
errmsg: near "??": syntax error in "?????????????;{"
-
jfqd1
query: ?????????????;{
-
jfqd1
Not that useful, right? :)
-
jfqd1
Should I remove the tools folder and start from scratch?
-
jperkin
nothing newer than that? I fixed issues in 22.9 where there were some corrupt queries
-
jperkin
so would expect to see them for previous runs but not newer, and I'd expect to see an error for the failed commit
-
jperkin
the transaction stuff is new in 22.9 so really interested to figure out why it's failing, haven't seen that yet in testing
-
jfqd1
jperkin: No, nothing newer in the log. The older parts of the log are here:
gist.github.com/jfqd/b25dbd602a55e996a2d60095fd952db2
-
jfqd1
There error is only on this machine.
-
jfqd1
All others are fine.
-
jperkin
ok that's really interesting, still seeing corrupt queries but also transaction errors earlier, I'll have to see if I can reproduce
-
jfqd1
jperkin: Is there a better solution that removing the tools folder and start from scratch?
-
jperkin
you should be able to just move pkgin.db out of the way, if it works after that then I'd like a copy of the old one to see if there's anything in there causing problems
-
jfqd1
jperkin: moved pkgin.db and it worked again. Thanks a lot for your support!
-
jfqd1
Download of the db-files are here:
nc2.qutic.com/s/JegmR3Qa6ZHJnoT
-
jperkin
nice, thanks
-
jesse_
trying bahamat's ubuntu 22.04 lx image, I get errors about
-
jesse_
$UUID/root/checkpoints: No such file or directory
-
jesse_
$UUID/root/etc/init/container-detect.override: cannot create [No such file or directory]
-
jesse_
$UUID/root/etc/init/mountall.override: cannot create [No such file or directory]
-
bahamat
That's odd.
-
bahamat
But the 20.04 one works fine?
-
jesse_
last time I deployed it, yes
-
jesse_
those are from stream":"zoneadmd
-
jesse_
is that error part of the vmadm plumbing?
-
jesse_
(is that part of the shell script in platform that is run every time lx zone is deployed (or started?)
-
jesse_
the full error: /usr/lib/brand/lx/lx_boot[104]: /zones/6240ea0e-ab15-c834-fbe1-b6d4eba93b13/root/etc/init/container-detect.override: cannot create [No such file or directory]
-
bahamat
It's because that init directory doesn't exist
-
jesse_
I dislike that script, it will fail whenever distros change or you want to run something else
-
jesse_
and it's hard to change as its part of platform
-
jesse_
maybe it should be an option in the manifest and by default works like now
-
jesse_
...these init scripts were the problem I was having last year doing images, now that I look at them
-
bahamat
Where exactly do you see those errors?
-
jesse_
/zones/$UUID/logs/platform.log
-
bahamat
Does it cause anything to fail?
-
jesse_
the zone deploy fails
-
bahamat
I don't think those errors are causing the deploy to fail.
-
jesse_
well, it keeps dumping those errors to the log for some minutes and then fails
-
bahamat
That error happens on the 20.04 image, and it deploys just fine.
-
jesse_
console log has bunch of "2022-09-24T21:46:16.241Z INFO no metadata for 'sdc:volumes"
-
bahamat
It shouldn't, unless you've assigned a volume.
-
jesse_
I don't think so...
-
jesse_
bahamat, nothing suspicious in the manifest,
pastebin.com/7XgMsuJm
-
bahamat
What platform are you running, by the way?
-
jesse_
joyent_20220210T011229Z
-
jesse_
I can update it if you think it'll help
-
bahamat
OK, 20.04 works on that PI, but 22.04 doesn't.
-
bahamat
I believe you might be running into OS-8372
-
jinni
-
jesse_
does 22.04 work on a newer PI?
-
bahamat
Yeah, it works on latest.
-
bahamat
If I'm right about the bug number, then you need at least 20220407
-
bahamat
And I'll need to set that in the image JSON before publishing it.
-
jesse_
"lucky" that I came across that one=)
-
bahamat
Well, anyone would have.
-
bahamat
And that's why I asked you to test it before I just published it.