TECHZEN Zenoss User Community ARCHIVE  

ZENUP SP671 INCOMPLETE

Subject: ZENUP SP671 INCOMPLETE
Author: Ashok
Posted: 2017-09-01 20:32

Hi
I have tried to the update latest Zenup patch sp671 patch on my zenoss 4.2.5 but i got stuck at middle getting error. I have attached logs please find attached file , even i used -- force flag getting error

------------------------------
Ashok G
Systems Administrator
verizon
New Jersey NJ
------------------------------


Subject: RE: ZENUP SP671 INCOMPLETE
Author: Jane Curry
Posted: 2017-09-02 04:45

Dont see the logs....
Cheers,
Jane

------------------------------
Jane Curry
Skills 1st United Kingdom
jane.curry@skills-1st.co.uk
------------------------------


Subject: RE: ZENUP SP671 INCOMPLETE
Author: Ashok
Posted: 2017-09-04 17:07

Hi jane i installed latest zenup tool  1.1 version , latest pristine file , and sp671 patch  here are logs please find it 

2017-08-31 09:29:01,835 DEBUG  : Loading products from config
2017-08-31 09:29:04,296 DEBUG  : Phase check loaded: ['check/sanity_checks', 'check/check_nginx_config', 'check/database_perms', 'check/check_mibs', 'check/check_migrate', 'check/check_new_files', 'check/check_patch_exists', 'check/check_zenpack_updates', 'check/check_vSphere']
2017-08-31 09:29:04,296 DEBUG  : Phase post loaded: ['post/sanity', 'post/patch_post_install_files', 'post/install_changed_custom_blobs', 'post/custom_file_remover', 'post/install_changed_custom_blobs', 'post/install_rebuilt_js', 'post/external_eggs', 'post/update_zenpacks', 'post/build_javascript', 'post/run_migrates', 'post/install_mibs', 'post/finish', 'post/run_zencheckzends_truncate']
2017-08-31 09:29:04,296 DEBUG  : Phase pre loaded: ['pre/pre']
2017-08-31 09:29:06,683 DEBUG  : Phase check loaded: ['check/sanity_checks', 'check/check_nginx_config', 'check/database_perms', 'check/check_mibs', 'check/check_migrate', 'check/check_new_files', 'check/check_patch_exists', 'check/check_zenpack_updates', 'check/check_vSphere']
2017-08-31 09:29:06,683 DEBUG  : Phase post loaded: ['post/sanity', 'post/patch_post_install_files', 'post/install_changed_custom_blobs', 'post/custom_file_remover', 'post/install_changed_custom_blobs', 'post/install_rebuilt_js', 'post/external_eggs', 'post/update_zenpacks', 'post/build_javascript', 'post/run_migrates', 'post/install_mibs', 'post/finish', 'post/run_zencheckzends_truncate']
2017-08-31 09:29:06,683 DEBUG  : Phase pre loaded: ['pre/pre']
2017-08-31 09:29:28,078 DEBUG  : Loading products from config
2017-08-31 09:29:30,531 DEBUG  : Phase check loaded: ['check/sanity_checks', 'check/check_nginx_config', 'check/database_perms', 'check/check_mibs', 'check/check_migrate', 'check/check_new_files', 'check/check_patch_exists', 'check/check_zenpack_updates', 'check/check_vSphere']
2017-08-31 09:29:30,531 DEBUG  : Phase post loaded: ['post/sanity', 'post/patch_post_install_files', 'post/install_changed_custom_blobs', 'post/custom_file_remover', 'post/install_changed_custom_blobs', 'post/install_rebuilt_js', 'post/external_eggs', 'post/update_zenpacks', 'post/build_javascript', 'post/run_migrates', 'post/install_mibs', 'post/finish', 'post/run_zencheckzends_truncate']
2017-08-31 09:29:30,531 DEBUG  : Phase pre loaded: ['pre/pre']
2017-08-31 09:29:32,951 DEBUG  : Phase check loaded: ['check/sanity_checks', 'check/check_nginx_config', 'check/database_perms', 'check/check_mibs', 'check/check_migrate', 'check/check_new_files', 'check/check_patch_exists', 'check/check_zenpack_updates', 'check/check_vSphere']
2017-08-31 09:29:32,951 DEBUG  : Phase post loaded: ['post/sanity', 'post/patch_post_install_files', 'post/install_changed_custom_blobs', 'post/custom_file_remover', 'post/install_changed_custom_blobs', 'post/install_rebuilt_js', 'post/external_eggs', 'post/update_zenpacks', 'post/build_javascript', 'post/run_migrates', 'post/install_mibs', 'post/finish', 'post/run_zencheckzends_truncate']
2017-08-31 09:29:32,951 DEBUG  : Phase pre loaded: ['pre/pre']
2017-08-31 09:32:24,688 DEBUG  : Loading products from config
2017-08-31 09:32:27,229 DEBUG  : Phase check loaded: ['check/sanity_checks', 'check/check_nginx_config', 'check/database_perms', 'check/check_mibs', 'check/check_migrate', 'check/check_new_files', 'check/check_patch_exists', 'check/check_zenpack_updates', 'check/check_vSphere']
2017-08-31 09:32:27,229 DEBUG  : Phase post loaded: ['post/sanity', 'post/patch_post_install_files', 'post/install_changed_custom_blobs', 'post/custom_file_remover', 'post/install_changed_custom_blobs', 'post/install_rebuilt_js', 'post/external_eggs', 'post/update_zenpacks', 'post/build_javascript', 'post/run_migrates', 'post/install_mibs', 'post/finish', 'post/run_zencheckzends_truncate']
2017-08-31 09:32:27,229 DEBUG  : Phase pre loaded: ['pre/pre']
2017-08-31 09:32:29,643 DEBUG  : Phase check loaded: ['check/sanity_checks', 'check/check_nginx_config', 'check/database_perms', 'check/check_mibs', 'check/check_migrate', 'check/check_new_files', 'check/check_patch_exists', 'check/check_zenpack_updates', 'check/check_vSphere']
2017-08-31 09:32:29,644 DEBUG  : Phase post loaded: ['post/sanity', 'post/patch_post_install_files', 'post/install_changed_custom_blobs', 'post/custom_file_remover', 'post/install_changed_custom_blobs', 'post/install_rebuilt_js', 'post/external_eggs', 'post/update_zenpacks', 'post/build_javascript', 'post/run_migrates', 'post/install_mibs', 'post/finish', 'post/run_zencheckzends_truncate']
2017-08-31 09:32:29,644 DEBUG  : Phase pre loaded: ['pre/pre']
2017-08-31 20:09:03,625 DEBUG  : Loading products from config
2017-08-31 20:09:12,619 DEBUG  : Loading products from config
2017-08-31 20:09:19,073 DEBUG  : Phase check loaded: ['check/sanity_checks', 'check/check_nginx_config', 'check/database_perms', 'check/check_mibs', 'check/check_migrate', 'check/check_new_files', 'check/check_patch_exists', 'check/check_zenpack_updates', 'check/check_vSphere']
2017-08-31 20:09:19,073 DEBUG  : Phase post loaded: ['post/sanity', 'post/patch_post_install_files', 'post/install_changed_custom_blobs', 'post/custom_file_remover', 'post/install_changed_custom_blobs', 'post/install_rebuilt_js', 'post/external_eggs', 'post/update_zenpacks', 'post/build_javascript', 'post/run_migrates', 'post/install_mibs', 'post/finish', 'post/run_zencheckzends_truncate']
2017-08-31 20:09:19,073 DEBUG  : Phase pre loaded: ['pre/pre']
2017-08-31 20:19:48,999 DEBUG  : Loading products from config
2017-08-31 20:19:52,427 DEBUG  : Phase check loaded: ['check/sanity_checks', 'check/check_nginx_config', 'check/database_perms', 'check/check_mibs', 'check/check_migrate', 'check/check_new_files', 'check/check_patch_exists', 'check/check_zenpack_updates', 'check/check_vSphere']
2017-08-31 20:19:52,427 DEBUG  : Phase post loaded: ['post/sanity', 'post/patch_post_install_files', 'post/install_changed_custom_blobs', 'post/custom_file_remover', 'post/install_changed_custom_blobs', 'post/install_rebuilt_js', 'post/external_eggs', 'post/update_zenpacks', 'post/build_javascript', 'post/run_migrates', 'post/install_mibs', 'post/finish', 'post/run_zencheckzends_truncate']
2017-08-31 20:19:52,427 DEBUG  : Phase pre loaded: ['pre/pre']
2017-08-31 20:20:00,380 DEBUG  : Phase check loaded: ['check/sanity_checks', 'check/check_nginx_config', 'check/database_perms', 'check/check_mibs', 'check/check_migrate', 'check/check_new_files', 'check/check_patch_exists', 'check/check_zenpack_updates', 'check/check_vSphere']
2017-08-31 20:20:00,380 DEBUG  : Phase post loaded: ['post/sanity', 'post/patch_post_install_files', 'post/install_changed_custom_blobs', 'post/custom_file_remover', 'post/install_changed_custom_blobs', 'post/install_rebuilt_js', 'post/external_eggs', 'post/update_zenpacks', 'post/build_javascript', 'post/run_migrates', 'post/install_mibs', 'post/finish', 'post/run_zencheckzends_truncate']
2017-08-31 20:20:00,380 DEBUG  : Phase pre loaded: ['pre/pre']
2017-08-31 20:20:12,296 DEBUG  : Phase check loaded: ['check/sanity_checks', 'check/check_nginx_config', 'check/database_perms', 'check/check_mibs', 'check/check_migrate', 'check/check_new_files', 'check/check_patch_exists', 'check/check_zenpack_updates', 'check/check_vSphere']
2017-08-31 20:20:12,296 DEBUG  : Phase post loaded: ['post/sanity', 'post/patch_post_install_files', 'post/install_changed_custom_blobs', 'post/custom_file_remover', 'post/install_changed_custom_blobs', 'post/install_rebuilt_js', 'post/external_eggs', 'post/update_zenpacks', 'post/build_javascript', 'post/run_migrates', 'post/install_mibs', 'post/finish', 'post/run_zencheckzends_truncate']
2017-08-31 20:20:12,305 DEBUG  : Phase pre loaded: ['pre/pre']
2017-08-31 20:20:19,544 DEBUG  : Calculating local diffs.
2017-08-31 20:20:19,545 DEBUG  : Filtering paths on the pristine: /tmp/tmpk6KNe7/source.tgz_TB3UsX/src
2017-08-31 20:20:19,545 DEBUG  : Skipping directory extras
2017-08-31 20:20:19,546 DEBUG  : Skipping directory webapps
2017-08-31 20:20:19,546 DEBUG  : Skipping directory etc
2017-08-31 20:20:19,546 DEBUG  : Skipping directory lib
2017-08-31 20:20:19,546 DEBUG  : Skipping directory libexec
2017-08-31 20:20:19,546 DEBUG  : Skipping directory packs
2017-08-31 20:20:19,546 DEBUG  : Skipping directory include
2017-08-31 20:20:19,546 DEBUG  : Skipping directory share
2017-08-31 20:20:19,547 DEBUG  : Skipping directory zopehome
2017-08-31 20:20:19,547 DEBUG  : Skipping directory export
2017-08-31 20:20:19,548 DEBUG  : Skipping directory var
2017-08-31 20:20:19,548 DEBUG  : Skipping directory log
2017-08-31 20:20:25,401 DEBUG  : Skipping directory Products/ZenUI3/browser/resources/js/deploy
2017-08-31 20:20:27,626 DEBUG  : Filtering paths on the installed: /opt/zenoss
2017-08-31 20:20:27,627 DEBUG  : Skipping directory extras
2017-08-31 20:20:27,627 DEBUG  : Skipping directory webapps
2017-08-31 20:20:27,627 DEBUG  : Skipping directory zenjmx-libs
2017-08-31 20:20:27,627 DEBUG  : Skipping directory etc
2017-08-31 20:20:27,627 DEBUG  : Skipping directory ZenPacks
2017-08-31 20:20:27,627 DEBUG  : Skipping directory lib
2017-08-31 20:20:27,627 DEBUG  : Skipping directory backups
2017-08-31 20:20:27,627 DEBUG  : Skipping directory import
2017-08-31 20:20:27,627 DEBUG  : Skipping directory libexec
2017-08-31 20:20:27,627 DEBUG  : Skipping directory packs
2017-08-31 20:20:27,628 DEBUG  : Skipping directory include
2017-08-31 20:20:27,628 DEBUG  : Skipping directory share
2017-08-31 20:20:27,628 DEBUG  : Skipping directory perf
2017-08-31 20:20:27,628 DEBUG  : Skipping directory zopehome
2017-08-31 20:20:27,628 DEBUG  : Skipping directory export
2017-08-31 20:20:27,628 DEBUG  : Skipping directory var
2017-08-31 20:20:27,628 DEBUG  : Skipping directory log
2017-08-31 20:20:35,040 DEBUG  : Skipping directory Products/ZenUI3/browser/resources/js/deploy
2017-08-31 20:20:37,197 DEBUG  : Compiling modified files.
2017-08-31 20:20:38,724 DEBUG  : Found diff for file: Products/ZenUI3/browser/resources/css/zenoss.css
2017-08-31 20:20:39,317 DEBUG  : Compiling added files.
2017-08-31 20:20:39,318 DEBUG  : Found added file: bin/zenindextool
2017-08-31 20:20:39,318 DEBUG  : Found added file: bin/zopectl.old
2017-08-31 20:20:39,318 DEBUG  : Found added file: bin/findposkeyerror
2017-08-31 20:20:39,318 DEBUG  : Found added file: bin/use_scsi
2017-08-31 20:20:39,318 DEBUG  : Found added file: bin/zodbscan
2017-08-31 20:20:39,319 DEBUG  : Found added file: bin/secure_zenoss.sh
2017-08-31 20:20:39,319 DEBUG  : Found added file: bin/zencheckdbstats
2017-08-31 20:20:39,319 DEBUG  : Found added file: bin/zencatalogscan
2017-08-31 20:20:39,319 DEBUG  : Found added file: bin/validate4import
2017-08-31 20:20:39,319 DEBUG  : Found added file: bin/zenrelationscan
2017-08-31 20:20:39,319 DEBUG  : Found added file: bin/runzope.old
2017-08-31 20:20:39,320 DEBUG  : Found added file: bin/zennetworkclean
2017-08-31 20:20:39,320 DEBUG  : Found added file: bin/export4
2017-08-31 20:20:39,320 DEBUG  : Compiling deleted files.
2017-08-31 20:20:39,320 DEBUG  : Found deleted file: Products/ZenUtils/redis.py
2017-09-01 03:43:22,362 ERROR  : Error installing zup: zenoss_core-4.2.5-SP671-zenup11.zup
Traceback (most recent call last):
  File "/opt/zenup/python/zenup/zenupapi.py", line 308, in install
    result = product.install(zup, force)
  File "/opt/zenup/python/zenup/zupproduct.py", line 625, in install
    self._run_scripts(zup, "post", auditer)
  File "/opt/zenup/python/zenup/zupproduct.py", line 687, in _run_scripts
    raise e
