Comments (14)
Note, I am able to create a gen 2 vm successfully using fog hyper-v directly.
vm = compute.new_vm(
name: 'fogtest',
generation: 2,
path: 'd:\newvms\fogtest',
bootdevice: 'VHD',
vhdpath: 'd:\newvms\fogtest\fogtest.vhdx'
)
from foreman_hyperv.
Interestingly, if I try to create a gen 2 VM, the same error is thrown during the first step of the process.
The VM is created anyways, but the rest of the deployment steps do not complete.
from foreman_hyperv.
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 fog_hyperv
are you running it against?
from foreman_hyperv.
Ah, cool.
-bash-4.2$ gem list | grep fog-hyperv
fog-hyperv (0.0.5)
from foreman_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.
from foreman_hyperv.
rpm -qa 'foreman' || dpkg -l 'foreman' | sort
foreman-1.15.6-1.el7.noarch
tfm-rubygem-hammer_cli_foreman-0.10.2-1.el7.noarch
foreman-debug-1.15.6-1.el7.noarch
foreman-proxy-1.15.6-1.el7.noarch
foreman-cli-1.15.6-1.el7.noarch
foreman-installer-1.15.6-2.el7.noarch
foreman-selinux-1.15.6-1.el7.noarch
foreman-release-scl-3-1.el7.noarch
foreman-postgresql-1.15.6-1.el7.noarch
tfm-rubygem-foreman_setup-5.0.0-1.fm1_13.el7.noarch
foreman-release-1.15.6-1.el7.noarch
from foreman_hyperv.
from foreman_hyperv.
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?
from 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.
from foreman_hyperv.
Cool. If there's anything I can do to help, let me know.
from foreman_hyperv.
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.
from foreman_hyperv.
Awesome, the error no longer appears after applying those changes!
from foreman_hyperv.
Great, then I'll have a starting point for making a proper fix once I'm in place and can test my code properly.
from foreman_hyperv.
Fix is merged into master as of bfbb7af, closing this issue.
from foreman_hyperv.
Related Issues (20)
- Computer_name required by fog network adapters, but not passed. HOT 3
- Cluster support is too agressive in activating HOT 7
- Feature Discussion - use existing VHD HOT 2
- Extend creation UI with additional VHD support
- Problem creating vm HOT 5
- Assign vlan to VM HOT 5
- "Hyper-V was unable to find a virtual machine with name" HOT 3
- Support VLANs on interfaces
- Support for hyper-v legacy Network Adapter HOT 5
- Erro when install HOT 10
- Create host - Interfaces throws a "Error loading interfaces information: Internal Server Error" HOT 3
- Is this module maintained? HOT 2
- Error when trying to view a VM HOT 5
- Foreman and Hyperv permissions issue HOT 39
- foreman_hyperv HOT 5
- Expose more advanced options to VMs
- Add support for remote console
- Trouble creating vm when hyper-v host is part of a cluster HOT 3
- Problem rendering compute_resources_vms/form/hyperv/_base.html.erb HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from foreman_hyperv.