Skip to content
This repository was archived by the owner on Dec 4, 2018. It is now read-only.

Fix the totally weird way tgtd was handled#231

Merged
vuntz merged 2 commits into
crowbar:masterfrom
vuntz:tgtd-start
May 13, 2015
Merged

Fix the totally weird way tgtd was handled#231
vuntz merged 2 commits into
crowbar:masterfrom
vuntz:tgtd-start

Conversation

@vuntz

@vuntz vuntz commented Jan 30, 2015

Copy link
Copy Markdown
Member

This all came from the fact that tgtd wasn't running on a controller, because it was stopped and chef never restarts it.

@dirkmueller

Copy link
Copy Markdown

I'm not sure thats a good idea.. our init script does do weird stuff on a restart.

@vuntz

vuntz commented Jan 30, 2015

Copy link
Copy Markdown
Member Author

@dirkmueller: afaik, there should be no real change compared to what we are doing today. Except that the code should be less confusing.

Or am I missing something?

@tboerger

tboerger commented Feb 2, 2015

Copy link
Copy Markdown

👍

@dirkmueller

Copy link
Copy Markdown

@vuntz from my perspective you're inverting the platform check condition from unless to if.. I don't think thats a good idea.

vuntz added 2 commits February 6, 2015 10:19
Always start it, instead of relying on a notification to restart it.

Properly declare how to restart it, instead of doing that in a bash
command.
@vuntz

vuntz commented Feb 6, 2015

Copy link
Copy Markdown
Member Author

@dirkmueller good catch. Fixed (but still untested)

@dirkmueller

Copy link
Copy Markdown

+1

@mjura

mjura commented Mar 6, 2015

Copy link
Copy Markdown

@vuntz I think that this can be merged

👍

@rsalevsky

Copy link
Copy Markdown
Member

@vuntz Is this PR ready to merge? The title is a little bit unclear due to the WIP.

@vuntz

vuntz commented May 12, 2015

Copy link
Copy Markdown
Member Author

@rsalevsky sorry, I never actually tested it, hence the title. I can test it in my next deployment, though.

@vuntz vuntz changed the title [WIP, untested] Fix the totally weird way tgtd was handled Fix the totally weird way tgtd was handled May 13, 2015
@vuntz

vuntz commented May 13, 2015

Copy link
Copy Markdown
Member Author

Seems to work fine, so let's try it in master.

vuntz added a commit that referenced this pull request May 13, 2015
Fix the totally weird way tgtd was handled
@vuntz vuntz merged commit 0ae738a into crowbar:master May 13, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

5 participants