Skip to content

machines/openstack: re-enable external clientOpts#4638

Merged
openshift-merge-robot merged 1 commit intoopenshift:masterfrom
abhinavdahiya:openstack_machinesets_client_opts
Feb 11, 2021
Merged

machines/openstack: re-enable external clientOpts#4638
openshift-merge-robot merged 1 commit intoopenshift:masterfrom
abhinavdahiya:openstack_machinesets_client_opts

Conversation

@abhinavdahiya
Copy link
Contributor

In 05453ef the MachineSets function was updated to remove the option
to specify external clientOpts. This clientOpts is used by hive to generate
the machinesets and ensuring the correct client authentication is used.

using the default client opts as forced in 05453ef only allows configuring the
openstack client using the default location on the host, which doesn't sit well
with something like hive which needs to manage the machinesets for many different
clients from single location.

Reverting the change in 05453ef to allow machinesets to accept external clientOpts
and use the default opts when it is nil.

xref: https://issues.redhat.com/browse/HIVE-1372

/assign @Fedosin

In 05453ef the MachineSets function was updated to remove the option
to specify external clientOpts. This clientOpts is used by hive to generate
the machinesets and ensuring the correct client authentication is used.

using the default client opts as forced in 05453ef only allows configuring the
openstack client using the default location on the host, which doesn't sit well
with something like hive which needs to manage the machinesets for many different
clients from single location.

Reverting the change in 05453ef to allow machinesets to accept external clientOpts
and use the default opts when it is nil.
Copy link
Contributor

@Fedosin Fedosin left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Feb 9, 2021
@Fedosin
Copy link
Contributor

Fedosin commented Feb 9, 2021

Openstack CI may be broken atm...

@abhinavdahiya
Copy link
Contributor Author

/approve

@iamemilio
Copy link

/label platform/openstack
/lgtm

@iamemilio
Copy link

/hold for CI

@openshift-ci-robot openshift-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Feb 9, 2021
@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: abhinavdahiya, Fedosin

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-robot openshift-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. platform/openstack labels Feb 9, 2021
abhinavdahiya added a commit to abhinavdahiya/hive that referenced this pull request Feb 9, 2021
abhinavdahiya added a commit to abhinavdahiya/hive that referenced this pull request Feb 9, 2021
dc89529 removed passing clientOpts to generate the machinesets as it was
dropped as supported option in the installer libraries.

since openshift/installer#4638 has re enabled the option
and reverting the change in openstackactuator to use the configure client opts
for correctly authenticating with openstack apis.
abhinavdahiya added a commit to abhinavdahiya/hive that referenced this pull request Feb 9, 2021
dc89529 removed passing clientOpts to generate the machinesets as it was
dropped as supported option in the installer libraries.

since openshift/installer#4638 has re enabled the option
and reverting the change in openstackactuator to use the configure client opts
for correctly authenticating with openstack apis.
@abhinavdahiya
Copy link
Contributor Author

/retest

@openshift-ci-robot openshift-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Feb 10, 2021
@abhinavdahiya
Copy link
Contributor Author

/skip

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 10, 2021

@abhinavdahiya: The following test failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
ci/prow/e2e-aws-workers-rhel7 3c4235c link /test e2e-aws-workers-rhel7

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.

@abhinavdahiya
Copy link
Contributor Author

/skip

@openshift-merge-robot openshift-merge-robot merged commit d237b9d into openshift:master Feb 11, 2021
abhinavdahiya added a commit to abhinavdahiya/hive that referenced this pull request Feb 11, 2021
abhinavdahiya added a commit to abhinavdahiya/hive that referenced this pull request Feb 11, 2021
dc89529 removed passing clientOpts to generate the machinesets as it was
dropped as supported option in the installer libraries.

since openshift/installer#4638 has re enabled the option
and reverting the change in openstackactuator to use the configure client opts
for correctly authenticating with openstack apis.
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. platform/openstack

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants