Guest User

Untitled

a guest
Aug 21st, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.49 KB | None | 0 0
  1. {
  2. "AllocModifyIndex": 19,
  3. "ClientDescription": "",
  4. "ClientStatus": "running",
  5. "CreateIndex": 19,
  6. "CreateTime": 1534879167408827400,
  7. "DeploymentID": "",
  8. "DeploymentStatus": {
  9. "Canary": false,
  10. "Healthy": false,
  11. "ModifyIndex": 0,
  12. "Timestamp": "2018-08-21T19:24:27.494617491Z"
  13. },
  14. "DesiredDescription": "",
  15. "DesiredStatus": "run",
  16. "DesiredTransition": {
  17. "ForceReschedule": null,
  18. "Migrate": null,
  19. "Reschedule": null
  20. },
  21. "EvalID": "48794f86-d5cc-dbec-df60-59c639418a40",
  22. "FollowupEvalID": "",
  23. "ID": "9ba1aee8-6fd4-5c23-c033-632760ce1956",
  24. "Job": {
  25. "AllAtOnce": false,
  26. "Constraints": null,
  27. "CreateIndex": 17,
  28. "Datacenters": [
  29. "newdev"
  30. ],
  31. "Dispatched": false,
  32. "ID": "example",
  33. "JobModifyIndex": 17,
  34. "Meta": null,
  35. "ModifyIndex": 17,
  36. "Name": "example",
  37. "Namespace": "default",
  38. "ParameterizedJob": null,
  39. "ParentID": "",
  40. "Payload": null,
  41. "Periodic": null,
  42. "Priority": 50,
  43. "Region": "global",
  44. "Stable": false,
  45. "Status": "pending",
  46. "StatusDescription": "",
  47. "Stop": false,
  48. "SubmitTime": 1534879167271033600,
  49. "TaskGroups": [
  50. {
  51. "Constraints": null,
  52. "Count": 1,
  53. "EphemeralDisk": {
  54. "Migrate": false,
  55. "SizeMB": 300,
  56. "Sticky": false
  57. },
  58. "Meta": null,
  59. "Migrate": {
  60. "HealthCheck": "checks",
  61. "HealthyDeadline": 300000000000,
  62. "MaxParallel": 1,
  63. "MinHealthyTime": 10000000000
  64. },
  65. "Name": "cache",
  66. "ReschedulePolicy": {
  67. "Attempts": 0,
  68. "Delay": 30000000000,
  69. "DelayFunction": "exponential",
  70. "Interval": 0,
  71. "MaxDelay": 3600000000000,
  72. "Unlimited": true
  73. },
  74. "RestartPolicy": {
  75. "Attempts": 2,
  76. "Delay": 15000000000,
  77. "Interval": 1800000000000,
  78. "Mode": "fail"
  79. },
  80. "Tasks": [
  81. {
  82. "Artifacts": null,
  83. "Config": {
  84. "port_map": [
  85. {
  86. "db": 6379
  87. }
  88. ],
  89. "image": "redis:3.2"
  90. },
  91. "Constraints": null,
  92. "DispatchPayload": null,
  93. "Driver": "docker",
  94. "Env": null,
  95. "KillSignal": "",
  96. "KillTimeout": 5000000000,
  97. "Leader": false,
  98. "LogConfig": {
  99. "MaxFileSizeMB": 10,
  100. "MaxFiles": 10
  101. },
  102. "Meta": null,
  103. "Name": "redis",
  104. "Resources": {
  105. "CPU": 500,
  106. "DiskMB": 0,
  107. "IOPS": 0,
  108. "MemoryMB": 256,
  109. "Networks": [
  110. {
  111. "CIDR": "",
  112. "Device": "",
  113. "DynamicPorts": [
  114. {
  115. "Label": "db",
  116. "Value": 0
  117. }
  118. ],
  119. "IP": "",
  120. "MBits": 10,
  121. "ReservedPorts": null
  122. }
  123. ]
  124. },
  125. "Services": [
  126. {
  127. "AddressMode": "auto",
  128. "CanaryTags": null,
  129. "Checks": [
  130. {
  131. "AddressMode": "",
  132. "Args": null,
  133. "CheckRestart": null,
  134. "Command": "",
  135. "GRPCService": "",
  136. "GRPCUseTLS": false,
  137. "Header": null,
  138. "InitialStatus": "",
  139. "Interval": 10000000000,
  140. "Method": "",
  141. "Name": "alive",
  142. "Path": "",
  143. "PortLabel": "",
  144. "Protocol": "",
  145. "TLSSkipVerify": false,
  146. "Timeout": 2000000000,
  147. "Type": "tcp"
  148. },
  149. {
  150. "AddressMode": "",
  151. "Args": null,
  152. "CheckRestart": {
  153. "Grace": 90000000000,
  154. "IgnoreWarnings": false,
  155. "Limit": 3
  156. },
  157. "Command": "/usr/bin/nonexisting-script",
  158. "GRPCService": "",
  159. "GRPCUseTLS": false,
  160. "Header": null,
  161. "InitialStatus": "",
  162. "Interval": 60000000000,
  163. "Method": "",
  164. "Name": "nonexisting-script",
  165. "Path": "",
  166. "PortLabel": "",
  167. "Protocol": "",
  168. "TLSSkipVerify": false,
  169. "Timeout": 120000000000,
  170. "Type": "script"
  171. }
  172. ],
  173. "Name": "redis-cache",
  174. "PortLabel": "db",
  175. "Tags": [
  176. "global",
  177. "cache"
  178. ]
  179. }
  180. ],
  181. "ShutdownDelay": 0,
  182. "Templates": null,
  183. "User": "",
  184. "Vault": null
  185. }
  186. ],
  187. "Update": null
  188. }
  189. ],
  190. "Type": "service",
  191. "Update": {
  192. "AutoRevert": false,
  193. "Canary": 0,
  194. "HealthCheck": "",
  195. "HealthyDeadline": 0,
  196. "MaxParallel": 0,
  197. "MinHealthyTime": 0,
  198. "ProgressDeadline": 0,
  199. "Stagger": 0
  200. },
  201. "VaultToken": "",
  202. "Version": 0
  203. },
  204. "JobID": "example",
  205. "Metrics": {
  206. "AllocationTime": 64524,
  207. "ClassExhausted": null,
  208. "ClassFiltered": null,
  209. "CoalescedFailures": 0,
  210. "ConstraintFiltered": null,
  211. "DimensionExhausted": null,
  212. "NodesAvailable": {
  213. "newdev": 3
  214. },
  215. "NodesEvaluated": 2,
  216. "NodesExhausted": 0,
  217. "NodesFiltered": 0,
  218. "QuotaExhausted": null,
  219. "Scores": {
  220. "7eca1571-7ebd-28c6-688d-d7af205d45c8.binpack": 5.54571617947758,
  221. "88e35026-3df9-a0e0-ee6d-658cccf7efff.binpack": 5.54571617947758
  222. }
  223. },
  224. "ModifyIndex": 32,
  225. "ModifyTime": 1534879467687592700,
  226. "Name": "example.cache[0]",
  227. "Namespace": "default",
  228. "NextAllocation": "",
  229. "NodeID": "88e35026-3df9-a0e0-ee6d-658cccf7efff",
  230. "PreviousAllocation": "",
  231. "RescheduleTracker": null,
  232. "Resources": {
  233. "CPU": 500,
  234. "DiskMB": 300,
  235. "IOPS": 0,
  236. "MemoryMB": 256,
  237. "Networks": [
  238. {
  239. "CIDR": "",
  240. "Device": "eth0",
  241. "DynamicPorts": [
  242. {
  243. "Label": "db",
  244. "Value": 29103
  245. }
  246. ],
  247. "IP": "10.156.0.19",
  248. "MBits": 10,
  249. "ReservedPorts": null
  250. }
  251. ]
  252. },
  253. "SharedResources": {
  254. "CPU": 0,
  255. "DiskMB": 300,
  256. "IOPS": 0,
  257. "MemoryMB": 0,
  258. "Networks": null
  259. },
  260. "TaskGroup": "cache",
  261. "TaskResources": {
  262. "redis": {
  263. "CPU": 500,
  264. "DiskMB": 0,
  265. "IOPS": 0,
  266. "MemoryMB": 256,
  267. "Networks": [
  268. {
  269. "CIDR": "",
  270. "Device": "eth0",
  271. "DynamicPorts": [
  272. {
  273. "Label": "db",
  274. "Value": 29103
  275. }
  276. ],
  277. "IP": "10.156.0.19",
  278. "MBits": 10,
  279. "ReservedPorts": null
  280. }
  281. ]
  282. }
  283. },
  284. "TaskStates": {
  285. "redis": {
  286. "Events": [
  287. {
  288. "Details": {},
  289. "DiskLimit": 0,
  290. "DisplayMessage": "Task received by client",
  291. "DownloadError": "",
  292. "DriverError": "",
  293. "DriverMessage": "",
  294. "ExitCode": 0,
  295. "FailedSibling": "",
  296. "FailsTask": false,
  297. "GenericSource": "",
  298. "KillError": "",
  299. "KillReason": "",
  300. "KillTimeout": 0,
  301. "Message": "",
  302. "RestartReason": "",
  303. "SetupError": "",
  304. "Signal": 0,
  305. "StartDelay": 0,
  306. "TaskSignal": "",
  307. "TaskSignalReason": "",
  308. "Time": 1534879167493283300,
  309. "Type": "Received",
  310. "ValidationError": "",
  311. "VaultError": ""
  312. },
  313. {
  314. "Details": {
  315. "message": "Building Task Directory"
  316. },
  317. "DiskLimit": 0,
  318. "DisplayMessage": "Building Task Directory",
  319. "DownloadError": "",
  320. "DriverError": "",
  321. "DriverMessage": "",
  322. "ExitCode": 0,
  323. "FailedSibling": "",
  324. "FailsTask": false,
  325. "GenericSource": "",
  326. "KillError": "",
  327. "KillReason": "",
  328. "KillTimeout": 0,
  329. "Message": "Building Task Directory",
  330. "RestartReason": "",
  331. "SetupError": "",
  332. "Signal": 0,
  333. "StartDelay": 0,
  334. "TaskSignal": "",
  335. "TaskSignalReason": "",
  336. "Time": 1534879167494384000,
  337. "Type": "Task Setup",
  338. "ValidationError": "",
  339. "VaultError": ""
  340. },
  341. {
  342. "Details": {
  343. "driver_message": "Downloading image redis:3.2"
  344. },
  345. "DiskLimit": 0,
  346. "DisplayMessage": "Downloading image redis:3.2",
  347. "DownloadError": "",
  348. "DriverError": "",
  349. "DriverMessage": "Downloading image redis:3.2",
  350. "ExitCode": 0,
  351. "FailedSibling": "",
  352. "FailsTask": false,
  353. "GenericSource": "",
  354. "KillError": "",
  355. "KillReason": "",
  356. "KillTimeout": 0,
  357. "Message": "",
  358. "RestartReason": "",
  359. "SetupError": "",
  360. "Signal": 0,
  361. "StartDelay": 0,
  362. "TaskSignal": "",
  363. "TaskSignalReason": "",
  364. "Time": 1534879167519847200,
  365. "Type": "Driver",
  366. "ValidationError": "",
  367. "VaultError": ""
  368. },
  369. {
  370. "Details": {},
  371. "DiskLimit": 0,
  372. "DisplayMessage": "Task started by client",
  373. "DownloadError": "",
  374. "DriverError": "",
  375. "DriverMessage": "",
  376. "ExitCode": 0,
  377. "FailedSibling": "",
  378. "FailsTask": false,
  379. "GenericSource": "",
  380. "KillError": "",
  381. "KillReason": "",
  382. "KillTimeout": 0,
  383. "Message": "",
  384. "RestartReason": "",
  385. "SetupError": "",
  386. "Signal": 0,
  387. "StartDelay": 0,
  388. "TaskSignal": "",
  389. "TaskSignalReason": "",
  390. "Time": 1534879173228308700,
  391. "Type": "Started",
  392. "ValidationError": "",
  393. "VaultError": ""
  394. },
  395. {
  396. "Details": {
  397. "restart_reason": "healthcheck: check \"nonexisting-script\" unhealthy"
  398. },
  399. "DiskLimit": 0,
  400. "DisplayMessage": "healthcheck: check \"nonexisting-script\" unhealthy",
  401. "DownloadError": "",
  402. "DriverError": "",
  403. "DriverMessage": "",
  404. "ExitCode": 0,
  405. "FailedSibling": "",
  406. "FailsTask": false,
  407. "GenericSource": "",
  408. "KillError": "",
  409. "KillReason": "",
  410. "KillTimeout": 0,
  411. "Message": "",
  412. "RestartReason": "healthcheck: check \"nonexisting-script\" unhealthy",
  413. "SetupError": "",
  414. "Signal": 0,
  415. "StartDelay": 0,
  416. "TaskSignal": "",
  417. "TaskSignalReason": "",
  418. "Time": 1534879383884580400,
  419. "Type": "Restart Signaled",
  420. "ValidationError": "",
  421. "VaultError": ""
  422. },
  423. {
  424. "Details": {
  425. "kill_timeout": "5s"
  426. },
  427. "DiskLimit": 0,
  428. "DisplayMessage": "Sent interrupt. Waiting 5s before force killing",
  429. "DownloadError": "",
  430. "DriverError": "",
  431. "DriverMessage": "",
  432. "ExitCode": 0,
  433. "FailedSibling": "",
  434. "FailsTask": false,
  435. "GenericSource": "",
  436. "KillError": "",
  437. "KillReason": "",
  438. "KillTimeout": 5000000000,
  439. "Message": "",
  440. "RestartReason": "",
  441. "SetupError": "",
  442. "Signal": 0,
  443. "StartDelay": 0,
  444. "TaskSignal": "",
  445. "TaskSignalReason": "",
  446. "Time": 1534879383885375700,
  447. "Type": "Killing",
  448. "ValidationError": "",
  449. "VaultError": ""
  450. },
  451. {
  452. "Details": {},
  453. "DiskLimit": 0,
  454. "DisplayMessage": "Task successfully killed",
  455. "DownloadError": "",
  456. "DriverError": "",
  457. "DriverMessage": "",
  458. "ExitCode": 0,
  459. "FailedSibling": "",
  460. "FailsTask": false,
  461. "GenericSource": "",
  462. "KillError": "",
  463. "KillReason": "",
  464. "KillTimeout": 0,
  465. "Message": "",
  466. "RestartReason": "",
  467. "SetupError": "",
  468. "Signal": 0,
  469. "StartDelay": 0,
  470. "TaskSignal": "",
  471. "TaskSignalReason": "",
  472. "Time": 1534879384160341000,
  473. "Type": "Killed",
  474. "ValidationError": "",
  475. "VaultError": ""
  476. },
  477. {
  478. "Details": {
  479. "restart_reason": "Restart within policy",
  480. "start_delay": "16544188545"
  481. },
  482. "DiskLimit": 0,
  483. "DisplayMessage": "Task restarting in 16.544188545s",
  484. "DownloadError": "",
  485. "DriverError": "",
  486. "DriverMessage": "",
  487. "ExitCode": 0,
  488. "FailedSibling": "",
  489. "FailsTask": false,
  490. "GenericSource": "",
  491. "KillError": "",
  492. "KillReason": "",
  493. "KillTimeout": 0,
  494. "Message": "",
  495. "RestartReason": "Restart within policy",
  496. "SetupError": "",
  497. "Signal": 0,
  498. "StartDelay": 16544188545,
  499. "TaskSignal": "",
  500. "TaskSignalReason": "",
  501. "Time": 1534879388192347400,
  502. "Type": "Restarting",
  503. "ValidationError": "",
  504. "VaultError": ""
  505. },
  506. {
  507. "Details": {},
  508. "DiskLimit": 0,
  509. "DisplayMessage": "Task started by client",
  510. "DownloadError": "",
  511. "DriverError": "",
  512. "DriverMessage": "",
  513. "ExitCode": 0,
  514. "FailedSibling": "",
  515. "FailsTask": false,
  516. "GenericSource": "",
  517. "KillError": "",
  518. "KillReason": "",
  519. "KillTimeout": 0,
  520. "Message": "",
  521. "RestartReason": "",
  522. "SetupError": "",
  523. "Signal": 0,
  524. "StartDelay": 0,
  525. "TaskSignal": "",
  526. "TaskSignalReason": "",
  527. "Time": 1534879405135740700,
  528. "Type": "Started",
  529. "ValidationError": "",
  530. "VaultError": ""
  531. }
  532. ],
  533. "Failed": false,
  534. "FinishedAt": "0001-01-01T00:00:00Z",
  535. "LastRestart": "2018-08-21T19:23:08.192347393Z",
  536. "Restarts": 1,
  537. "StartedAt": "2018-08-21T19:23:25.149161842Z",
  538. "State": "running"
  539. }
  540. }
  541. }
Add Comment
Please, Sign In to add comment