$ oc get nncp
NAME STATUS
ceph-client-network-eno2 SuccessfullyConfigured
ceph-client-network-enp4s0f0np1 FailedToConfigure
ceph-client-network-enp4s0f1 SuccessfullyConfigured
ceph-client-network-ens3f0 SuccessfullyConfigured
$ oc get nnce | grep -i failed
neu-5-10-compute.ocp-prod.massopen.cloud.ceph-client-network-enp4s0f0np1 FailedToConfigure
$ oc get nnce neu-5-10-compute.ocp-prod.massopen.cloud.ceph-client-network-enp4s0f0np1 -o yaml | yq -y .status
conditions:
- lastHearbeatTime: '2021-08-26T15:24:26Z'
lastTransitionTime: '2021-08-26T15:24:26Z'
message: "error reconciling NodeNetworkConfigurationPolicy at desired state apply:\
\ , failed to execute nmstatectl set --no-commit --timeout 480: 'exit status\
\ 1' '' '/usr/lib/python3.6/site-packages/nmstatectl/nmstatectl.py:325: UserWarning:\
\ Using 'set' is deprecated, use 'apply' instead.\n warnings.warn(\"Using 'set'\
\ is deprecated, use 'apply' instead.\")\n2021-08-26 15:24:26,388 root \
\ DEBUG Nmstate version: 1.0.2\n2021-08-26 15:24:26,388 root DEBUG\
\ Applying desire state: {'interfaces': [{'description': 'ceph client network',\
\ 'ipv4': {'dhcp': True, 'enabled': True}, 'name': 'enp4s0f0np1.250', 'state':\
\ 'up', 'type': 'vlan', 'vlan': {'base-iface': 'enp4s0f0np1', 'id': 250}}]}\n\
2021-08-26 15:24:26,448 root DEBUG NetworkManager version 1.30.0\n\
2021-08-26 15:24:26,453 root DEBUG Async action: Retrieve applied\
\ config: ethernet enp4s0f0np0 started\n2021-08-26 15:24:26,454 root \
\ DEBUG Async action: Retrieve applied config: ethernet enp4s0f0np0 finished\n\
Traceback (most recent call last):\n File \"/usr/bin/nmstatectl\", line 11,\
\ in <module>\n load_entry_point('nmstate==1.0.2', 'console_scripts', 'nmstatectl')()\n\
\ File \"/usr/lib/python3.6/site-packages/nmstatectl/nmstatectl.py\", line\
\ 73, in main\n return args.func(args)\n File \"/usr/lib/python3.6/site-packages/nmstatectl/nmstatectl.py\"\
, line 326, in set\n return apply(args)\n File \"/usr/lib/python3.6/site-packages/nmstatectl/nmstatectl.py\"\
, line 354, in apply\n args.save_to_disk,\n File \"/usr/lib/python3.6/site-packages/nmstatectl/nmstatectl.py\"\
, line 407, in apply_state\n save_to_disk=save_to_disk,\n File \"/usr/lib/python3.6/site-packages/libnmstate/netapplier.py\"\
, line 78, in apply\n desired_state, ignored_ifnames, current_state, save_to_disk\n\
\ File \"/usr/lib/python3.6/site-packages/libnmstate/net_state.py\", line 51,\
\ in __init__\n gen_conf_mode,\n File \"/usr/lib/python3.6/site-packages/libnmstate/ifaces/ifaces.py\"\
, line 157, in __init__\n self._validate_unknown_parent()\n File \"/usr/lib/python3.6/site-packages/libnmstate/ifaces/ifaces.py\"\
, line 765, in _validate_unknown_parent\n f\"Interface {iface.name} has unknown\
\ parent: \"\nlibnmstate.error.NmstateValueError: Interface enp4s0f0np1.250\
\ has unknown parent: enp4s0f0np1\n'"
reason: FailedToConfigure
status: 'True'
type: Failing
- lastHearbeatTime: '2021-08-26T15:24:26Z'
lastTransitionTime: '2021-08-26T15:24:26Z'
reason: FailedToConfigure
status: 'False'
type: Available
- lastHearbeatTime: '2021-08-26T15:24:26Z'
lastTransitionTime: '2021-08-26T15:24:26Z'
reason: FailedToConfigure
status: 'False'
type: Progressing
- lastHearbeatTime: '2021-08-26T15:24:23Z'
lastTransitionTime: '2021-08-26T15:24:23Z'
message: All policy selectors are matching the node
reason: AllSelectorsMatching
status: 'True'
type: Matching
- lastHearbeatTime: '2021-08-26T15:24:26Z'
lastTransitionTime: '2021-08-26T15:24:26Z'
reason: SuccessfullyConfigured
status: 'False'
type: Aborted
desiredState:
interfaces:
- description: ceph client network
ipv4:
dhcp: true
enabled: true
name: enp4s0f0np1.250
state: up
type: vlan
vlan:
base-iface: enp4s0f0np1
id: 250
policyGeneration: 1