Instance Store-Backed Paravirtual Image Registration Change in Eucalyptus 4.0

Follow

Eucalyptus Versions: 4.0.0

Instance Store-Backed Paravirtual Image Registration Change in Eucalyptus 4.0

In Eucalyptus 4.0.0, image registration for instance store-backed paravirtual machine images changed from previous versions of Eucalyptus (3.4.2 and earlier). 

Previous Behavior - Eucalyptus 3.3.0 to 3.4.2

In earlier versions of Eucalyptus, a default kernel and ramdisk could be set for the entire cloud [1].  Additionally, a cloud user/cloud administrator could bundle, upload and register a Eucalyptus Machine Image (EMI) without specifying an Eucalyptus Kernel Image (EKI) and Eucalyptus Ramdisk Image (ERI) in the euca-bundle-image or euca-register commands. 

Eucalyptus 4.0

Kernel and ramdisk management is the same as in the previous versions of Eucalyptus (3.3.0 to 3.4.2) with regards to registration of EKI and ERI only being allowed for Cloud Administrators (i.e. users under the 'eucalyptus' account).  However,  the following cloud properties no longer exist:

  • cloud.images.defaultkernelid
  • cloud.images.defaultramdiskid

This means that for each instance store-backed paravirtual Eucalyptus Machine Image (EMI), the cloud user/cloud administrator must define them at either the bundling or registration process.  

If the cloud user/cloud administrator prefers passing an EKI and ERI during the step of bundling an instance store-backed paravirtual EMI, use the --kernel and --ramdisk options with either of the following euca2ools commands:

If the cloud user/cloud administrator doesn't pass the EKI and ERI at the bundling phase of the instance store-backed paravirtual EMI, the --kernel and --ramdisk options can be passed at the registration phase using the following euca2ools command:

If the options --kernel and --ramdisk options aren't performed when bundling or registering an instance store-backed paravirtual Eucalyptus Machine Image (EMI), the following error will be seen:

# euca-register -n saucy-server-hvm-image saucy-server-hvm-image/saucy-server-cloudimg-amd64-disk1_image.raw.manifest.xml 
euca-register: error (MissingParameter): Kernel ID must be specified

References

[1]  KB article - Kernel and Ramdisk Management in Eucalyptus

Have more questions? Submit a request

Comments

Powered by Zendesk