Participating in the GSoC 2010: TestDrive Front-End

As you all know, this year Ubuntu is Participating in the Google Summer of Code 2010. One of the projects that have been selected this year is TestDrive Front-End, which it is obviously the project I am going to work on. The mentor of this project is Dustin Kirkland, and we all know why :).

The objective of this project is to create a PyGTK Front-end for Testdrive. However, it is not quite that. This project will consist of two main phases. The first phase is to modularize the actual code of TestDrive to separate the Command Line UI with the back-end code to make it reusable. The second phase is the design/implementation of the PyGTK GUI.

The first phase has already began few weeks ago due to I wanted to start working on it, and it should be finished by the UDS. On the other hand, and for the second phase, (and as per Dustin’s recommendations) I’ll try to hold a session at UDS. I’ll keep you guys updated on how the project is going. For all of those who are interested on contributing to TestDrive, please feel free to contribute *after* the GSoC.

Anyways, these are exciting moments and I really look forward to work with Dustin.

Installing Zenoss on Ubuntu 10.04

Zenoss (Network Monitoring and IT Management tool) has been running with Python2.4 for quite a while now, making it impossible to be run in a few Ubuntu releases. However, this has now changed. Few days ago they announced the migration of Zenoss to Python 2.6. Please see the announcement here.

If you wish to help testing, you can refer to this Ubuntu Installation Notes, or do the following:

First we need to install the necessary dependencies:

$ sudo apt-get install rsync python-dev build-essential make bzip2 sudo sysv-rc-conf snmpd swig autoconf mysql-server-5.0 libmysqlclient15-dev libmysqlclient15off ttf-liberation ttf-linux-libertine unzip subversion librrd4

Second, we need to create the zenoss user, and create the destination path with the right permissions:

$ sudo adduser zenoss
$ sudo mkdir /usr/local/zenoss
$ sudo chown zenoss /usr/local/zenoss

Third, we need to configure the environment for zenoss user. So, we need first to log in as the zenoss user:

$ sudo -i -u zenoss

Then add the following to .bashrc

export ZENHOME=/usr/local/zenoss
export PYTHONPATH=$ZENHOME/lib/python
export PATH=$ZENHOME/bin:$PATH

And reload .bashrc
$ source .bashrc

Fourth, we obtain the trunk while logged into the zenoss user:

$ svn co zenossinst

Finally, we install zenoss.

$ cd zenossinst
$ ./