{"action":"opened","issue":{"url":"https://api.github.com/repos/frenetic-lang/frenetic-vm/issues/4","labels_url":"https://api.github.com/repos/frenetic-lang/frenetic-vm/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/frenetic-lang/frenetic-vm/issues/4/comments","events_url":"https://api.github.com/repos/frenetic-lang/frenetic-vm/issues/4/events","html_url":"https://github.com/frenetic-lang/frenetic-vm/issues/4","id":79468993,"number":4,"title":"Mininet Custom Setups Don't Run Due to Outdated Packages","user":{"login":"craig-riecke","id":542931,"avatar_url":"https://avatars.githubusercontent.com/u/542931?v=3","gravatar_id":"","url":"https://api.github.com/users/craig-riecke","html_url":"https://github.com/craig-riecke","followers_url":"https://api.github.com/users/craig-riecke/followers","following_url":"https://api.github.com/users/craig-riecke/following{/other_user}","gists_url":"https://api.github.com/users/craig-riecke/gists{/gist_id}","starred_url":"https://api.github.com/users/craig-riecke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/craig-riecke/subscriptions","organizations_url":"https://api.github.com/users/craig-riecke/orgs","repos_url":"https://api.github.com/users/craig-riecke/repos","events_url":"https://api.github.com/users/craig-riecke/events{/privacy}","received_events_url":"https://api.github.com/users/craig-riecke/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-22T14:09:56Z","updated_at":"2015-05-22T14:09:56Z","closed_at":null,"body":"So the current combination of packages works if you're using just command-line Mininet.  But an update to openvswitch somwhere in the last year broke running custom network setups.  \r\n\r\n```\r\nvagrant@frenetic:~/src/frenetic$ sudo python examples/diamond.py\r\nUnable to contact the remote controller at 127.0.0.1:6633\r\nCannot find required executable ofdatapath.\r\nPlease make sure that the OpenFlow reference user switch(openflow.org) is installed and available in your $PATH:\r\n(/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin)\r\n```\r\n\r\nThis problem seems to be tied to Mininet 2.1, which is the latest version available via Ubuntu packages.  The Mininet developers are encouraging users to use their own VM instead of packages, and their VM has the latest Mininet 2.2.1 built from source.\r\n\r\nWhen I removed Mininet 2.1 and installed Mininet 2.2 from source, everything worked:\r\n\r\n```\r\nvagrant@frenetic:~/src/frenetic$ sudo examples/diamond.py\r\nUnable to contact the remote controller at 127.0.0.1:6633\r\nNetwork ready\r\nPress Ctrl-d or type exit to quit\r\nmininet> nodes\r\navailable nodes are:\r\nc1 h1 h2 s1 s2 s3 s4\r\n```\r\n\r\nSo I'd like to change the Mininet installation in root-user.sh to install from source.  It's not ideal, but it'll stop this problem.  Comments?"}}