ArchiveError: Script "['/tmp/tmpk6KNe7/zenoss_core-4.2.5-SP671-zenup11.zup_Ne49Mt/post/run_migrates', '4.2.5']" returned a non-zero exit code 1. 
2017-09-01 06:18:53,581 DEBUG  : Loading products from config
2017-09-01 06:18:56,842 DEBUG  : Phase check loaded: ['check/sanity_checks', 'check/check_nginx_config', 'check/database_perms', 'check/check_mibs', 'check/check_migrate', 'check/check_new_files', 'check/check_patch_exists', 'check/check_zenpack_updates', 'check/check_vSphere']
2017-09-01 06:18:56,842 DEBUG  : Phase post loaded: ['post/sanity', 'post/patch_post_install_files', 'post/install_changed_custom_blobs', 'post/custom_file_remover', 'post/install_changed_custom_blobs', 'post/install_rebuilt_js', 'post/external_eggs', 'post/update_zenpacks', 'post/build_javascript', 'post/run_migrates', 'post/install_mibs', 'post/finish', 'post/run_zencheckzends_truncate']
2017-09-01 06:18:56,842 DEBUG  : Phase pre loaded: ['pre/pre']
2017-09-01 06:19:05,656 DEBUG  : Phase check loaded: ['check/sanity_checks', 'check/check_nginx_config', 'check/database_perms', 'check/check_mibs', 'check/check_migrate', 'check/check_new_files', 'check/check_patch_exists', 'check/check_zenpack_updates', 'check/check_vSphere']
2017-09-01 06:19:05,657 DEBUG  : Phase post loaded: ['post/sanity', 'post/patch_post_install_files', 'post/install_changed_custom_blobs', 'post/custom_file_remover', 'post/install_changed_custom_blobs', 'post/install_rebuilt_js', 'post/external_eggs', 'post/update_zenpacks', 'post/build_javascript', 'post/run_migrates', 'post/install_mibs', 'post/finish', 'post/run_zencheckzends_truncate']
2017-09-01 06:19:05,657 DEBUG  : Phase pre loaded: ['pre/pre']
2017-09-01 06:19:05,657 ERROR  : Error installing zup: zenoss_core-4.2.5-SP671-zenup11.zup
Traceback (most recent call last):
  File "/opt/zenup/python/zenup/zenupapi.py", line 300, in install
    product.config.upgrading)
TypeError: not all arguments converted during string formatting



------------------------------
Ashok G
Systems Administrator
verizon
New Jersey NJ
------------------------------


< Previous
ZENUP sp671 patch failed
  Next
Problem parsing SWIFT events
>