[Bug 516738] [NEW] image store broken on Lucid

Dustin Kirkland dustin.kirkland at gmail.com
Wed Feb 3 20:44:50 GMT 2010

Public bug reported:

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-device-mapping mapping] 
[-d, --destination destination_path] [--ec2cert ec2cert_path] 
[-r, --arch target_architecture] [--batch] [-h, --help] [--version] [--debug] 


-i, --image                     Path to the image file to bundle.

-u, --user                      User ID (12-digit) of the user who is
bundling the image.


-c, --cert                      Path to the user's PEM encoded

-k, --privatekey                Path to the user's PEM encoded private

-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-device-mapping      Default block device mapping for the
image (comma-separated list of key=value pairs).

-d, --destination               Directory to store the bundled image in
(default: "/tmp"). Recommended.

--ec2cert_path                  The path to the Cloud's X509 public key

-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/eucarc).

-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.

** Affects: image-store-proxy (Ubuntu)
     Importance: High
     Assignee: Jamu Kakar (jkakar)
         Status: Triaged

** Affects: image-store-proxy (Ubuntu Lucid)
     Importance: High
     Assignee: Jamu Kakar (jkakar)
         Status: Triaged

** Changed in: image-store-proxy (Ubuntu)
       Status: New => Triaged

** Changed in: image-store-proxy (Ubuntu)
   Importance: Undecided => High

** Changed in: image-store-proxy (Ubuntu)
     Assignee: (unassigned) => Jamu Kakar (jkakar)

image store broken on Lucid
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to image-store-proxy in ubuntu.

More information about the Ubuntu-server-bugs mailing list