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

Add support for IBMCloud/PowerVS images #35

Merged
merged 1 commit into from
Nov 2, 2021

Conversation

Prashanth684
Copy link
Contributor

Today we generate metadata for PowerVS in RHCOS, and we would need this to be updated in the installer in the near future, hence this change. IBMCloud and PowerVS have the same format although as of today there are no IBMCloud objects being generated. The naming here is to use "object" instead of image since these are not traditional bootimages like in other clouds.

FCOS is still waiting on ppc64le hardware to have P images generated so could not add any tests related to this.

@bgilbert
Copy link
Contributor

I haven't followed the PowerVS work closely. Does PowerVS not support sharing traditional VM images?

Note that stream-metadata-rust will also need an update.

@Prashanth684
Copy link
Contributor Author

I haven't followed the PowerVS work closely. Does PowerVS not support sharing traditional VM images?

Note that stream-metadata-rust will also need an update.

correct. it doesn't and so too does IBMCloud in general to my knowledge. so typically during install time, these images are copied over to a PowerVS "instance" where the bootimages are created and the VMs are provisioned.

i will also look into changing the rust repo. thanks.

// PlatformIBMCloud IBMCloud/PowerVS image detail
type PlatformIBMCloud struct {
PlatformBase
Images map[string]IBMCloudObject `json:"images"`
Copy link
Contributor Author

@Prashanth684 Prashanth684 Oct 20, 2021

Choose a reason for hiding this comment

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

keeping this as "Images" here as discussed in: coreos/coreos-assembler#2361 (comment)

Prashanth684 added a commit to Prashanth684/stream-metadata-rust that referenced this pull request Oct 20, 2021
Adding support for IBMCloud/PowerVS objects to be added to the stream.

similar to coreos/stream-metadata-go#35
Copy link
Contributor

@bgilbert bgilbert left a comment

Choose a reason for hiding this comment

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

Looks good generally.

One other place that should be updated is the docs in https://github.com/coreos/fedora-coreos-tracker/tree/main/metadata/stream.

release/release.go Outdated Show resolved Hide resolved
release/release.go Outdated Show resolved Hide resolved
release/release.go Outdated Show resolved Hide resolved
@Prashanth684
Copy link
Contributor Author

Looks good generally.

One other place that should be updated is the docs in https://github.com/coreos/fedora-coreos-tracker/tree/main/metadata/stream.

there is work being done to enable fcos pipeline on ppc64le..once that is done..i want to update a bunch of items related to PowerVS.

Prashanth684 added a commit to Prashanth684/stream-metadata-rust that referenced this pull request Oct 26, 2021
Adding support for IBMCloud/PowerVS objects to be added to the stream.

similar to coreos/stream-metadata-go#35
@Prashanth684
Copy link
Contributor Author

@bgilbert good for an approval ?

stream/stream.go Show resolved Hide resolved
stream/stream.go Outdated Show resolved Hide resolved
Today we generate metadata for PowerVS in RHCOS, and we would need this to be updated in the installer in the near future, hence this change. IBMCloud and PowerVS have the same format although as of today there are no IBMCloud objects being generated. The naming here is to use "object" instead of image since these are not traditional bootimages like in other clouds.

FCOS is still waiting on ppc64le hardware to have P images generated so could not add any tests related to this.
Prashanth684 added a commit to Prashanth684/stream-metadata-rust that referenced this pull request Nov 2, 2021
Adding support for IBMCloud/PowerVS objects to be added to the stream.

similar to coreos/stream-metadata-go#35
Prashanth684 added a commit to Prashanth684/stream-metadata-rust that referenced this pull request Nov 2, 2021
Adding support for IBMCloud/PowerVS objects to be added to the stream.

similar to coreos/stream-metadata-go#35
Copy link
Contributor

@bgilbert bgilbert left a comment

Choose a reason for hiding this comment

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

Thanks!

@bgilbert bgilbert merged commit 89bd6bc into coreos:main Nov 2, 2021
bgilbert pushed a commit to coreos/stream-metadata-rust that referenced this pull request Nov 4, 2021
Adding support for IBMCloud/PowerVS objects to be added to the stream.

similar to coreos/stream-metadata-go#35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants