CSS Corp Open Source Services

Archive for the ‘Lucid UEC debugging’ Category

Eucalyptus Beginner’s Guide – Updated v1.1

with 3 comments

Due to some changes effected in the latest update of UEC packages on Ubuntu 10.04 Lucid Lynx, we have updated the Eucalyptus Beginner’s Guide to reflect those changes. Thus we have Eucalyptus Beginner’s Guide – Version 1.1. We’re also working on the Eucalyptus Beginner’s Guide on Ubuntu 10.10 Maverick Meerkat. Stay tuned to the blog to stay informed. Feedback is welcome.

Click the following link to download the book:


PDF version of Eucalyptus Beginner’s Guide – UEC Edition

leave a comment »

We have just released the PDF version of “Eucalyptus Beginner’s Guide – UEC Edition, V1.0” and you can download it from https://cssoss.files.wordpress.com/2010/06/book_eucalyptus_beginners_guide_uec_edition1.pdf.  Please help us enhance the book by posting your suggestions as comments here.

The latest version of the pdf will also be availble from http://www.csscorp.com/enterprise-it-support/open-source-services.php .

Eucalyptus Beginner’s Guide – UEC Edition

with 16 comments

Table of Contents

  1. Introduction to UEC and its components
  2. Installation & Configuration
  3. Web Interface
  4. Image Management
  5. Instance Management
  6. Storage Management
  7. Network Management
  8. Security
  9. Troubleshooting
  10. Euca Commands
  11. Hacks

This is a live book and will be updated on an ongoing basis based on your feedback and comments.

[Eucalyptus Beginner’s Guide – UEC edition] Chapter 11 – Hacks

with 8 comments

Chapter 10
Euca Commands

Bringing up a windows instance without using kernel and ramdisk images

Edit /usr/share/eucalyptus/gen_kvm_libvirt_xml to  remove the lines that add “-kernel” and “-initrd” options in the libvirt.xml.

Here is the patch for /usr/share/eucalyptus/gen_kvm_libvirt_xml that ships with Ubuntu 10.04 (Lucid Lynx)

DISCLAIMER: This patch works  with the windows instances  on Lucid Lynx. This would work as long as all your disk images are bootable and you don’t need the kernel and ramdisk images. If you need the flexibility of launching instances using different kernel/ramdisk combinations, this hack is not for you! Read the rest of this entry »

[Eucalyptus Beginner’s Guide – UEC edition] Chapter 9 – Troubleshooting

leave a comment »

Chapter 8
Chapter 10
Euca Commands

Eucalyptus Log files

The following log files help in debugging issues encountered while working with Eucalyptus:

Eucalyptus Component Log file(s)
CC cc.log, httpd-cc_error_log, cc-registration.log
NC nc.log, httpd-nc_error_log, euca_test_nc.log
CLC cloud-debug.log, cloud-error.log, cloud-output.log, axis2c.log
SC sc-stats.log, sc-registration.log
WS3 walrus-stats.log, walrus-registration.log

The logging level is controlled by the LOGLEVEL macro in eucalyptus.conf of the respective component. The log levels are DEBUG, INFO, WARN, ERROR, and FATAL (in descending order of verbosity). The default level is DEBUG (everything).

‘tail -f ‘ on the log files is a good way to understand what is happening with the components of Eucalyptus.

Read the rest of this entry »

UEC: Windows instance on Lucid Lynx [HACK]

with 3 comments

Bundling Windows instances on UEC setup on Lucid Lynx (Ubuntu 10.04) was not as straight forward as it was with Karmic Koala (Ubuntu 9.10).  The steps for bundling, uploading and registering were the same as I mentioned here. The instance comes up nicely from pending to running state, acquires the public and private ip addresses.

Lo!!! there ends the similarity….

I wasn’t able to access the instance. No network connectivity….. neither PING nor RDP works. And this was frustrating!!!

As mentioned in my earlier post about UEC/Eucalyptus – Debugging instances, I tweaked the /usr/share/gen_kvm_libvirt_xml file on the Node Controller and added the VNC display option.

The outcome of this was surprising!!!!

When I connect to VNC, the following error stares at me….

Invalid BOOT.INI file
Booting from C:\WINDOWS
Windows could not start because of a computer disk hardware configuration problem.
Could not read from the selected boot disk. Check boot path and disk hardware.
Please check the windows documentation about hardware disk configuration

Read the rest of this entry »

UEC/Eucalyptus – Debugging instances

with one comment

I have had an issue with my MS-Windows 2003 server instance raised on one of the Node Controllers (NC) on my UEC setup on Lucid Lynx( Ubuntu 10.04 ). The instance came up moving from pending state to running state as expected and my hybrid fox showed public and private IPs. However, I was not able to ping or RDP into the instance. The Windows image was custom bundled and tried and tested on my Karmic UEC setup, so I was quite puzzled as to why I was unable to connect to the instance. I wished I had the luxury of connecting to the instance for troubleshooting using VNC, like I normally do when I start a VM on KVM or Xen. A little bit of probing of the Eucalyptus files on NC proved useful. Here is the hack that helped me attach a VNC display to the instance and ultimately I could identify and fix the actual problem.

It is not safe to leave this option enabled on a production setup.

Read the rest of this entry »