Creating a bootable disk to flash BIOS

One of the issues that we had while setting up our cloud was incompatible BIOS revision on the machines we were using. They were out of date and did not allow the use of virtualization, so we had to update the BIOS a certain way with the DELL Executable that was the only way to update the BIOS was using an EXE.

 

The first step to creating the bootable disk was downloading FreeDOS so that we can boot up into FreeDOS and run the executable.

In order to do this you do: wget http://www.fdos.org/bootdisks/autogen/FDOEM.144.gz

Then, gunzip FDOEM.144.gz to unzip the file.

 

The second step is to copy the BIOS flash utility and the BIOS image that needs to be used to upgrade, and mount it to a floppy disk image. Here is what you do in order to complete this step:

modprobe vfat

modprobe loop

mkdir /tmp/floppy

mount -t vfat -o loop FDOEM.144 /tmp/floppy

After mounting the Floppy you want to copy the EXE. that you downloaded for the BIOS:

cp DELLBIOSVERSION.exe /tmp/floppy (not actual name of the bios)

then unmount the floppy: umount /tmp/floppy

 

Step 3 is to burn the bootable CD which emulates a floppy device.

mkisofs -o bootcd.iso -b FDOEM.144 FDOEM.144
cdrecord -v bootcd.iso

After you have created this bootable disk, all you have to do is boot the CD in the machine and basically type in the EXE. and it will autoflash to the new bios.

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

Feedback to the Euca2ools User Guide

In an earlier post, I said that I felt we had succeeded in making a clear and understandable user guide for Euca2ools. While I still feel that this is the case, we got some useful criticism of the guide from the last group to present on Wednesday. This group was tasked with trying to use Euca2ools and Eutester by only following the guides on our wiki, and then to report their findings and suggestions. They told us that while the guide overall was well-made, there were two areas that were difficult to follow.

The first issue was finding the user credentials when setting up Euca2ools. I admit to having trouble with this as well at first, but it did not even cross my mind to put instructions into the guide on how to find your credentials. Oh well, that is why having other people critique your work is good! I edited the wiki to fix this problem.

The second issue was about getting a working SSH connection. This is the biggest weakness of the guide. Getting SSH to work consistently never happened for us. We have several theories on why it failed so often. We suspect  as dynamic IPs could be the culprit. I do not have any solutions currently better than what is already posted in the guide, so it will stay as it is for now. Perhaps a future class will be able to fix up that part of the guide for us.

From the blog Code Your Enthusiasm » WSU CS by Jon and used with permission of the author. All other rights reserved by the author.

Eucalyptus Presentations

On Wednesday, all of the groups presented on what they had accomplished during the semester. I did not realize how much work we actually got done as an entire class until I saw the presentations. There were 7 presentations in all:

  1. Eutester Issues
  2. Cloud Overview
  3. Eutester Documentation
  4. Infrastructure
  5. Leveraging Python for Eutester
  6. Using Euca200ls (my group)
  7. Installing Euca2ools and Eutester

The first group gave an overview of the open and closed issues on Github. The second group gave a very detailed overview of the ideas behind cloud computing and defined many general and Eucalyptus-specific terms. The third group described the process of attempting to document the Eutester code. Dave and Mike, the infrastructure group, had an entertaining discussion about how much frustration went into setting up a working Eucalyptus cloud. The fifth group went into depth about using Python with Eutester. My group described the main functions of Euca2ools and the process of creating a user-friendly guide on our wiki. We actually succeeded in demonstrating a working SSH connection to an instance created from an image that I uploaded to our Eucalyptus cloud, which I consider to be a big accomplishment! The final group critiqued the experience of attempting to get several modules up and running, specifically Euca2ools and Eutester, just by following the wiki guides that we had all created.

It was very interesting to see the other groups present, especially the groups involved with Eutester. Spending most of my time with Euca2ools, I did not look into Eutester very much at all. Seeing all of my classmates describe their experiences with it was great to see.

From the blog Code Your Enthusiasm » WSU CS by Jon and used with permission of the author. All other rights reserved by the author.

Final weeks

Final weeks,

During the final weeks, I worked on trying to resolve the open issues on Eutester. However, I did not really finish; still look forward even after the semester is over to contribute to eucalyptus. The currently  open issues are as follows:

  • issue #2: Goals, purpose, and guidelines for contribution
  • issue #10: Create a standard set of debug tools available when tests failissue #12: Define licensing
  • issue #22: Need to investigate a tool that represents test results visually             
  • issue #24: Restructure Eucaops into multiple modules
  • issue #25: Need way for machine access when keys have been previously synced
  • issue #28: Feature Request: Allow for NC to be an optional value in config_file
  • issue #29: About this issue I suggest for everybody to ignore it because it is mistake
  • issue #32: Added Changes Requested from Code Review Session in eutester meeting
  • issue #33: run_instance should still provide a euinstance regardless of reachability
  • issue #34: Move logging functionality from eutester.py to the machine class

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

Final Thoughts about CS401/Eucalyptus

I had a lot of fun working in this class it was definitely a difference experience than almost all my CS courses before hand.   I liked working on a big project my only request for the future is to see more code but, something that was really unavoidable for a beta-test style class that we had.  I know it wasn’t anyone’s fault just too many problems with the cluster to really get into it.  Just because we didn’t get coding done doesn’t mean I didn’t learn quite a bit about how exactly working on a big project was like.  Learning to use git, irc, and being on a list server were pretty new experiences for me, aside from gaming I had never used irc, git seems to be invaluable to know since every employer I’ve talked to seemed excited that I already know it.

 

Main thing I’ll take away from the course is exactly what cloud computing is, all the nomenclature we’ve learned, how to work on large scale projects, how to communicate with a large group of people from different time zones and different backgrounds in programming/computer science.

 

Final presentations today were great, seemed like every group found a lot of different topics to talk about and cover and they all seemed to master their specific topic.

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

Final Wiki Adjustments

I never got around to putting up this blog post last week but I figure it’s worth posting.

 

After siting down with Chris while he worked his way through our wiki was great, really gave me a chance to see how a wiki flows through another set of eyes.  Luckily we’ve all been doing a great job of working with the wiki adding the needed information and adding it coherently.  Only issues really were fixing formatting adding things like, “don’t forget to use sudo” to the top of commands rather than after.  Only “big” changes I made to the wiki was adding a bit on git and how to install python user a package manager.

 

I enjoyed working with Chris getting his input, I think it was smart to do it on my own first, since I knew a bit on how to get everything running from doing it a few times, then having him go through.  Since I never posted this Karl mentioned that there is a whole field of engineering in something like that, actually testing your code/wiki/idea on an audience and jotting down notes.

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

Closed Issues on Eutester Bug Tracker

Last time I worked on updated the class wiki with the updated open issues and this time I am working on updated the wiki with the current closed issues. In order to get this information I used the github site to find the information that I needed to update the our site. As with the open issues, the closed issues change daily because some of the open issues get resolved and become part of the closed issues. It is important to keep track of both the open issues and the closed issues to get a good idea of how the project progressed and which changes have been made since the issues have been addressed. On this github site it allows people to view the open and closed issues and also allows the user to comment and add issues in case they come across any to help notify other people.

I took the information that I found on the closed issues and compared them to the ones we had on the wiki for the class. I then saw the ones that the wiki was lacking and updated them with the ones that were found on the github site so that the class can be up to date with current information. It is important to always check the site because things change daily and you dont want people working on problems that have already been resolved. Also if the users look on the closed issues they can see if the issue was already addressed and resolved they can find their answer  there. Some closed issues include: Eutester allowing multiple ssh connections, create standardized eutester log/output format, testing capabilities for Jenkins + EC2 plugin. If anyone is trying to get updated information about the current closed issues they can go to the following website: https://github.com/eucalyptus/eutester/issues?page=1&state=closed

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

Open Issues on Eutester Bug Tracker

During this time I worked on checking the github website to take a look and see what issues were open. Day to day the issues change, there are sometimes new ones, and sometimes they are resolved and turn into closed issues. Currently there are 12 open issues that have submitted to the Eutester bug tracker website. Some of the open issues are not really issues but rather suggestions or modifications to some of the things to make them look better but are not real issues. Our group has the responsibility to take a look on the github site and update our wiki page with any new or removed issues on the site.

I went through the website and compared it to our wiki and updated our wiki to make sure that we have an updated site with accurate information. Some issues include: define licensing, create a test directory wiki, creating a standard set of debug tools that represents test results visually, etc. A list of all the current open issues can be found by following this website https://github.com/eucalyptus/eutester/issues?page=1&state=open

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

Week 14: Last week of the class

This is the last blog for the class CS 401.  This semester has being a good one because of what I have done and of what I have learned.  I have learned a lot from research about FOSS Field Trip 1 and FOSS Field Trip 2. I was not familiar with Open Source projects but [&hellip

From the blog E. Lekdushi CS401 by elekdushi and used with permission of the author. All other rights reserved by the author.

Evaluation of the Euca2ools User Guide

Most of my work this semester has been experimenting with Euca2ools and modifying our User Guide to reflect my findings. My primary goal in collaborating on this User Guide was to make it easy to follow, especially for a Linux novice such as myself. Ultimately, I think we achieved our goal. My group partners are definitely the experts and filled the guide with very useful information on how to perform the various tasks. I took their knowledge and formatted it, expanded on it, and tried to explain as best I could what each command was doing. A lot of trial and error went into this, as a lot of the time I wasn’t exactly sure what I was doing. A positive side-effect: fumbling through Euca2ools and revising this guide over the semester did help me a lot with my knowledge of Linux.

I wanted someone who was completely new to Euca2ools to be able to successfully do something productive by only following our guide. I think we came pretty close. Now that the semester is at an end, the guide is as finished as it will be until perhaps a future CS class takes over on the same project. It definitely is not 100% done. Eucalyptus is a huge project and Euca2ools is a major part of it. There is always more that we could do in writing the user guide, but I am happy with the progress we made.

From the blog Code Your Enthusiasm » WSU CS by Jon and used with permission of the author. All other rights reserved by the author.