Skip to content

Add IBM Power VS: installconfig assets#5612

Merged
openshift-merge-robot merged 2 commits intoopenshift:masterfrom
clnperez:new-installconfig-assets
Mar 12, 2022
Merged

Add IBM Power VS: installconfig assets#5612
openshift-merge-robot merged 2 commits intoopenshift:masterfrom
clnperez:new-installconfig-assets

Conversation

@clnperez
Copy link
Copy Markdown
Contributor

@clnperez clnperez commented Feb 4, 2022

For more background on IPI on Power VS, refer to the enhancement
proposal here: openshift/enhancements#736

Older discussions on some of the code here can be found in #5224

Signed-off-by: Christy Norman christy@linux.vnet.ibm.com

Comment thread pkg/asset/installconfig/basedomain.go Outdated
Comment thread pkg/asset/installconfig/platformcredscheck.go Outdated
@clnperez clnperez force-pushed the new-installconfig-assets branch from 3fa202e to 3e8c73e Compare February 9, 2022 22:54
@clnperez clnperez force-pushed the new-installconfig-assets branch 2 times, most recently from dd4d284 to 846cb29 Compare March 1, 2022 17:21
@clnperez
Copy link
Copy Markdown
Contributor Author

clnperez commented Mar 1, 2022

some failing tests now due to some updates in other PRs, e.g.

# github.com/openshift/installer/pkg/asset/installconfig/powervs
pkg/asset/installconfig/powervs/platform.go:24:3: p.APIKey undefined (type powervs.Platform has no field or method APIKey)
pkg/asset/installconfig/powervs/session.go:89:28: too many arguments in call to ibmpisession.New

I'll fix those today and maybe this can be merged next, to get to #5610 #5611, etc.

@clnperez clnperez force-pushed the new-installconfig-assets branch 3 times, most recently from bd998f7 to 36b0216 Compare March 3, 2022 18:21
@clnperez
Copy link
Copy Markdown
Contributor Author

clnperez commented Mar 3, 2022

i think this should be in good shape now @rna-afk. Sorry for the delay

@rna-afk
Copy link
Copy Markdown
Contributor

rna-afk commented Mar 3, 2022

No worries. Can you move the vendor changes to one commit and the code changes to another?

@clnperez
Copy link
Copy Markdown
Contributor Author

clnperez commented Mar 3, 2022

sure @rna-afk . In that vendor commit, should I put all the files under vendor/ as well as go.mod and go.sum?

@rna-afk
Copy link
Copy Markdown
Contributor

rna-afk commented Mar 3, 2022

Yeah that would be great

@clnperez clnperez force-pushed the new-installconfig-assets branch from 36b0216 to 87e2b4b Compare March 3, 2022 18:33
@clnperez
Copy link
Copy Markdown
Contributor Author

clnperez commented Mar 3, 2022

done @rna-afk

@clnperez
Copy link
Copy Markdown
Contributor Author

clnperez commented Mar 4, 2022

@rna-afk all required tests are passing, and i think #5610 and #5611 should be in good shape to merge after this one

Copy link
Copy Markdown
Contributor

@rna-afk rna-afk 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. Just a few nits.

Comment thread pkg/asset/installconfig/platformcredscheck.go Outdated
Comment thread pkg/asset/installconfig/powervs/regions.go Outdated
Comment thread pkg/asset/installconfig/powervs/regions.go Outdated
Comment thread pkg/asset/installconfig/powervs/session.go Outdated
Comment thread pkg/asset/installconfig/powervs/session.go Outdated
Comment thread pkg/asset/installconfig/powervs/session.go Outdated
Comment thread data/data/install.openshift.io_installconfigs.yaml Outdated
@rna-afk
Copy link
Copy Markdown
Contributor

rna-afk commented Mar 4, 2022

/cc @patrickdillon for approval

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Mar 4, 2022

@rna-afk: GitHub didn't allow me to request PR reviews from the following users: for, approval.

Note that only openshift members and repo collaborators can review this PR, and authors cannot review their own PRs.

Details

In response to this:

/cc @patrickdillon for approval

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@clnperez clnperez force-pushed the new-installconfig-assets branch from 87e2b4b to b7e2a2b Compare March 4, 2022 18:32
@clnperez
Copy link
Copy Markdown
Contributor Author

clnperez commented Mar 4, 2022

Addressed comments. So far failing tests look like environment issues but I'll check back with they're all completed.

@clnperez
Copy link
Copy Markdown
Contributor Author

clnperez commented Mar 5, 2022

/retest-required

@rna-afk
Copy link
Copy Markdown
Contributor

rna-afk commented Mar 7, 2022

/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Mar 7, 2022
@clnperez
Copy link
Copy Markdown
Contributor Author

clnperez commented Mar 7, 2022

@patrickdillon okay to merge?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

the way to override would be to create the manifests and just change the image reference to point to the pre-created bootimage right? this wouldn't be needed

Copy link
Copy Markdown
Contributor Author

@clnperez clnperez Mar 8, 2022

