Skip to content

Conversation

@DaanHoogland
Copy link
Contributor

Description

This PR...

Fixes: #10412

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)
  • build/CI
  • test (unit or integration test code)

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

How Has This Been Tested?

How did you try to break this feature and the system with this change?

in local UI pointing to a lab env

@DaanHoogland DaanHoogland added this to the 4.19.2 milestone Feb 17, 2025
@DaanHoogland
Copy link
Contributor Author

@blueorangutan ui

@codecov
Copy link

codecov bot commented Feb 17, 2025

Codecov Report

Attention: Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.

Project coverage is 15.15%. Comparing base (212f2a3) to head (23cc58d).
Report is 3 commits behind head on 4.19.

Files with missing lines Patch % Lines
...in/java/com/cloud/hypervisor/vmware/mo/BaseMO.java 0.00% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               4.19   #10413      +/-   ##
============================================
- Coverage     15.15%   15.15%   -0.01%     
+ Complexity    11318    11316       -2     
============================================
  Files          5413     5413              
  Lines        474670   474700      +30     
  Branches      57890    57893       +3     
============================================
- Hits          71953    71939      -14     
- Misses       394668   394716      +48     
+ Partials       8049     8045       -4     
Flag Coverage Δ
uitests 4.29% <ø> (-0.01%) ⬇️
unittests 15.87% <0.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@DaanHoogland DaanHoogland linked an issue Feb 17, 2025 that may be closed by this pull request
@harikrishna-patnala
Copy link
Contributor

@blueorangutan ui

@blueorangutan
Copy link

@harikrishna-patnala a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

@blueorangutan
Copy link

UI build: ✔️
Live QA URL: https://qa.cloudstack.cloud/simulator/pr/10413 (QA-JID-555)

Copy link
Contributor

@harikrishna-patnala harikrishna-patnala left a comment

Choose a reason for hiding this comment

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

code LGTM.

I see the method is returning boolean but not used. Probably its good to change the method name listZoneVmwareDcHosts -> loadZoneVmwareDcHosts

Copy link
Contributor

@kiranchavala kiranchavala left a comment

Choose a reason for hiding this comment

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

@DaanHoogland

Before the fix, there are lot of notifications, when the vcenter password is entered

Screenshot 2025-02-18 at 12 18 28 PM


After fix, I have noticed that the message "No vmware hosts were in the selected Datacenter" when no details are given and also when details are provided

And on submitting List Vmware Instances , it list all the vm present in the datacenter

Screenshot 2025-02-18 at 1 09 31 PM

Screenshot 2025-02-18 at 1 10 14 PM

Screenshot 2025-02-18 at 1 10 30 PM

@DaanHoogland
Copy link
Contributor Author

@kiranchavala, I made some changes to address your comments. Can you have another look?
@harikrishna-patnala, I renamed the method.

@DaanHoogland
Copy link
Contributor Author

@blueorangutan ui

@blueorangutan
Copy link

@DaanHoogland a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

@blueorangutan
Copy link

UI build: ✔️
Live QA URL: https://qa.cloudstack.cloud/simulator/pr/10413 (QA-JID-556)

@kiranchavala
Copy link
Contributor

@blueorangutan package

@blueorangutan
Copy link

@kiranchavala a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

@blueorangutan
Copy link

Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 12500

@blueorangutan
Copy link

Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 12506

Copy link
Contributor

@kiranchavala kiranchavala left a comment

Choose a reason for hiding this comment

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

LGTM, verified manually , no more error notifications are present.

Screenshot 2025-02-19 at 11 00 04 AM

Copy link
Contributor

@kiranchavala kiranchavala left a comment

Choose a reason for hiding this comment

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

@DaanHoogland

Could you please change the text from

No EXSi hosts were found in the selected Datacenter. Are the credentials complete?

to

No EXSi hosts were found in the selected Datacenter. Are the entered credentials correct?

Also if incorrect credentials are entered can cloudstack thrown a error notification ?

@DaanHoogland
Copy link
Contributor Author

@sureshanaparti , is this ok by you now?

Copy link
Contributor

@sureshanaparti sureshanaparti left a comment

Choose a reason for hiding this comment

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

clgtm

@sureshanaparti
Copy link
Contributor

@DaanHoogland

Could you please change the text from

No EXSi hosts were found in the selected Datacenter. Are the credentials complete?

to

No EXSi hosts were found in the selected Datacenter. Are the entered credentials correct?

Also if incorrect credentials are entered can cloudstack thrown a error notification ?

@DaanHoogland @kiranchavala on entry key in password field with incorrect credentials, throws error notification ?

@DaanHoogland
Copy link
Contributor Author

Also if incorrect credentials are entered can cloudstack thrown a error notification ?

@DaanHoogland @kiranchavala on entry key in password field with incorrect credentials, throws error notification ?

@sureshanaparti @kiranchavala , I experimented a bit, but it is hard to restrict the number of notifications thrown to just one, and the essence is also displayed in the label. So I am leaving that part for now. We can improve in the future.

Copy link
Contributor

@nvazquez nvazquez left a comment

Choose a reason for hiding this comment

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

Code LGTM

@DaanHoogland DaanHoogland merged commit 66f8a35 into apache:4.19 Feb 19, 2025
25 of 26 checks passed
@DaanHoogland DaanHoogland deleted the ghi10412-migrateV2Kissues branch February 19, 2025 11:53
dhslove pushed a commit to ablecloud-team/ablestack-cloud that referenced this pull request Jun 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

small UI regressions in convert Vmware to KVM VMs

6 participants