|Eucalyptus Installation / Configure the Runtime Environment|
The Eucalyptus Imaging Service, introduced in Eucalyptus 4.0, makes it easier to deploy EBS images in your Eucalyptus cloud and automates many of the labor-intensive processes required for uploading data into EBS images.
Eucalyptus provides a command-line tool for installing and registering the Imaging Worker image. Once you have run the tool, the Imaging Worker will be ready to use.
esi-install-image --region localhost --install-default
Eucalyptus automatically starts Imaging Worker instances when there are tasks for workers to perform.
euca-describe-instances --filter tag-value=euca-internal-imaging-workers
esi-manage-stack -a delete imaging
esi-manage-stack -a create imaging
If the Imaging Worker is configured correctly, users will be able to import data into EBS volumes with euca-import-* commands, and paravirtual EMIs will run as instances. In some cases, though, paravirtual images may fail to convert (e.g., due to intermittent network failures or a network setup that doesn't allow the Imaging Worker to communicate with the CLC), leaving the images in a special state. To troubleshoot:
euctl services.imaging.worker.instance_type=m2.2xlarge euca-terminate-instances $(euca-describe-instances --filter tag-value=euca-internal-imaging-workers | grep INSTANCE | cut -f 2)