cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
570
Views
0
Helpful
0
Replies

PAWS API

Jon Snipes
Level 1
Level 1

I am having issues with PAWS API DataExportService.  When initiating the export via postman it fails and the logs show an error requiring an absolute path for the SFTP location, but an absolute path was provided.  SFTP is functional as the same account was used to pull these logs from CM via SFTP. 

 

I am also having trouble with arguments formatting via python zeep.  I have tried a few possibilities and continue to receive errors about variables not being send properly or receiving arguments that are not required. Can someone assist with formatting?

 

02/10/2021 10:04:32 migrate_export|Start logging.|<LVL::Info>
02/10/2021 10:04:32 migrate_export|Created PID file: /var/run/migrate_export.pid for PID: 3032|<LVL::Info>
02/10/2021 10:04:32 migrate_export|Acquired LOCK file: /var/lock/migrate_export.lock for PID: 3032|<LVL::Info>
02/10/2021 10:04:33 migrate_export|Querying for cluster information.|<LVL::Info>
02/10/2021 10:04:33 migrate_export|Determining CUCM Publisher IP address.|<LVL::Info>
02/10/2021 10:04:33 migrate_export|initialize: SELinux mode = [Enforcing]|<LVL::Info>
02/10/2021 10:04:33 migrate_export|Updated status file: USER=null ()|<LVL::Info>
02/10/2021 10:04:33 migrate_export|Updated status file: SERVER=null ()|<LVL::Info>
02/10/2021 10:04:33 migrate_export|Updated status file: DIRECTORY=null ()|<LVL::Info>
02/10/2021 10:04:33 migrate_export|SFTP Directory=null, SFTP Server=null, SFTP Username=null|<LVL::Debug>
02/10/2021 10:04:33 migrate_export|Validating directory|<LVL::Info>
02/10/2021 10:04:33 migrate_export|File:/opt/cisco/install/bin/migrate_export:789, Function: validate_args(), SFTP directory path is not an absolute path.|<LVL::Error>
02/10/2021 10:04:33 migrate_export|Acquired LOCK file: /var/lock/update_migrate_state.lock for PID: 3032|<LVL::Info>
02/10/2021 10:04:33 migrate_export|Updated status file: SYSTEM_MIGRATE_EXPORT_STATUS=TERMINATED ()|<LVL::Info>
02/10/2021 10:04:33 migrate_export|Updated status file: MSG=Input validation failed. Invalid SFTP directory. Please provide absolute path of the SFTP directory. ()|<LVL::Info>
02/10/2021 10:04:33 migrate_export|Removed LOCK file: /var/lock/update_migrate_state.lock for PID: 3032|<LVL::Info>
02/10/2021 10:04:34 migrate_export|Perform cleanup|<LVL::Info>
02/10/2021 10:04:34 migrate_export|File:/opt/cisco/install/bin/migrate_export:696, Function: cleanup(), Unable to unmount /mnt/migrate_export|<LVL::Error>
02/10/2021 10:04:34 migrate_export|File:/opt/cisco/install/bin/migrate_export:697, Function: cleanup(), Failed to remove the PID file () for PID: 3032|<LVL::Error>
02/10/2021 10:04:34 migrate_export|Removed LOCK file: /var/lock/migrate_export.lock for PID: 3032|<LVL::Info>
02/10/2021 10:04:34 migrate_export|Removed PID file: /var/run/migrate_export.pid for PID: 3032|<LVL::Info>
02/10/2021 10:04:34 migrate_export|Updated status file: SCRIPT_STOP_TIME=Wed 10 Feb 2021 10:04:34 AM EST ()|<LVL::Info>
02/10/2021 10:04:34 migrate_export|cleanup: SELinux mode = Enforcing|<LVL::Info>
02/10/2021 10:04:34 migrate_export|Contents of the status file:|<LVL::Info>
02/10/2021 10:04:34 migrate_export|MIGRATE_EXPORT_TYPE=STATIC
SYSTEM_MIGRATE_EXPORT_STATUS=TERMINATED
PID=3032
LOG_FILE=/var/log/install/migrate_export_2021-02-10-10-04-32.log
SCRIPT_START_TIME=Wed-10-Feb-2021-10:04:32-AM-EST
SCRIPT_STOP_TIME=Wed-10-Feb-2021-10:04:34-AM-EST
MSG=Input-validation-failed.-Invalid-SFTP-directory.-Please-provide-absolute-path-of-the-SFTP-directory.
SERVER=null
DIRECTORY=null
USER=null|<LVL::Info>
0 Replies 0