Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Dec 03 21:17
    miq-bot commented #765
  • Dec 03 21:17
    miq-bot commented #765
  • Dec 03 21:12
    agrare synchronize #765
  • Dec 03 21:12
    miq-bot commented #765
  • Dec 03 21:12
    miq-bot commented #765
  • Dec 03 21:09
    agrare synchronize #765
  • Dec 03 21:02
    miq-bot commented #765
  • Dec 03 21:02
    miq-bot commented #765
  • Dec 03 20:58
    agrare synchronize #765
  • Dec 03 19:42
    Fryguy commented #765
  • Dec 03 19:40
    Fryguy commented #765
  • Dec 03 19:39
    Fryguy commented #765
  • Dec 03 19:38
    Fryguy commented #765
  • Dec 03 19:36
    Fryguy commented #765
  • Dec 03 19:36
    Fryguy commented #765
  • Dec 03 18:57
    miq-bot commented #765
  • Dec 03 18:57
    miq-bot commented #765
  • Dec 03 18:54
    agrare synchronize #765
  • Dec 03 18:52
    miq-bot commented #765
  • Dec 03 18:52
    miq-bot commented #765
Adam Grare
@agrare
It's gross but it handles a lot of different VMware VC and host versions
If you just want a way to identify the vm try using the uid_ems or ems_ref
Fabien Dupont
@fdupont-redhat
@agrare yes, that's what it's been used for since 5.9.4 :) Basically, the URI for SSH is in the form of ssh://root@10.0.0.1/vmfs/volumes/my_datastore/my_vm/my_vm.vmx. We could of course check if the source.location starts with file:// and get the end of the path only. But, I'd like to understand if that's something coming from VMware or ManageIQ.
Adam Grare
@agrare
Okay but you're not actually expecting to use that URI?
That is the URL from VMware
Fabien Dupont
@fdupont-redhat
Well, we're using the ssh:// URL. More precisely, virt-v2v consumes it to stream the disks. So, if VMware is sending weird data, we need to sanitize it. Should it be sanitized by inventory refresher or by V2V ?
Adam Grare
@agrare
Can we set up a meeting to discuss? And we'll need the source environment available
I'm still not sure how the vm location helps you with the disks since the disks aren't guaranteed to be in the same dir as the vm
Fabien Dupont
@fdupont-redhat
Sure. When would you be available ?
Adam Grare
@agrare
My only scheduled meeting is 3-3:30 est
Fabien Dupont
@fdupont-redhat
I'll be AFK at that time. Tomorrow ?
Adam Grare
@agrare
I mean I'm free anytime except then
But tomorrow works too
Fabien Dupont
@fdupont-redhat
Adam Grare
@agrare
This is going over I'll join when it is done
And you have the source VMware env up?
Fabien Dupont
@fdupont-redhat
Nope. The source environment is down at the moment. And in our lab, no VM has this kind of location... You want to wait for the source environment to be up ?
Adam Grare
@agrare
Yes
I need to look at the vm that is showing that
Fabien Dupont
@fdupont-redhat
Ok, so I'll ping you once it's up.
Jason Frey
@Fryguy
:point_up: April 8, 2019 9:54 AM Ahhh one of my favorite methods :laughing:
Daniel Berger
@djberg96
vmware/rbvmomi#158 - looking for thumbs :)
Adam Grare
@agrare
I was just looking at that, wow that's a lot of trailing whitespace
Daniel Berger
@djberg96
got my vim editor configured to strip that automatically, tends to happen with 3rd party libs
matrixbot
@matrixbot
neovalis Does anyone have time to help us with a VMWare problem?
neovalis It's explained here perfectly https://communities.vmware.com/thread/608272
Jason Frey
@Fryguy
@matrixbot Is this a ManageIQ problem? If not, I'm not sure what we could do
Andrey Menezes
@AndreyMenezes
Hi guys, I'm performing smart analysis for VMWare using VDDK connecting to VCenter normally, but I identify only one VM that not working. This VM is FreeBSD, unique VM with this SO in my environment and has a NAS. From log:
ERROR -- : Q-task_id([cc4cc998-675f-11e9-be92-00505680abe6]) MIQ(VmScan#process_abort) job aborting, Unable to mount filesystem.  Reason:[No root filesystem found.]
[----] I, [2019-04-25T10:41:58.436365 #1956:341110]  INFO -- : Q-task_id([cc4cc998-675f-11e9-be92-00505680abe6]) MIQ(VmScan#process_finished) job finished, Unable to mount filesystem.  Reason:[No root filesystem found.]
Jerry Keselman
@jerryk55
@AndreyMenezes its not clear to me that Smartstate supports FreeBSD. By the way you should probably move this over to the smart-state room.
Andrey Menezes
@AndreyMenezes
Thank's @jerryk55
Fabien Dupont
@fdupont-redhat
Hi. Any reason why we use authentication to get ESX thumbprint ? Opening an SSL connection and getting the cert should be enough, no ?
Adam Grare
@agrare
that's a good question, I don't know that code is pretty ancient
Fabien Dupont
@fdupont-redhat
As far as I've been able to dig, it's only use in HostEsx class, in thumbprint_sha1 method.
Adam Grare
@agrare
it looks like for the vcenter version of that class (VcenterThumbPrint) we do exactly that
not sure why the host is different
Fabien Dupont
@fdupont-redhat
Me neither. There must have been a reason. I'm tempted to propose PRs to change that, but I wouldn't want to break anything. Do we have QE functional tests with older versions of vCenter ?
Adam Grare
@agrare
looks like @jerryk55 added that in ManageIQ/manageiq-gems-pending@c4289b1
hopefully he has a good memory
Jerry Keselman
@jerryk55
Well I know it was related to SmartState Analysis
Let me dig
Well. Comments are your friend.
Adam Grare
@agrare
thanks!
Jerry Keselman
@jerryk55
The comment at the above link says it all.
Adam Grare
@agrare
above which link?
Jerry Keselman
@jerryk55
The one you pasted for the PR
Adam Grare
@agrare
the commit message?
Jerry Keselman
@jerryk55
Depending upon whether scan_via_host is enabled or not, a different thumbprint is required.
yes
Adam Grare
@agrare
well it says that it gets it differently but not why