aboutsummaryrefslogtreecommitdiffstats
path: root/node-repository/src/test/java/com/yahoo/vespa/hosted/provision/restapi/responses/docker-node1-reports.json
blob: 9aa6e5f21571658485ad44497d63dd0fb946deba (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
  "url": "http://localhost:8080/nodes/v2/node/dockerhost1.yahoo.com",
  "id": "dockerhost1",
  "state": "active",
  "type": "host",
  "hostname": "dockerhost1.yahoo.com",
  "openStackId": "dockerhost1",
  "flavor": "large",
  "cpuCores": 4.0,
  "resources":{"vcpu":4.0,"memoryGb":32.0,"diskGb":1600.0,"bandwidthGbps":20.0,"diskSpeed":"fast","storageType":"remote"},
  "realResources":{"vcpu":4.0,"memoryGb":32.0,"diskGb":1600.0,"bandwidthGbps":20.0,"diskSpeed":"fast","storageType":"remote"},
  "environment": "BARE_METAL",
  "owner": {
    "tenant": "zoneapp",
    "application": "zoneapp",
    "instance": "zoneapp"
  },
  "membership": {
    "clustertype": "container",
    "clusterid": "node-admin",
    "group": "0",
    "index": 0,
    "retired": false
  },
  "restartGeneration": 0,
  "currentRestartGeneration": 0,
  "wantedDockerImage": "docker-registry.domain.tld:8080/dist/vespa:6.42.0",
  "wantedVespaVersion": "6.42.0",
  "requestedResources": {
    "vcpu": 4.0,
    "memoryGb": 32.0,
    "diskGb": 1600.0,
    "bandwidthGbps": 20.0,
    "diskSpeed": "fast",
    "storageType": "remote"
  },
  "rebootGeneration": 0,
  "currentRebootGeneration": 0,
  "failCount": 0,
  "wantToRetire": true,
  "preferToRetire": false,
  "wantToDeprovision": true,
  "wantToRebuild": false,
  "history": [
    {
      "event": "provisioned",
      "at": 123,
      "agent": "system"
    },
    {
      "event": "readied",
      "at": 123,
      "agent": "system"
    },
    {
      "event": "reserved",
      "at": 123,
      "agent": "application"
    },
    {
      "event": "activated",
      "at": 123,
      "agent": "application"
    },
    {
      "event": "wantToRetire",
      "at": 123,
      "agent": "system"
    }
  ],
  "ipAddresses": [
    "127.0.100.1",
    "::100:1"
  ],
  "additionalIpAddresses": [
    "::100:2",
    "::100:3",
    "::100:4"
  ],
  "reports": {
    "actualCpuCores": {
      "createdMillis": 1,
      "description": "Actual number of CPU cores (2) differs from spec (4)",
      "type": "HARD_FAIL",
      "value": 2
    },
    "diskSpace": {
      "createdMillis": 2,
      "description": "Actual disk space (2TB) differs from spec (3TB)",
      "type": "HARD_FAIL",
      "details": {
        "inGib": 3,
        "disks": [
          "/dev/sda1",
          "/dev/sdb3"
        ]
      }
    }
  }
}