Skip to content

Add support for IBMCloud/PowerVS images#35

Merged
bgilbert merged 1 commit intocoreos:mainfrom
Prashanth684:powervs
Nov 2, 2021
Merged

Add support for IBMCloud/PowerVS images#35
bgilbert merged 1 commit intocoreos:mainfrom
Prashanth684:powervs

Conversation

@Prashanth684
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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.

@Prashanth684
Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

@bgilbert good for an approval ?

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
Copy Markdown
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