burnley
Regular Pleskian
Environment:
1. Both src & target were running at the time Plesk 12.5.30 Update #39 with Plesk Migrator 1.12.3
2. OS:
- src: CentOS release 5.11 (Final) 64bit as Virtuozzo container
- target: CentOS Linux release 7.2.1511 (Core) as Xen domU
While testing a full Plesk->Plesk server migration from cli I'm getting this "critical" error:
[2016-07-08 08:32:53][INFO] ******************** Summary ********************
[2016-07-08 08:32:53][INFO] Operation finished successfully for 6 out of 6 services
[2016-07-08 08:32:53][INFO] Checked objects Total Successful Warnings Failed
[2016-07-08 08:32:53][INFO] Service 6 6 0 0
[2016-07-08 08:32:53][INFO] All services are working correctly.
[2016-07-08 08:32:53][INFO] FINISH: check services on target servers
[2016-07-08 08:32:53][INFO] FINISH: Check connections
[2016-07-08 08:32:53][INFO] Check migration compatibility of source and target Plesk versions
[2016-07-08 08:32:53][INFO] Check that all required components are installed on source Plesk
[2016-07-08 08:32:53][INFO] START: Fetch basic information about resellers, clients and domains data from source servers
[2016-07-08 08:32:53][INFO] Using the existing shallow dump for 'pfu'
[2016-07-08 08:32:53][INFO] FINISH: Fetch basic information about resellers, clients and domains data from source servers
[2016-07-08 08:32:53][INFO] START: Read migration list
[2016-07-08 08:32:54][INFO] FINISH: Read migration list
[2016-07-08 08:32:54][INFO] Read IP mapping file
[2016-07-08 08:32:54][INFO] START: Fetch information from source panel
[2016-07-08 08:32:54][INFO] START: Fetch configuration data from Plesk servers
[2016-07-08 08:32:54][INFO] Using the existing dump '/usr/local/psa/var/modules/panel-migrator/sessions/migration-session/plesk.backup.pfu.raw.tar' for 'pfu'
[2016-07-08 08:32:54][INFO] FINISH: Fetch configuration data from Plesk servers
[2016-07-08 08:32:54][INFO] Fetch information about APS web applications
[2016-07-08 08:32:54][INFO] Merge information about APS web applications into backup
[2016-07-08 08:32:54][INFO] START: Fetch capability info from Plesk servers
[2016-07-08 08:32:54][INFO] Deploy migration agent to 'src.ip.ad.dr'
[2016-07-08 08:32:56][INFO] Create source capability dump.
[2016-07-08 08:33:15][ERROR] Failed to fetch capability info from Plesk servers
Cause: 'NoneType' object is not iterable
That is a critical error, migration was stopped.
In the debug_log I'm seeing this:
=|2016-07-08_08:33:12,920|D|MT|core.runners.base||pfu|stderr: [19712]: 2016-07-08 08:33:12.861 DEBUG New connection: mysql DBI connection. db psa, user admin, host localhost
=|2016-07-08_08:33:12,920|D|MT|core.runners.base||pfu|[19712]: 2016-07-08 08:33:12.862 TRACE SQL:
=|2016-07-08_08:33:12,920|D|MT|core.runners.base||pfu| SELECT `id`, `domain_service_id`
=|2016-07-08_08:33:12,920|D|MT|core.runners.base||pfu| FROM `WebApps`
=|2016-07-08_08:33:12,920|D|MT|core.runners.base||pfu| : Params:
=|2016-07-08_08:33:12,920|D|MT|core.runners.base||pfu|
=|2016-07-08_08:33:12,920|D|MT|core.runners.base||pfu|exit code: 0
+|2016-07-08_08:33:15,204|D|MT|core.workflow.runner.by_subscription|||Exception:
=|2016-07-08_08:33:15,204|D|MT|core.workflow.runner.by_subscription|||Traceback (most recent call last):
=|2016-07-08_08:33:15,204|D|MT|core.workflow.runner.by_subscription||| File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/core/workflow/runner/by_subscription.py", line 119, in _run_common_action_plain
=|2016-07-08_08:33:15,204|D|MT|core.workflow.runner.by_subscription||| run()
=|2016-07-08_08:33:15,204|D|MT|core.workflow.runner.by_subscription||| File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/core/workflow/runner/by_subscription.py", line 110, in run
=|2016-07-08_08:33:15,204|D|MT|core.workflow.runner.by_subscription||| action.run(self._context)
=|2016-07-08_08:33:15,204|D|MT|core.workflow.runner.by_subscription||| File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/plesk/source/plesk/actions/fetch/fetch_backup.py", line 20, in run
=|2016-07-08_08:33:15,204|D|MT|core.workflow.runner.by_subscription||| self._fetch_dump(global_context, local_runner, source_id)
=|2016-07-08_08:33:15,204|D|MT|core.workflow.runner.by_subscription||| File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/plesk/source/plesk/actions/fetch/fetch_backup.py", line 50, in _fetch_dump
=|2016-07-08_08:33:15,204|D|MT|core.workflow.runner.by_subscription||| cls._create_dump(global_context.dump_agent, dump_filename, selection)
=|2016-07-08_08:33:15,204|D|MT|core.workflow.runner.by_subscription||| File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/plesk/source/plesk/actions/fetch/fetch_capability_info.py", line 23, in _create_d
ump
=|2016-07-08_08:33:15,204|D|MT|core.workflow.runner.by_subscription||| agent.create_capability_dump(dump_filename, selection=selection)
=|2016-07-08_08:33:15,204|D|MT|core.workflow.runner.by_subscription||| File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/core/utils/pmm/agent.py", line 165, in create_capability_dump
=|2016-07-08_08:33:15,204|D|MT|core.workflow.runner.by_subscription||| self._run_capability(filename, self.capability_dump_log, selection)
=|2016-07-08_08:33:15,204|D|MT|core.workflow.runner.by_subscription||| File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/plesk/source/plesk/pmm_agent/unix.py", line 124, in _run_capability
=|2016-07-08_08:33:15,204|D|MT|core.workflow.runner.by_subscription||| CapabilityXMLConverter(capability_model).write_xml(local_data_filename)
=|2016-07-08_08:33:15,204|D|MT|core.workflow.runner.by_subscription||| File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/plesk/source/plesk/capability_dump/xml_converter.py", line 18, in write_xml
=|2016-07-08_08:33:15,204|D|MT|core.workflow.runner.by_subscription||| capability_dump_contents = xml_to_string_pretty(self.create_xml())
=|2016-07-08_08:33:15,204|D|MT|core.workflow.runner.by_subscription||| File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/plesk/source/plesk/capability_dump/xml_converter.py", line 35, in create_xml
=|2016-07-08_08:33:15,204|D|MT|core.workflow.runner.by_subscription||| ] + [
=|2016-07-08_08:33:15,204|D|MT|core.workflow.runner.by_subscription||| File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/plesk/source/plesk/capability_dump/xml_converter.py", line 69, in _create_client_node
=|2016-07-08_08:33:15,204|D|MT|core.workflow.runner.by_subscription||| ] if domains else [])
=|2016-07-08_08:33:15,204|D|MT|core.workflow.runner.by_subscription||| File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/plesk/source/plesk/capability_dump/xml_converter.py", line 83, in _create_domain_node
=|2016-07-08_08:33:15,204|D|MT|core.workflow.runner.by_subscription||| ] + [
=|2016-07-08_08:33:15,204|D|MT|core.workflow.runner.by_subscription||| File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/plesk/source/plesk/capability_dump/model/plesk.py", line 160, in get_domain_ips
=|2016-07-08_08:33:15,204|D|MT|core.workflow.runner.by_subscription||| for plesk_ip_pool_item in plesk_ip_pool:
=|2016-07-08_08:33:15,204|D|MT|core.workflow.runner.by_subscription|||TypeError: 'NoneType' object is not iterable
+|2016-07-08_08:33:15,206|D|MT|core.workflow.runner.by_subscription|||Execute shutdown action 'cleanup'
[...]
It appears to be related to the IP configuration. I'm not using an IP mapping file, I'll try to restart it using an IP mapping and see what happens.
1. Both src & target were running at the time Plesk 12.5.30 Update #39 with Plesk Migrator 1.12.3
2. OS:
- src: CentOS release 5.11 (Final) 64bit as Virtuozzo container
- target: CentOS Linux release 7.2.1511 (Core) as Xen domU
While testing a full Plesk->Plesk server migration from cli I'm getting this "critical" error:
[2016-07-08 08:32:53][INFO] ******************** Summary ********************
[2016-07-08 08:32:53][INFO] Operation finished successfully for 6 out of 6 services
[2016-07-08 08:32:53][INFO] Checked objects Total Successful Warnings Failed
[2016-07-08 08:32:53][INFO] Service 6 6 0 0
[2016-07-08 08:32:53][INFO] All services are working correctly.
[2016-07-08 08:32:53][INFO] FINISH: check services on target servers
[2016-07-08 08:32:53][INFO] FINISH: Check connections
[2016-07-08 08:32:53][INFO] Check migration compatibility of source and target Plesk versions
[2016-07-08 08:32:53][INFO] Check that all required components are installed on source Plesk
[2016-07-08 08:32:53][INFO] START: Fetch basic information about resellers, clients and domains data from source servers
[2016-07-08 08:32:53][INFO] Using the existing shallow dump for 'pfu'
[2016-07-08 08:32:53][INFO] FINISH: Fetch basic information about resellers, clients and domains data from source servers
[2016-07-08 08:32:53][INFO] START: Read migration list
[2016-07-08 08:32:54][INFO] FINISH: Read migration list
[2016-07-08 08:32:54][INFO] Read IP mapping file
[2016-07-08 08:32:54][INFO] START: Fetch information from source panel
[2016-07-08 08:32:54][INFO] START: Fetch configuration data from Plesk servers
[2016-07-08 08:32:54][INFO] Using the existing dump '/usr/local/psa/var/modules/panel-migrator/sessions/migration-session/plesk.backup.pfu.raw.tar' for 'pfu'
[2016-07-08 08:32:54][INFO] FINISH: Fetch configuration data from Plesk servers
[2016-07-08 08:32:54][INFO] Fetch information about APS web applications
[2016-07-08 08:32:54][INFO] Merge information about APS web applications into backup
[2016-07-08 08:32:54][INFO] START: Fetch capability info from Plesk servers
[2016-07-08 08:32:54][INFO] Deploy migration agent to 'src.ip.ad.dr'
[2016-07-08 08:32:56][INFO] Create source capability dump.
[2016-07-08 08:33:15][ERROR] Failed to fetch capability info from Plesk servers
Cause: 'NoneType' object is not iterable
That is a critical error, migration was stopped.
In the debug_log I'm seeing this:
=|2016-07-08_08:33:12,920|D|MT|core.runners.base||pfu|stderr: [19712]: 2016-07-08 08:33:12.861 DEBUG New connection: mysql DBI connection. db psa, user admin, host localhost
=|2016-07-08_08:33:12,920|D|MT|core.runners.base||pfu|[19712]: 2016-07-08 08:33:12.862 TRACE SQL:
=|2016-07-08_08:33:12,920|D|MT|core.runners.base||pfu| SELECT `id`, `domain_service_id`
=|2016-07-08_08:33:12,920|D|MT|core.runners.base||pfu| FROM `WebApps`
=|2016-07-08_08:33:12,920|D|MT|core.runners.base||pfu| : Params:
=|2016-07-08_08:33:12,920|D|MT|core.runners.base||pfu|
=|2016-07-08_08:33:12,920|D|MT|core.runners.base||pfu|exit code: 0
+|2016-07-08_08:33:15,204|D|MT|core.workflow.runner.by_subscription|||Exception:
=|2016-07-08_08:33:15,204|D|MT|core.workflow.runner.by_subscription|||Traceback (most recent call last):
=|2016-07-08_08:33:15,204|D|MT|core.workflow.runner.by_subscription||| File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/core/workflow/runner/by_subscription.py", line 119, in _run_common_action_plain
=|2016-07-08_08:33:15,204|D|MT|core.workflow.runner.by_subscription||| run()
=|2016-07-08_08:33:15,204|D|MT|core.workflow.runner.by_subscription||| File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/core/workflow/runner/by_subscription.py", line 110, in run
=|2016-07-08_08:33:15,204|D|MT|core.workflow.runner.by_subscription||| action.run(self._context)
=|2016-07-08_08:33:15,204|D|MT|core.workflow.runner.by_subscription||| File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/plesk/source/plesk/actions/fetch/fetch_backup.py", line 20, in run
=|2016-07-08_08:33:15,204|D|MT|core.workflow.runner.by_subscription||| self._fetch_dump(global_context, local_runner, source_id)
=|2016-07-08_08:33:15,204|D|MT|core.workflow.runner.by_subscription||| File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/plesk/source/plesk/actions/fetch/fetch_backup.py", line 50, in _fetch_dump
=|2016-07-08_08:33:15,204|D|MT|core.workflow.runner.by_subscription||| cls._create_dump(global_context.dump_agent, dump_filename, selection)
=|2016-07-08_08:33:15,204|D|MT|core.workflow.runner.by_subscription||| File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/plesk/source/plesk/actions/fetch/fetch_capability_info.py", line 23, in _create_d
ump
=|2016-07-08_08:33:15,204|D|MT|core.workflow.runner.by_subscription||| agent.create_capability_dump(dump_filename, selection=selection)
=|2016-07-08_08:33:15,204|D|MT|core.workflow.runner.by_subscription||| File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/core/utils/pmm/agent.py", line 165, in create_capability_dump
=|2016-07-08_08:33:15,204|D|MT|core.workflow.runner.by_subscription||| self._run_capability(filename, self.capability_dump_log, selection)
=|2016-07-08_08:33:15,204|D|MT|core.workflow.runner.by_subscription||| File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/plesk/source/plesk/pmm_agent/unix.py", line 124, in _run_capability
=|2016-07-08_08:33:15,204|D|MT|core.workflow.runner.by_subscription||| CapabilityXMLConverter(capability_model).write_xml(local_data_filename)
=|2016-07-08_08:33:15,204|D|MT|core.workflow.runner.by_subscription||| File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/plesk/source/plesk/capability_dump/xml_converter.py", line 18, in write_xml
=|2016-07-08_08:33:15,204|D|MT|core.workflow.runner.by_subscription||| capability_dump_contents = xml_to_string_pretty(self.create_xml())
=|2016-07-08_08:33:15,204|D|MT|core.workflow.runner.by_subscription||| File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/plesk/source/plesk/capability_dump/xml_converter.py", line 35, in create_xml
=|2016-07-08_08:33:15,204|D|MT|core.workflow.runner.by_subscription||| ] + [
=|2016-07-08_08:33:15,204|D|MT|core.workflow.runner.by_subscription||| File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/plesk/source/plesk/capability_dump/xml_converter.py", line 69, in _create_client_node
=|2016-07-08_08:33:15,204|D|MT|core.workflow.runner.by_subscription||| ] if domains else [])
=|2016-07-08_08:33:15,204|D|MT|core.workflow.runner.by_subscription||| File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/plesk/source/plesk/capability_dump/xml_converter.py", line 83, in _create_domain_node
=|2016-07-08_08:33:15,204|D|MT|core.workflow.runner.by_subscription||| ] + [
=|2016-07-08_08:33:15,204|D|MT|core.workflow.runner.by_subscription||| File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/plesk/source/plesk/capability_dump/model/plesk.py", line 160, in get_domain_ips
=|2016-07-08_08:33:15,204|D|MT|core.workflow.runner.by_subscription||| for plesk_ip_pool_item in plesk_ip_pool:
=|2016-07-08_08:33:15,204|D|MT|core.workflow.runner.by_subscription|||TypeError: 'NoneType' object is not iterable
+|2016-07-08_08:33:15,206|D|MT|core.workflow.runner.by_subscription|||Execute shutdown action 'cleanup'
[...]
It appears to be related to the IP configuration. I'm not using an IP mapping file, I'll try to restart it using an IP mapping and see what happens.