Getting the following errors when running the migration script for a PHP 5.6 app. What am I missing ?
[...@opal1 ~]$ wfmigrate php ./config.ini --mode simulate
Traceback (most recent call last):
File "/usr/local/bin/wfmigrate", line 66, in <module>
migrator = import(COMPONENTS[args.component]['module']).Migrator(cfg, args)
File "/opt/app_migrators-1.4.0/wf_generic_php/migrator.py", line 12, in init
self.opal_cfg = OpalCfg(cfg['opalstack'])
File "/opt/app_migrators-1.4.0/lib/config_types/opal_cfg.py", line 13, in init
self.update_derived_attrs()
File "/opt/app_migrators-1.4.0/lib/config_types/opal_cfg.py", line 19, in update_derived_attrs
self.opal_shelluserObj = self.opal_api.get_shelluserObj(self.opal_shelluser_name)
File "/opt/app_migrators-1.4.0/lib/opalapi.py", line 460, in get_shelluserObj
return self.get_model('user', 'users', 'name', name)
File "/opt/app_migrators-1.4.0/lib/opalapi.py", line 449, in get_model
result = self.get(f'{model}/list/', ensure_status=[200])
File "/opt/app_migrators-1.4.0/lib/opalapi.py", line 443, in get
return self.request_result(urlpath, None, 'GET', ensure_status)
File "/opt/app_migrators-1.4.0/lib/opalapi.py", line 439, in request_result
resp, result = self.request(urlpath, dataObj, method, ensure_status)
File "/opt/app_migrators-1.4.0/lib/opalapi.py", line 435, in request
raise RuntimeError(f'Unexpected status_code: {resp.status_code}')
RuntimeError: Unexpected status_code: 401