Skip to content

[release-4.16] OCPBUGS-39394: collect some nmstate customresources #995

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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