-
Notifications
You must be signed in to change notification settings - Fork 2
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
Issue with Gen2 Compute profiles #8
Comments
Worth noting is that the 'foreman_1511888691' is from Foreman itself, when creating a VM object Foreman gives it an unique identifier until the Compute Resource can provide the actual one. I think I have an idea what the issue might be, which version of |
Ah, cool. -bash-4.2$ gem list | grep fog-hyperv |
Then that's not the issue I'm thinking of. Can you give me the Foreman version as well, and I'll throw up an environment for that when I'm back at my workstation. |
rpm -qa 'foreman' || dpkg -l 'foreman' | sort foreman-1.15.6-1.el7.noarch |
👍 Thanks, I'll try and get back to you tomorrow once I've had time to test it out myself, see if I can replicate the bug. |
Awesome, thanks! I'm trying to debug as well, but am fairly new to ruby. Do you have an idea on whether the issue would be in fog-hyperv, or foreman-hyperv? |
I think it's most likely a foreman-hyperv issue, and I have a rather good idea what might be causing it as well. Sadly don't have any of the things I need to try the changes out myself at hand. |
Cool. If there's anything I can do to help, let me know. |
As a quick hack just to see if my hypothesis holds any water, you could try applying the change from the commit I just pushed. |
Awesome, the error no longer appears after applying those changes! |
Great, then I'll have a starting point for making a proper fix once I'm in place and can test my code properly. |
Fix is merged into master as of bfbb7af, closing this issue. |
Hey,
I'm running in to an issue when creating a Gen2 compute profile. I am able to create the a gen 2 profile:
but then once I try to open the profile, I get the following error:
Oops, we're sorry but something went wrong Hyper-V was unable to find a virtual machine with name "foreman_1511888691".
The name 'foreman_1511888691' is static, it does not change based on the name of the profile/host/etc.
I looked for that string in the code, but was unable to find it. Stack trace is attached.
stack_trace_compute.txt
Kevin
The text was updated successfully, but these errors were encountered: