Cannot create a subscription on Plesk Multi Server: Unable to select IP address from Service Node for create subscription

Created:

2017-06-27 06:54:40 UTC

Modified:

2017-08-08 13:17:52 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Cannot create a subscription on Plesk Multi Server: Unable to select IP address from Service Node for create subscription

Symptoms

Cannot create a subscription on Plesk Multi Server:

[2017-06-24 07:43:30] ERR [extension/plesk-multi-server] Task init failed with message 'Unable to select IP address from Service Node for create subscription.
Subscription IP addresses to Service Nodes IDs: Array
(
[203.0.113.2] => 1
[2001:db8:f61:a1ff:0:0:0:80] => 2
)
Try to re-run this task.'
Stack trace: #0 /usr/local/psa/admin/plib/modules/plesk-multi-server/library/ProvisionTask/Subscription/CreateTask.php(106): Modules_PleskMultiServer_ProvisionTask\Subscription\CreateTask->_chooseSlaveNode(Object(Modules_PleskMultiServer_Model\Plesk\Subscription))
#1 /usr/local/psa/admin/plib/modules/plesk-multi-server/library/ProvisionTask/AbstractTask.php(150): Modules_PleskMultiServer_ProvisionTask\Subscription\CreateTask->_init()
#2 /usr/local/psa/admin/plib/modules/plesk-multi-server/library/ProvisionTask/AbstractTask.php(122): Modules_PleskMultiServer_ProvisionTask\AbstractTask->_initOrRetry(2, 5)
#3 /usr/local/psa/admin/plib/modules/plesk-multi-server/library/Task/Runner.php(50): Modules_PleskMultiServer_ProvisionTask\AbstractTask->init()
#4 /usr/local/psa/admin/plib/modules/plesk-multi-server/scripts/task-queue-worker.php(51): Modules_PleskMultiServer_Task\Runner->prepare(Object(Modules_PleskMultiServer_ProvisionTask\Subscription\CreateTask))
#5 /usr/local/psa/admin/plib/modules/plesk-multi-server/scripts/task-queue-worker.php(57): main()
#6 {main}

Cause

This is Plesk Migrator with ID EXTPMS-1358  which will be fixed in future updates.

Resolution

As a workaround, deploy a patch:

1. Download and unpack it:

# wget https://support.plesk.com/hc/en-us/article_attachments/115000761654/PPS-1211.tar 

# tar -xvf PPS-1211.tar 

# cd PPS-1211

2. Replace the files with patched copies:

# cp ./controllers/TaskController.php /usr/local/psa/admin/plib/modules/plesk-multi-server/controllers/TaskController.php
# cp ./library/Model/Broker/SlaveNodes.php /usr/local/psa/admin/plib/modules/plesk-multi-server/library/Model/Broker/SlaveNodes.php
# cp ./library/View/SubForm/ServiceNodeSelector.php /usr/local/psa/admin/plib/modules/plesk-multi-server/library/View/SubForm/ServiceNodeSelector.php
# cp .resources/locales/en-US.php /usr/local/psa/admin/plib/modules/plesk-multi-server/resources/locales/en-US.php

 

Attachments:

Have more questions? Submit a request
Please sign in to leave a comment.