GNS3 / gns3-server

GNS3 server
GNU General Public License v3.0
812 stars 263 forks source link

"GNS3 VM is starting", VMWare doesn't start VM #754

Closed DeathCamel57 closed 7 years ago

DeathCamel57 commented 8 years ago

Similar to #275

OS: Ubuntu 16.04.1 LTS Release: 2.0.0a3 (built from source) GNS3 tries to start the VM, but the VM is always shown as "GNS3 VM is starting" in the server list. However, VMWare doesn't start, nor the the VM start if VMWare is already open. This happens every time that I open it, even after reboot.

# gns3 --debug gns3_gui.log # gns3 --debug gns3_server.log

To be noted... There is a long error that appears after trying to change the GNS3-gui close behavior for the GNS3 VM.

Information requested in #275 by @grossmj

Step 1: ubridge is not listed as any process command in sudo htop Step 2: `ubridge -H 4242`

julien-duponchelle commented 8 years ago

Seem to timeout when trying to connect to the GNS3 VM

2016-11-01 00:53:41 ERROR route.py:236 Uncaught exception detected: <class 'concurrent.futures._base.TimeoutError'>
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/gns3_server-2.0.0a3-py3.5.egg/gns3server/web/route.py", line 197, in control_schema
    yield from func(request, response)
  File "/usr/local/lib/python3.5/dist-packages/gns3_server-2.0.0a3-py3.5.egg/gns3server/handlers/api/controller/gns3_vm_handler.py", line 78, in update
    yield from gns3_vm.update_settings(request.json)
  File "/usr/local/lib/python3.5/dist-packages/gns3_server-2.0.0a3-py3.5.egg/gns3server/controller/gns3vm/__init__.py", line 191, in update_settings
    yield from self.start()
  File "/usr/local/lib/python3.5/dist-packages/gns3_server-2.0.0a3-py3.5.egg/gns3server/utils/asyncio/__init__.py", line 148, in new_function
    return (yield from f(*args, **kwargs))
  File "/usr/local/lib/python3.5/dist-packages/gns3_server-2.0.0a3-py3.5.egg/gns3server/controller/gns3vm/__init__.py", line 269, in start
    force=True)
  File "/usr/local/lib/python3.5/dist-packages/gns3_server-2.0.0a3-py3.5.egg/gns3server/controller/__init__.py", line 261, in add_compute
    yield from compute.connect()
  File "/usr/local/lib/python3.5/dist-packages/gns3_server-2.0.0a3-py3.5.egg/gns3server/controller/compute.py", line 364, in connect
    response = yield from self._run_http_query("GET", "/capabilities")
  File "/usr/local/lib/python3.5/dist-packages/gns3_server-2.0.0a3-py3.5.egg/gns3server/controller/compute.py", line 468, in _run_http_query
    response = yield from self._session().request(method, url, headers=headers, data=data, auth=self._auth, chunked=chunked, timeout=timeout)
  File "/usr/local/lib/python3.5/dist-packages/aiohttp-1.0.5-py3.5-linux-x86_64.egg/aiohttp/client.py", line 555, in __iter__
    resp = yield from self._coro
  File "/usr/local/lib/python3.5/dist-packages/aiohttp-1.0.5-py3.5-linux-x86_64.egg/aiohttp/client.py", line 198, in _request
    conn = yield from self._connector.connect(req)
  File "/usr/local/lib/python3.5/dist-packages/async_timeout-1.1.0-py3.5.egg/async_timeout/__init__.py", line 44, in __exit__
    raise asyncio.TimeoutError from None
concurrent.futures._base.TimeoutError
DeathCamel57 commented 8 years ago

Any information that I can post that might help?

DeathCamel57 commented 8 years ago

Also, 127.0.0.1:3080 does have the webserver running

julien-duponchelle commented 8 years ago

Could you go to Help / Export debug informations and send us the zip to developers@gns3.net ?

On Tue, Nov 1, 2016 at 6:06 PM Dylan Corrales notifications@github.com wrote:

Also, 127.0.0.1:3080 does have the webserver running

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/GNS3/gns3-server/issues/754#issuecomment-257625912, or mute the thread https://github.com/notifications/unsubscribe-auth/AAVFXTEliQGCHIpy5ocIaE081razhatWks5q53GWgaJpZM4Klxhg .

DeathCamel57 commented 8 years ago

Also, I've tried starting the GNS3 VM before starting GNS3, and that doesn't work either. VM already running

Debug info requested PRIVATE

DeathCamel57 commented 8 years ago

Hrm... odd... It started once a few days ago properly, but it stopped for a while, this start though, it worked fine... Seems like 10% of the time it works

julien-duponchelle commented 8 years ago

If you change the stop mode from suspend to stop does it work better?

DeathCamel57 commented 8 years ago

no difference, after reopen, doesn't start VM.

julien-duponchelle commented 8 years ago

Could you:

No need to rush for sending that we are already busy fixing other 2.0 bugs.

Thanks for the help

DeathCamel57 commented 8 years ago

Sent a few zips... Next time it works, I'll send that zip too. Thanks for maintaining and making this software though. I love it.

julien-duponchelle commented 7 years ago

I think we have solve bugs related to that. If after using last source code you still have the issue don't hesitate to comment.

DeathCamel57 commented 7 years ago

Just pulled source code, built, and same issue. Emailing the debug info zips

julien-duponchelle commented 7 years ago

It seem you have a permission issue in your ~/.config/GNS3 you have file owned by root. But it's not the issue.

I pushed a new version based on your feedbacks, I hope it's fixe your issues. Thanks for the help