Suggest wiping out alloc dir too
This commit is contained in:
parent
11f68bfca2
commit
596727230b
|
@ -302,8 +302,9 @@ func NewClient(cfg *config.Config, consulCatalog consul.CatalogAPI, consulServic
|
||||||
logger.Printf("[ERR] client: failed to restore state: %v", err)
|
logger.Printf("[ERR] client: failed to restore state: %v", err)
|
||||||
logger.Printf("[ERR] client: Nomad is unable to start due to corrupt state. "+
|
logger.Printf("[ERR] client: Nomad is unable to start due to corrupt state. "+
|
||||||
"The safest way to proceed is to manually stop running task processes "+
|
"The safest way to proceed is to manually stop running task processes "+
|
||||||
"and remove Nomad's state dir (%q) before restarting. Lost allocations "+
|
"and remove Nomad's state (%q) and alloc (%d) directories before "+
|
||||||
"will be rescheduled.", c.config.StateDir)
|
"restarting. Lost allocations will be rescheduled.",
|
||||||
|
c.config.StateDir, c.config.AllocDir)
|
||||||
logger.Printf("[ERR] client: Corrupt state is often caused by a bug. Please " +
|
logger.Printf("[ERR] client: Corrupt state is often caused by a bug. Please " +
|
||||||
"report as much information as possible to " +
|
"report as much information as possible to " +
|
||||||
"https://github.com/hashicorp/nomad/issues")
|
"https://github.com/hashicorp/nomad/issues")
|
||||||
|
|
Loading…
Reference in a new issue