"Error checking version for storagenode database: validate db version mismatch: expected 28, but current version is 63\n\tstorj.io/storj/private/migrate.(*Migration).ValidateVersions:142\n\tstorj.io/storj/storagenode/storagenodedb.(*DB).CheckVersion:706\n\tmain.cmdRun:91\n\tmain.newRunCmd.func1:33\n\tstorj.io/common/process.InitBeforeExecute.func1.2:389\n\tstorj.io/common/process.InitBeforeExecute.func1:407\n\tgithub.co
An empty rollout cursor only means no node should update. There is no bug that would downgrade the binary. Also this time window would be way to small anyway. We would be talking about maybe a single node with perfect timing.
Sounds more like a docker problem. If I see this right the docker container might have 2 storagenode binaries. One in /app/bin that gets updated and another one in /app/config/bin that stays there after the docker container was created. Now you might say why don’t we make it one directory. Actually that was already in place and the consequence is that some NAS devices will not start because they map that directory with noexec.
I don’t feel like touching the docker image for something that happens once per year. For the moment I will fix the minimum version and also tell the review bot to prevent this mistake from getting merged in the future.
Lol. Outrageous and irresponsible? I’m sure product of your work only has enlightened and responsibly made bugs.
Dude, it’s a bug. Storj will figure it out. Leave nodes alone.
Nobody owes you a report. Why did you turn them off?
This appears to be another container-inflicted issue. The solution is not to battle them one by one; the solution is to stop using containers where they are not required, and docker altogether.
I don’t see any issues with any of my nodes. I’m using official updater, but no container.
I don’t know why so many people are complaining about docker.i set it up once and never touched it again. Only time I recreate them is when I change some configs
Docker if fine. If you’re a bit autistic you get excited about Podman and put Docker-users down. If you’re more autistic you get excited about BSD Jails and put Podman-users down . I don’t know where LXC-users stand: I think they can still talk to girls.
Running nodes is boring: you don’t do anything until you get a “Your Node has Gone Offline” email. We have to do something for entertainment… hence… arguments in this forum…
I use a standard configuration for my nodes. Probably 90% of them are deployed using Docker. I have more than one node offline.
I hope this issue gets resolved soon for the sake of the network’s integrity
It’s not the first time that this happened. There was a time that the cursor was blank for hours. I’m sure a quick search would show it if you are motivated enough. If there wasn’t any bug that would downgrade nodes, then there wouldn’t be a screenshot showing nodes at the minimum version (since the previous cursor went up to all Fs) literally in this thread.
Works for me in one use case – must be problem free for everyone in every use case.
Are you trolling or do you for real not see the inherent problem with design, that cannot be fixed?
I will list here a few I faced myself.
privileged daemon. This is high grade bullshit right there. If dockerd dies – everyone dies with it (live-restore only papers over patch upgrades). It’s rootful by default, many leave it at that.
These assholes forcefully turn on iptables filtering FOR EVERY BRIDGE on the host, not just their own. This is just sloppy, arrogant, and incompetent.
docker networking bypasses ufw, and changes global host policy, dropping forwarded packets. You have to write DOCKER-USER rules just to unfuck forwarding between interfaces.
Related – did you see how many chains it creates in the filter? I counted six, seven with swarm, plus one nat chain. Just grep for DOCKER. This is highly fragile and convoluted.
It destroys useful filtering. Packets that reach DOCKER-USER filter have already been DNAt-ed, so you need conntrack if you want to match original destination. And direct routed packets to container IPs are dropped in raw PREROUTING before that.
It publishes on every interface by default, and up until 28.0 “127.0.0.1:xxx” was reachable from anyone on your L2 segment.
So anyone who knows more about the subject than you is autistic. Got it. I’ll answer anyway.
FreeBSD is an operating system: kernel and userland are developed by the same project, in the same repository, and released together. Linux is just a kernel. Everything else is a pile of unrelated projects that distro maintainers glue together and hope it works. That’s why on Linux “container” means whatever this year’s userland tool decided it means.
Now jails vs containers:
Jail is a single kernel object, and has been since FreeBSD 4.0. Linux does not have containers at all. The kernel has eight different namespace types, plus cgroups, capabilities, seccomp and LSM, and docker, podman and lxc each assemble their own frankenstein out of those parts. Even the namespaces man page only says “One use of namespaces is to implement containers.”
Jails are locked down by default. Almost everything under allow.* is off unless you enable it, and that includes raw sockets, mounting and SysV IPC. children.max is 0 by default, so a jail can’t create its own jails either. A jail also can’t run at lower securelevel than its parent. Docker goes the other way – you start with root and take privileges away until something breaks.
VNET gives each jail its own network stack with its own interfaces, routing table and firewall rules. So none of the docker crap with injecting chains into host firewall, turning on bridge-nf-call-iptables for every bridge on the machine, and bypassing ufw.
ZFS: each jail gets its own dataset, so snapshots, clones and quotas come for free. Thin jails are just clones of the base, instead of overlayfs layers stacked on top of god knows what.
As for LXC – it’s not there yet, and they admit it themselves. Their security page says privileged containers “aren’t and cannot be root-safe”. Unprivileged ones are fine, as long as the kernel has no bugs. So yes, LXC users can still talk to girls. Their containers can also talk to the host, if the kernel has a bug.