ThomasGook / ostinato

Automatically exported from code.google.com/p/ostinato
GNU General Public License v3.0
0 stars 0 forks source link

Ostinato in mininet #145

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi

I installed ostinato on my Ubuntu vm by sudo apt-get install ostinato

I started a mininet topology, and opened xterm for host 1 and host 2

In host 2 I started drone and got the below output:
------------------------------------------------------------------
root@ubuntu:/usr/sbin# drone
Retrieving the device list from the local machine

0. nflog
 (Linux netfilter log (NFLOG) interface)

Error setting direction(0) nflog: Setting direction is not implemented on this 
platform

PortMonitor: Error opening port nflog: nflog: Can't listen on group group 
index: Operation not permitted

PortTransmitter: Error opening port nflog: nflog: Can't listen on group group 
index: Operation not permitted

cap file = /tmp/qt_temp.J20715
adding dev to all ports list <nflog>
PortManager: unable to open nflog. Skipping!
In ~LinuxPort
In ~PcapPort
0. nfqueue
 (Linux netfilter queue (NFQUEUE) interface)

Error setting direction(0) nfqueue: Setting direction is not implemented on 
this platform

PortMonitor: Error opening port nfqueue: nfqueue: Can't listen on group group 
index: Operation not permitted

PortTransmitter: Error opening port nfqueue: nfqueue: Can't listen on group 
group index: Operation not permitted

cap file = /tmp/qt_temp.T20715
adding dev to all ports list <nfqueue>
PortManager: unable to open nfqueue. Skipping!
In ~LinuxPort
In ~PcapPort
0. h2-eth0
cap file = /tmp/qt_temp.M20715
adding dev to all ports list <h2-eth0>
1. any
 (Pseudo-device that captures on all interfaces)

cap file = /tmp/qt_temp.X20715
adding dev to all ports list <any>
2. lo
cap file = /tmp/qt_temp.h20715
adding dev to all ports list <lo>
nlmsg_flags = 301
netlink required buffer size = 2272
buffer size 2272 enough for netlink
if: lo(1)
if: h2-eth0(1105)
buffer size 2272 enough for netlink
port count = 2

stats for 2 ports setup
ComboProtocol: protoNumber = 208, 0x1e06830 <--> 0x1e068b0
ComboProtocol: protoNumber = 206, 0x1e17810 <--> 0x1e17880
ComboProtocol: protoNumber = 206, 0x1e17900 <--> 0x1e17db0
ComboProtocol: protoNumber = 207, 0x1e17d50 <--> 0x1e17ef0
ComboProtocol: protoNumber = 305, 0x1e18690 <--> 0x1e18750
ComboProtocol: protoNumber = 304, 0x1e189b0 <--> 0x1e18a70
ComboProtocol: protoNumber = 303, 0x1e18cd0 <--> 0x1e18d90
ComboProtocol: protoNumber = 306, 0x1e18ff0 <--> 0x1e190b0
The server is running on 0.0.0.0: 7878
Version: 0.6
Revision: 2aaa068dcb33@

---------------------------------------
 On host 1 i started ostinato and the GUI window opens up but is blank..below are the console output on this host:

 Major opcode: 62 (X_CopyArea)
  Resource id:  0x2e00010
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 62 (X_CopyArea)
  Resource id:  0x2e00010
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 62 (X_CopyArea)
  Resource id:  0x2e00010
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 62 (X_CopyArea)
  Resource id:  0x2e00010
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 62 (X_CopyArea)
  Resource id:  0x2e00010
PortGroup Destructor
In ~LinuxPort
In tearDown
In on_mpSocket_stateChanged
state changed 6
[127.0.0.1:40906] The remote host closed the connection (1)
[127.0.0.1:40906] connection closed from 127.0.0.1: 40906
[127.0.0.1:40906] destroying connection to : 0
In on_mpSocket_stateChanged
state changed 0
In on_mpSocket_disconnected
disconnected

~Port
~Port
~Port
current is either invalid or not a port
current is now invalid
No selection
In when_portView_currentChanged
setting stacked widget to blank page
portGroupId = 0, portId = 65535
In when_portModel_dataChanged
In ~PcapPort
In ~LinuxPort
In ~PcapPort
In ~LinuxPort
In ~PcapPort
X Error: BadPixmap (invalid Pixmap parameter) 4
  Major opcode: 54 (X_FreePixmap)
  Resource id:  0x2e00010
X Error: BadShmSeg (invalid shared segment parameter) 128
  Extension:    129 (MIT-SHM)
  Minor opcode: 2 (X_ShmDetach)
  Resource id:  0x2e0000f
root@ubuntu:/usr/sbin# 
------------------------------------------------------------

No clue why the ostinato GUI screen is blank...please help

Original issue reported on code.google.com by si...@nuviso.com on 21 Feb 2015 at 11:04

GoogleCodeExporter commented 9 years ago
Are you able to run any X-windows based GUI applications on host1 ?

Original comment by pstav...@gmail.com on 23 Feb 2015 at 2:02

GoogleCodeExporter commented 9 years ago
Yes...I can open xterm for the hosts in mininet

Original comment by si...@nuviso.com on 23 Feb 2015 at 5:05

GoogleCodeExporter commented 9 years ago
Any solution for this? 

Original comment by si...@nuviso.com on 4 Mar 2015 at 6:17

GoogleCodeExporter commented 9 years ago
Sorry, I missed your update.

Based on a google search this looks like a Qt/KDE problem. Some of the 
suggested solutions from the same google search is -
1. Run as a different user (you don't need to be root to run Ostinato)
2. Change your desktop theme

Google for more potential solutions.

Alternatively, if possible, try a different OS/distro.

Original comment by pstav...@gmail.com on 4 Mar 2015 at 3:37