-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Zip Decompressor not working on Windows #923
Comments
Fixed via #921 |
@mohitarora There will be support for un-archiving artifacts in Nomad 0.3.1, which will go out later tonight. The syntax for specifying artifacts has changed, so please refer the docs once we release. |
Thanks @diptanu, waiting for new version. |
@mohitarora Just released 👍 |
Still not working, This time not even any error reported on Client
|
@mohitarora Can you post the results of |
nomad alloc-status 92d01a33
PS C:\nomad> .\nomad.exe fs ls 92d01a33 microservice
|
Its exactly the same error I was getting before upgrade Before upgrade i was able to see the error in client logs but not after upgrade. |
What is the exact artifact source? Obviously you can remove the host name but really want to see the extension. Also what is the contents of the artifact. |
Artifact Source: https://ARTIFACT_LOCATION/build.zip |
Hmm it worked for me on a linux box. I will have to spin up a windows VM and try to reproduce |
Thanks I will try on a linux box in the mean time. Can you share your zip file? Just want to compare. |
I just did this to test:
|
Some Success, zip file is getting extractor to task directory now. Apparently there was an issue with zip file (Still need to figure the exact problem), but exe is still giving problems, need to figure out. Thanks |
@mohitarora should we close this issue then? We can open up one related to the new problem |
Yes, we can close this one. Thanks. |
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues. |
Nomad version - v0.3.0
Operating system and Environment details - Windows
Issue - I am trying to run an exe using Nomad Raw Fork/Exec Driver, Artifact Source is a zip file which contains executable and its dependencies. (Job Config below). When i submit the job, i see following error on client
2016/03/16 03:38:37 [ERR] client: failed to start task 'microservice' for alloc '2ae8d6fb-9a25-c88b-8dd6-bd72973356d': Error downloading artifact: expected a single file: C:\Users\mohit\AppData\Local\Temp\2\getter672850936\archive
Job Config
The text was updated successfully, but these errors were encountered: