-
zi
thresh: ive implemented a fix for the branch you're tracking (re pkg) and it should show up within an hour or so for you
-
zi
thresh: there were a couple of others that were impacted that are already fixed/live
-
wavefunction
"known issue" being the gigantic data file size?
-
wavefunction
(Not trying to snark, just validating my understanding)
-
kevans
wavefunction: yes
-
gbon121
zi: would you mind to show a link to the relevant commits?
-
kevans
gbon121: his resolution would have been outside repos in cluster/builder config, iirc
-
crest_
does anyone else have problems fetching packages from the FreeBSD package mirrors right now?
-
crest_
i get "Error 503 Response object too large" trying to upgrade thunderbird
-
crest_
-
ForeverNoob[m]
Hi, I have a frew question about HAST.
-
ForeverNoob[m]
1). I'm not sure if I should se the `memsync` and `async` algo. The secondary machine will be in a different geographical location, so ping time of <50ms would be some good times.
-
ForeverNoob[m]
Does `memsync` validate first local write when first block is set to arrive to the secondary or when all blocks actually have arrived over the wire and are set to be written to the secondary?
-
ForeverNoob[m]
2). Did I understand correctly that HAST auto-configures a secondary machine to be primary in case of sustained timeout of the primary machine? If so, is there a way to turn this behavior off?
-
ForeverNoob[m]
*if I should use the `memsync` _or_ `async` algo.
-
crest_
memsync means the remote machine acks the write the moment it has received it
-
crest_
async means the local machine doesn't even wait for the remote machine to see the write
-
crest_
with 50ms latency waiting a roundtrip means disk sync write performance has to suck
-
crest_
because what takes <0.1ms on a local nvme drive now take at least 500 times longer
-
crest_
with memsync the remote system still has to see the write and send back a success message
-
crest_
unless you're in a really nice datacenter network that will take longer than a write to a local ssd
-
crest_
iirc hast has no builtin automatic failover. you need something else e.g. consul, etcd, etc. to trigger the failover
-
crest_
remember two nodes can't form a consensus
-
crest_
you need at least 3 systems so that the remaining two can form a quorum
-
crest_
(or for five for better redundancy)
-
ForeverNoob[m]
Ah ok. Yeah so I could live with the fact if memsync just acks a write at the moment the 1st block gets sent over the network, but otherwise in my case it would most likely be best to choose async and some mechanism to alert me of prolonged dirty extents on the primary.
-
ForeverNoob[m]
There will just be 2 machines, and it's going to be pretty obvious if either of them is down, so I'll just prefer to set primary / secondary role myself.
-
crest_
async runs the realistic chance of corrupting the hast "disk" if something goes wrong
-
crest_
if you write on your current master device and fail over
-
crest_
and the disk was being written to
-
crest_
you will see writes being lost
-
crest_
file systems don't like that
-
crest_
and applications don't like it either if you "undo" writes
-
crest_
e.g. upload a file, failover, fsck the filesystem/force import the zfs pool
-
crest_
and the file you wrote is lost forever
-
crest_
is that an acceptable behaviour for your usecase?
-
crest_
also why do you want async aka best effort replication at the block level instead of at the file level?
-
daftaupe
Morning, trying to run /usr/share/examples/bhyve/vmrun.sh -v -c 1 -m 1G -E -d /dev/zvol/build/vms/9front -i -I 9front-11554.amd64.iso 9front I get Assertion failed: (error == 0), function modify_bar_registration, file /usr/src/usr.sbin/bhyve/pci_emul.c, line 708.
-
daftaupe
I've read that error did appear when some folks try to do some passthrough, but it's not my case, any pointer would help me, I tried to follow
wiki.freebsd.org/bhyve/9front and have the same issue
-
crest_
does ist work if you follow the steps exactly without vmrun.sh?
-
crest_
and which freebsd version are you running on your host?
-
ForeverNoob[m]
crest_: Yeah async has some definite downsides, although it's still probably a better than "send daily zfs snapshots" which I had in mind before learning about HAST.
-
crest_
i would recommend just doing more frequent zfs snapshot + send
-
crest_
there is nothing wrong with a snapshot every 5 minutes that gets destroyed as soon as it's received
-
crest_
just don't keep too many because deleting them is annoying and they clutter the cli output
-
crest_
funnily the cheapest thing about a zfs snapshot is creating them
-
ForeverNoob[m]
> just don't keep too many because deleting them is annoying and they clutter the cli output
-
ForeverNoob[m]
That was one of my concerns as well, but this sounds like something that some scripting might solve. I'll definitely reconsider ZFS snapshots.
-
daftaupe
crest_ nope, doesn't run with the exact steps in my case, I'm running 15.1
-
polarian
-
polarian
something weird going on here lol
-
polarian
-
polarian
ditto go
-
polarian
whats with the $ strings in them
-
polarian
oh because they are hashed...
-
polarian
Error 503 Response object too large
-
polarian
yeah all large ports are unable to download, someones fucked the webserver config
-
crest_
-
crest_
the problem is known the the right people and in the process of begin fixed
-
crest_
the scripts are running and there is nothing you can do speed it up
-
polarian
crest_: nice!
-
polarian
thx for the info
-
polarian
crest_: out of curiosity can you explain what is repo?
-
polarian
I assume its a tool
-
crest_
repo = short repository
-
crest_
a repo is a collection of packages and meta about those packages
-
crest_
the format of the metadata was extended to allow asking the repo which package would install a specific file
-
crest_
you can already run `pkg which $file` to find out which package (if any) has installed it on your system
-
crest_
but a new `pkg rwhich` (short for remote which) command would be able to answer which of the packages inside the repo would install the file
-
crest_
without having to install all packages first
-
crest_
the problem is that this feature caused the metadata size to explode
-
crest_
explode to such a degree that the content delivery network that hosts the packages refuses to deliver the bloated files
-
polarian
yeah that makes sense :)
-
polarian
crest_: what does bapt's comment on repo -l mean?
-
polarian
(sorry to ping again)
-
crest_
-
polarian
oh wait nevermind
-
polarian
-
polarian
I was trying to find "repo" but I didnt realise it had a "pkg-" prefix to it
-
polarian
also this isn't the first time that pkg has broken in the last few years due to an update
-
polarian
I remember a while back some SQL error
-
polarian
thanks again for the great explanation!!!
-
polarian
will move my follow up question to #pkg :)
-
polarian
wiki.freebsd.org/clusteradm can someone explain to me why the example layout is designed like this :3
-
polarian
im interested
-
ForeverNoob[m]
All I can say is that I'm stealing that Moss gif.
-
rtprio
hi friends
-
rtprio
anyone have some ideas what to check: sometimes the laptop wakes from s3 okay, but if it sleeps too long, it goes into a cold boot
-
rtprio
is that a bios setting?
-
CrtxReavr
o_O
-
CrtxReavr
In my day S3 was a video chipset. . . kind of a pain in the ass video chipset.
-
rtprio
i remember s3
-
CrtxReavr
It foolishly parked its fat ass on 0x2f8 I/O address space, same as com2 defaulted to.
-
CrtxReavr
Spent *A LOT* of time when I wokred at MS supporting Win95 working around that on people's systems.
-
CrtxReavr
The only worse piece of hardware was this sound card that wanted !!*THREE*!! IRQs.
-
thresh
thanks zi, it seems to work fine now
-
zi
thresh: welcome, sorry about that
-
thresh
no worries, mistakes happen
-
thresh
its kinda cool that you guys run the infra on the latest and greatest
-
mosaid
Oh, those weird DDOSes on hosting companies and other stuff happened for me were made by KimWolf DDoS botnet
-
mosaid
-
bsdrobert
that's a bit sad. the time should match the crime and i dont think thats gonna happen. probably looking at decades if not life.
-
ek
bsdrobert: Says he's only facing one count and up to 10 years?
-
ek
Probably a slap on the wrist in the end.
-
mason
Better fodder for #freebsd-social
-
hodapp
-
polarian
ForeverNoob[m]: haha, yeah the Moss gif is amaqzing
-
mewt
ok, I guess I'll ask here even though it's probably me not knowing a thing...
-
mewt
I'm trying to get an IPv6 IP via SLAAC on a box. restarting rtsold shows router solicitation and advertisement on a link-local addr. There is one thing on the link-local broadcast that isn't me. Prefix len is 64, default gateway should be ::1
-
mewt
After neighbor discovery with the same IP that sent the router advertisement, it stops and nothing more happens
-
mewt
starting dhcp6c gives me three rounds of neighbor solicitation for my hostname/subdomain/... on the link local broadcast, I think?
-
mewt
(this is looking with tcpdump)
-
mewt
What have I done wrong here?
-
mewt
for the nic, nd6 options=8023<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL,DEFAULTIF>. I have a link-local addr but only that
-
mewt
starting rtsold with flags -imF [network interface here]. ipv6_activate_all_interfaces="YES", rtsold_enable="YES"
-
mewt
ifconfig_myinteface_ipv6="inet6 accept rtadv"
-
mewt
What else do I need to do?
-
mewt
I've also tried ifconfig_myinteface_ipv6="inet6 accept rtadv prefixlen 64", seems that 64 is the default
-
CrtxReavr
It is for for v6.
-
CrtxReavr
And should be used for any segment/VLAN/prefix with endpoint devices.
-
Macer
The commit in question severed our
-
Macer
ports tree mirroring to github.com due to their filesize hard limit of 100MB,
-
Macer
and introduced a blob of questionable licensing into the repository history.
-
Macer
Why did that paste in 3 lines? I wonder what they mean by a blob of questionable licensing.
-
kevans
Macer: just a binary that we don't really know we can legally redistribute like this
-
dnp1
Thanks kevans, makes sense
-
kevans
we don't know and we already need it purged anyways because of the size, but we wanted to make it clear that size isn't the only concern
-
mewt
"It is for for v6." What does this mean?
-
mewt
I know this is for IPv6, IPv6 is the point of the exercise here
-
mewt
Oh, you mean the prefix length
-
satanist
> default gateway should be ::1
-
mewt
Indeed