Search Engine: Elastic

Article ID: 134513, created on Sep 30, 2019, last review on Sep 30, 2019

  • Applies to:
  • Operations Automation

Symptoms

One of the subscriptions in migration manager project fails during migration from OBAS to Operations Automation:

Unable to create a service user for the mailbox 'sample@domain.tld'. The mailbox will not be created. Contact the technical support for assistance.

Meanwhile /opt/oa-migrator/logs/debug.log contans the following exception:

[2019-09-20 19:23:13,775] 139851632559936 [DBG] REST request: GET https://10.31.1.167:6308/aps/2.2/resources?limit(0,1),implementing(http://parallels.com/aps/types/pa/service-user/1),eq(login,sample%40doamin.tld)
...
[2019-09-20 19:23:13,812] 139851632559936 [ERR] Exception:
Traceback (most recent call last):
File "/opt/oa-migrator/lib/python2.7/site-packages/migrator/odin_automation/services/shm/actions/transfer/settings/mail_hosting.py", line 59, in run
user_uid = self._get_user_uid(subscription, site, mailbox)
File "/opt/oa-migrator/lib/python2.7/site-packages/migrator/odin_automation/services/shm/actions/transfer/settings/mail_hosting.py", line 138, in _get_user_uid
user_id = self.poa_api.account.add_service_user(subscription.account_id, mailbox.name, login, mailbox.password)
File "/opt/oa-migrator/lib/python2.7/site-packages/migrator/odin_automation/platform/lib/api/openapi/account.py", line 68, in add_service_user
response = self.proxy.pem.addUser(args)
File "/opt/python27/lib64/python2.7/xmlrpclib.py", line 1243, in __call__
return self.__send(self.__name, args)
File "/opt/python27/lib64/python2.7/xmlrpclib.py", line 1596, in __request
allow_none=self.__allow_none)
File "/opt/python27/lib64/python2.7/xmlrpclib.py", line 1094, in dumps
data = m.dumps(params)
File "/opt/python27/lib64/python2.7/xmlrpclib.py", line 638, in dumps
dump(v, write)
File "/opt/python27/lib64/python2.7/xmlrpclib.py", line 660, in __dump
f(self, value, write)
File "/opt/python27/lib64/python2.7/xmlrpclib.py", line 741, in dump_struct
dump(v, write)
File "/opt/python27/lib64/python2.7/xmlrpclib.py", line 660, in __dump
f(self, value, write)
File "/opt/python27/lib64/python2.7/xmlrpclib.py", line 664, in dump_nil
raise TypeError, "cannot marshal None unless allow_none is enabled"
TypeError: cannot marshal None unless allow_none is enabled

Cause

User misconfiguration on OBAS side. User does not have password in the database.

Resolution

Change user's password and restart the project.

5356b422f65bdad1c3e9edca5d74a1ae 8fc71f07abe5b233fea1ae0377cd5e3d

Email subscription for changes to this article
Save as PDF