Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "AllocModifyIndex": 19,
- "ClientDescription": "",
- "ClientStatus": "running",
- "CreateIndex": 19,
- "CreateTime": 1534879167408827400,
- "DeploymentID": "",
- "DeploymentStatus": {
- "Canary": false,
- "Healthy": false,
- "ModifyIndex": 0,
- "Timestamp": "2018-08-21T19:24:27.494617491Z"
- },
- "DesiredDescription": "",
- "DesiredStatus": "run",
- "DesiredTransition": {
- "ForceReschedule": null,
- "Migrate": null,
- "Reschedule": null
- },
- "EvalID": "48794f86-d5cc-dbec-df60-59c639418a40",
- "FollowupEvalID": "",
- "ID": "9ba1aee8-6fd4-5c23-c033-632760ce1956",
- "Job": {
- "AllAtOnce": false,
- "Constraints": null,
- "CreateIndex": 17,
- "Datacenters": [
- "newdev"
- ],
- "Dispatched": false,
- "ID": "example",
- "JobModifyIndex": 17,
- "Meta": null,
- "ModifyIndex": 17,
- "Name": "example",
- "Namespace": "default",
- "ParameterizedJob": null,
- "ParentID": "",
- "Payload": null,
- "Periodic": null,
- "Priority": 50,
- "Region": "global",
- "Stable": false,
- "Status": "pending",
- "StatusDescription": "",
- "Stop": false,
- "SubmitTime": 1534879167271033600,
- "TaskGroups": [
- {
- "Constraints": null,
- "Count": 1,
- "EphemeralDisk": {
- "Migrate": false,
- "SizeMB": 300,
- "Sticky": false
- },
- "Meta": null,
- "Migrate": {
- "HealthCheck": "checks",
- "HealthyDeadline": 300000000000,
- "MaxParallel": 1,
- "MinHealthyTime": 10000000000
- },
- "Name": "cache",
- "ReschedulePolicy": {
- "Attempts": 0,
- "Delay": 30000000000,
- "DelayFunction": "exponential",
- "Interval": 0,
- "MaxDelay": 3600000000000,
- "Unlimited": true
- },
- "RestartPolicy": {
- "Attempts": 2,
- "Delay": 15000000000,
- "Interval": 1800000000000,
- "Mode": "fail"
- },
- "Tasks": [
- {
- "Artifacts": null,
- "Config": {
- "port_map": [
- {
- "db": 6379
- }
- ],
- "image": "redis:3.2"
- },
- "Constraints": null,
- "DispatchPayload": null,
- "Driver": "docker",
- "Env": null,
- "KillSignal": "",
- "KillTimeout": 5000000000,
- "Leader": false,
- "LogConfig": {
- "MaxFileSizeMB": 10,
- "MaxFiles": 10
- },
- "Meta": null,
- "Name": "redis",
- "Resources": {
- "CPU": 500,
- "DiskMB": 0,
- "IOPS": 0,
- "MemoryMB": 256,
- "Networks": [
- {
- "CIDR": "",
- "Device": "",
- "DynamicPorts": [
- {
- "Label": "db",
- "Value": 0
- }
- ],
- "IP": "",
- "MBits": 10,
- "ReservedPorts": null
- }
- ]
- },
- "Services": [
- {
- "AddressMode": "auto",
- "CanaryTags": null,
- "Checks": [
- {
- "AddressMode": "",
- "Args": null,
- "CheckRestart": null,
- "Command": "",
- "GRPCService": "",
- "GRPCUseTLS": false,
- "Header": null,
- "InitialStatus": "",
- "Interval": 10000000000,
- "Method": "",
- "Name": "alive",
- "Path": "",
- "PortLabel": "",
- "Protocol": "",
- "TLSSkipVerify": false,
- "Timeout": 2000000000,
- "Type": "tcp"
- },
- {
- "AddressMode": "",
- "Args": null,
- "CheckRestart": {
- "Grace": 90000000000,
- "IgnoreWarnings": false,
- "Limit": 3
- },
- "Command": "/usr/bin/nonexisting-script",
- "GRPCService": "",
- "GRPCUseTLS": false,
- "Header": null,
- "InitialStatus": "",
- "Interval": 60000000000,
- "Method": "",
- "Name": "nonexisting-script",
- "Path": "",
- "PortLabel": "",
- "Protocol": "",
- "TLSSkipVerify": false,
- "Timeout": 120000000000,
- "Type": "script"
- }
- ],
- "Name": "redis-cache",
- "PortLabel": "db",
- "Tags": [
- "global",
- "cache"
- ]
- }
- ],
- "ShutdownDelay": 0,
- "Templates": null,
- "User": "",
- "Vault": null
- }
- ],
- "Update": null
- }
- ],
- "Type": "service",
- "Update": {
- "AutoRevert": false,
- "Canary": 0,
- "HealthCheck": "",
- "HealthyDeadline": 0,
- "MaxParallel": 0,
- "MinHealthyTime": 0,
- "ProgressDeadline": 0,
- "Stagger": 0
- },
- "VaultToken": "",
- "Version": 0
- },
- "JobID": "example",
- "Metrics": {
- "AllocationTime": 64524,
- "ClassExhausted": null,
- "ClassFiltered": null,
- "CoalescedFailures": 0,
- "ConstraintFiltered": null,
- "DimensionExhausted": null,
- "NodesAvailable": {
- "newdev": 3
- },
- "NodesEvaluated": 2,
- "NodesExhausted": 0,
- "NodesFiltered": 0,
- "QuotaExhausted": null,
- "Scores": {
- "7eca1571-7ebd-28c6-688d-d7af205d45c8.binpack": 5.54571617947758,
- "88e35026-3df9-a0e0-ee6d-658cccf7efff.binpack": 5.54571617947758
- }
- },
- "ModifyIndex": 32,
- "ModifyTime": 1534879467687592700,
- "Name": "example.cache[0]",
- "Namespace": "default",
- "NextAllocation": "",
- "NodeID": "88e35026-3df9-a0e0-ee6d-658cccf7efff",
- "PreviousAllocation": "",
- "RescheduleTracker": null,
- "Resources": {
- "CPU": 500,
- "DiskMB": 300,
- "IOPS": 0,
- "MemoryMB": 256,
- "Networks": [
- {
- "CIDR": "",
- "Device": "eth0",
- "DynamicPorts": [
- {
- "Label": "db",
- "Value": 29103
- }
- ],
- "IP": "10.156.0.19",
- "MBits": 10,
- "ReservedPorts": null
- }
- ]
- },
- "SharedResources": {
- "CPU": 0,
- "DiskMB": 300,
- "IOPS": 0,
- "MemoryMB": 0,
- "Networks": null
- },
- "TaskGroup": "cache",
- "TaskResources": {
- "redis": {
- "CPU": 500,
- "DiskMB": 0,
- "IOPS": 0,
- "MemoryMB": 256,
- "Networks": [
- {
- "CIDR": "",
- "Device": "eth0",
- "DynamicPorts": [
- {
- "Label": "db",
- "Value": 29103
- }
- ],
- "IP": "10.156.0.19",
- "MBits": 10,
- "ReservedPorts": null
- }
- ]
- }
- },
- "TaskStates": {
- "redis": {
- "Events": [
- {
- "Details": {},
- "DiskLimit": 0,
- "DisplayMessage": "Task received by client",
- "DownloadError": "",
- "DriverError": "",
- "DriverMessage": "",
- "ExitCode": 0,
- "FailedSibling": "",
- "FailsTask": false,
- "GenericSource": "",
- "KillError": "",
- "KillReason": "",
- "KillTimeout": 0,
- "Message": "",
- "RestartReason": "",
- "SetupError": "",
- "Signal": 0,
- "StartDelay": 0,
- "TaskSignal": "",
- "TaskSignalReason": "",
- "Time": 1534879167493283300,
- "Type": "Received",
- "ValidationError": "",
- "VaultError": ""
- },
- {
- "Details": {
- "message": "Building Task Directory"
- },
- "DiskLimit": 0,
- "DisplayMessage": "Building Task Directory",
- "DownloadError": "",
- "DriverError": "",
- "DriverMessage": "",
- "ExitCode": 0,
- "FailedSibling": "",
- "FailsTask": false,
- "GenericSource": "",
- "KillError": "",
- "KillReason": "",
- "KillTimeout": 0,
- "Message": "Building Task Directory",
- "RestartReason": "",
- "SetupError": "",
- "Signal": 0,
- "StartDelay": 0,
- "TaskSignal": "",
- "TaskSignalReason": "",
- "Time": 1534879167494384000,
- "Type": "Task Setup",
- "ValidationError": "",
- "VaultError": ""
- },
- {
- "Details": {
- "driver_message": "Downloading image redis:3.2"
- },
- "DiskLimit": 0,
- "DisplayMessage": "Downloading image redis:3.2",
- "DownloadError": "",
- "DriverError": "",
- "DriverMessage": "Downloading image redis:3.2",
- "ExitCode": 0,
- "FailedSibling": "",
- "FailsTask": false,
- "GenericSource": "",
- "KillError": "",
- "KillReason": "",
- "KillTimeout": 0,
- "Message": "",
- "RestartReason": "",
- "SetupError": "",
- "Signal": 0,
- "StartDelay": 0,
- "TaskSignal": "",
- "TaskSignalReason": "",
- "Time": 1534879167519847200,
- "Type": "Driver",
- "ValidationError": "",
- "VaultError": ""
- },
- {
- "Details": {},
- "DiskLimit": 0,
- "DisplayMessage": "Task started by client",
- "DownloadError": "",
- "DriverError": "",
- "DriverMessage": "",
- "ExitCode": 0,
- "FailedSibling": "",
- "FailsTask": false,
- "GenericSource": "",
- "KillError": "",
- "KillReason": "",
- "KillTimeout": 0,
- "Message": "",
- "RestartReason": "",
- "SetupError": "",
- "Signal": 0,
- "StartDelay": 0,
- "TaskSignal": "",
- "TaskSignalReason": "",
- "Time": 1534879173228308700,
- "Type": "Started",
- "ValidationError": "",
- "VaultError": ""
- },
- {
- "Details": {
- "restart_reason": "healthcheck: check \"nonexisting-script\" unhealthy"
- },
- "DiskLimit": 0,
- "DisplayMessage": "healthcheck: check \"nonexisting-script\" unhealthy",
- "DownloadError": "",
- "DriverError": "",
- "DriverMessage": "",
- "ExitCode": 0,
- "FailedSibling": "",
- "FailsTask": false,
- "GenericSource": "",
- "KillError": "",
- "KillReason": "",
- "KillTimeout": 0,
- "Message": "",
- "RestartReason": "healthcheck: check \"nonexisting-script\" unhealthy",
- "SetupError": "",
- "Signal": 0,
- "StartDelay": 0,
- "TaskSignal": "",
- "TaskSignalReason": "",
- "Time": 1534879383884580400,
- "Type": "Restart Signaled",
- "ValidationError": "",
- "VaultError": ""
- },
- {
- "Details": {
- "kill_timeout": "5s"
- },
- "DiskLimit": 0,
- "DisplayMessage": "Sent interrupt. Waiting 5s before force killing",
- "DownloadError": "",
- "DriverError": "",
- "DriverMessage": "",
- "ExitCode": 0,
- "FailedSibling": "",
- "FailsTask": false,
- "GenericSource": "",
- "KillError": "",
- "KillReason": "",
- "KillTimeout": 5000000000,
- "Message": "",
- "RestartReason": "",
- "SetupError": "",
- "Signal": 0,
- "StartDelay": 0,
- "TaskSignal": "",
- "TaskSignalReason": "",
- "Time": 1534879383885375700,
- "Type": "Killing",
- "ValidationError": "",
- "VaultError": ""
- },
- {
- "Details": {},
- "DiskLimit": 0,
- "DisplayMessage": "Task successfully killed",
- "DownloadError": "",
- "DriverError": "",
- "DriverMessage": "",
- "ExitCode": 0,
- "FailedSibling": "",
- "FailsTask": false,
- "GenericSource": "",
- "KillError": "",
- "KillReason": "",
- "KillTimeout": 0,
- "Message": "",
- "RestartReason": "",
- "SetupError": "",
- "Signal": 0,
- "StartDelay": 0,
- "TaskSignal": "",
- "TaskSignalReason": "",
- "Time": 1534879384160341000,
- "Type": "Killed",
- "ValidationError": "",
- "VaultError": ""
- },
- {
- "Details": {
- "restart_reason": "Restart within policy",
- "start_delay": "16544188545"
- },
- "DiskLimit": 0,
- "DisplayMessage": "Task restarting in 16.544188545s",
- "DownloadError": "",
- "DriverError": "",
- "DriverMessage": "",
- "ExitCode": 0,
- "FailedSibling": "",
- "FailsTask": false,
- "GenericSource": "",
- "KillError": "",
- "KillReason": "",
- "KillTimeout": 0,
- "Message": "",
- "RestartReason": "Restart within policy",
- "SetupError": "",
- "Signal": 0,
- "StartDelay": 16544188545,
- "TaskSignal": "",
- "TaskSignalReason": "",
- "Time": 1534879388192347400,
- "Type": "Restarting",
- "ValidationError": "",
- "VaultError": ""
- },
- {
- "Details": {},
- "DiskLimit": 0,
- "DisplayMessage": "Task started by client",
- "DownloadError": "",
- "DriverError": "",
- "DriverMessage": "",
- "ExitCode": 0,
- "FailedSibling": "",
- "FailsTask": false,
- "GenericSource": "",
- "KillError": "",
- "KillReason": "",
- "KillTimeout": 0,
- "Message": "",
- "RestartReason": "",
- "SetupError": "",
- "Signal": 0,
- "StartDelay": 0,
- "TaskSignal": "",
- "TaskSignalReason": "",
- "Time": 1534879405135740700,
- "Type": "Started",
- "ValidationError": "",
- "VaultError": ""
- }
- ],
- "Failed": false,
- "FinishedAt": "0001-01-01T00:00:00Z",
- "LastRestart": "2018-08-21T19:23:08.192347393Z",
- "Restarts": 1,
- "StartedAt": "2018-08-21T19:23:25.149161842Z",
- "State": "running"
- }
- }
- }
Add Comment
Please, Sign In to add comment