Search Engine: Elastic

Article ID: 134018, created on May 14, 2019, last review on May 14, 2019

  • Applies to:
  • Operations Automation 8.0

Symptoms

  1. Task Delivering of event notification Resource limits failed.
  2. /usr/local/psa/admin/logs/panel.log on corresponding Plesk host contains error like:

    [2019-05-14 09:15:24] ERR [extension/shm] domain does not exist
    [2019-05-14 09:55:26] ERR [extension/shm] Modules_Shm_Api_Server_Rest_RpcAbstract::startAsync Task is failed Modules_Shm_Api_Server_Rest_WhmRpc_Webspace::updateWebspace-df2d2f28-342b-4e77-a9b9-8d17d6309642
    [2019-05-14 09:55:27] ERR [extension/shm] Unable to update hosting preferences. phpinimng failed: Unable to update the config file for 'fpm' service due to syntax errors.
    

    where df2d2f28-342b-4e77-a9b9-8d17d6309642 - GUID of Plesk domain

  3. Domain with GUID df2d2f28-342b-4e77-a9b9-8d17d6309642 (from step 2) is not registered in Plesk database

    [root@pleskhost ~]# plesk db "select * from domains where guid='df2d2f28-342b-4e77-a9b9-8d17d6309642'"
    [root@linuxplesk2 ~]# echo $?
    0
    
  4. Subscription was migrated from OBAS/Plesk with Takeover scenario.

  5. WebHosting Plesk domain was removed recently (or does not exist on OA side).

  6. Corresponding WebHosting Plesk APS resource with APS type http://www.odin.com/shm/web/space/ is not subscribed on any APS event.

Cause

This behavior is considered as unexpected and the Software related issue was submitted with ID #OAM-3465

Resolution

Contact your Technical Account Manager or Pooled Technical Associate Team at pta@cloudblue.com to clarify the status of OAM-3465.

To temporary resolve the issue with failed task, please use following steps:

  1. Find affected WHP webspace with REST API request on OA Core node, where df2d2f28-342b-4e77-a9b9-8d17d6309642 is GUID of missing domain on Plesk side:

    [root@oacore cloudblue]# curl -k -E /usr/local/pem/APS/certificates/poa.pem -X GET "https://127.0.0.1:6310/aps/2/resources?implementing(http://www.odin.com/shm/web/space/),eq(pleskGuid,df2d2f28-342b-4e77-a9b9-8d17d6309642)"
    

    Example:

    [root@oacore cloudblue]# curl -k -E /usr/local/pem/APS/certificates/poa.pem  "https://localhost:6310/aps/2/resources/ccd7719b-d3b8-4fad-b840-8a3521611467"
    {
            "aps":
            {
                    "type": "http://www.odin.com/shm/web/space/1.4",
                    "id": "ccd7719b-d3b8-4fad-b840-8a3521611467",
            ...
            },
            "displayName": "Webspace (test-mail.tld)",
            "pleskGuid": "df2d2f28-342b-4e77-a9b9-8d17d6309642",
            ...
    
  2. Take id of http://www.odin.com/shm/web/space/1.x APS resource from step 1 (it will be displayed in output) and check that there are no linked websites:

    [root@oacore cloudblue]# curl -k -E /usr/local/pem/APS/certificates/poa.pem -X GET "https://127.0.0.1:6310/aps/2/resources/ccd7719b-d3b8-4fad-b840-8a3521611467/sites"
    []
    
  3. Remove WebHosting Plesk webspace under PCP > WebHosting Plesk > Webspaces > WebspaceName_

  4. Restart failed task Delivering of event notification Resource limits changed

5356b422f65bdad1c3e9edca5d74a1ae 8fc71f07abe5b233fea1ae0377cd5e3d adc6deaa66054d8a194d131ba07f2785 aab95f5cf9bcfa920cc1dda8487f084a

Email subscription for changes to this article
Save as PDF