vmware / vmware/photon

Photon AMI on download page cannot be imported into AWS

Open
#1,351 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C
Stars
3.2k
Forks
692
PR merge metrics
No merged PRs in 30d

Description

Describe the bug

The Photon OS 4.0 Rev2 AMI provided here cannot be imported successfully into AWS. The attempt to import the AMI results in this error:

ClientError: Multiple different grub/menu.lst files found.

Additionally, exporting a vanilla Photon OS 4.0 Rev2 installation, altering GRUB to bypass the error above, and importing into AWS results in this error:

ClientError: Unsupported kernel version 5.10.83-4.ph4-aws

Reproduction steps
1. Download AMI from https://packages.vmware.com/photon/4.0/Rev2/ami/photon-ami-4.0-c001795b8.tar.gz
2. Upload/import into AWS as documented at https://vmware.github.io/photon/docs/installation-guide/run-photon-aws-ec2/set-up-photon-on-ec2/
Expected behavior

Error should not occur, instance should properly import and startup.

Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Photon OS 4.0 Rev2 AMI at packages.vmware.com and follow the AWS EC2 setup documentation linked in the report. Reproduce both import errors, including the duplicate grub/menu.lst and unsupported kernel version messages. Done means the provided AMI imports into AWS and the instance starts successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, linux
Domain
cloud, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.