Portal Deployment shows status=ERROR_UNDEPLOY
search cancel

Portal Deployment shows status=ERROR_UNDEPLOY

book

Article ID: 385564

calendar_today

Updated On:

Products

CA API Developer Portal

Issue/Introduction

Migrating from Portal 5.0 to 5.2 , on apim tenant that there are no applications migrated.

did migrate the APIS and other Organizations and users but seems like are not allowing to create api keys, therefore APIS are not able to deploy.

This does not allow customer to run other apis generated by customer in 5.0 version.

 logportal.txt 

Dec 17 09:32:02 apim.domain.com 1c3407bf0e90[30608]: [apim-portal.log] [2024-12-17 15:32:02,228] [INFO ] [c.l.p.d.d.ProxyRabbitMqDetailsDataAccessorImpl] [http-nio-8080-exec-7] [ced633d4ab50323e31238ff30a873758|92bc5df0ecfdf37a] [apim|admin|Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0|1c3407bf0e90$50729] Start Fetch Queue Info for QueueName:mqtt-subscription-apim_d790dc77-fad8-11e6-9a60-0242ac11000f_3sOzKVsWiGSreJcQ1GJtbF85Bs3lLsykqos1
Dec 17 09:32:02 apim.domain.com 45ff8eab89dd[30608]: [2024/12/17-15:32:02,227]-[INFO   ]-[192]-[com.l7tech.log.custom.tenantLogger]--4: 979c4b824de7e741dde87337fad3e6ff
Dec 17 09:32:02 apim.domain.com 45ff8eab89dd[30608]: [ingress] [2024-12-17T15:32:02.227+0000] [INFO] [] [] [979c4b824de7e741dde87337fad3e6ff|d871f3576fbf44b3] [||] [ingress, message-completed] request.url = http://apim.domain.com/apim/deployments/1.0/status?status=ERROR&status=ERROR_UNDEPLOY, request.http.method = GET, remoteHost = 10.0.1.4, request.time.millis = 1734449522152, elapsedTimeMs = 69, request.size = 0, response.size = 102, response.http.status = 200, routingStatus = None, transaction exit
Dec 17 09:32:02 apim.domain.com 45ff8eab89dd[30608]: [116B blob data]
Dec 17 09:32:02 apim.domain.com 45ff8eab89dd[30608]: [ingress] [2024-12-17T15:32:02.187+0000] [INFO] [] [] [979c4b824de7e741dde87337fad3e6ff|d871f3576fbf44b3] [apim||] Policy Fragment: Papi Policy Template - Routing Policy (legacy)
Dec 17 09:32:02 apim.domain.com 45ff8eab89dd[30608]: [2024/12/17-15:32:02,230]-[WARNING]-[49065]-[com.l7tech.external.assertions.pbsmel.server.ServiceMetricsEventListener]-Error occurred processing service metrics processor policy-backed service 'MQTT Publish To Client'. No implementation of interface com.l7tech.external.assertions.pbsmel.server.ServiceMetricsProcessor with policy backed service id f7370df418628b0f050789e387987e26 is registered



Environment

API Developer Portal 5.0 to 5.2 version

Cause

The Portal deployer is not processing messages

Resolution

1. Execute data migration with cr2.1 version.

    caapim/apim-portal-migration:5.0.cr2.1

    note : The cr2.1 has the LAC license fix. 


2. Import of the root certificate on Portal Gateway.

3.  There was also a point where restarting the gateway resulted in it connecting properly to Portal's MQ
   which we suspect served to help refresh the certificates that were (re)loaded onto that cluster. 

4. We proceed to manually update api’s status by database’s script.