Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose max concurrent connection config option [full ci] #8678

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

hickeng
Copy link
Member

@hickeng hickeng commented Dec 1, 2022

This adds an option to set the maximum number of concurrent connections
to vCenter that will be used by the port layer.
This does NOT effect the admin server, and admin server connections do
not count towards the maximum for the port layer.

This adds a --max-concurrent-connections (--mcc short form) option to
create and configure, allowing setting between 2 (because port layer
requires 2 minimum to initialize) and 255 (because it's a sane upper
limit, given default has been 32 since 2017, but with no reason beyond
that).

This has NOT made the necessary changes for this option to be available
via the VIC LCM API and vCenter UI extension.

Testing so far has been via manual use of CLI.

Also rolls in minor fixes in the bash-helpers and linting.

[full ci]

@hickeng hickeng added kind/enhancement Behavior that was intended, but we want to make better kind/defect/performance Behavior that is functionally correct, but performs worse than intended area/vsphere Intergration and interoperation with vSphere component/install impact/doc/user Requires changes to official user documentation component/portlayer source/customer Reported by a customer, directly or via an intermediary labels Dec 1, 2022
@hickeng hickeng requested a review from a team as a code owner December 1, 2022 23:06
@hickeng hickeng changed the title Expose max concurrent connection config option Expose max concurrent connection config option [full ci] Dec 5, 2022
@hickeng hickeng force-pushed the topic/max-concurrent-connections branch from 811fe0c to 95eea52 Compare December 5, 2022 22:24
This adds an option to set the maximum number of concurrent connections
to vCenter that will be used by the port layer.
This does NOT effect the admin server, and admin server connections do
not count towards the maximum for the port layer.

This adds a --max-concurrent-connections (--mcc short form) option to
create and configure, allowing setting between 2 (because port layer
requires 2 minimum to initialize) and 255 (because it's a sane upper
limit, given default has been 32 since 2017, but with no reason beyond
that).

This has NOT made the necessary changes for this option to be available
via the VIC LCM API and vCenter UI extension.

Testing so far has been via manual use of CLI.
Prior test was unnecessarily complex and resulting in
a non-useful message in error case

The automation token can be added into drone using the drone cli:
* drone secret add
or
* login to the drone webui, go to profile->secrets, and update via
the box in the top right

https://ci-vic.vmware.com/vmware/vic/settings/secrets at time of
writing
@hickeng hickeng force-pushed the topic/max-concurrent-connections branch from 95eea52 to 878f91c Compare December 6, 2022 01:07
@hickeng
Copy link
Member Author

hickeng commented Dec 6, 2022

[full ci]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/vsphere Intergration and interoperation with vSphere cla-not-required component/install component/portlayer impact/doc/user Requires changes to official user documentation kind/defect/performance Behavior that is functionally correct, but performs worse than intended kind/enhancement Behavior that was intended, but we want to make better source/customer Reported by a customer, directly or via an intermediary
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants