Monthly Archives: May 2014

Mozilla Automation training days – 21st May | 28th May | 4th June | 11th June

Hi,

We are happy to announce our next Automation Training Day next Wednesday on May 21st in the #automation channel.
https://quality.mozilla.org/2014/05/automation-training-day-may-21st/

What is this about? Well, we are a bunch of enthusiastic people working in automation, all kinds of tools and various projects and we’d like to introduce you to this part of Mozilla.

It’s an opportunity to learn new things and experience automation on different projects.

Most of the tasks will be added to the One and Done tool and you can also check our etherpad for latest updates:

https://etherpad.mozilla.org/automation-training

We plan to have 4 consecutive training days, each Wednesday until June 11th
Timings are from 11:30AM – 3:30 AM IST
Hope to meet you next Wednesday!! Happy learning !!

Eucalyptus euca2ools.3.0.1 configuration problem solved

Hi all, I would like to share a problem which I came across configuring euca2ools.3.0.1 on server.

Problem: I was not able to connect to my eucalyptus cloud from server running RHEL 5.7 even after installation euca2ools.3.0.1 from source

[xxxxxx@xxxxx]$euca-describe-instances
Traceback (most recent call last):
File “/euca2ools_3_0_2/bin/euca-register”, line 5, in <module>
pkg_resources.run_script(‘euca2ools==3.0.1’, ‘euca-register’)
File “build/bdist.linux-x86_64/egg/pkg_resources.py”, line 528, in run_script
File “build/bdist.linux-x86_64/egg/pkg_resources.py”, line 1394, in run_script
File “/euca2ools_3_0_2/lib/python2.7/site-packages/euca2ools-3.0.1-py2.7.egg/EGG-INFO/scripts/euca-register”, line 3, in <module>
import euca2ools.commands.euca.registerimage
File “/euca2ools_3_0_2/lib/python2.7/site-packages/euca2ools-3.0.1-py2.7.egg/euca2ools/commands/euca/__init__.py”, line 31, in <module>
from requestbuilder import Arg, MutuallyExclusiveArgList, AUTH, SERVICE
ImportError: cannot import name AUTH

Analyzing: I have installed following packages from tar ball/source code in a custom location using –prefix option from source

  1. python 2.7.5
  2. lxml (http://lxml.de/)
  3. requestbuilder (https://github.com/boto/requestbuilder)
  4. requests (http://www.python-requests.org/)
  5. setuptools (https://pypi.python.org/pypi/setuptools)
  6. six (http://pythonhosted.org/six/)

I have installed all the latest versions. If we can see the error its sure that we have some dependency missing. I googled it but could not find any where.

Solution: I contacted IRC and mailing list and found that “requests” version which I installed was 0.2.0 and it should be uninstalled and oldest version 0.1.0 was installed using pip command which is very useful in uninstalling and installing of python packages.

I need to reconfigure the installation again from source and build the ecua2ools from source. I was able to then run the euca2ools perfectly.

Thanks for irc #eucalyptus and users mailing list of eucalyptus !!