This is a trial and error process, with a strong emphasis on error. I’ve never used Python before, so I find myself jumping to Google search quite a bit. Anyway, the first problem I encountered was starting a Python terminal, which turns out to be as easy as typing Python into an open terminal. You’ll see ‘>>>’ to indicate Python is available. The next problem was that I had not built Eutester correctly, turns out I needed to give root permission to do this. Finally, I had a working version of Eutester and a Python terminal, but when I tried to run the command ‘from eucaops import Eucaops’ I got an error which seemed to indicate that Boto (the Python interface to EC2) is not working.
It seems I cannot create a connection to the Eucalyptus cloud. I’ll edit this post after I figure out what’s happening.
Well, it seems there is a problem on the server end. I talked with someone on #eucalyptus and created a forum post. Hopefully this issue gets resolved quickly.
Images are again available, and I am resuming my quest to get Eutester to work for me. My first roadblock this morning is that when trying to import eucaops I get an error telling me that a paticular class cannot be imported (BlockDeviceType). A quick search of the file shows that this class was renamed to EBSBlockDeviceType. This error was caused by the simple fact that my version of Boto was out-of-date. I downloaded and installed the latest version(Boto 2.2.2).
The next problem encountered has to do with credentials. Essentially I need a credentials directory which contains a eucarc file from which key information can be extracted. I resolved this be finding my eucarc file and copy pasting the path name. I have been able to follow the the test listed here up until the ping test. Despite several tries to authorize the group – default – I am unable to ping the instance.
This assignment has been frustrating, to say the least, but I feel I have a much better understanding of the process involved. I will be updating the Wiki soon, so hopefully anyone else will be able to get eutester running in short order.
From the blog sflynn1976 » wsu-cs by sflynn1976 and used with permission of the author. All other rights reserved by the author.