-
Notifications
You must be signed in to change notification settings - Fork 118
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
Change VMware URI to connect directly to ESXi #405
Change VMware URI to connect directly to ESXi #405
Conversation
@miq-bot add-labels transformation, enhancement, gaprindashvili/yes, blocker |
vmware_uri = "vpx://" | ||
vmware_uri += "#{source_ems.authentication_userid.gsub('@', '%40')}@#{source_ems.hostname}/" | ||
vmware_uri = "esx://" | ||
vmware_uri += "root@#{source_vm.host.ipaddress}/" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it ok to always use root
? I believe that can be disabled on ESX. Will this be noted as a requirement?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
root user is always enabled on the ESXi host when using the API. It's not the SSH connection.
@fdupont-redhat Is this the only PR required to resolved the BZ? |
Checked commits fabiendupont/manageiq-content@521867a~...31f843b with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0 **
|
LGTM |
@miq-bot remove-label wip |
content/automate/ManageIQ/Transformation/Infrastructure/VM/vmwarews.class/__methods__/utils.rb
Show resolved
Hide resolved
content/automate/ManageIQ/Transformation/TransformationHosts/Common.class/__methods__/utils.rb
Show resolved
Hide resolved
content/automate/ManageIQ/Transformation/TransformationHosts/Common.class/__methods__/utils.rb
Show resolved
Hide resolved
Change VMware URI to connect directly to ESXi (cherry picked from commit 154c82f) https://bugzilla.redhat.com/show_bug.cgi?id=1621441
Gaprindashvili backport details:
|
While investigating issues with large transformations in parallel, it was identified that vCenter is a bottleneck for VM transformation. The solution is to connect directly to the ESXi host. This PR provides the necessary changes to Automate, in order to connect to the ESXi host.
Associated RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1618717