New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The --boot-mode is lacking "uefi-preferred" option #8651
Comments
Hi @ypismerov-tmx thanks for reaching out. What specific CLI commands are you trying to use From the EC2 service API models (used by both the AWS CLI and Boto3) it looks like (Here is a link to the commit. And it looks like this is the related line in the CLI CHANGELOG.) You mentioned using 2.15.38 which is a recent version, so I would expect the |
import-image
Just noticed the option not supported for that command. I guess my request
is invalid. We can close it.
The uefi-preferred boot mode isn't supported for importing images.
(Source:
https://docs.aws.amazon.com/cli/latest/reference/ec2/import-image.html)
*Yuri Pismerov | * Team Lead - Automation
Global Enterprise Services
Toronto Stock Exchange
TMX Group
Cell: +16472836481
*Email: ***@***.*** | www.tmx.com
…On Mon, Apr 29, 2024 at 6:17 PM Tim Finnigan ***@***.***> wrote:
Hi @ypismerov-tmx <https://github.com/ypismerov-tmx> thanks for reaching
out. What specific CLI commands are you trying to use --boot-mode? Here
are all of the ec2 commands for reference:
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/index.html
.
From the EC2 service API models
<https://github.com/boto/botocore/blob/develop/botocore/data/ec2/2016-11-15/service-2.json>
(used by both the AWS CLI and Boto3) it looks like uefi-preferred was
added 14 months ago to BootModeValues:
image.png (view on web)
<https://github.com/aws/aws-cli/assets/87778557/218f89f8-6263-41a6-9a0f-dc5122bd7416>
(Here
<boto/botocore@0c23447>
is a link to the commit. And it looks like this is the related line
<https://github.com/aws/aws-cli/blob/752f52470e6002ab80be30e3df83d5243607b824/CHANGELOG.rst?plain=1#L2360>
in the CLI CHANGELOG.)
You mentioned using 2.15.38 which is a recent version, so I would expect
the --boot-mode support for uefi-preferred to be up to date. If you want
to share your debug logs (with sensitive info redacted) by adding --debug
to the command, that could help give more insight into the issue. Depending
on the information we receive, we may need to reach out to the EC2 team to
verify that their API models are up to date in regard to this parameter.
—
Reply to this email directly, view it on GitHub
<#8651 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARKAZ2ZUUQYZRYZRFRS4KFLY73BF5AVCNFSM6AAAAABG3SMUQCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBTG44DAOJWGQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
NOTICE OF CONFIDENTIALITYThis e-mail, including all materials contained in
or attached to this e-mail, contains proprietary and confidential
information solely for the internal use of the intended recipient. If you
have received this email in error, please notify us immediately by return
e-mail or otherwise and ensure that it is permanently deleted from your
systems, and do not print, copy, distribute or read its contents.
AVIS DE
CONFIDENTIALITÉLe présent courriel, y compris tous les documents qu'il
contient ou qui y sont joints, renferme des renseignements exclusifs et
confidentiels destinés uniquement à l'usage interne du destinataire prévu.
Si vous avez reçu le présent courriel par erreur, veuillez nous aviser
immédiatement, notamment par retour de courriel, et vous assurer qu'il est
supprimé de façon permanente de vos systèmes; veuillez également vous
abstenir d'imprimer, de copier, de distribuer ou de lire son contenu.
|
Thanks for following up - yes from the import-image command documentation it looks like (That option is still listed under "Possible values" because it is modeled to be used across other APIs/commands. But the note was added there for clarification.) Here is the boot modes page in the VM Import/Export User Guide for more information. |
This issue is now closed. Comments on closed issues are hard for our team to see. |
Describe the feature
There are cases uefi-preferred has to be set up for AMI to be able to work with AWS metal instances (dedicated hosts).
It is currently missing. Only uefi and legacy-bios modes are supported by --boot-mode.
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html lists of currently supported boot modes.
Use Case
2, To support creation of AMI images (via image-import) that can work with AWS metal systems (dedicated hosts).
Proposed Solution
No response
Other Information
No response
Acknowledgements
CLI version used
aws-cli/2.15.38 Python/3.11.8 Linux/5.14.0-362.24.1.el9_3.x86_64 exe/x86_64.rhel.9 prompt/off
Environment details (OS name and version, etc.)
Red Hat Enterprise Linux release 9.3 (Plow)
The text was updated successfully, but these errors were encountered: