Skip to content

Conversation

@vrutkovs
Copy link
Contributor

In Assisted Installer we create manifests and generate Ignition in the cloud and pass ignition files to the agents. For platform integration we can't request credentials from users, instead we fill these in with fake credentials and let them change these later.

This commit moves validations to ValidateForProvisioning, so that openshift-install create manifests phase would pass with fake credentials

@openshift-ci openshift-ci bot added bugzilla/severity-high Referenced Bugzilla bug's severity is high for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. labels Jul 21, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 21, 2022

@vrutkovs: This pull request references Bugzilla bug 2109538, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target release (4.12.0) matches configured target release for branch (4.12.0)
  • bug is in the state NEW, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)

No GitHub users were found matching the public email listed for the QA contact in Bugzilla ([email protected]), skipping review request.

Details

In response to this:

Bug 2109538: nutanix: allow creating manifests without Prism Central connection

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.

@vrutkovs
Copy link
Contributor Author

/cherry-pick release-4.11

@openshift-cherrypick-robot

@vrutkovs: once the present PR merges, I will cherry-pick it on top of release-4.11 in a new PR and assign it to you.

Details

In response to this:

/cherry-pick release-4.11

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.

@openshift-ci openshift-ci bot requested review from AnnaZivkovic and sadasu July 21, 2022 14:14
@vrutkovs vrutkovs closed this Jul 21, 2022
@vrutkovs vrutkovs reopened this Jul 21, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 21, 2022

@vrutkovs: An error was encountered adding this pull request to the external tracker bugs for bug 2109538 on the Bugzilla server at https://bugzilla.redhat.com. No known errors were detected, please see the full error message for details.

Full error message. response code 400 not 200

Please contact an administrator to resolve this issue, then request a bug refresh with /bugzilla refresh.

Details

In response to this:

Bug 2109538: nutanix: allow creating manifests without Prism Central connection

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.

@vrutkovs
Copy link
Contributor Author

/cc @thunderboltsid

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 21, 2022

@vrutkovs: This pull request references Bugzilla bug 2109538. The bug has been updated to no longer refer to the pull request using the external bug tracker. All external bug links have been closed. The bug has been moved to the NEW state.
Warning: Failed to comment on Bugzilla bug with reason for changed state.

Details

In response to this:

Bug 2109538: nutanix: allow creating manifests without Prism Central connection

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.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 21, 2022

@vrutkovs: GitHub didn't allow me to request PR reviews from the following users: thunderboltsid.

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 @thunderboltsid

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.

@thunderboltsid
Copy link
Contributor

My only concern is that if someone has a misconfigured PE on install-config, they won’t get an error on running create manifests but only on create cluster .

Copy link
Contributor

@thunderboltsid thunderboltsid left a comment

Choose a reason for hiding this comment

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

LGTM

@vrutkovs
Copy link
Contributor Author

/retest

1 similar comment
@thunderboltsid
Copy link
Contributor

/retest

@vrutkovs
Copy link
Contributor Author

Still no luck with upi-installer build:

[3/3] STEP 22/30: RUN curl -L -o - "https://github.com/vmware/govmomi/releases/latest/download/govc_$(uname -s)_$(uname -m).tar.gz" | tar -C /bin -xvzf - govc
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  1474  100  1474    0     0  10941      0 --:--:-- --:--:-- --:--:-- 11000

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now

/retest

Vadim Rutkovsky added 2 commits July 26, 2022 15:27
In Assisted Installer we create manifests and generate Ignition in the cloud and pass ignition files to the agents. For platform integration we can't request credentials from users, instead we fill these in with fake credentials and let them change these later.

This commit moves validations to ValidateForProvisioning, so that `openshift-install create manifests` phase would pass with fake credentials
In Assisted Installer we can't contact Prism Central to resolve
Prism Element name via API. Instead we allow setting it to dummy value
and let users update Infrastructure object later.

This field is optional and would use API call if not set
@vrutkovs vrutkovs force-pushed the nutanix-validate-later branch from 47b1bb1 to 02a6ad4 Compare July 26, 2022 13:29
@vrutkovs
Copy link
Contributor Author

/retest

1 similar comment
@vrutkovs
Copy link
Contributor Author

/retest

@vrutkovs
Copy link
Contributor Author

vrutkovs commented Aug 4, 2022

/test e2e-nutanix

@vrutkovs
Copy link
Contributor Author

vrutkovs commented Aug 4, 2022

/cc @jhixson74 @patrickdillon

@vrutkovs
Copy link
Contributor Author

vrutkovs commented Aug 4, 2022

/test e2e-nutanix

1 similar comment
@vrutkovs
Copy link
Contributor Author

vrutkovs commented Aug 5, 2022

/test e2e-nutanix

return field.InternalError(field.NewPath("platform", "nutanix", "prismElements"), errors.Wrapf(err, "prism element UUID %s does not correspond to a valid prism element in Prism", pe.UUID))
}
}

Copy link
Contributor

@sadasu sadasu Aug 5, 2022

Choose a reason for hiding this comment

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

Now that you getting the "Name" of the PrismElement as an optional parameter, do you need to validate if that exists also? And I am assuming that the Name of the PrismElement should correspond to the same UUID in the Nutanix cluster.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, the name should match the UUID, it is being validated in create cluster phase - or filled in if its unset.

@patrickdillon
Copy link
Contributor

/approve

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 22, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: patrickdillon, thunderboltsid

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 Aug 22, 2022
@rvanderp3
Copy link
Contributor

/lgtm

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

/retest-required

Remaining retests: 2 against base HEAD e781753 and 8 for PR HEAD 02a6ad4 in total

@vrutkovs
Copy link
Contributor Author

/skip

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 1 against base HEAD e781753 and 7 for PR HEAD 02a6ad4 in total

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 22, 2022

@vrutkovs: 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-openstack 02a6ad4 link false /test e2e-openstack
ci/prow/e2e-libvirt 02a6ad4 link false /test e2e-libvirt
ci/prow/e2e-metal-ipi 02a6ad4 link false /test e2e-metal-ipi

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.

@vrutkovs
Copy link
Contributor Author

/skip
/retest

@vrutkovs
Copy link
Contributor Author

/retest-required

@openshift-merge-robot openshift-merge-robot merged commit 7a069c0 into openshift:master Aug 22, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 22, 2022

@vrutkovs: All pull requests linked via external trackers have merged:

Bugzilla bug 2109538 has been moved to the MODIFIED state.

Details

In response to this:

Bug 2109538: nutanix: allow creating manifests without Prism Central connection

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.

@openshift-cherrypick-robot

@vrutkovs: new pull request created: #6251

Details

In response to this:

/cherry-pick release-4.11

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.

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. bugzilla/severity-high Referenced Bugzilla bug's severity is high for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. 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