Skip to content

Commit b98e7c8

Browse files
authored
[release-4.16] OCPBUGS-39394: collect some nmstate customresources (#986) (#989) (#995)
1 parent 0c42c04 commit b98e7c8

19 files changed

+4228
-9
lines changed

docs/gathered-data.md

+57-9
Original file line numberDiff line numberDiff line change
@@ -1408,6 +1408,56 @@ None
14081408
None
14091409

14101410

1411+
## NodeNetworkConfigurationPolicy
1412+
1413+
Collects cluster scope "nodenetworkconfigurationpolicy.nmstate.io/v1"
1414+
resources
1415+
1416+
### API Reference
1417+
- https://github.com/nmstate/kubernetes-nmstate/blob/main/api/v1/nodenetworkconfigurationpolicy_types.go
1418+
1419+
### Sample data
1420+
- [docs/insights-archive-sample/cluster-scoped-resources/nmstate.io/nodenetworkconfigurationpolicies/etcd-quorum-guard.json](./insights-archive-sample/cluster-scoped-resources/nmstate.io/nodenetworkconfigurationpolicies/etcd-quorum-guard.json)
1421+
1422+
### Location in archive
1423+
- `cluster-scoped-resources/nmstate.io/nodenetworkconfigurationpolicies/{name}.json`
1424+
1425+
### Config ID
1426+
`clusterconfig/nodenetworkconfigurationpolicies`
1427+
1428+
### Released version
1429+
- 4.18.0
1430+
1431+
### Backported versions
1432+
1433+
### Changes
1434+
1435+
1436+
## NodeNetworkState
1437+
1438+
Collects cluster scope "nodenetworkstate.nmstate.io/v1beta1"
1439+
resources
1440+
1441+
### API Reference
1442+
- https://github.com/nmstate/kubernetes-nmstate/blob/main/api/v1beta1/nodenetworkstate_types.go
1443+
1444+
### Sample data
1445+
- [docs/insights-archive-sample/cluster-scoped-resources/nmstate.io/nodenetworkstates/etcd-quorum-guard.json](./insights-archive-sample/cluster-scoped-resources/nmstate.io/nodenetworkstates/etcd-quorum-guard.json)
1446+
1447+
### Location in archive
1448+
- `cluster-scoped-resources/nmstate.io/nodenetworkstates/{name}.json`
1449+
1450+
### Config ID
1451+
`clusterconfig/nodenetworkstates`
1452+
1453+
### Released version
1454+
- 4.18.0
1455+
1456+
### Backported versions
1457+
1458+
### Changes
1459+
1460+
14111461
## Nodes
14121462

14131463
Collects all node resources.
@@ -1681,8 +1731,6 @@ Collects logs from pods in `openshift-sdn` namespace with following substrings:
16811731
None
16821732

16831733

1684-
## PodDefinition
1685-
16861734
## OpenstackControlplanes
16871735

16881736
Collects `openstackcontrolplanes.core.openstack.org`
@@ -1733,17 +1781,17 @@ None
17331781

17341782
## OpenstackDataplaneNodeSets
17351783

1736-
Collects `openstackdataplanenodesets.dataplane.openstack.org`
1784+
GatherOpenstackDataplaneNodesets Collects `openstackdataplanenodesets.dataplane.openstack.org`
17371785
resources from all namespaces
17381786

17391787
### API Reference
17401788
None
17411789

17421790
### Sample data
1743-
- [docs/insights-archive-sample/namespaces/openstack/dataplane.openstack.org/openstackdataplanenodesets/openstack-edpm-ipam.json](./insights-archive-sample/namespaces/openstack/dataplane.openstack.org/openstackdataplanenodesets/openstack-edpm-ipam.json)
1791+
- [docs/insights-archive-sample/namespaces/openstack/dataplane.openstack.org/openstackdataplanenodesets/openstack-edpm.json](./insights-archive-sample/namespaces/openstack/dataplane.openstack.org/openstackdataplanenodesets/openstack-edpm.json)
17441792

17451793
### Location in archive
1746-
- `namespaces/{namespace}/dataplane.openstack.org/openstackdataplanenodesets/{name}.json`
1794+
- `namespaces/{namespace}/dataplane.openstack.org/openstackdataplanes/{name}.json`
17471795

17481796
### Config ID
17491797
`clusterconfig/openstack_dataplanenodesets`
@@ -1753,9 +1801,9 @@ None
17531801

17541802
### Changes
17551803
None
1756-
17571804

1758-
## Openstackversions
1805+
1806+
## OpenstackVersions
17591807

17601808
Collects `openstackversion.core.openstack.org`
17611809
resources from all namespaces
@@ -1764,10 +1812,10 @@ resources from all namespaces
17641812
None
17651813

17661814
### Sample data
1767-
- [docs/insights-archive-sample/namespaces/openstack/core.openstack.org/openstackversions/openstack-galera-network-isolation.json](./insights-archive-sample/namespaces/openstack/core.openstack.org/openstackversions/openstack-galera-network-isolation.json)
1815+
- [docs/insights-archive-sample/namespaces/openstack/core.openstack.org/openstackversion/openstack-galera-network-isolation.json](./insights-archive-sample/namespaces/openstack/core.openstack.org/openstackversion/openstack-galera-network-isolation.json)
17681816

17691817
### Location in archive
1770-
- `namespaces/{namespace}/core.openstack.org/openstackversions/{name}.json`
1818+
- `namespaces/{namespace}/core.openstack.org/openstackversion/{name}.json`
17711819

17721820
### Config ID
17731821
`clusterconfig/openstack_version`
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
{
2+
"apiVersion": "nmstate.io/v1",
3+
"kind": "NodeNetworkConfigurationPolicy",
4+
"metadata": {
5+
"annotations": {
6+
"nmstate.io/webhook-mutating-timestamp": "1724753787619122019"
7+
},
8+
"creationTimestamp": "2024-08-27T10:16:27Z",
9+
"generation": 1,
10+
"name": "policy-name",
11+
"resourceVersion": "140132",
12+
"uid": "d5e205ba-b034-42d1-bd93-a1dde9738aeb"
13+
},
14+
"spec": {
15+
"desiredState": {
16+
"interfaces": [
17+
{
18+
"name": "br0",
19+
"state": "up",
20+
"type": "linux-bridge"
21+
}
22+
]
23+
}
24+
},
25+
"status": {
26+
"conditions": [
27+
{
28+
"lastHeartbeatTime": "2024-08-27T11:52:07Z",
29+
"lastTransitionTime": "2024-08-27T11:52:07Z",
30+
"message": "5/5 nodes successfully configured",
31+
"reason": "SuccessfullyConfigured",
32+
"status": "True",
33+
"type": "Available"
34+
},
35+
{
36+
"lastHeartbeatTime": "2024-08-27T11:52:07Z",
37+
"lastTransitionTime": "2024-08-27T11:52:07Z",
38+
"reason": "SuccessfullyConfigured",
39+
"status": "False",
40+
"type": "Degraded"
41+
},
42+
{
43+
"lastHeartbeatTime": "2024-08-27T11:52:07Z",
44+
"lastTransitionTime": "2024-08-27T11:52:07Z",
45+
"reason": "ConfigurationProgressing",
46+
"status": "False",
47+
"type": "Progressing"
48+
}
49+
],
50+
"lastUnavailableNodeCountUpdate": "2024-08-27T10:16:37Z"
51+
}
52+
}

0 commit comments

Comments
 (0)