[SERVER-25661] Improve restart logic for Jepsen LXC containers Created: 17/Aug/16  Updated: 02/Sep/16  Resolved: 18/Aug/16

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 3.3.12

Type: Task Priority: Major - P3
Reporter: Jonathan Abrahams Assignee: Jonathan Abrahams
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Sprint: TIG 2016-08-29
Participants:
Linked BF Score: 0

 Description   

If one of the Jepsen LXC containers is not running, we restart it and wait up to 5 seconds for it to be running. We should increase the timeout to 30 seconds and add debugging to the LXC log.

sudo lxc-start -n n1 --logpriority=DEBUG --logfile=/var/log/lxc/n1.log -d



 Comments   
Comment by Githook User [ 18/Aug/16 ]

Author:

{u'username': u'hptabster', u'name': u'Jonathan Abrahams', u'email': u'jonathan@mongodb.com'}

Message: SERVER-25661 Improve restart logic for Jepsen LXC containers and add extra info in case it fails to start.
Branch: master
https://github.com/mongodb/mongo/commit/13fa28982d008568f7620d73ddec0c61fad7cbc8

Generated at Thu Feb 08 04:09:49 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.