Published Solutions
-
Add a proxy into a specific yum repository
Original Publishing Date: 2023-05-09 Question How to make a certain yum repository uses a proxy without changing the global yum configuration /etc/yum.conf or affecting other yum repository. Answer Add the proxy url into the certain repository only. Example: Below is a zabbix.repo without proxy configured into it: [/>] # cat /etc/yum.repos.d/zabbix.repo [zabbix] name=Zabbix Official Repository - $basearch baseurl=http://repo.zabbix.com/zabbix/5.0/rhel/7/$basearch/ enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX-A14FE591 [zabbix-frontend] name=Zabbix Official Repository frontend - $basearch baseurl=http://repo.zabbix.com/zabbix/5.0/rhel/7/$basearch/frontend enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX-A14FE591 [zabbix-debuginfo] name=Zabbix Official Repository debuginfo - $basearch baseurl=http://repo.zabbix.com/zabbix/5.0/rhel/7/$basearch/debuginfo/ enabled=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX-A14FE591 gpgcheck=1 [zabbix-non-supported] name=Zabbix Official Repository non-supported - $basearch baseurl=http://repo.zabbix.com/non-supported/rhel/7/$basearch/ enabled=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX gpgcheck=1 Below is a zabbix.repo with proxy (highlighted) configured into it: [/>]# cat /etc/yum.repos.d/zabbix.repo [zabbix] name=Zabbix Official Repository - $basearch baseurl=http://repo.zabbix.com/zabbix/5.0/rhel/7/$basearch/ enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX-A14FE591 proxy=https://proxy.example.com:3128 [zabbix-frontend] name=Zabbix Official Repository frontend - $basearch baseurl=http://repo.zabbix.com/zabbix/5.0/rhel/7/$basearch/frontend enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX-A14FE591 proxy=https://proxy.example.com:3128 [zabbix-debuginfo] name=Zabbix Official Repository debuginfo - $basearch baseurl=http://repo.zabbix.com/zabbix/5.0/rhel/7/$basearch/debuginfo/ enabled=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX-A14FE591 gpgcheck=1 proxy= proxy=https://proxy.example.com:3128 [zabbix-non-supported] name=Zabbix Official Repository non-supported - $basearch baseurl=http://repo.zabbix.com/non-supported/rhel/7/$basearch/ enabled=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX gpgcheck=1 proxy= proxy=https://proxy.example.com:3128 Internal
-
Creating subdomain in UX1 throw NullPointerException error
Original Publishing Date: 2023-05-09 Symptoms When trying to add subdomain in UX1, user presented with NullPointerException in the "Add subdomain" popup. Checking /var/log/pa/core.log, we can see that same error: May 5 16:56:13.174 : DBG [aps-service:8644543 aps-service-task-123824:1157824 pau]: c.p.p.tracer entry: com.parallels.pa.service.security.ejb.ApsSecurityManagerBean.initActor(TokenData{scope={actor={id=3586954b-01be-4cc0-a27b-78e3325ba7 04, type=http://parallels.com/aps/types/pa/account/1.2, pk=4631623}}}, 42a054a2-a8b1-45b0-91dc-a298b8daed2a) correlationId 5bbbc70a-c1a6-c2b9-dc23-9948fb0f0dfc May 5 16:56:13.178 : DBG [aps-service:8644543 aps-service-task-123824:1157824 pau]: c.p.p.tracer exit by exception: com.parallels.pa.service.security.ejb.ApsSecurityManagerBean.initActor correlationId 5bbbc70a-c1a6-c2b9-dc23-9948fb0f0df c java.lang.NullPointerException: null May 5 16:56:13.183 : DBG [aps-service:8644543 aps-service-task-123824:1157824 pau]: c.p.p.tracer exit by exception: com.parallels.pa.service.aps.ejb.UrlRoutingBean.routeRequest correlationId 5bbbc70a-c1a6-c2b9-dc23-9948fb0f0dfc javax.ej b.EJBException: java.lang.NullPointerException Cause Inconsistencies in subscription aps resource linked to the domain. Resolution Please contact Cloudblue Technical Support to fix the inconsistencies.
-
NCE subscription error "ASE_001 - This asset has no template linked to it"
Original Publishing Date: 2023-05-09 Symptoms In UX1 the error can be seen upon clicking on Microsoft 365 subscription tab: ASE_001 - This asset has no template linked to it Cause On Connect side last PR in the subscription does not have template attached: Resolution Place an adjustment PR without changing any parameters. Go to AS > Actions (on top right corner) > Click "next" without modifying anything > place a PR. Wait until PR is completed (usually it happens almost instantly) and check if UX1 error is gone.
-
Problems contacting with the Adobe API
Original Publishing Date: 2023-05-03 Symptoms On an attempt to transfer an existing Adobe subscription and after clicking on the button 'VALIDATE VIPS', the following error message appears: "There have been problems contacting with the Adobe API. Contact with your administrator" In Adobe APS endpoint-tailed logs, the same issue appears: [2023/05/04 08:01:57] INFO start the get method for /v2/memberships/XXXX/offers [2023/05/04 08:01:57] INFO Trying to get property of non-object at /var/www/html/AdobeAPS/lib/Adobe/AdobeAPI.php:122 [2023/05/04 08:01:57] INFO There have been problems contacting with the Adobe API. Contact with your administrator. Cause The error that appears in the logs is related to the problem with the credentials configured in the reseller profile. The system is not capable of getting the token from Adobe to make the query for the transfers. Resolution Make sure the credentials are correct.
-
Tranfer Account Order get stuck in "Validate Failed" status: No Fees found in BSS DB
Original Publishing Date: 2023-05-12 Symptoms Transfer Account Order gets stuck and does not progress in the CBC Control Panel for RE-1.16.3271 : When trying to validate the order this message is displayed: The order validation failed. Rating Engine call error: HTTP server returns error with code 500: com.odin.readapter.application.exception.BssProductRepoError: BPR_006 :: No Fees found in BSS DB Error can also be seeing through Rating Engine pod logs: 31-12-2022;19:24:15,047+0100 ERROR [www_67_166985_1070293_1672511054.330075 application-rest:task-62:214 a8n-ratingengine] c.o.r.a.exception.APSExceptionMapper - Error occurred: com.odin.readapter.application.exception.BssProductRepoError: BPR_006 :: No Fees found in BSS DB Cause Software related bug #RE-2957 Attempt to transfer an account after plan switch fails with error "BPR_006 :: No Fees found in BSS DB". Resolution There is no W/A yet available for this misbehavior, for further follow-ups on ETA customer will need to reach out directly with their TAM.
-
[RDE] AR report fails with “No 'aps' node found in request” error
Original Publishing Date: 2023-05-15 Symptoms Generate a “.json” file as per the example: # cat ardocm.json { "type": http://www.odin.com/rde/report-template/1.5 }, "commonName": "NEW_Col_AR_2023_04", "parameters": { "startDate":"2023-04-01T00:00:00Z", "endDate":"2023-05-01T23:59:59Z" }, "format": "CSV", "notifyByEmail": false, "eventType": "ONETIME", "dataSet": { "aps": { "modified": "2022-09-13T12:12:42Z", "id": "c081adb0-1bdd-417f-b17f-43414e2929a5", "type": http://www.odin.com/rde/global-data-set/1.0, "status": "aps:ready", "revision": 3 } } } Then execute the API call: curl --location --request POST 'https://localhost:6308/aps/2/resources/' --header 'APS-token: ' --header 'Content-Type: application/json' --data @ardocm.json You will face the result: {"error":"APS::Util::APSInvalidRequestException","message":"No 'aps' node found in request."} Cause Malformed json based on documentation https://docs.cloudblue.com/cbc/20.5/premium/content/Reporting-and-Data-Export/How-to-Create-a-Report.htm# Resolution The complete json could be: { "aps":{ "type": http://www.odin.com/rde/report-template/1.5 }, "commonName": "NEW_Col_AR_2023_04", "parameters": { "startDate":"2023-04-01T00:00:00Z", "endDate":"2023-05-01T23:59:59Z" }, "format": "CSV", "notifyByEmail": false, "eventType": "ONETIME", "dataSet": { "aps": { "modified": "2022-09-13T12:12:42Z", "id": "c081adb0-1bdd-417f-b17f-43414e2929a5", "type": http://www.odin.com/rde/global-data-set/1.0, "status": "aps:ready", "revision": 3 } } }
-
Can I use XMLRPC in CBC v21?
Original Publishing Date: 2023-05-16 Question Can I still use XMLRPC in CloudBlue Commerce v21. Answer XMLRPC was considered to be deprecated since CBC v20.4, which is why there is no official documentation included regarding XMLRPC on CBC v20.5. While there XMLRPC pod deployed in v21, it is only for internal use between the component. CloudBlue Platfrom v21.x will still allow to use already built XML RPC API integrations. For any updated or new integration purposes, please consider to use Platform SDK RestAPI or SimpleAPI instead. Documentation: https://docs.cloudblue.com/cbc/21.0/Release-Notes-21.0/Release-Notes-for-21.0.htm#EndofLife
-
NCE Subscription Period Change fail with "Your order is invalid, as it contains 2 main offer(s)"
Original Publishing Date: 2023-05-16 Symptoms An attempt to change NCE Subscription period from Monthly to Yearly is failing with one of the following errors: "Your order is invalid, as it contains 2 main offer(s)" Following error occurred:400 Bad Request ConnectError(error_code=VAL_001, errors=[asset.items: Item periods are incompatible. Periods: Monthly, Yearly.], params=null) Reproduce scenario is following: 1. Have an NCE subscription with subscription period monthly 2. From Customer UX1 >> subscription >> change >> try to change the subscription period to 1 year(s) >> click next >> change attempt failed with the error message mentioned above. At the same time, following error can be found in PLM pod logs: 2023-04-24T06:07:36.971487364Z 24-04-2023;07:07:36,971+0100 ERROR [db1999f4-0933-50b5-f8df-234b1d573e45 application-rest:task-5379 inhouse-products] c.o.p.a.util.APSExceptionMapper - Error occurred com.ingrammicro.imcp.library.aps.exception.APSError: 400 Bad Request ConnectError(error_code=VAL_001, errors=[asset.items: Item periods are incompatible. Periods: Monthly, Yearly.], params=null)u2028 Cause Software issue #PDI-2031. Resolution There is no workaround available. Contact your Account Manager to clarify the status of PDI-2031. Install the latest PLM version.
-
Invoice PDF is empty when downloaded
Original Publishing Date: 2023-05-17 Symptoms When downloading invoice, it appears empty. The button 'Rebuild PDF' is also missing despite having the privilege ARDOCS_REBUILD already assigned to the roles. Invoice notification template also appears 'Active', and HTML preview of it works correctly. Cause 'Invoice Notification Template' and 'Invoice PDF template' was not assigned with any template in Common Notification Settings. Resolution From Settings > Notifications > Common Notification Settings > assign the correct template to both 'Invoice Notification Template' and 'Invoice PDF template' section. This two settings need to be assigned if PDF document were to be generated correctly.
-
Microservices not in ready state due to kube-router in ErrImagePullErr
Original Publishing Date: 2023-05-17 Symptoms Multiple microservices is in CrashLoopBackOff status. On kube-system namespace, kube-router pod is in ErrImagePullBackOff status. Checking the event of the kube-router pod using kubectl describe pod we can see that the following message: Warning Failed 5m41s (x3 over 6m24s) kubelet, link8s.cloud.local Failed to pull image "cloudnativelabs/kube-router": rpc error: code = Unknown desc = manifest for docker.io/cloudnativelabs/kube-router:latest not found Warning Failed 5m2s (x5 over 6m23s) kubelet, link8s.cloud.local Error: ImagePullBackOff Normal Pulling 4m47s (x4 over 6m25s) kubelet, link8s.cloud.local pulling image "cloudnativelabs/kube-router" Warning Failed 4m45s (x4 over 6m24s) kubelet, link8s.cloud.local Error: ErrImagePull Normal BackOff 84s (x19 over 6m23s) kubelet, link8s.cloud.local Back-off pulling image "cloudnativelabs/kube-router Cause Kubernetes cluster was not able to get the manifest of the latest kube-router. Resolution Downgrade kube-router to the last working version. Firstly verify which version was working by using docker to pull the image: docker image pull cloudnativelabs/kube-router:v1.5.3 Then set the working version in daemonset: kubectl -n kube-system set image ds/kube-router kube-router=cloudnativelabs/kube-router:v1.5.3 Restart kube-router pod afterwards if necessary.