Skip to content

Commit

Permalink
[release-4.16] OCPBUGS-39394: collect some nmstate customresources (o…
Browse files Browse the repository at this point in the history
  • Loading branch information
tremes committed Sep 10, 2024
1 parent 0c42c04 commit 564dbc2
Show file tree
Hide file tree
Showing 19 changed files with 4,228 additions and 9 deletions.
66 changes: 57 additions & 9 deletions docs/gathered-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -1408,6 +1408,56 @@ None
None


## NodeNetworkConfigurationPolicy

Collects cluster scope "nodenetworkconfigurationpolicy.nmstate.io/v1"
resources

### API Reference
- https://github.com/nmstate/kubernetes-nmstate/blob/main/api/v1/nodenetworkconfigurationpolicy_types.go

### Sample data
- [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)

### Location in archive
- `cluster-scoped-resources/nmstate.io/nodenetworkconfigurationpolicies/{name}.json`

### Config ID
`clusterconfig/nodenetworkconfigurationpolicies`

### Released version
- 4.18.0

### Backported versions

### Changes


## NodeNetworkState

Collects cluster scope "nodenetworkstate.nmstate.io/v1beta1"
resources

### API Reference
- https://github.com/nmstate/kubernetes-nmstate/blob/main/api/v1beta1/nodenetworkstate_types.go

### Sample data
- [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)

### Location in archive
- `cluster-scoped-resources/nmstate.io/nodenetworkstates/{name}.json`

### Config ID
`clusterconfig/nodenetworkstates`

### Released version
- 4.18.0

### Backported versions

### Changes


## Nodes

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


## PodDefinition

## OpenstackControlplanes

Collects `openstackcontrolplanes.core.openstack.org`
Expand Down Expand Up @@ -1733,17 +1781,17 @@ None

## OpenstackDataplaneNodeSets

Collects `openstackdataplanenodesets.dataplane.openstack.org`
GatherOpenstackDataplaneNodesets Collects `openstackdataplanenodesets.dataplane.openstack.org`
resources from all namespaces

### API Reference
None

### Sample data
- [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)
- [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)

### Location in archive
- `namespaces/{namespace}/dataplane.openstack.org/openstackdataplanenodesets/{name}.json`
- `namespaces/{namespace}/dataplane.openstack.org/openstackdataplanes/{name}.json`

### Config ID
`clusterconfig/openstack_dataplanenodesets`
Expand All @@ -1753,9 +1801,9 @@ None

### Changes
None


## Openstackversions

## OpenstackVersions

Collects `openstackversion.core.openstack.org`
resources from all namespaces
Expand All @@ -1764,10 +1812,10 @@ resources from all namespaces
None

### Sample data
- [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)
- [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)

### Location in archive
- `namespaces/{namespace}/core.openstack.org/openstackversions/{name}.json`
- `namespaces/{namespace}/core.openstack.org/openstackversion/{name}.json`

### Config ID
`clusterconfig/openstack_version`
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"apiVersion": "nmstate.io/v1",
"kind": "NodeNetworkConfigurationPolicy",
"metadata": {
"annotations": {
"nmstate.io/webhook-mutating-timestamp": "1724753787619122019"
},
"creationTimestamp": "2024-08-27T10:16:27Z",
"generation": 1,
"name": "policy-name",
"resourceVersion": "140132",
"uid": "d5e205ba-b034-42d1-bd93-a1dde9738aeb"
},
"spec": {
"desiredState": {
"interfaces": [
{
"name": "br0",
"state": "up",
"type": "linux-bridge"
}
]
}
},
"status": {
"conditions": [
{
"lastHeartbeatTime": "2024-08-27T11:52:07Z",
"lastTransitionTime": "2024-08-27T11:52:07Z",
"message": "5/5 nodes successfully configured",
"reason": "SuccessfullyConfigured",
"status": "True",
"type": "Available"
},
{
"lastHeartbeatTime": "2024-08-27T11:52:07Z",
"lastTransitionTime": "2024-08-27T11:52:07Z",
"reason": "SuccessfullyConfigured",
"status": "False",
"type": "Degraded"
},
{
"lastHeartbeatTime": "2024-08-27T11:52:07Z",
"lastTransitionTime": "2024-08-27T11:52:07Z",
"reason": "ConfigurationProgressing",
"status": "False",
"type": "Progressing"
}
],
"lastUnavailableNodeCountUpdate": "2024-08-27T10:16:37Z"
}
}
Loading

0 comments on commit 564dbc2

Please sign in to comment.