Skip to content
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

Distributed docker #69

Merged
merged 9 commits into from
Aug 2, 2015
Merged

Distributed docker #69

merged 9 commits into from
Aug 2, 2015

Conversation

mihirpandya
Copy link
Member

No description provided.

@landscape-bot
Copy link

Code Health
Repository health decreased by 0.37% when pulling b57438d on dist_docker into 12972e5 on master.

import config
from tangoObjects import TangoMachine

def timeout(command, time_out=1):
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So I didn't catch this for the last PR, but is there a reason why the timeout function is not in a library somewhere? It looks like timeout and timeoutWithReturnStatus are just copied between all the vmms's.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah there's no reason. Just hadn't gotten down to separating them.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I also commented about this previously. We can have a vmmsUtils or something like that.

@landscape-bot
Copy link

Code Health
Repository health decreased by 1% when pulling 7a6ecaa on dist_docker into 12972e5 on master.

"""
try:
self.log = logging.getLogger("DistDocker")
self.hosts = ['54.186.238.205', '54.68.89.235']
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm sure you know this, but this will want to be factored out into a config parameter eventually.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah. I wanted to think a little more about that. It would be cool to add and remove host machines live instead of having to restart Tango every time. And to do that, maybe we store the path to a separate hosts_config file in the main config file and install a signal handler in DistDocker to reload that config file. But then there're two config files, which is messy and confusing...

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe have a default list in the config file and let the users add new ones through the cmd line client? (Like I think we do for VMs right now)

@icanb
Copy link
Member

icanb commented Apr 21, 2015

Btw, I think we should switch to the same version control mechanism on Tango. (ie. Having the develop branch)

@mihirpandya
Copy link
Member Author

Is there any way to disable Travis since it doesn't work Docker? All the red crosses don't mean anything...

@landscape-bot
Copy link

Code Health
Repository health decreased by 1% when pulling d2c8530 on dist_docker into 93ce3f8 on master.

@ymzong
Copy link
Member

ymzong commented Apr 26, 2015

I think there's no way to disable an already existing PR, but since I already disabled it on Travis, new commits/PRs will not go through Travis.

@landscape-bot
Copy link

Code Health
Repository health decreased by 0.45% when pulling c1f01f1 on dist_docker into 93ce3f8 on master.

@mihirpandya
Copy link
Member Author

Looks like new commits are still going through. Don't know about PRs.

@mihirpandya
Copy link
Member Author

Oh and @icanberk I agree with the develop branch idea. How can we do it?

@landscape-bot
Copy link

Code Health
Repository health decreased by 0.52% when pulling 66ae6a6 on dist_docker into 93ce3f8 on master.

@ymzong
Copy link
Member

ymzong commented Apr 27, 2015

I would say the first step is to establish a stable version. Once you are there, simply branch out develop.

@landscape-bot
Copy link

Code Health
Repository health decreased by 0.18% when pulling 3f6953d on dist_docker into 93ce3f8 on master.

@landscape-bot
Copy link

Code Health
Repository health decreased by 0.03% when pulling eb18878 on dist_docker into 93ce3f8 on master.

mihirpandya added a commit that referenced this pull request Aug 2, 2015
@mihirpandya mihirpandya merged commit 5651be9 into master Aug 2, 2015
@yrkumar yrkumar deleted the dist_docker branch September 11, 2015 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants