Skip to content

PWX-30093: OCP bring up issue with vSphere#141

Merged
nrevanna merged 1 commit intomasterfrom
PWX-30093
Mar 28, 2023
Merged

PWX-30093: OCP bring up issue with vSphere#141
nrevanna merged 1 commit intomasterfrom
PWX-30093

Conversation

@nrevanna
Copy link
Copy Markdown
Contributor

  vSphere client is being used in some paths which were being ignored
  thinking it's not needed. Reenabling them

What this PR does / why we need it:

Which issue(s) this PR fixes (optional)
Closes #

Special notes for your reviewer:
Testing:
Ran the fix on the cluster provided by Santhosh and px came up.

      vSphere client is being used in some paths which were being ignored
      thinking it's not needed. Reenabling them

Signed-off-by: Naveen Revanna <nrevanna@purestorage.com>
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

Patch coverage has no change and project coverage change: -0.01 ⚠️

Comparison is base (87b65c0) 8.07% compared to head (97732c0) 8.06%.

Additional details and impacted files
@@            Coverage Diff            @@
##           master    #141      +/-   ##
=========================================
- Coverage    8.07%   8.06%   -0.01%     
=========================================
  Files          18      18              
  Lines        4681    4686       +5     
=========================================
  Hits          378     378              
- Misses       4281    4286       +5     
  Partials       22      22              
Impacted Files Coverage Δ
vsphere/vsphere.go 0.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Comment thread vsphere/vsphere.go
storeLock *store.Lock
lockErr error
)
if ops.dsLock != nil {
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.

Should we explicitly error out if dsLock is nil?
I know that there is no code that invokes this function without initializing store. I am trying to future proof it to ensure recommendDatastore is always called with store initialized.

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.

Sure.. Let me do that in a different ticket
https://portworx.atlassian.net/browse/PWX-30121

@nrevanna nrevanna merged commit 91f58d3 into master Mar 28, 2023
@nrevanna nrevanna deleted the PWX-30093 branch March 28, 2023 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants