-
Notifications
You must be signed in to change notification settings - Fork 22
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
Error in launching task: Trying to map ports but no network interface is available #43
Comments
Though I don't test with Windows2012R2 on the regular, the last time I did test against that OS version, I didn't come across any issues. I think the code is unable to find the network resource port that is established outside of the
Also the |
@Vulfox I have attempted specifying static and also tried You mention "move" of the network stanza - where would I move it to? My understanding is it can only belong in the So, I have tried:
And:
|
@Vulfox @futuralogic is using a Looking at the error
hashicorp/nomad#8488 might be helpful. @futuralogic Which version of @Vulfox You might wanna check with On a side note:
Even if there is an error, |
@shishir-a412ed I'll give running the driver a try for nomad 1.0+ and update our tests accordingly. Everything in the repo is still operating on 0.11.x. It looks like that fix is applicable to all drivers, however there may be some code change that is needed on this driver's behalf to correctly gather task and group level allocated ports like what was done with the docker driver. Thanks for the tips. #41 is hopefully the issue to address the lack of transparency when it comes to errors and/or gracefully handling the situation. |
@Vulfox Thanks for following-up, much appreciated. I'm using nomad |
Still looking into this @futuralogic . Been addressing some other things with this driver as well. I can confirm, that with nomad 1.0+ the driver does not work (create an app pool nor site). This is definitely related to the bindings issue as well as the issue noted about a task reporting as "healthy" when indeed, it did not do its job. |
@Vulfox Thank you! Much appreciated! |
@futuralogic , I have fixed the binding issue with Nomad 1.0+, if you build a binary from the master branch, you should be able to move forward. There are a couple more issues related to the Nomad 1.0+ readiness atm, but you should see your website get created at the least. Edit: Once I have stabilized 0.2.0, I'll be putting it up as a release on github. |
It worked successfully with a basic binding. I will aim to do some further testing with site + app xml config files. Is there anything specific around your comment "There are a couple more issues related to the Nomad 1.0+ readiness atm" that you could elaborate on? Or is it mostly behind-the-scenes type stuff? We're not (that I know of) going to be attempting complicated IIS configurations, etc. Likely sticking to site/app xml launches and potentially some straight "path" bindings as needed. Thank you so much for your work getting this updated for 1.0+ - it's greatly appreciated. We're excited to be able to move forward with nomad for our IIS apps. |
@futuralogic There are a couple of outstanding bugs with the system and a few enhancements to ensure that we have a stable product here (such as an end to end test framework). To help visualize what needs to be done, I created a When I meant Nomad 1.0+ readiness, I think I got mixed up and meant driver 0.2.0 release readiness. I may have conflated the two, I do apologize. I hope the milestone makes it a bit more clear as what is remaining and potential bugs to look out for. The biggest one I can think of being a blocker for you, is the use of importing XMLs. This issue covers Site XML interaction #52 . I have the code done that makes for a better XML interaction done. I am just going through the testing process now. I will be drafting up a PR that will probably have all of the remaining issues fixed and eventually siphoning it into smaller PRs for folks to ingest. The drafted PR should be tied to a branch, so if you need that XML interaction sooner than later, you will have a way to work with it while I finish up other 0.2.0 items that are somewhat tied to it. |
Hi @Vulfox! Great work is being done here! I've built a binary from the |
Hey @tfrijsewijk , are there any errors being thrown in the nomad logs when trying to set the bindings? What does the end result in IIS look like (empty, corrupted)? An example of what your Nomad config might help too, especially with the 0.2.0 not being terribly well documented and somewhat experimental. |
Hi @Vulfox! I am such a dummy -> I was doing something completely wrong.. I want my application to run on port 80, so in the I wanted to provide you with a good example, but doing that I fixed my own problem. Thanks for replying anyway! How is the development coming along? I'm looking forward to 0.2.0. Is Roblox actually using this driver or an internal fork? |
@tfrijsewijk Development is unsteady as you can see. I have higher Roblox priorities than this driver. It was initially made as a POC and it hasn't taken flight as much as I would like. What you see here is what we tried to utilize internally. There's a lot of weird things we do that needed addressing and we might be rounding a corner where this driver might be feasible again. I've been meaning to loop back on this repo in my free time to deal with dated dependencies and release a bulk of 0.2.0, but Elden Ring is eating up all of my free time right now :) |
So if I understand correctly, the driver still has a future :) I've heard that Elden Ring isn't a small indie game.. I hope you'll finish the game quickly so I can stalk you around here again ;-) |
We're in the process of evaluating nomad and trying to test the IIS driver but can't get it to register a single site.
This occurs on two separate IIS servers (we are testing with).
OS: Server 2012 R2 Standard (x64)
Is there something we're missing in our client configuration or in the job spec?
> nomad run job.nomad
Except from the nomad log:
Here is the job file:
Client config:
The text was updated successfully, but these errors were encountered: