APAR status
Closed as program error.
Error description
After upgrade from v10.0.1.11 to v10.0.5.5 (OCP), they are missing APIs in the DP v10.5.0.8(IDG) apicollection, apicops shows gateways are insync(online_configured) so performed a DRR, collected gwd-log and I see the below error for some of the missing APIs: During processing of API api-test, an uncaught exception occurred: TypeError: Cannot read properties of undefined (reading 'schemas') Tue Nov 14 2023 13:30:33 [0x88e00127][apic-gw-service][error] apic-gw-service(default): Stack trace for previous error: at APIDefinition.build (/root/gateway-director/apic2dp/lib/compiler/api.js:314:45) at AsyncLocalStorage.run (node:async_hooks:338:14) at Object.runInContext (/root/gateway-director/utils/ctx.js:45:14) at new APIDefinition (/root/gateway-director/apic2dp/lib/compiler/api.js:177:18) at Object.exports [as compileAPI] (/root/gateway-director/apic2dp/lib/compiler/api.js:2376:12) at module.exports.compileAPI (/root/gateway-director/apic2dp/lib/index.js:398:22) at compileApis (/root/gateway-director/lib/gateway-controller/a pigateway/ApiGatewayController.js:2778:28) at compileArtifacts (/root/gateway-director/lib/gateway-control ler/apigateway/ApiGatewayController.js:2643:26) at getSnapshotArtifacts (/root/gateway-director/lib/gateway-con troller/apigateway/ApiGatewayController.js:3155:24) at async ApiGatewayController._refresh (/root/gateway-director/ lib/gateway-controller/apigateway/ApiGatewayController.js:1014: 23) at async ApiGatewayController.refresh (/root/gateway-director/l ib/gateway-controller/apigateway/ApiGatewayController.js:891:18) at async /root/gateway-director/lib/queueProcessor.js:1257:17 at async run (/root/gateway-director/node_modules/p-queue/dist/ index.js:163:29)
Local fix
The api does not have a schemas section underneath the components section. The customer should change their yaml to have a schemas section. ``` components: schemas: {}
Problem summary
OAI YAML without components section causes type error.
Problem conclusion
Fix is available in 10.0.1.17, 10.5.0.9 and 10.5.3.0 For a list of the latest fix packs available, please see: https://www.ibm.com/support/pages/node/83105
Temporary fix
Comments
APAR Information
APAR number
IT44962
Reported component name
DATAPOWER
Reported component ID
DP1234567
Reported release
A0X
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2023-11-15
Closed date
2023-11-30
Last modified date
2023-12-08
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
DATAPOWER
Fixed component ID
DP1234567
Applicable component levels
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS9H2Y","label":"IBM DataPower Gateways"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"A0X","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
08 December 2023