It is currently Sat Feb 27, 2021 9:18 pm


All times are UTC




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: [SOLVED] VPCS error in GNS3 1.0 alpha 5
PostPosted: Sun May 25, 2014 6:46 pm 
Offline

Joined: Tue Jan 21, 2014 5:29 pm
Posts: 15
Location: London, England
Hi,

I am getting the following error when adding a VPCS host to a topology in alpha 5:

[I 140525 19:39:17 __init__:183] sending VPCS settings to server 127.0.0.1:8000
[I 140525 19:39:17 vpcs_device:43] VPCS instance is being created
[I 140525 19:39:17 __init__:171] VPCS path set to /home/h3d0n15t/GNS3 alpha/vpcs_0.5b1_Linux64
[I 140525 19:39:17 __init__:178] this server is local with working directory path to /tmp/gns3-tbibfii8-files
[I 140525 19:39:17 __init__:253] configuring node VPCS device
[I 140525 19:39:17 vpcs_device:238] VPCS VPCS1 [id=1]: working directory changed to /tmp/gns3-tbibfii8-files/vpcs/pc-1
[I 140525 19:39:17 vpcs_device:115] VPCS device VPCS1 [id=1] has been created
[I 140525 19:39:17 vpcs_device:103] VPCS instance setting up and updating name from '' to 'VPCS1'
[I 140525 19:39:17 vpcs_device:103] VPCS instance setting up and updating console from 'None' to '4001'
[I 140525 19:39:17 base:213] ZeroMQ client (vpcs) sending JSON-RPC custom error: Startup-config ../../.python-eggs/gns3_gui-1.0a5-py3.4.egg-tmp/gns3/configs/vpcs_base_config.txt could not be found on this server for call id 6883086f-56ab-46e9-8864-0cfb94b7c98f
[E 140525 19:39:17 vpcs_device:194] error while deleting VPCS1: Startup-config ../../.python-eggs/gns3_gui-1.0a5-py3.4.egg-tmp/gns3/configs/vpcs_base_config.txt could not be found on this server

Any help would be appreciated.

Cheers,

Jonathan



_________________
GNS3 0.8.6 Windows 8.1
GNS3 1.0 beta Ubuntu Gnome 14.04 LTS


Top
 Profile  
 
 Post subject: Re: VPCS error in GNS3 1.0 alpha 5
PostPosted: Sun May 25, 2014 7:32 pm 
Offline

Joined: Tue Jan 21, 2014 5:29 pm
Posts: 15
Location: London, England
Managed to get rid of the previous error running GNS3 as root, but still getting the following error:

Server error [-3200] from 127.0.0.1:8000: VPCS1: uncaught exception <class 'UnboundLocalError'>: local variable 'flags' referenced before assignment
Traceback (most recent call last):
File "/usr/local/lib/python3.4/dist-packages/gns3_server-1.0a5-py3.4.egg/gns3server/modules/base.py", line 270, in _decode_request
self.modules[self.name][destination](self, params)
File "/usr/local/lib/python3.4/dist-packages/gns3_server-1.0a5-py3.4.egg/gns3server/modules/vpcs/__init__.py", line 396, in vm_start
vpcs_instance.start()
File "/usr/local/lib/python3.4/dist-packages/gns3_server-1.0a5-py3.4.egg/gns3server/modules/vpcs/vpcs_device.py", line 354, in start
creationflags=flags)
UnboundLocalError: local variable 'flags' referenced before assignment

_________________
GNS3 0.8.6 Windows 8.1
GNS3 1.0 beta Ubuntu Gnome 14.04 LTS


Top
 Profile  
 
 Post subject: Re: VPCS error in GNS3 1.0 alpha 5
PostPosted: Sun May 25, 2014 7:54 pm 
Offline
Site Admin

Joined: Sat Oct 11, 2008 1:41 pm
Posts: 2668
Location: Canada
Quote:
Managed to get rid of the previous error running GNS3 as root, but still getting the following error:


Yep, this one has been fixed but after alpha5. You can fix it by editing the following file and delete ",creationflags=flags" on line 354

/usr/local/lib/python3.4/dist-packages/gns3_server-1.0a5-py3.4.egg/gns3server/modules/vpcs/vpcs_device.py

_________________
Jeremy, GNS3 Programmer & Benevolent Dictator for Life.


Top
 Profile  
 
 Post subject: Re: VPCS error in GNS3 1.0 alpha 5
PostPosted: Thu May 29, 2014 4:25 pm 
Offline

Joined: Thu May 29, 2014 4:17 pm
Posts: 2
grossmj,

I have alpha 5, and after editing that file, I was able to get vpcs to run without errors. However, I cannot get a console for any of the vpcs. I manually try to telnet to 127.0.0.1 on the specified port (4512), but get the following:

"telnet: unable to connect to remote host: Connection refused."

Under Edit > Preferences > VPCS, I have the following for startup config (was there by default): ".python-eggs/gns3_gui-1.0a5-py3.4.egg-tmp/gns3/configs/vpcs_base_config.txt". I have removed this and closed out of GNS3 and tried everything again, but with the same results.

any ideas?


Top
 Profile  
 
 Post subject: Re: VPCS error in GNS3 1.0 alpha 5
PostPosted: Fri May 30, 2014 5:42 pm 
Offline

Joined: Tue Jan 21, 2014 5:29 pm
Posts: 15
Location: London, England
Hi Jeremy,

Perfect, thanks for the feedback. VPCS works fine for me after editing the file. Thanks for you assistance ;)

Cheers,

_________________
GNS3 0.8.6 Windows 8.1
GNS3 1.0 beta Ubuntu Gnome 14.04 LTS


Top
 Profile  
 
 Post subject: Re: VPCS error in GNS3 1.0 alpha 5
PostPosted: Sat May 31, 2014 8:52 pm 
Offline
Site Admin

Joined: Sat Oct 11, 2008 1:41 pm
Posts: 2668
Location: Canada
Bug fixed in alpha6.

Thanks,

_________________
Jeremy, GNS3 Programmer & Benevolent Dictator for Life.


Top
 Profile  
 
 Post subject: Re: [SOLVED] VPCS error in GNS3 1.0 alpha 5
PostPosted: Wed Jul 02, 2014 4:02 pm 
Offline

Joined: Sun Nov 02, 2008 2:06 pm
Posts: 59
Using Alpha 6 and have the same issue "Connetion Refused".


Top
 Profile  
 
 Post subject: Re: [SOLVED] VPCS error in GNS3 1.0 alpha 5
PostPosted: Thu Jul 03, 2014 5:07 pm 
Offline
Site Admin

Joined: Sat Oct 11, 2008 1:41 pm
Posts: 2668
Location: Canada
What VPCS version you have used?



_________________
Jeremy, GNS3 Programmer & Benevolent Dictator for Life.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO