question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Two question regarding deployment/setup

See original GitHub issue

Hello,

  1. After setting up trains-agent, how should I make sure the agent has access to that latest code updates?

For example:

  1. I’m working on my dev machine, starting a new experiment

  2. I’m duplicating the experiment on the trains-server

  3. The agent grabs the experiment and starts doing its thing

  4. I’m making a code change on my dev machine, starting a new experiment

  5. I’m duplicating the experiment on the trains-server

  6. —> what should happen next? <— the agent is yet to be updated with the latest code change, should I update all of the agents manually before?

  7. Do I need to mount different weights volume for each agent?

Thank you! Shaked

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
Shakedcommented, Jan 26, 2020

Hey @bmartinn

Thank you for your reply.

Apparently the issue was related to the experiment, because I tried another one and it just worked… I guess I did something wrong before and didn’t give enough attention how I messed it up .

Thanks again Shaked

0reactions
bmartinncommented, Jan 15, 2020

@Shaked , it seems it is running the selected docker, but from your error I assume it did not install the required python packages inside the docker.

Let’s take the trains package as an example, do you have it under “Experiment” -> “Execution” -> “Installed Packages” ?

If you do not, that seems to be the problem. Python packages are installed inside the docker according to this section on the experiment. It should be automatically populated when you execute your code in development-mode, e.g. manually, without the trains-agent.

If the trains package is listed under “Installed Packages”, then I suggest you send the installation log, because obviously it failed to install it…

BTW, what do you mean by:

Just to make sure, we are trying to mount local python modules from /home/Shaked/remote_code/green:/opt/green and /opt/experiments using our own custom base docker image.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Nine questions to ask when (continuously) deploying ...
2. What information is needed from developers to deploy a service? How are configuration and secrets handled? When a service is deployed, a...
Read more >
Ten Deployment/DevOps Interview Questions You Should Know
A: A candidate's answer should include how production data is moved to the QA environment on a schedule. They should mention how the...
Read more >
20 Deployment Interview Questions and Answers - CLIMB
1. What do you understand by the term “deployment”? · 2. Explain deployment strategies. · 3. How would you define a release? ·...
Read more >
Interview Questions - Software Deployment - ITNinja
Within the past couple weeks I have been asked these questions: 1) What are your thoughts and experiences for patching .msi files? What...
Read more >
96 questions with answers in DEPLOYMENT | Science topic
Hi, I am working on UAV deployment in a wireless communication scenario to cache. Does anybody know how to simulate/deploy UAVs in Matlab...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found