Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [18:36:34] Miroslav Anashkin: On the master node
- Open `/opt/rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/astute-0.0.2/lib/astute/config.rb`
- There is Vim installed on 4.1.1 master node.
- Change the following parameters:
- 1.
- conf[:PUPPET_TIMEOUT] = 90 * 60 # maximum time it waits for the whole deployment
- Default timeout for the deployment is 90 minutes, it is set in seconds.
- Please increase it to, say , 150 * 60 (150 minutes) as following or to any reasonable value.
- conf[:PUPPET_TIMEOUT] = 150 * 60 # maximum time it waits for the whole deployment
- 2.
- conf[:REBOOT_TIMEOUT] = 120 # how long it can take for node to reboot
- I would recommend to increase it to 300, or to the number of seconds, enough to reboot your current servers.
- Save the config file.
- Then either reboot the whole master node or run the following commands to make changes effective:
- `supervisorctl restart nailgun`
- `ps -ef | grep naily`
- Check the naily* processed PIDs
- Kill "naily master" process
- Run `ps -ef | grep naily` one more time and check all the "naily*" processes have been restarted automatically (have new PIDs)
- After that you may proceed with re-deploy.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement