IBM Support

IT43515: MISSING FILENAME PARAMETER IN INVALID GATEWAY PEERING QUERY TRIGGERS API CONNECT GATEWAY SERVICE RESTART

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • In the API Connect Gateway Service, an attempt to query the
    gateway peering database (containing metadata for the underlying
    API gateway configuration) might fail due to a missing filename
    parameter.  When this happens, API Connect Gateway Service is
    shut down (and automatically restarted):
    
    20230328T134511.324Z [0x88e000c5][apic-gw-service][error]
    apic-gw-service(default): tid(2961): Invalid gateway-peering
    query. filename parameter not provided.
    20230328T134511.327Z [0x88e00011][apic-gw-service][error]
    apic-gw-service(default): tid(2961): API Connect Gateway Service
    caught unhandled rejection: Invalid gateway-peering query.
    20230328T134511.327Z [0x88e00127][apic-gw-service][error]
    apic-gw-service(default): tid(2961): Stack trace for previous
    error:
       at RedisClientWrapper.validateQuery (/root/gateway-director/
    utils/persistence/lib/RedisClientWrapper.js:137:17)
       at RedisClientWrapper.execute (/root/gateway-director/utils/
    persistence/lib/RedisClientWrapper.js:205:22)
       at runMicrotasks (<anonymous>)
       at processTicksAndRejections
    (internal/process/task_queues.js:95:5)
       at async PersistenceController.execute (/root/gateway-direct
    or/utils/persistence/providers/redis/GWController.js:28:12)
       at async _getStatus (/root/gateway-director/lib/gateway-cont
    roller/apigateway/ApiGatewayStatus.js:172:15)
       at async /root/gateway-director/lib/gateway-controller/apiga
    teway/ApiGatewayStatus.js:192:32
    20230328T134511.328Z [0x88e001f8][apic-gw-service][notice]
    apic-gw-service(default): tid(2961): Shutting down API Connect
    Gateway Service.
    20230328T134511.328Z [0x80e0084c][apic-gw-service][debug]
    apic-gw-service(default): tid(2961): utils:peers: Enroll peer (
    559707677-Landlord-apic_internal-sesttst606 ) heartbeat time:
    Cleared
    20230328T134511.347Z [0x80e0084c][apic-gw-service][debug]
    apic-gw-service(default): tid(2961):
    lib:gateway-controller:apigateway:ApiGatewayStatus: Discarding
    unexpected key: apigateway_status:d092e254-b6a5-47c2-a705-d22ea
    aadc40e:40183e27-b04f-4f35-8fe7-557e2390e7d7:3290723958-Landlor
    d-apic_internal:d0aca6d5-3502-40dc-8a68-88d33af22f4b:status
    20230328T134511.434Z [0x88e000c8][apic-gw-service][info]
    apic-gw-service(default): tid(2961): Cleanly quit
    gateway-peering session.
    20230328T134511.452Z [0x80e0087e][apic-gw-service][debug]
    apic-gw-service(default): tid(2961): State=kStopped current
    state=kRunning current request=kNone
    20230328T134511.452Z [0x80e0087d][apic-gw-service][debug]
    apic-gw-service(default): tid(2961): Request=kRestart current
    state=kStopped current request=kNone
    20230328T134511.465Z [0x80e0087b][apic-gw-service][info]
    apic-gw-service(default): tid(16637): Starting the API Connect
    Gateway Service process
    20230328T134511.712Z [0x80e0084c][apic-gw-service][debug]
    apic-gw-service(default): tid(2961): app: Connecting
    apic-gw-service...
    20230328T134511.712Z [0x80e0084c][apic-gw-service][debug]
    apic-gw-service(default): tid(2961): app: Client created.
    20230328T134511.714Z [0x80e0087e][apic-gw-service][debug]
    apic-gw-service(default): tid(2961): State=kRunning current
    state=kGwDStarting current request=kStart
    20230328T134511.716Z [0x80e0087d][apic-gw-service][debug]
    apic-gw-service(default): tid(111)
    gtid(100bfe8934f04fa38aff1d765c213a4): Request=kStart current
    state=kRunning current request=kNone
    20230328T134512.401Z [0x80e0084c][apic-gw-service][debug]
    apic-gw-service(default): tid(2961): app: Client connected,
    starting apic-gw-service.
    
    A code fix is needed to prevent the missing filename condition.
    

Local fix

Problem summary

  • Handle the error gracefully.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IT43515

  • 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-04-06

  • Closed date

    2023-04-18

  • Last modified date

    2023-04-18

  • 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:
19 April 2023