-
jfqd1
jperkin: changed our tls-cert today and got a cert error while doing pkgin ug (we an rsyned clone of pkgsrc to speet up the updates :-). Might be because the intermediate from GlobalSign changed on 29.01.2024 and it is not yet in the pkgsrc trust store? Will it be included in the next updates?
-
jfqd1
-
jperkin
yeh almost certainly, we're at 20231115.
-
jfqd1
jperkin: Can you say when the next trunk updates will land?
-
jperkin
no, but I'll take a look at it tomorrow
-
jperkin
in the meantime you should be able to skip the validation with SSL_NO_VERIFY_PEER=1 in your environment
-
jfqd1
jperkin: Thx a lot for your help!
-
tozhu
hello all, I remember that The max vCPU is limited for 32 for Bhyve VM on SmartOS, if I want to create a Bhyve VM with 96 cores on SmartOS, I have to changed the SmartOS source code and re-compile, so my question is where defined the limitation? (I have a machine with 128 core/256 thread (AMD 9754), I need to change it ), a big thanks
-
andyf
You just need to change VM_MAXCPU in usr/src/uts/intel/sys/vmm.h
-
danmcd_
Has anyone here tried the igc(4D) build on their Intel I225/I226 systems?
-
danmcd
(ahh fixed)
-
tozhu
andyf: Thank you
-
andyf
tozhu - it's limited because several structures in the kernel are sized based on that, so there is extra memory overhead for every VM. Eventually I imagine that things will be sized dynamically.
-
andyf
With 32 vCPUS, sizeof (struct vm) = 0x49c8
-
andyf
With 64, sizeof (struct vm) = 0x8eb0
-
tozhu
Thank you very much, I checked, current is set to 64 by default
-
tozhu
I think 64 cores for a VM is okay for most case
-
tozhu
thanks again
-
Smithx10
Is there any tricks to running a PXE / DHCP server in a bhyve virtual machine ? I can see it offer DHCP but my machine isn't accepting and booting
-
bahamat
you need allow_dhcp_spoofing
-
Smithx10
I did that
-
bahamat
You also have allow_ip_spoofing?
-
Smithx10
[DHCP] Offering to boot ac:1f:6b:9e:df:47
-
Smithx10
yeah, I set all of them allow
-
Smithx10
in adminui*
-
pjustice
all includes mac spoofing?
-
pjustice
restricted traffic?
-
bahamat
So just to be clear, your dhcp *server* is the one in bhyve?
-
bahamat
And when you tcpdump/snoop you can see the dhcp request come in and dhcp offer go out?
-
Smithx10
yea, it might be something on my server side cause I am seeing DHCP coming in
-
Smithx10
and the offer go out so it should be working*
-
bahamat
Ok, next step, I would snoop from the gz on the physical interface to see if you see it exiting.
-
bahamat
If the kernel is dropping it due to some anti-spoof protection then you won't see the packet leave.
-
Smithx10
Just wanted to make sure there wasnt anything with BHYVE that limits it
-
bahamat
It might also be good to use like scapy or something from a running host to send dhcp request packets and see what kind of response you get.
-
bahamat
Well, I can't say for certain that there's not. pmooney would be the person who would be able to say for sure. But as far as I know there's nothing inherent in bhyve or viona that will prevent it from being a dhcp server.
-
pjustice
Side question: Any reason you're not running the DHCP server in an os zone?
-
Smithx10
-
Smithx10
Pixiecore proxies the DHCP offers
-
Smithx10
when I ran this in my KVM setup for testing, i didn't realize libvirt was actually doing the dhcp and not netboot*
-
Smithx10
-
Smithx10
Looks like I'm sending out an address but the machine isn't getting passed that
-
Smithx10
What I'm learning right now is
-
Smithx10
EFI PXE Clients on network cards is really awesome.
-
jbk
i sense.... sarcasm
-
jbk
:)
-
Smithx10
jbk: you know the pain.
-
jbk
firmware is terrible :)
-
Smithx10
maybe oxide can sell a openfirmware 100gb NIC
-
Smithx10
or vendors can have an option to flash to some open firmware
-
Smithx10
what a dream
-
Smithx10
If my server would come with NICs that didn't hate me./
-
jbk
i suppose (if i was really bored and had the time, i might consider it as a lab experiment), I suppose given the programming manual for a card, you could probably write your own, though how to safely flash it and such might be an interesting exercise on its own
-
jbk
i mean, at the end of the day, there's basically a bare bones NIC driver and then the PXE code that uses it... though there might also be some other bits to initialize the hardware that a NIC doesn't need to concern itself with
-
Smithx10
Mellanox connectX5 even booting off the ipxe.iso im getting "No configuration methods succeeded" really fun
-
jbk
like trying to troubleshoot apache :) my experience has been at least 80% of the time, it never actually tells you why something doesn't work and you just have to fumble around in the dark until it magically does
-
pjustice
"denied"
-
pjustice
why?
-
pjustice
"denied"
-
pjustice
*turns logs up to 11
-
pjustice
why?
-
pjustice
"denied"
-
jbk
pretty much
-
jbk
like there's someone that's running a custom php app that was written for an older version of php
-
jbk
the problem they're running into now though is that the version of openssl is too old to suppor tls1.3
-
jbk
but the version of openssl that support that is too new for the version of apache that's running
-
jbk
and upgrading apache (installed to a separate dir) it refuses to actually run the php code
-
jbk
with no indication of why at all
-
jbk
which is frustrating
-
jbk
(the app is strictly internal, and not reachable from the internet)
-
Smithx10
servers should come with a way to turn off the 1tb of dram
-
Smithx10
like give me 8gb so it doesn't take 45 minutes to boot
-
TyrfingM1olnir
People awake
-
TyrfingM1olnir
Smithx10: Probably some startup check?
-
TyrfingM1olnir
Major issue I have is to boot with DAS/HBA, it takes forever
-
jbk
or training DIMMs
-
TyrfingM1olnir
It's way faster for me to unplug the SAS cable, boot the machine with internal zones only. Then connect the SAS and do import tank after the system is up and running
-
jbk
at least with EFI it's easier to control the boot order so you don't have 'let's wait 30s for this PXE interface' (repeat for each NIC in the system), now let me try each HBA
-
jbk
granted an old Sun E10K laughs at your puny 45min boot time :P
-
TyrfingM1olnir
SuperMicro X10 and X11 mostly
-
jbk
if you enabled full diagnostics (granted that was generally only done as a post-install burn-in test), it could take > 24 hours to boot
-
TyrfingM1olnir
48 hours did not suffice in this setup
-
TyrfingM1olnir
Not sure what hangs; good thing I found out I could simply detach external SAS cable to NetApp 4246 in order to have the system come up.
-
Smithx10
nahamu: pretty sure I might be hitting
ipxe/ipxe #1091
-
Smithx10
applied your commit to main and and doing build now to embed into pixiecore
-
Smithx10
Wish me luck "_" :P
-
Smithx10
@TyrfingM1olnir how many disks in the DAS?
-
jbk
in the the? :)
-
nomadlogic
hello, i was wondering if it's possible to run a firewall in a zone and have it act as a gateway for a mixture of zones and bhyve vm's? or should i run the packet filter from the hypervisor itself?
-
nomadlogic
if this is a pretty common use-case could someone point me to some recent docs or reference implementations? thanks!
-
nomadlogic
s/hypervisor/global zone/
-
danmcd_
You can do both.
-
danmcd
I use a native zone as a router & NAT (it could be a FW but I approach that problem differently). It's on OmniOS, so you may need some extra SmartOS magic (forwarding requires some lnk-layer protections to be disabled..)
-
danmcd
You can also, if you want a different/more-familiar-admin, use a BHYVE VM (again with some SmartOS link-protections disabled) to run some FW appliance.
-
nomadlogic
ok thanks danmcd! i think i'll need to spend some time experimenting with etherstubs then
-
nomadlogic
i'm looking to replace a freebsd hypervisor where i use pf and nginx for controlling access to private instances. i'm hoping i can do this more cleanly with smartOS. at least that's what i'll find out :)
-
Smithx10
nahamu: yep.... that was it "_"