HoracioS
Regular Pleskian
Hi!
When tying to migrate from 10.3.1 to 10.3.1 bothe servers updated and synced. Source server is Debian 5 x64 and new server is Debian 6 x64 I received the following error:
pmm utility 'migration_handler' raised an exception. Error code is: 1
See pmmcli.log to find out detailed information on this
and the pmmcli.log says:
== STDERR ====================
3644: 2011-08-19 13:42:18,128 CRITICAL PMMUtility exception:
Subprocess <subprocess[3645] '/opt/psa/admin/bin/migration-handler --migration-get-objects-list 20110819134205646'> was finished with exit code 1
== STDOUT ====================
<?xml version="1.0" encoding="UTF-8"?>
<response>
<errcode>1001</errcode>
<errmsg>Runtime error in migration handler:
<class 'xml.sax._exceptions.SAXParseException'> /opt/psa/PMM/msessions/20110819134205646/dump.xml:1:0: no element found
Traceback (most recent call last):
File "/opt/psa/admin/share/migration-handler/migration_handler.py", line 1624, in main
data_action_response, errcode_response, error_message = actions.get(sys.argv[1][2:])(parameters)
File "/opt/psa/admin/share/migration-handler/migration_handler.py", line 1423, in migration_get_objects_list
return MigrationHandlerActionRunner(MigrationGetObjectsListAction, agent_to_use, migration_session_id).doActivity()
File "/opt/psa/admin/share/migration-handler/migration_handler.py", line 100, in doActivity
result = self.processor.doActivity()
File "/opt/psa/admin/share/migration-handler/migration_handler.py", line 344, in doActivity
objects_list_object = service.getObjectsList(self.__agent_to_use, agent_dir)
File "/opt/psa/admin/share/migration-handler/pmm_migr_remote_service_impl.py", line 108, in getObjectsList
objects_list = self.makeObjectsListFromDump(agent_name)
File "/opt/psa/admin/share/migration-handler/pmm_migr_remote_service_impl.py", line 118, in makeObjectsListFromDump
parser.parse(dump_path)
File "/usr/lib/python2.6/xml/sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib/python2.6/xml/sax/xmlreader.py", line 125, in parse
self.close()
File "/usr/lib/python2.6/xml/sax/expatreader.py", line 217, in close
self.feed("", isFinal = 1)
File "/usr/lib/python2.6/xml/sax/expatreader.py", line 211, in feed
self._err_handler.fatalError(exc)
File "/usr/lib/python2.6/xml/sax/handler.py", line 38, in fatalError
raise exception
SAXParseException: /opt/psa/PMM/msessions/20110819134205646/dump.xml:1:0: no element found
</errmsg>
</response>
== STDERR ====================
Traceback (most recent call last):
File "/opt/psa/admin/share/pmmcli/pmmcli.py", line 2118, in main
data_action_response, errcode_response, error_message = actions.get(sys.argv[1][2:])(parameters)
File "/opt/psa/admin/share/pmmcli/pmmcli.py", line 2022, in migration_get_objects_list
return ActionRunner(MigrationGetObjectsListAction, migration_task_description, migration_session_id).doActivity()
File "/opt/psa/admin/share/pmmcli/pmmcli.py", line 150, in doActivity
result = self.processor.doActivity()
File "/opt/psa/admin/share/pmmcli/pmmcli.py", line 1587, in doActivity
return pmm_migration_handler.MigrationHandler.migrationGetObjectsList( self.__migration_session_id ,self.__agent_to_use.getValueOf_() )
File "/opt/psa/admin/share/pmmcli/pmm_migration_handler.py", line 211, in migrationGetObjectsList
return MigrationHandler.callMigrationHandlerWithResponse('--migration-get-objects-list', session_id = migration_session_id, input_str = agent_to_use)
File "/opt/psa/admin/share/pmmcli/pmm_migration_handler.py", line 511, in callMigrationHandlerWithResponse
raise PMMUtilityException('migration_handler', x)
PMMUtilityException: was finished with exit code 1
3644: 2011-08-19 13:42:18,128 INFO Outgoing packet:
<?xml version="1.0" encoding="UTF-8"?>
<response>
<errcode>1000</errcode>
<errmsg>pmm utility 'migration_handler' raised an exception. Error code is: 1
See pmmcli.log to find out detailed information on this</errmsg>
</response>
Best regards,
Horacio
When tying to migrate from 10.3.1 to 10.3.1 bothe servers updated and synced. Source server is Debian 5 x64 and new server is Debian 6 x64 I received the following error:
pmm utility 'migration_handler' raised an exception. Error code is: 1
See pmmcli.log to find out detailed information on this
and the pmmcli.log says:
== STDERR ====================
3644: 2011-08-19 13:42:18,128 CRITICAL PMMUtility exception:
Subprocess <subprocess[3645] '/opt/psa/admin/bin/migration-handler --migration-get-objects-list 20110819134205646'> was finished with exit code 1
== STDOUT ====================
<?xml version="1.0" encoding="UTF-8"?>
<response>
<errcode>1001</errcode>
<errmsg>Runtime error in migration handler:
<class 'xml.sax._exceptions.SAXParseException'> /opt/psa/PMM/msessions/20110819134205646/dump.xml:1:0: no element found
Traceback (most recent call last):
File "/opt/psa/admin/share/migration-handler/migration_handler.py", line 1624, in main
data_action_response, errcode_response, error_message = actions.get(sys.argv[1][2:])(parameters)
File "/opt/psa/admin/share/migration-handler/migration_handler.py", line 1423, in migration_get_objects_list
return MigrationHandlerActionRunner(MigrationGetObjectsListAction, agent_to_use, migration_session_id).doActivity()
File "/opt/psa/admin/share/migration-handler/migration_handler.py", line 100, in doActivity
result = self.processor.doActivity()
File "/opt/psa/admin/share/migration-handler/migration_handler.py", line 344, in doActivity
objects_list_object = service.getObjectsList(self.__agent_to_use, agent_dir)
File "/opt/psa/admin/share/migration-handler/pmm_migr_remote_service_impl.py", line 108, in getObjectsList
objects_list = self.makeObjectsListFromDump(agent_name)
File "/opt/psa/admin/share/migration-handler/pmm_migr_remote_service_impl.py", line 118, in makeObjectsListFromDump
parser.parse(dump_path)
File "/usr/lib/python2.6/xml/sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib/python2.6/xml/sax/xmlreader.py", line 125, in parse
self.close()
File "/usr/lib/python2.6/xml/sax/expatreader.py", line 217, in close
self.feed("", isFinal = 1)
File "/usr/lib/python2.6/xml/sax/expatreader.py", line 211, in feed
self._err_handler.fatalError(exc)
File "/usr/lib/python2.6/xml/sax/handler.py", line 38, in fatalError
raise exception
SAXParseException: /opt/psa/PMM/msessions/20110819134205646/dump.xml:1:0: no element found
</errmsg>
</response>
== STDERR ====================
Traceback (most recent call last):
File "/opt/psa/admin/share/pmmcli/pmmcli.py", line 2118, in main
data_action_response, errcode_response, error_message = actions.get(sys.argv[1][2:])(parameters)
File "/opt/psa/admin/share/pmmcli/pmmcli.py", line 2022, in migration_get_objects_list
return ActionRunner(MigrationGetObjectsListAction, migration_task_description, migration_session_id).doActivity()
File "/opt/psa/admin/share/pmmcli/pmmcli.py", line 150, in doActivity
result = self.processor.doActivity()
File "/opt/psa/admin/share/pmmcli/pmmcli.py", line 1587, in doActivity
return pmm_migration_handler.MigrationHandler.migrationGetObjectsList( self.__migration_session_id ,self.__agent_to_use.getValueOf_() )
File "/opt/psa/admin/share/pmmcli/pmm_migration_handler.py", line 211, in migrationGetObjectsList
return MigrationHandler.callMigrationHandlerWithResponse('--migration-get-objects-list', session_id = migration_session_id, input_str = agent_to_use)
File "/opt/psa/admin/share/pmmcli/pmm_migration_handler.py", line 511, in callMigrationHandlerWithResponse
raise PMMUtilityException('migration_handler', x)
PMMUtilityException: was finished with exit code 1
3644: 2011-08-19 13:42:18,128 INFO Outgoing packet:
<?xml version="1.0" encoding="UTF-8"?>
<response>
<errcode>1000</errcode>
<errmsg>pmm utility 'migration_handler' raised an exception. Error code is: 1
See pmmcli.log to find out detailed information on this</errmsg>
</response>
Best regards,
Horacio