Opened 6 years ago

Closed 2 years ago

#12550 closed task (wontfix)

Make ansible deployment script for probes on planetlab

Reported by: hellais Owned by: dawuud
Priority: Medium Milestone:
Component: Archived/Ooni Version:
Severity: Normal Keywords: archived-closed-2018-07-04
Cc: dawuud, asn, vmon, sysrqb, dcf, hellais Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


We should make it easier and more robust to deploy ooniprobe on a bunch of machines at the same time.

Child Tickets

Change History (8)

comment:1 Changed 6 years ago by hellais

Component: - Select a componentOoni

comment:2 Changed 6 years ago by dawuud

I need more information to complete this ticket.
At minimum I need access to one machine with the same Linux distro and version as planetlab uses... which will easily be solved with a kvm image or lxc.

Last edited 6 years ago by dawuud (previous) (diff)

comment:3 Changed 6 years ago by hellais

I believe you should now have full access to all the marvelous planetlab goodness. Something to give you a head start on what is needed to make this work you can see the script found inside of ooni-probe/scripts/ ( Basically you need to manually compile a bunch of stuff, because the system is so incredibly outdated.

comment:4 Changed 6 years ago by dawuud

Some progress.
There were a couple of problems preventing Ansible from working
on PlanetLab nodes:

  1. ansible.cfg must use scp_if_ssh=True
  2. must have python-simplejson installed

Completed: Idempotent python2.7 build and install from source tarball.

Lots of Ansible stuff doesn't work on Fedora 8. Incredibly old.
Can we upgrade these PlanetLab slice nodes?
If not then we can still make the best of it with Ansible and or bash scripts...

the latest is here:

comment:5 Changed 6 years ago by hellais

Good work!

The next thing to do would be to install a current version of tor. The one present in Fedora 8 is so old we can't use it with some of the pluggable transports that we would like to run. Doing that is a bit more of a pain as it requires you to also compile an up to date development toolchain.

Unfortunately it's not possible to upgrade the software running on PlanetLab. We have to work with what we have got :(.

comment:6 Changed 6 years ago by dawuud

OK... I'm 95% of the way to having this Ansible role install tor...
See recent git commits.

The problem I'm running into right now is that not all PlanetLab nodes are the same...
Various nodes seem to be incompatible in various ways. I will try to figure out a workaround
or try to detect when a node will be incompatible so we don't waste time trying to configure it.

comment:7 Changed 3 years ago by teor

Severity: Normal

Set all open tickets without a severity to "Normal"

comment:8 Changed 2 years ago by teor

Keywords: archived-closed-2018-07-04 added
Resolution: wontfix
Status: newclosed

Close all tickets in archived components

Note: See TracTickets for help on using tickets.