Skip to content

AGENT-284: Allow user to choose platform type#6438

Merged
openshift-merge-robot merged 7 commits intoopenshift:masterfrom
pawanpinjarkar:allow-user-to-choose-platform-type
Oct 14, 2022
Merged

AGENT-284: Allow user to choose platform type#6438
openshift-merge-robot merged 7 commits intoopenshift:masterfrom
pawanpinjarkar:allow-user-to-choose-platform-type

Conversation

@pawanpinjarkar
Copy link
Contributor

This PR reads the platform name from install-config.yaml and sets the appropriate and supported platform in the AgentClusterInstall.Spec.PlatformType . Assisted service uses the AgentClusterInstall.Spec.PlatformType as cluster params to create the cluster. When using the ZTP way, users can directly provide the supported platforms in AgentClusterInstall.Spec.PlatformType.

We already have a validation to throw an error if users provide unsupported platforms for the agent installer in the install-config.yaml. This PR also adds a similar validation when unsupported PlatformType is provided in the AgentClusterInstall.

Signed-off-by: Pawan Pinjarkar ppinjark@redhat.com
Signed-off-by: Zane Bitter zaneb@redhat.com

@pawanpinjarkar pawanpinjarkar changed the title Allow user to choose platform type AGENT-284: Allow user to choose platform type Sep 29, 2022
@pawanpinjarkar
Copy link
Contributor Author

/uncc @dhellmann @patrickdillon
/cc @zaneb @andfasano

@openshift-ci openshift-ci bot requested review from andfasano and zaneb and removed request for dhellmann and patrickdillon September 29, 2022 20:52
@zaneb
Copy link
Member

zaneb commented Sep 29, 2022

Would be good to validate that for SNO specifically, only platform: none is allowed. Pawan is opening another Jira ticket to follow up with that.
/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Sep 29, 2022
@pawanpinjarkar
Copy link
Contributor Author

Opened https://issues.redhat.com/browse/AGENT-369 for additional validation for the SNO cluster

@zaneb
Copy link
Member

zaneb commented Sep 30, 2022

/retest

@pawanpinjarkar
Copy link
Contributor Author

/assign @patrickdillon Please approve

@zaneb
Copy link
Member

zaneb commented Sep 30, 2022

/retest

@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Oct 1, 2022
@pawanpinjarkar pawanpinjarkar force-pushed the allow-user-to-choose-platform-type branch from da0017a to 32cddef Compare October 3, 2022 16:14
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Oct 3, 2022
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Oct 3, 2022
@zaneb
Copy link
Member

zaneb commented Oct 3, 2022

/lgtm

@openshift-ci openshift-ci bot added lgtm Indicates that a PR is ready to be merged. and removed lgtm Indicates that a PR is ready to be merged. labels Oct 3, 2022
@pawanpinjarkar pawanpinjarkar force-pushed the allow-user-to-choose-platform-type branch from 3a33ba3 to 8b71ead Compare October 3, 2022 18:48
@pawanpinjarkar pawanpinjarkar requested review from bfournie and zaneb and removed request for andfasano, bfournie and zaneb October 3, 2022 18:48
@pawanpinjarkar pawanpinjarkar force-pushed the allow-user-to-choose-platform-type branch from 8b71ead to 9387784 Compare October 10, 2022 14:17
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Oct 10, 2022
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Oct 10, 2022
@pawanpinjarkar
Copy link
Contributor Author

/retest-required

@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Oct 11, 2022
zaneb and others added 6 commits October 12, 2022 10:47
Update to the assisted-service at commit
a40422bdea617f16cbdb724d53619ca74773be45.

This repo now contains multiple go modules, so we have to add overrides
for the internal references to the api and models modules.
Signed-off-by: Pawan Pinjarkar <ppinjark@redhat.com>
Signed-off-by: Pawan Pinjarkar <ppinjark@redhat.com>
Signed-off-by: Pawan Pinjarkar <ppinjark@redhat.com>
Signed-off-by: Pawan Pinjarkar <ppinjark@redhat.com>
Signed-off-by: Pawan Pinjarkar <ppinjark@redhat.com>
@pawanpinjarkar pawanpinjarkar force-pushed the allow-user-to-choose-platform-type branch from 5bd1168 to 49a1de2 Compare October 12, 2022 14:47
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Oct 12, 2022
Signed-off-by: Pawan Pinjarkar <ppinjark@redhat.com>
@pawanpinjarkar pawanpinjarkar force-pushed the allow-user-to-choose-platform-type branch from c6d939f to 096f09d Compare October 12, 2022 17:51
@zaneb
Copy link
Member

zaneb commented Oct 12, 2022

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Oct 12, 2022
@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD 6561f45 and 2 for PR HEAD 096f09d in total

@pawanpinjarkar
Copy link
Contributor Author

/retest-required

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD 36ebaee and 1 for PR HEAD 096f09d in total

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD 3d0aac7 and 0 for PR HEAD 096f09d in total

@openshift-ci-robot
Copy link
Contributor

/hold

Revision 096f09d was retested 3 times: holding

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Oct 13, 2022
@zaneb
Copy link
Member

zaneb commented Oct 14, 2022

/hold cancel
/retest-required

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Oct 14, 2022
@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD d3614ba and 2 for PR HEAD 096f09d in total

@pawanpinjarkar
Copy link
Contributor Author

/retest

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 14, 2022

@pawanpinjarkar: 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-gcp-ovn-shared-vpc 096f09d link false /test e2e-gcp-ovn-shared-vpc
ci/prow/e2e-libvirt 096f09d link false /test e2e-libvirt
ci/prow/e2e-openstack-proxy 096f09d link false /test e2e-openstack-proxy
ci/prow/e2e-openstack-parallel 096f09d link false /test e2e-openstack-parallel
ci/prow/okd-scos-e2e-aws-upgrade 096f09d link false /test okd-scos-e2e-aws-upgrade
ci/prow/e2e-azurestack 096f09d link false /test e2e-azurestack
ci/prow/e2e-openstack 096f09d link false /test e2e-openstack
ci/prow/okd-e2e-aws-ovn 096f09d link false /test okd-e2e-aws-ovn

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-merge-robot openshift-merge-robot merged commit d444363 into openshift:master Oct 14, 2022
@pawanpinjarkar pawanpinjarkar deleted the allow-user-to-choose-platform-type branch July 5, 2024 16:36
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.

6 participants