These are chat archives for atomix/atomix

4th
Mar 2017
Jon Hall
@jhall11
Mar 04 2017 00:05 UTC
what os are you running it on?
Jordan Halterman
@kuujo
Mar 04 2017 00:11 UTC
Ubuntu
Jon Hall
@jhall11
Mar 04 2017 00:11 UTC
16.04?
Jordan Halterman
@kuujo
Mar 04 2017 00:12 UTC
Actually nvm Mininet is working, it's onos.py that's missing a dependency
ImportError
Jon Hall
@jhall11
Mar 04 2017 00:14 UTC
can you see what is missing?
Jordan Halterman
@kuujo
Mar 04 2017 00:15 UTC
Yeah I'm making my way back to my laptop :-P
asdf
ImportError: No module named nodelib
ImportError: No module named nodelib
ugh my internets are going crazy
sorry
Jon Hall
@jhall11
Mar 04 2017 00:19 UTC
how are you running ones.py?
Jordan Halterman
@kuujo
Mar 04 2017 00:21 UTC
Using this documentation
sudo mn --custom onos.py --controller onos,3 --topo torus,4,4
err I tried all of them on that page
onos/tools/dev/mininet$ sudo mn --custom onos.py --controller onos,1 --topo tree,2,2
--------------------------------------------------------------------------------
Caught exception. Cleaning up...

ImportError: No module named nodelib
————————————————————————————————————————
Jon Hall
@jhall11
Mar 04 2017 00:22 UTC
hmm, and how did you install mininet?
I’m wondering if something changed
Jordan Halterman
@kuujo
Mar 04 2017 00:23 UTC
lemme see...
sudo apt-get install mininet bridge-utils
which came from here
Jon Hall
@jhall11
Mar 04 2017 00:24 UTC
hmm, it may be that that version of mininet doesn’t have that
Jordan Halterman
@kuujo
Mar 04 2017 00:24 UTC
yeah
I can pull the repo
hmm actually I think I already have it linked to my VM
indeed
Jon Hall
@jhall11
Mar 04 2017 00:25 UTC
it looks like mininet 2.2.0 has mininet/mininet/nodelib.py
Jordan Halterman
@kuujo
Mar 04 2017 00:26 UTC
ahh yes that seems to have worked
thanks!
Jordan Halterman
@kuujo
Mar 04 2017 00:59 UTC
Man I feel like I'm working 1.5 jobs with 0.5 computers
Jon Hall
@jhall11
Mar 04 2017 00:59 UTC
is your wife’s laptop that bad?
Jordan Halterman
@kuujo
Mar 04 2017 01:00 UTC
Haha no it's fine just doesn't have all my stuff on it
Jon Hall
@jhall11
Mar 04 2017 01:01 UTC
:) I know how that is
Jordan Halterman
@kuujo
Mar 04 2017 01:02 UTC
You don't realize how much stuff you rely on until it's gone and you have to go track it down again
Jon Hall
@jhall11
Mar 04 2017 01:02 UTC
yeah, I keep resisting getting a new laptop for that very reason
Jordan Halterman
@kuujo
Mar 04 2017 06:51 UTC
one thing this laptop does have is an insane battery lifetime though
Jordan Halterman
@kuujo
Mar 04 2017 09:17 UTC
BTW as for the documentation, this experience was a lot better than my experience with setting up one of the VMs. I just created my own Vagrant box and followed the development environment setup and onos.py setup documentation. I think it would have been easier if it were all just on one page. I had to do a lot of navigating back and forth to different points in both tutorials.
Jordan Halterman
@kuujo
Mar 04 2017 11:06 UTC
ouch
df -h
Filesystem      Size   Used  Avail Capacity  iused ifree %iused  Mounted on
/dev/disk1     112Gi  111Gi  222Mi   100% 29266484 56778  100%   /
devfs          182Ki  182Ki    0Bi   100%      632     0  100%   /dev
map -hosts       0Bi    0Bi    0Bi   100%        0     0  100%   /net
map auto_home    0Bi    0Bi    0Bi   100%        0     0  100%   /home
Jordan Halterman
@kuujo
Mar 04 2017 11:21 UTC

So @jhall11 AFAICT it was just a race condition and was ultimately an easy fix. The servers were just completing connections before Copycat could register handlers, causing important messages to be lost.

So, I fixed that issue and updated my changes. With that fix, I was able to form a cluster using Mininet with no problems the few times I was able to do it. Ultimately, though, my wife's laptop ran out of disk space as you see above, and that slowed me down even more. It couldn't quite handle installing lots of tools, Virtualbox, Vagrant, ONOS, Mininet, all the things that come with them, starting VMs, and then running the cluster many times :-P I have to get her to delete her videos tomorrow (today?) to even be able to look into it any more.

Richard Pijnenburg
@electrical
Mar 04 2017 11:59 UTC
@kuujo how are things going with the project? Due to lack of time i haven't had any time to work on my project anymore ( the improved version of logstash using atomix ) But hopefully I'll be able to make a bit of time for it again.
Jordan Halterman
@kuujo
Mar 04 2017 17:08 UTC
@electrical It's going great! I'm actually going to be working on Atomix (and ONOS) full time pretty soon. In other news, @jhalterman is also starting at Elastic in a couple weeks. I actually went through most of the interview process with the distributed systems team there myself but ultimately bailed for ONOS :-)
Jordan Halterman
@kuujo
Mar 04 2017 18:29 UTC
As for the actual project, we've made lots of progress in stability, and a new and improved version is a work in progress but probably will take a while to complete... priorities!
Jordan Halterman
@kuujo
Mar 04 2017 22:55 UTC
@electrical how's the new job going?
My old company's open sourcing all my work next week I think since I'm leaving, which is pretty cool.
@jhall11 I should be able to test those changes more thoroughly tonight once that space is freed up. But FYI I'll be leaving on vacation tomorrow morning. I should have some time to chat in the evenings or asynchronously over the next week, but likely won't get much work in until I make it to Menlo Park next Sunday :-)