Skip to content
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

Fixes related to kola/qemu on aarch64 #1448

Merged
merged 3 commits into from
May 15, 2020

Conversation

jcajka
Copy link
Collaborator

@jcajka jcajka commented May 12, 2020

Adds UEFI support in to kola/qemu for aarch64. Change a bit kola options around uefi and swtpm(default to off). I hope I have not missed any places. Tested on x86_64, aarch64 and ppc64le.

mantle/platform/qemu.go Outdated Show resolved Hide resolved
mantle/platform/qemu.go Outdated Show resolved Hide resolved
@cgwalters
Copy link
Member

Thanks for working on this!
/approve

@Prashanth684
Copy link
Contributor

Prashanth684 commented May 12, 2020

@jcajka I was executing testiso on rhcos for the legacy install scenario with this PR and i see:
Error: scenario legacy-install: running PXE: legacy installer: Unsupported arch %!s(MISSING)aarch64

Looks like you need to add the case statement to support aarch64 here: https://github.com/coreos/coreos-assembler/blob/master/mantle/platform/metal.go#L291

@jcajka
Copy link
Collaborator Author

jcajka commented May 12, 2020

@jcajka I was executing testiso on rhcos for the legacy install scenario with this PR and i see:
Error: scenario legacy-install: running PXE: legacy installer: Unsupported arch %!s(MISSING)aarch64

Looks like you need to add the case statement to support aarch64 here: https://github.com/coreos/coreos-assembler/blob/master/mantle/platform/metal.go#L291

That is possible. I have not tried PXE metal on aarch64. Not that far yet. BTW do you know what is expected there for AArch64?(PXE wise)

@Prashanth684
Copy link
Contributor

@jcajka I was executing testiso on rhcos for the legacy install scenario with this PR and i see:
Error: scenario legacy-install: running PXE: legacy installer: Unsupported arch %!s(MISSING)aarch64
Looks like you need to add the case statement to support aarch64 here: https://github.com/coreos/coreos-assembler/blob/master/mantle/platform/metal.go#L291

That is possible. I have not tried PXE metal on aarch64. Not that far yet. BTW do you know what is expected there for AArch64?(PXE wise)

Ah..i see my bad... i thought this PR was addressing everything for aarch64. For PXE i think we need to find the UEFI boot image to point to and the network device. I don't want to hijack this PR with that discussion. That can be separate.

@jcajka
Copy link
Collaborator Author

jcajka commented May 12, 2020

@jcajka I was executing testiso on rhcos for the legacy install scenario with this PR and i see:
Error: scenario legacy-install: running PXE: legacy installer: Unsupported arch %!s(MISSING)aarch64
Looks like you need to add the case statement to support aarch64 here: https://github.com/coreos/coreos-assembler/blob/master/mantle/platform/metal.go#L291

That is possible. I have not tried PXE metal on aarch64. Not that far yet. BTW do you know what is expected there for AArch64?(PXE wise)

Ah..i see my bad... i thought this PR was addressing everything for aarch64. For PXE i think we need to find the UEFI boot image to point to and the network device. I don't want to hijack this PR with that discussion. That can be separate.

np :). AFAIK PXE has its own quirks on each arch so I'm not sure what is the expected minimum on aarch64 yet(haven't booted any aarch64 via PXE, yet). Will look in to that, I hope soon.

@jcajka jcajka force-pushed the kola-aarch64 branch 2 times, most recently from 3f514e3 to dc96aaf Compare May 14, 2020 17:40
Copy link
Member

@cgwalters cgwalters left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One minor thing, otherwise this new version LGTM! Thanks for reworking it, I think it will be clearer to do any arch conditional cleanup separately.

mantle/platform/qemu.go Outdated Show resolved Hide resolved
@cgwalters
Copy link
Member

/lgtm

@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cgwalters, jcajka

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@sohankunkerkar
Copy link
Member

/refresh

@jcajka
Copy link
Collaborator Author

jcajka commented May 15, 2020

@sohankunkerkar it seems to me that the test results didn't got reported here, they seem all green to me.

@jlebon
Copy link
Member

jlebon commented May 15, 2020

/test sanity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants