Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

network suspend/resume script misconfigures docker interfaces #753

Open
double16 opened this issue Dec 14, 2024 · 0 comments
Open

network suspend/resume script misconfigures docker interfaces #753

double16 opened this issue Dec 14, 2024 · 0 comments
Labels

Comments

@double16
Copy link

Describe the bug

Ports exposed by docker externally do not work after the VM is resumed. I've tracked this to the /etc/vmware-tools/scripts/vmware/network script. It should ignore docker interfaces.

Here are part of the vmware-network.log showing the interfaces the script is managing.

Sat Dec 14 12:43:24 PM UTC 2024 : [rescue_nic] ens160 is already active.
Sat Dec 14 12:43:24 PM UTC 2024 : [rescue_nic] activating br-0d1a7715135b ...
Sat Dec 14 12:43:24 PM UTC 2024 : [rescue_nic] activating br-809bc452502f ...
Sat Dec 14 12:43:24 PM UTC 2024 : [rescue_nic] activating docker0 ...
Sat Dec 14 12:43:24 PM UTC 2024 : [rescue_nic] activating vethae88d5b ...
Sat Dec 14 12:43:24 PM UTC 2024 : [rescue_nic] activating veth4d6888e ...
Sat Dec 14 12:43:24 PM UTC 2024 : [rescue_nic] activating vethf0ca46a ...
Sat Dec 14 12:43:24 PM UTC 2024 : [rescue_nic] activating veth48cd19e ...
Sat Dec 14 12:43:24 PM UTC 2024 : [rescue_nic] activating vethc6f3655 ...
Sat Dec 14 12:43:24 PM UTC 2024 : [rescue_nic] activating veth114e267 ...
Sat Dec 14 12:43:24 PM UTC 2024 : [rescue_nic] activating veth510625f ...
Sat Dec 14 12:43:24 PM UTC 2024 : [rescue_nic] activating veth167d3f2 ...
Sat Dec 14 12:43:24 PM UTC 2024 : [rescue_nic] activating vethac2c5ba ...
Sat Dec 14 12:43:24 PM UTC 2024 : [rescue_nic] activating veth6115ac2 ...
Sat Dec 14 12:43:24 PM UTC 2024 : [rescue_nic] activating veth4f5c84c ...
Sat Dec 14 12:43:24 PM UTC 2024 : [rescue_nic] activating veth07f7c58 ...
Sat Dec 14 12:43:24 PM UTC 2024 : [rescue_nic] activating br_kasm_sidecar ...
Sat Dec 14 12:43:24 PM UTC 2024 : [rescue_nic] activating k-p-e-2af88f ...

Reproduction steps

  1. Install docker
  2. Run an app that exposes ports, such as https://kasmweb.com/
  3. suspend/resume
  4. nc -nzv 198.168.1.183 443 (replace with IP address of VM)

Expected behavior

Exposed ports should be accessible after resume.

Additional context

No response

@double16 double16 added the bug label Dec 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant