Installing and Configuring EuTester

Last week I was attempting to install EuTester and finding out the hard way that it requires many pre installed elements in order to run correctly. I finally installed both boto and paramiko and I am receiving a few errors when I attempt to configure EuTester by following the blog posts from Vic Iglesias. This is probably due to the fact that I am quite a novice user of the command line and running scripts it is difficult at times for me to understand. Perhaps we could help them with EuTester documentation for less experienced users.

From the blog michaelkenny2 » WSU CS by michaelkenny2 and used with permission of the author. All other rights reserved by the author.

Week of 2 April 2012

This was an event filled week. Our group leader, Brian, has decided that the glossary should be put on hold temporarily, so that we may more fully concentrate on our Eucalyptus Architecture overview.

We decided to approach the overview from the perspective of comparison to the similar AWS (Amazon Web Services). That being decided, I spent a lot of time flip-flopping between Amazon’s documentation of their S3 service, and the Eucalyptus information on Walrus.

Our group (Brian, Nadia, and I) have created a wiki fot this overview at

http://cs.worcester.edu/wiki/index.php?n=Main.ArchitectureOverview

The model of Walrus is similar in many ways to the Amazon S3 service. Both store collections of objects in buckets. Both the Walrus component and S3 are accessed using a pair of ssh keys, one private and one public. Amazon, however, requires a 20 and 40 character string, respectively, while the Eucalyptus keys are much longer.

Once the user is authenticated, interaction can take place via a web interface or command line.

Documentation for Walrus on the Eucalyptus site is sketchy. We are to know that it is a service which must be registered and running running, and be allotted a hard drive partition. Other information on it needs to be extracted from the user forums.

This is one reason that we decided to approach it froam a comparison to the corresponding Amazon Web Services. Also, this glaring lack of documentation validates the reason we chose this project. There is a need, and the opportunity to do some useful work.

From the blog danspc.net Blog » wsucs by danspc.net Blog » wsucs and used with permission of the author. All other rights reserved by the author.

4/06/2012

Currently working on the wsu wiki. I have added a new topic entitled Eutester User Guide.  Rather than edit the current page for Eutester, I think adding a new topic done in the same style as Euca2ools User Guide will be more efficient and will avoid getting in the way of other projects using the same page.  A huge thank you to viglesiasce, from whom most of this material is sourced.

Rather than just link to the various blog posts, I decided that a wiki format best serves our class’ purpose, and obviously allows for quick editing.  Note: please feel free to add any useful comments or clarifications.  The purpose of the wiki in my mind is to allow someone not familiar with any of the programs and languages (but with some programming background), to quickly become efficient in their uses.

 

From the blog sflynn1976 » wsu-cs by sflynn1976 and used with permission of the author. All other rights reserved by the author.

Going Through Code

This week I started the process of documenting EUTester’s code (specifically the eutester/testcases/ folder). This was a learning experience for me since I wasn’t always one hundred percent sure what some of the eucalyptus calls were. Before I started I pulled and merged all of the changes from both vic’s repository and our fork and was happy to see that some comments had been added already to the code which made it a little easier to understand. I plan to continue chugging through the code and documenting as much as I can for the rest of the week.

This was really my first time using git in a useful manner, so I finally got to see how helpful it could actually be. I also decided to write a shell script for pulling and merging all changes for me before I start documenting and before pushing changes back. This makes the process much more streamlined – narrowing down down the process to one command.

From the blog nathandoe » WSU CS by nathandoe and used with permission of the author. All other rights reserved by the author.

CS-401

I have finally learned a little about how to use euca2ools and got an instance of a vm up and running on the community cloud. I have been looking at the Eutester code and trying to figure out how to run some of the tests but the code is written in python which i don’t know so I’ve been reading up on python documentation to try to understand the code enough to follow it. I have been following the class wiki and making edits as i have something to contribute.

From the blog michaelrossetti by michaelrossetti and used with permission of the author. All other rights reserved by the author.

Week 7

During the meeting this week, we had a guest who is very familiar with Eucalyptus and Open Source Software in general, Mel Chua. She discussed various topics about effective contribution towards Eucalyptus. Since, I am working on trucking and reporting the issue/bugs and find out how they can be fixed. The most important topic in my point of view was regarding ways to begin fixing the currents issues/bugs on Eucalyptus Eutester. EuTester is a framework in Python, used as a test tool to test the Eucalyptus private cloud setup. Furthermore, it allows the users to generate automated tests for testing Eucalyptus or Amazon cloud fast.

Nonetheless, during the week I spent most of my time reviewing the Eutester code. However, I could not run the code. The current issues did not seem as that of a big deal if you are able to run the code after testing. Most of the week, I was researching on how to implement changes that will oversee the current issues.

From the blog Dnjoroge by Dnjoroge and used with permission of the author. All other rights reserved by the author.

Working on Documentation

This week was more looking through code and understanding what is going on than anything else. After we learned about the paramiko and boto modules that we needed to run the Python code, a lot of the code made more sense. We all want to have a pretty good grasp on the code before we actually start doing anything. But this coming week I will actually start to document a little and hopefully I’ll have a patch ready by the end of the week. I would like to start at the top and work my way down through the different files if possible. For example, I would like to start documenting the setup.py in the highest directory before moving into the deeper stuff if possible, but it depends on where the rest of the group is at with the code I suppose. We could start dividing it all up my directory and each person could document an entire folder (or at least a few files in each directory if there are more people). This week I will email my group and find out what they think is best. Either way, we should have some of the documentation done by the end of the week.

From the blog trevorhodde by Trevor and used with permission of the author. All other rights reserved by the author.

Eucalyptus and euTester

I haven’t blogged recently, life has gotten a bit in the way. To this point, though, I have been rather busy so let us start from the beginning.

A while back we had a discussion in class about how we were going to license our documentation and wiki content which was a problem that needed an immediate solution. I was able to get in touch with a gentleman in charge of such things over at Eucalyptus and learned we will be using the CC-BY-SA 3.0 (http://creativecommons.org/licenses/by-sa/3.0/) to license all our content. Additionally, I found that the people over at Eucalyptus use XML for all their docs so I encouraged the class to convert all current documentation over to XML.

The next project that I jumped on to is documenting the existing euTester code. I’m working on that project with a few other classmates and it’s unlike any other project I’ve worked on. This will be the first time that I look through someone else’s code and document it. I am looking forward to it though. Aside from that I’ve spent the last few weeks taking care of some health issues that popped up, but I’m happy to report that I’m back on track. Look for more consistent updates starting this week.

From the blog The Mind of Mattamizer » WSU CS by mattamizer and used with permission of the author. All other rights reserved by the author.

Meeting 8 – Adding images onto the cloud!!

Finally our cloud, matrix, is up and running, so now I can begin to add images onto it. The steps for adding images onto the cloud are found on the eucalyptus website, at http://open.eucalyptus.com/wiki/EucalyptusImageManagement_v2.0. I gave it a test but encounter a bug in the eucalyptus 1.3.1 version (this is the latest stable version as stated on the website, but there is a newer version, 1.3.2, on github, and I will test it out later to see if the bug is fixed), where the compiler stated that it couldn’t import one of the module when I tried to use euca-upload-bundle. So I searched for that file, correct the importation, and re-installed the eucalyptus. And that fixed the bug.

Now with that bug fixed, the adding ran smoothly and I got a kernel-image, a VM image, and a ramdisk image up on the cloud. But unfortunately, the instance couldn’t be ran. And I believe this is where eutester comes into play, I will be using it to test out our instance.

Overall, this was a valuable experience for me because I actually figured out and have a bug fixed. It makes me have a lot more confidence in what i’m doing.

From the blog longnguyen16 » wsu-cs by watever10 and used with permission of the author. All other rights reserved by the author.

CS401 – Continuing Progress

Getting pretty close to being able to write the bulk of the documentation for the overview of the eucalyptus cloud now. Comparing the Eucalyptus user/admin/installing guides to Amazon’s EC2 documentation is helping a lot to close some gaps in information.

 

I also started working on some images that will help with the documentation. One of them is just a picture to illustrate the general architecture, which isn’t a big deal because such images do exist already. The other is a template that can be used for illustrating how communications with and inside the cloud happen, which I think will be a nice thing to have.

From the blog blabbecs401 » CS401 by blabbecs401 and used with permission of the author. All other rights reserved by the author.