2011年11月13日日曜日

AWSのVMが起動しなくなったので対処方法を調べた

備忘録。
11/11頃から、AWSのmicroインスタンスのVMがdownするようになった。起動もしない。backup取っていたimageから起動しようとしてもダメ。という状況。

VM起動時のsyslogをみると下記logがでていた。


ERROR: mmu_update failed with rc=**


調べてみるとAWS forumに下記投稿あり。
https://forums.aws.amazon.com/thread.jspa?threadID=77744
https://forums.aws.amazon.com/thread.jspa?threadID=77078

32bit t1.microのAmazon Linux instanceを使用している場合に発生する問題のようだ。
対処は、instance起動時に各regionに応じて、下記のAKIを指定すること。(TOKYOの場合は「aki-ec5df7ed」)


eu-west-1
aki-64695810    ec2-public-images-eu/pv-grub-hd0_1.02-i386.gz.manifest.xml
us-east-1
aki-805ea7e9    ec2-public-images/pv-grub-hd0_1.02-i386.gz.manifest.xml
ap-northeast-1
aki-ec5df7ed    ec2-public-images-ap-northeast-1/pv-grub-hd0_1.02-i386.gz.manifest.xml
us-west-1
aki-83396bc6    ec2-public-images-us-west-1/pv-grub-hd0_1.02-i386.gz.manifest.xml
ap-southeast-1
aki-a4225af6    ec2-public-images-ap-southeast-1/pv-grub-hd0_1.02-i386.gz.manifest.xml


この通りにすると正常に起動できました。
調査中、twitterで同様の事象をつぶやいている@m__さんに上記情報を教えていただきました。感謝。










このエントリーをはてなブックマークに追加