Error : "KeyError: u'/dev/sda1'" on CentOS

161 views
Skip to first unread message

Nicolas G

unread,
Jan 3, 2014, 10:56:03 AM1/3/14
to amin...@googlegroups.com
Hello,

I have setup Aminator on a CentOS image and trying to use it on one of our private AMIs running the bellow command but I get some sort of mount problems if my understanding about the error is correct :

aminate -e ec2_yum_linux -B ami-0a5bb47d --debug

See the debug output in gist -> https://gist.github.com/nicolas-g/8240095 

Some more info about the Aminator server system :

mount
/dev/xvde on / type ext4 (rw)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
/dev/xvdf on /mnt type ext4 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)

ll /dev/x*
brw-rw---- 1 root disk 202, 64 Jan  3 14:36 /dev/xvde
brw-rw---- 1 root disk 202, 80 Jan  3 14:36 /dev/xvdf

cat /etc/issue
CentOS release 6.4 (Final)
Kernel \r on an \m

uname -a
Linux ip-10-228-23-62 2.6.32-358.el6.x86_64 #1 SMP Fri Feb 22 00:31:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

python --version
Python 2.6.6


Any ideas ?

Kind regards,
Nicolas.

Michael Tripoli

unread,
Jan 3, 2014, 5:57:32 PM1/3/14
to Nicolas G, amin...@googlegroups.com
Nicolas,

The AMI doesn't include a block device mapping for the device identified by the AMI's root device name (/dev/sda1). I'm guessing that the image has a partition table but Aminator only supports partition-less images. 

See: https://github.com/Netflix/aminator/issues/59 for more background on this issue.

Michael Tripoli



--
You received this message because you are subscribed to the Google Groups "Aminator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aminator+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages