GithubHelp home page GithubHelp logo

Problem creating vm about foreman_hyperv HOT 5 CLOSED

ananace avatar ananace commented on June 15, 2024
Problem creating vm

from foreman_hyperv.

Comments (5)

ananace avatar ananace commented on June 15, 2024

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.

selund avatar selund commented on June 15, 2024

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.

ananace avatar ananace commented on June 15, 2024

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.

selund avatar selund commented on June 15, 2024

Using fqdn for the winRM endpoint solved the problem for me.
Add a comment to use fqdn and close the ticket?

from foreman_hyperv.

ananace avatar ananace commented on June 15, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.