[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#865965: InvalidBlockDeviceMapping error while creating a new ami based on stretch one



Hello Dud,

Thanks for sending out this message. I got bitten by the same issue when
transitioning from Jessie AWS AMI to Stretch AWS AMI. And this bug
report helped me a lot to understand the issue. 

Not sure if there is some sort of changelog on the Official Debian AWS
image builds?

Thanks,
Paul(r) B.

On Fri, 16 Mar 2018 14:41:49 +0000 =?iso-8859-1?Q?Herv=E9_Werner?= <dud225@hotmail.com> wrote:
> Hello Noah
> 
> 
> the problem does not come from Packer, actually AWS allows one to create images where the root device is either xvda or /dev/xvda. This does not pose any problem for booting as you did, but it does triggers this error message from AWS's API even if there is no actual conflicts. The message is misleading.
> 
> I got the exact issue when creating spot fleet requests wich awscli. Replacing /dev/xvda with xvda in the spot fleet configuration fixed the issue.
> 
> 
> More reading about that issue : https://github.com/capitalone/cloud-custodian/issues/1524#issuecomment-326539507
> 
> 
> So the final word is that Debian should be careful when creating images because the device naming does matter. It can be either xvda or /dev/xvda, but changing it also requires users to update their configuration to prevent AWS's API from being confused.
> 
> 
> Regards,
> 
> dud


Reply to: