Jump to content

When i start a VM my dockers become unusable


Recommended Posts

Posted (edited)

Let me explain this weird situation i just cannot resolve.

 

I have a PC with 16GB Ram, 1 NIC, i5-6500. I have like 10 dockers running on the first 2 core, with the last 2 cores excluded exclusivly for VM's. I start up my VM (doesn't matter if its ubuntu or windows) and when its on my dockers become weirdly unusable. For example:

 

My Pi-Hole just stops answering to DNS requests

My Unifi controller sets all the access points in the controller to "Adopting"

 

When i stop my vm and its shutdown my Pi-Hole starts to run again and all the acess points on the unifi controller says connecte again.

 

This i just one thing i cannot resolve myself. Host access to custom networks is off btw, every dockers has its own IP\

 

Diagnostics is included. Hopefully someone can help me out

 

Edited by Mirano
Posted
2 minutes ago, PeteAsking said:

Make sure your vm’s are not running on the same disk as your dockers and retest. 

My vms vdisks are on a unnassigned ssd and docker are on the array

 

You have any other ideas? :)

Posted
1 minute ago, PeteAsking said:

Can you temporarily disable cpu isolation and retest. You can leave the vm’s pinned to the last 2 cores. 

It’s rebooting now!

  • Like 1
Posted
21 minutes ago, PeteAsking said:

Can you temporarily disable cpu isolation and retest. You can leave the vm’s pinned to the last 2 cores. 

Starting Ubuntu resolves into acces points going to adopt stage and pi hole not responding, this did not work unfortunately!

Posted (edited)

It looks from the logs that you have promiscuous mode on. Can you try disabling that since the issues are network related?

 

un 17 23:17:09 HPUnraid kernel: br0: port 2(vnet0) entered disabled state
Jun 17 23:17:09 HPUnraid kernel: device vnet0 entered promiscuous mode
Jun 17 23:17:09 HPUnraid kernel: br0: port 2(vnet0) entered blocking state

Edited by PeteAsking
Posted (edited)
On 6/18/2020 at 3:21 AM, PeteAsking said:

It looks from the logs that you have promiscuous mode on. Can you try disabling that since the issues are network related?

 

un 17 23:17:09 HPUnraid kernel: br0: port 2(vnet0) entered disabled state
Jun 17 23:17:09 HPUnraid kernel: device vnet0 entered promiscuous mode
Jun 17 23:17:09 HPUnraid kernel: br0: port 2(vnet0) entered blocking state

I have just disabled Promiscouous mode:

 

image.png.cd743a72905e63178f7cc5ff8b2c0c59.png

 

But that didnt solve the issue unfortinately. i send new d

 

Edited by Mirano
Posted

Hmm I actually cant see the issue. At this point I would see what happens if you only have the vm's running then start only the unifi and pihole dockers and see if there is still a problem. Maybe one of the dockers you have is causing an issue.

Posted
16 hours ago, PeteAsking said:

Hmm I actually cant see the issue. At this point I would see what happens if you only have the vm's running then start only the unifi and pihole dockers and see if there is still a problem. Maybe one of the dockers you have is causing an issue.

Hey, Thanks for answering. I tried what you mentioned, i stopped al my dockers except for my Nginx and unifi controller. When i start my VM the same thing happends unfortinately

Posted

Okay, i've got the issue tracked down:

 

When my VM is using network bridge Br0 my unifi access points go unresponsive. When i use the only other one avaible: Virbr0 my access points will stay responsive, yet i have no internet on my VM. My network settings:

image.thumb.png.46883920eea1048831fc8dbd389186aa.pngimage.thumb.png.138d557f30048607913cfefb90de4b0f.png

 

Anyone know what setting is wrong?

Posted
29 minutes ago, itimpi said:

I don't know if it is relevant but why do you have bonding enabled if their is only one NIC defined?

Should i set "Enable Bonding" to no?

Posted

Are the wg0 interfaces wireguard interfaces? I think some other people on the forums have had issues with wireguard and bonded nics but obviously I dont know if that is your issue, just mentioning this in case.

Posted
23 minutes ago, PeteAsking said:

Are the wg0 interfaces wireguard interfaces? I think some other people on the forums have had issues with wireguard and bonded nics but obviously I dont know if that is your issue, just mentioning this in case.

Yes they are, I will disable bonding either this evening or tommorow and see if that fixes things

  • Like 1
Posted
On 6/19/2020 at 3:19 PM, Mirano said:

Yes they are, I will disable bonding either this evening or tommorow and see if that fixes things

 

On 6/19/2020 at 2:56 PM, itimpi said:

That is what I have on my system and I am not seeing the sort of problems you are reporting

So i've tested by disabling bonding:

image.thumb.png.2581c6747a600b9b590480ebef58cb5f.png

 

But no success, devices still go on adopting on the wifi portal and my pi-hole stops answering do DNS requests. i've included the new diag

hpunraid-diagnostics-20200624-0916.zip

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...