[ PCA ] pca-admin Command "list compute node --filter-column" Or "--filter" Does Not Filter When Used With "--json" Flag

(Doc ID 2333438.1)

Last updated on DECEMBER 03, 2017

Applies to:

Private Cloud Appliance - Version 2.2.1 and later
Linux x86-64

Symptoms

 On Private Cloud Appliance, when using a combination --json and either --filter or --filter-column , the result is not filtered as expected :

PCA> list compute-node --json --filter-column Provisioning_State --filter reprovision_only
{
"00:10:e0:2e:7d:80": {
"name": "ovcacn41r1",
"ilom_state": "reprovision_only",
"ip": "192.168.4.18",
"tenant_group_name": "",
"state": "INITIALIZING",
"networks": "",
"ilom_mac": "00:10:e0:2e:7d:85"
},
"00:10:e0:2e:7d:68": {
"name": "ovcacn42r1",
"ilom_state": "initializing_stage_wait_for_hmp",
"ip": "192.168.4.19",
"tenant_group_name": "",
"state": "INITIALIZING",
"networks": "",
"ilom_mac": "00:10:e0:2e:7d:6d"
},
"00:10:e0:2e:76:4e": {
"name": "ovcacn09r1",
"ilom_state": "running",
"ip": "192.168.4.5",
"tenant_group_name": "Rack1_ServerPool",
"state": "RUNNING",
"networks": "vm_public_vlan, vm_private, mgmt_pvi, intNet, extNet,
mgmt_public_eth",
"ilom_mac": "00:10:e0:2e:76:53"
},
"00:10:e0:2e:7f:42": {
"name": "ovcacn13r1",
"ilom_state": "running",
"ip": "192.168.4.12",
"tenant_group_name": "Rack1_ServerPool",
"state": "RUNNING",
"networks": "vm_public_vlan, vm_private, mgmt_pvi, intNet, extNet,
mgmt_public_eth",
"ilom_mac": "00:10:e0:2e:7f:47"
}

Changes

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms