Search Engine: Elastic

Article ID: 132487, created on Apr 6, 2018, last review on Apr 6, 2018

  • Applies to:
  • Operations Automation 7.3

Symptoms

During OA upgrade action CCU-17112-synch-os-templates fails to complete. In vps.aps.log one might see the following request:

ERROR ApsResourceHelperBaseImpl [pa-rest task-76] - [APS] Failed to get resource 'implementing(http://www.parallels.com/infrastructure/virtual-environment/os-template/1.0),eq(name,windows)-pcs6)': [APS] {
        "error": "APS::Util::Exception",
        "message": "RQL parsing failed, stopped at: \"-pcs6)\""
}
...
INFO  ImplicitAPSIdInjectorWebFilter [pa-rest task-76] - HTTP Response POST /vps/api/cloud/.../sync_os_templates status code 500

Cause

Symbols that are part of RQL syntax are parsed incorrectly.

During sync_os_templates action, OA template properties are synchronized between IM and APS. Templates are requested from IM and their properties are populated into Templates' APS resources. But before that, each template is requested from APS bus via the RQL like below:

GET https://127.0.0.1:6308/aps/2/resources?implementing(http://www.parallels.com/infrastructure/virtual-environment/os-template/1.0),eq(name,test-template(test))

But if template contains any symbols, used by RQL itself, for example '(', ')' - post-upgrade action will fail.

Resolution

This issue has been reported to Development team as CCU-17788 and will be fixed in the further OA releases.

As the workaround you may unregisted faulty template from IM via Cloud Infrastructure > OS Templates menu.

5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 dd79f16c76b9dca75205ab5e9f5465ea 1941880841f714e458ae4dc3d9f3062d

Email subscription for changes to this article
Save as PDF