Choose a reason for hiding this comment

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

that's one thing we could do that hadn't been discussed before, yah. but i would still like to have some kind of var that points to an ova and still have the installer create the boot image so that the user doesn't have to both put it in a cos bucket, and import it into the appropriate service instance. and that, iirc, is what you said we shouldn't also use this OPENSHIFT_INSTALL_OS_IMAGE_OVERRIDE for. also, we're planning to create the power-iaas service instance on the fly, so have a pre-created boot image to reference wouldn't be an option.

Copy link
Copy Markdown
Contributor

@Prashanth684 Prashanth684 Mar 9, 2022

Choose a reason for hiding this comment

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

right..an extra step of importing it into the service instance compared to other clouds but i prefer that than the approach of specifying the env override. i'm not entirely opposed to this..but just questioning the need and making sure we are consistent with other clouds

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I am fine leaving this in ATM but it will need to be removed before feature freeze. Users should never use OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE. If you want users to be able to tweak it, it should go in the install config. OpenStack has a pattern with an optional ClusterOSImage if you want to check that out.

@clnperez clnperez force-pushed the new-installconfig-assets branch from b7e2a2b to 364dcdd Compare March 9, 2022 19:58
@openshift-ci openshift-ci Bot removed the lgtm Indicates that a PR is ready to be merged. label Mar 9, 2022
clnperez added 2 commits March 9, 2022 14:01
For more background on IPI on Power VS, refer to the enhancement
proposal here: openshift/enhancements#736

Older discussions on some of the code here can be found in openshift#5224

Signed-off-by: Christy Norman <christy@linux.vnet.ibm.com>
a seperate commit for the vendor updates

Signed-off-by: Christy Norman <christy@linux.vnet.ibm.com>
@clnperez clnperez force-pushed the new-installconfig-assets branch from 364dcdd to 51da6a8 Compare March 9, 2022 20:01
@patrickdillon
Copy link
Copy Markdown
Contributor

/retest

Copy link
Copy Markdown
Contributor

@patrickdillon patrickdillon left a comment

Choose a reason for hiding this comment

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

It looks like you fixed the vendor issues spotted by @staebler's eagle eye.

/approve

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I am fine leaving this in ATM but it will need to be removed before feature freeze. Users should never use OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE. If you want users to be able to tweak it, it should go in the install config. OpenStack has a pattern with an optional ClusterOSImage if you want to check that out.

// ValidateForProvisioning only validates credentials
// @TODO: Expand this to use the install config creds
func ValidateForProvisioning() error {
_, err := GetSession()
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nit: I believe this is redundant with the PlatformCredsCheck

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

i agree. i was just under the impression that we'd need to have something for both. we can take this out later.

@patrickdillon
Copy link
Copy Markdown
Contributor

/retest

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Mar 10, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: patrickdillon

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

The pull request process is described here

Details 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

@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 10, 2022
@clnperez
Copy link
Copy Markdown
Contributor Author

@patrickdillon is there a chance to get some kind of override and just merge this without re-testing for those aws tests? the failures are unrelated and seem to be just some aws flakiness.

@ausil
Copy link
Copy Markdown

ausil commented Mar 10, 2022

/test e2e-aws
/test e2e-aws-upgrade

@patrickdillon
Copy link
Copy Markdown
Contributor

/skip

/override ci/prow/e2e-aws-upgrade

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Mar 11, 2022

@patrickdillon: Overrode contexts on behalf of patrickdillon: ci/prow/e2e-aws-upgrade

Details

In response to this:

/skip

/override ci/prow/e2e-aws-upgrade

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@clnperez
Copy link
Copy Markdown
Contributor Author

thanks @patrickdillon. I believe we still may need to override e2e-aws as they also keep failing.

@Prashanth684
Copy link
Copy Markdown
Contributor

/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Mar 11, 2022
@openshift-bot
Copy link
Copy Markdown
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

7 similar comments
@openshift-bot
Copy link
Copy Markdown
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Copy Markdown
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Copy Markdown
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Copy Markdown
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Copy Markdown
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Copy Markdown
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Copy Markdown
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Mar 12, 2022

@clnperez: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-aws-workers-rhel7 3fa202e809bcdf6c4b41ef13411fb671607b0952 link false /test e2e-aws-workers-rhel7
ci/prow/e2e-ibmcloud 51da6a8 link false /test e2e-ibmcloud
ci/prow/e2e-azure-upi 51da6a8 link false /test e2e-azure-upi
ci/prow/e2e-openstack-kuryr 51da6a8 link false /test e2e-openstack-kuryr
ci/prow/e2e-libvirt 51da6a8 link false /test e2e-libvirt
ci/prow/e2e-metal-ipi-ovn-ipv6 51da6a8 link false /test e2e-metal-ipi-ovn-ipv6
ci/prow/e2e-openstack 51da6a8 link false /test e2e-openstack

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@openshift-bot
Copy link
Copy Markdown
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-merge-robot openshift-merge-robot merged commit d8f68f3 into openshift:master Mar 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants