arch parameter is not passed by the image proxy during image install from store

Bug #494084 reported by John Pugh
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
image-store-proxy (Ubuntu)
Expired
Medium
Unassigned
Karmic
Expired
Undecided
Unassigned
Lucid
Expired
Undecided
Unassigned

Bug Description

When installing an image from the "Store" through the UEC console, the arch parameter is not passed and all images show up as x86_64. From a discussion with niemeyer, the proxy is not passing --arch during the bundle process.

John Pugh (jpugh)
Changed in eucalyptus (Ubuntu):
status: New → Confirmed
Revision history for this message
Scott Moser (smoser) wrote :

Well, I'd see 2 problems with this
a.) the problem John brought up (describe-images shows confusing output)
b.) on a i686 cloud (ie, with *real i686 hardware*, or nodes running i386 ubuntu as their OS) they *may* refuse to run the image.

I can't verify 'b', but it would make sense to me to say "I can't run that" if the node was i386 and the image was marked as x86_64.

This is probably SRU worthy if 'b' is a problem, but I think 'a' is just an annoyance.

Revision history for this message
Thierry Carrez (ttx) wrote :

UEC i386 apparently doesn't seem to mind trying to boot an image marked x86_64.

Changed in eucalyptus (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Moving this over to the image-store-proxy package. Nothing to be done in Eucalyptus, at this point.

affects: eucalyptus (Ubuntu) → image-store-proxy (Ubuntu)
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

> I see in the web UI that the disk size for this type of VM ("small") is
> > 5Gb. Is that it?
> >
> > IIRC, I at one point had it set to a lower value, but then the VMs
> > wouldn't start, so I changed it to 5Gb a while ago.
> then you should have swap, so what did you mean by they don't have swap?

I mean the instance only has the RAM I gave it (256Mb) and no swap enabled, i.e., the output of "free" shows zero for swap.

It may be that there is just a missing swapon. Let me check by creating another instance quickly...

root@192:~# fdisk -l

Disk /dev/sda: 5415 MB, 5415895040 bytes
4 heads, 32 sectors/track, 82640 cylinders
Units = cylinders of 128 * 512 = 65536 bytes
Disk identifier: 0x000b20b6

   Device Boot Start End Blocks Id System
/dev/sda1 1 32769 2097152+ 83 Linux
/dev/sda2 32769 71894 2504000+ 83 Linux
/dev/sda3 71894 82640 687775+ 82 Linux swap / Solaris

root@192:~# free
             total used free shared buffers cached
Mem: 247984 185772 62212 0 4316 91716
-/+ buffers/cache: 89740 158244
Swap: 0 0 0

root@192:~# cat /etc/fstab
# /etc/fstab: static file system information.
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/sda1 / ext3 defaults 0 0
/dev/sda2 /mnt ext2 defaults 0 0
root@192:~#
root@192:~# swapon /dev/sda3
root@192:~# free
             total used free shared buffers cached
Mem: 247984 186072 61912 0 4364 91744
-/+ buffers/cache: 89964 158020
Swap: 687764 0 687764
root@192:~#

Yep, looks like it's a missing swapon and/or entry in /etc/fstab.

Scott Moser (smoser)
Changed in image-store-proxy (Ubuntu):
status: Confirmed → Triaged
John Pugh (jpugh)
Changed in image-store-proxy (Ubuntu):
status: Triaged → Incomplete
Changed in image-store-proxy (Ubuntu Karmic):
status: New → Incomplete
Changed in image-store-proxy (Ubuntu Lucid):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for image-store-proxy (Ubuntu) because there has been no activity for 60 days.]

Changed in image-store-proxy (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for image-store-proxy (Ubuntu Lucid) because there has been no activity for 60 days.]

Changed in image-store-proxy (Ubuntu Lucid):
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for image-store-proxy (Ubuntu Karmic) because there has been no activity for 60 days.]

Changed in image-store-proxy (Ubuntu Karmic):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.