Skip to content
This repository has been archived by the owner on Dec 18, 2019. It is now read-only.

Unable to get logs to scroll in realtime(or at all) #112

Open
mdonnellyli opened this issue Jul 30, 2017 · 2 comments
Open

Unable to get logs to scroll in realtime(or at all) #112

mdonnellyli opened this issue Jul 30, 2017 · 2 comments

Comments

@mdonnellyli
Copy link

When I run deploys I get the start of the deployment in the logs windows but none of the logs I have create come out. The last thing I see is below and deployinator is unable to detect that the deployment has completed. I am using log_and_stream and the 1501422651-nobody-workbench_bot_uat_deploy.html is filled as expected. My environment is always building from the lastest Gem and is running in Docker with ports 7777/7778 open I can see the WS connection open in the browser(not sure how to inspect the traffic).

The deployment its self is some json posts to various services and takes approx 5-10 secs

Thanks
Mark

Any ideas?

LOCKING workbench_bot
Push started at 1501422651Calling workbench_bot_uat_deploy
2017-07-30 13:50:51 +0000: Running ln -nfs /opt/deployinator/run_logs/1501422651-nobody-workbench_bot_uat_deploy.html /opt/deployinator/run_logs/current-workbench_bot
Time: 0.000000 0.000000 0.000000 ( 0.002177)
@mmercedes
Copy link
Contributor

Are you using the log_and_shout method with an old_build specified to announce the completion of the deploy process? That should generate the log line used by deployinator to show previous deploy logs.

@mdonnellyli
Copy link
Author

mdonnellyli commented Aug 1, 2017

I wasn't but I added this. Unfortunately it hasn't made any difference. Here is an example that I am deploying with.

def workbench_bot_uat_deploy(deploy)
    old_build = uat_build
    new_build = qa_build
    log_and_stream 'Starting UAT Deployment of Workbench-Bot....'
    log_and_stream "#{deploy}
    puts "#{deploy}
    mesos_promote('qa', 'workbench-bot')
    log_and_shout :old_build => old_build, :build => new_build

end

Are there other methods I should be calling to setup the deploy?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants