image store broken on Lucid
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Eucalyptus |
Fix Released
|
Undecided
|
Unassigned | ||
euca2ools (Ubuntu) |
Fix Released
|
High
|
Dustin Kirkland | ||
Lucid |
Fix Released
|
High
|
Dustin Kirkland | ||
image-store-proxy (Ubuntu) |
Invalid
|
High
|
Jamu Kakar | ||
Lucid |
Invalid
|
High
|
Jamu Kakar |
Bug Description
The basic operation of installing an image from the image-store-proxy in Lucid is broken.
Once the image downloads, an error is report (see screenshot).
The error message is:
Command 'euca-bundle-image' returned status code 1:
'NoneType' object has no attribute 'endswith'
Bundles an image for use with Eucalyptus or Amazon EC2.
euca-bundle-image -i, --image image_path -u, --user user [-c, --cert cert_path]
[-k, --privatekey private_key_path] [-p, --prefix prefix] [--kernel kernel_id]
[--ramdisk ramdisk_id] [-B, --block-
[-d, --destination destination_path] [--ec2cert ec2cert_path]
[-r, --arch target_
REQUIRED PARAMETERS
-i, --image Path to the image file to bundle.
-u, --user User ID (12-digit) of the user who is bundling the image.
OPTIONAL PARAMETERS
-c, --cert Path to the user's PEM encoded certificate.
-k, --privatekey Path to the user's PEM encoded private key.
-p, --prefix The prefix for the bundle image files. (default: image name).
--kernel The kernel to be associated with the bundled image.
--ramdisk The ramdisk to be associated with the bundled image.
-B, --block-
-d, --destination Directory to store the bundled image in (default: "/tmp"). Recommended.
--ec2cert_path The path to the Cloud's X509 public key certificate.
-r, --arch Target architecture for the image ('x86_64' or 'i386' default: 'x86_64').
--batch Run in batch mode (compatibility only. has no effect).
-a, --access-key User's Access Key ID.
-s, --secret-key User's Secret Key.
-U, --url URL of the Cloud to connect to.
--config Read credentials and cloud settings from the
specified config file (defaults to $HOME/.eucarc or /etc/euca2ools/
-h, --help Display this help message.
--version Display the version of this tool.
--debug Turn on debugging.
Euca2ools will use the environment variables EC2_URL, EC2_ACCESS_KEY, EC2_SECRET_KEY, EC2_CERT, EC2_PRIVATE_KEY, S3_URL, EUCALYPTUS_CERT by default.
Mathias says that the $HOME environment variable is not set in the python twisted environment were euca-bundle-image runs.
Changed in euca2ools (Ubuntu Lucid): | |
importance: | Undecided → High |
Changed in euca2ools (Ubuntu Lucid): | |
assignee: | nobody → Dustin Kirkland (kirkland) |
status: | New → In Progress |
Changed in eucalyptus: | |
status: | Fix Committed → Fix Released |
Screen shot attached.