summaryrefslogtreecommitdiffstats
path: root/node-repository/src/test/java/com/yahoo/vespa/hosted/provision/restapi/v2/responses/node6-reports.json
blob: 1dcf068c2756a80e1ecd33b1ccf8d2db274922ad (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
{
  "url": "http://localhost:8080/nodes/v2/node/host6.yahoo.com",
  "id": "host6.yahoo.com",
  "state": "active",
  "type": "tenant",
  "hostname": "host6.yahoo.com",
  "openStackId": "node6",
  "flavor": "[vcpu: 2.0, memory: 8.0 Gb, disk 50.0 Gb]",
  "canonicalFlavor": "[vcpu: 2.0, memory: 8.0 Gb, disk 50.0 Gb]",
  "minDiskAvailableGb": 50.0,
  "minMainMemoryAvailableGb": 8.0,
  "minCpuCores": 2.0,
  "fastDisk": true,
  "bandwidth": 1.0,
  "environment": "DOCKER_CONTAINER",
  "owner": {
    "tenant": "tenant2",
    "application": "application2",
    "instance": "instance2"
  },
  "membership": {
    "clustertype": "content",
    "clusterid": "id2",
    "group": "0",
    "index": 1,
    "retired": false
  },
  "restartGeneration": 0,
  "currentRestartGeneration": 0,
  "wantedDockerImage": "docker-registry.domain.tld:8080/dist/vespa:6.42.0",
  "wantedVespaVersion": "6.42.0",
  "allowedToBeDown": false,
  "rebootGeneration": 1,
  "currentRebootGeneration": 0,
  "failCount": 0,
  "hardwareFailure": false,
  "wantToRetire": false,
  "wantToDeprovision": 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"
    }
  ],
  "ipAddresses": [
    "127.0.6.1",
    "::6:1"
  ],
  "additionalIpAddresses": [],
  "reports": {
    "actualCpuCores": {
      "createdMillis": 1,
      "description": "Actual number of CPU cores (2) differs from spec (4)",
      "value": 2
    },
    "diskSpace": {
      "createdMillis": 2,
      "description": "Actual disk space (2TB) differs from spec (3TB)",
      "details": {
        "inGib": 3,
        "disks": [
          "/dev/sda1",
          "/dev/sdb3"
        ]
      }
    }
  }
}