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

GNS3 not showing VirtualBox VMs #2429

Open
s-c-p opened this issue Oct 20, 2024 · 7 comments
Open

GNS3 not showing VirtualBox VMs #2429

s-c-p opened this issue Oct 20, 2024 · 7 comments

Comments

@s-c-p
Copy link

s-c-p commented Oct 20, 2024

Describe the bug

While using GNS3 add template - the GUI doesn't enumerate VirtualBox VMs.

GNS3 version and operating system (please complete the following information):

GNS3 Version: GNS3 v2.2.49
Operating System: Linux pop-os 6.9.3-76060903-generic #202405300957172676603522.04~4092a0e SMP PREEMPT_DYNAMIC Thu S x86_64 x86_64 x86_64 GNU/Linux

I installed GNS3 using the ppa and apt.

To Reproduce

Steps to reproduce the behavior:

  1. I make 2 VMs using ISO files of pfsense and ubuntu
  2. go in terminal and type vboxmanage list vms I see correct output.
  3. in my GNS3 project I do Browse All Devices > New template > Manually create new template > select VirtualBox VMs > click New button ...
  4. I don't see anything in the drop down
@s-c-p
Copy link
Author

s-c-p commented Oct 23, 2024

There's no support on the forums also and can't find any thing relevant in docs.

@ahmedkhlief
Copy link

i have the same issue and found that when you use the terminal to list vms using gns3-server user it will not list any vm but if you try with your own user it will work so i think its permissions issue .
i tried : sudo -u gns3-server /usr/bin/vboxmanage list vms # it didn't work but using my user it works

@ahmedkhlief
Copy link

this worked for me but you need to purge the installation via apt ( apt-get purge gns3-server gns3-gui )
sudo apt install python3 python3-pip pipx python3-pyqt5 python3-pyqt5.qtwebsockets python3-pyqt5.qtsvg qemu-kvm qemu-utils libvirt-clients libvirt-daemon-system virtinst dynamips software-properties-common ca-certificates curl gnupg2
pipx install gns3-server==2.2.44
pipx install gns3-gui==2.2.44
pipx inject gns3-gui gns3-server PyQt5

@grossmj
Copy link
Member

grossmj commented Oct 24, 2024

@s-c-p What do you see if you execute this command vboxmanage list vms?

@grossmj grossmj closed this as not planned Won't fix, can't repro, duplicate, stale Nov 26, 2024
@s-c-p
Copy link
Author

s-c-p commented Nov 26, 2024

@s-c-p What do you see if you execute this command vboxmanage list vms?

I see

"pfs" {9a7c0132-05ba-49ba-b31e-f02549557215}
"pc1" {bc0fb4c7-4212-460c-9d84-14d9533d999c}
"o76" {f4bd5c6b-e6bb-4221-9b24-41749fb8d788}

Sorry for the late reply

@grossmj grossmj reopened this Nov 26, 2024
@grossmj
Copy link
Member

grossmj commented Nov 26, 2024

Do you see anything if you open http://localhost:3080/v2/computes/local/virtualbox/vms?

Screenshot from 2024-11-26 19-03-34

@grossmj
Copy link
Member

grossmj commented Nov 28, 2024

@s-c-p ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants