Comments (5)
That sounds like a really strange error, I don't do any type of manual IP lookup anywhere as far as I know. Though I guess an issue might occur if trying to use my naïve cluster command routing without proper DNS names.
How does your Compute Resource configuration look?
from foreman_hyperv.
I'm using ip address for the resource url. I'll try to use the dns name tomorrow, and see if that helps. Thanks for the advice.
Hmm, thinking about it, could it be that there is a function somewhere that takes the resource url, and splits in into (host,domain) using the first '.' as a separator, and when you use one node in the cluster it adds nodename.domain, as the address it tries to work with? Anyhow, I'll do a test using the fqdn tomorrow.
from foreman_hyperv.
Hmm, thinking about it, could it be that there is a function somewhere that takes the resource url, and splits in into (host,domain) using the first '.' as a separator, and when you use one node in the cluster it adds nodename.domain, as the address it tries to work with?
Like I said, probably an issue with my naïve cluster command router. 😅
Really need to rethink that whole thing, but it was a simple way to get something that would run and not explode the moment there was another machine available on the cluster.
The issue is that Hyper-V - and Failover Cluster - only talk about computers in the scope of hostnames, so without WinRM authentication passthrough (really unsafe) or CredSSP (manual setup) I need to be able to spin up a separate connection to the second machine - of which I only know the hostname.
A more successful - naïve - solution might be to instead let the machine that you're connected to do a DNS lookup and return the IP for the other computer. Or just maybe promoting Kerberos connections more.
from foreman_hyperv.
Using fqdn for the winRM endpoint solved the problem for me.
Add a comment to use fqdn and close the ticket?
from foreman_hyperv.
I mean, there only reason why IPs can't be used is due to a hack for doing direct connections to clustered machines, but I guess that would be better done through a new issue instead of leaving this one about.
I'll just throw in a disclaimer for now then.
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
- 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
- Issue with Gen2 Compute profiles HOT 14
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.