尝试在获取WUM更新文件后安装wso2am-2.1.0.zip时,wso2 puppet代理会出错

时间:2017-07-14 11:33:55

标签: wso2 puppet wso2-am

我试图将WUM更新的wso2am-2.1.0.zip从puppet master安装到代理。

我尝试了什么:

  1. 从puppet master / etc / puppet / environments / production / modules / wso2am_runtime / files中删除了现有的wso2am-2.1.0.zip文件。
  2. 将更新的wso2am-2.1.0.1497355516179.zip更新到/ etc / puppet / environments / production / modules / wso2am_runtime / files并将其重命名为wso2am-2.1.0.zip。
  3. 在puppet agent上启动了./setup.sh。
  4. 我有以下日志/错误....有人可以帮我解决这个问题

    [root@serverName opt]# ./setup.sh
    #####################################################
                       Starting cleanup
    #####################################################
    kill 16255: No such process
    #####################################################
                   Setting up environment
    #####################################################
    #####################################################
     Installing
    #####################################################
    Info: Retrieving pluginfacts
    Info: Retrieving plugin
    Info: Loading facts
    Info: Caching catalog for vlcapapigeebaas.fisdev.local
    Info: Applying configuration version '1500030877'
    Notice: /Stage[main]/Wso2am_runtime/Wso2base::Install/Wso2base::Ensure_directory_structures[/data/puppet-wso2-install-dir/packs]/Exec[create_directory_structure_/data/puppet-wso2-install-dir/wso2am-2.1.0//data/puppet-wso2-install-dir/packs]/returns: executed successfully
    Notice: /Stage[main]/Wso2am_runtime/Wso2base::Install/Wso2base::Ensure_directory_structures[/data/puppet-wso2-install-dir]/Exec[create_directory_structure_/data/puppet-wso2-install-dir/wso2am-2.1.0//data/puppet-wso2-install-dir]/returns: executed successfully
    Notice: /Stage[main]/Wso2am_runtime/Wso2base::Install/Wso2base::Clean_deployment[clean_on_pack_change]/File[/tmp/wso2am-2.1.0.zip]/ensure: defined content as '{md5}4751c6f550141e8caff12985dad93282'
    Info: /Stage[main]/Wso2am_runtime/Wso2base::Install/Wso2base::Clean_deployment[clean_on_pack_change]/File[/tmp/wso2am-2.1.0.zip]: Scheduling refresh of Exec[check_diff]
    Notice: /Stage[main]/Wso2am_runtime/Wso2base::Install/Wso2base::Clean_deployment[clean_on_pack_change]/Exec[check_diff]/returns: executed successfully
    Info: /Stage[main]/Wso2am_runtime/Wso2base::Install/Wso2base::Clean_deployment[clean_on_pack_change]/Exec[check_diff]: Scheduling refresh of Exec[clean_temp_pack]
    Notice: /Stage[main]/Wso2am_runtime/Wso2base::Install/Wso2base::Clean_deployment[clean_on_pack_change]/Exec[check_diff]: Triggered 'refresh' from 1 events
    Info: /Stage[main]/Wso2am_runtime/Wso2base::Install/Wso2base::Clean_deployment[clean_on_pack_change]/Exec[check_diff]: Scheduling refresh of Exec[clean_temp_pack]
    Notice: /Stage[main]/Wso2am_runtime/Wso2base::Install/Wso2base::Clean_deployment[clean_on_pack_change]/Exec[clean_temp_pack]/returns: executed successfully
    Notice: /Stage[main]/Wso2am_runtime/Wso2base::Install/Wso2base::Clean_deployment[clean_on_pack_change]/Exec[clean_temp_pack]: Triggered 'refresh' from 2 events
    Error: Could not set 'file' on ensure: No such file or directory - /data/puppet-wso2-install-dir/packs/wso2am-2.1.0.zip20170714-16299-1se1com.lock at 95:/etc/puppet/environments/production/modules/wso2base/manifests/install.pp
    Error: Could not set 'file' on ensure: No such file or directory - /data/puppet-wso2-install-dir/packs/wso2am-2.1.0.zip20170714-16299-1se1com.lock at 95:/etc/puppet/environments/production/modules/wso2base/manifests/install.pp
    Wrapped exception:
    No such file or directory - /data/puppet-wso2-install-dir/packs/wso2am-2.1.0.zip20170714-16299-1se1com.lock
    Error: /Stage[main]/Wso2am_runtime/Wso2base::Install/File[/data/puppet-wso2-install-dir/packs/wso2am-2.1.0.zip]/ensure: change from absent to file failed: Could not set 'file' on ensure: No such file or directory - /data/puppet-wso2-install-dir/packs/wso2am-2.1.0.zip20170714-16299-1se1com.lock at 95:/etc/puppet/environments/production/modules/wso2base/manifests/install.pp
    Notice: /Stage[main]/Wso2am_runtime/Wso2base::Install/Exec[extract_/data/puppet-wso2-install-dir/packs/wso2am-2.1.0.zip]: Dependency File[/data/puppet-wso2-install-dir/packs/wso2am-2.1.0.zip] has failures: true
    Warning: /Stage[main]/Wso2am_runtime/Wso2base::Install/Exec[extract_/data/puppet-wso2-install-dir/packs/wso2am-2.1.0.zip]: Skipping because of failed dependencies
    Notice: /Stage[main]/Wso2am_runtime/Wso2base::Install/Exec[set_ownership_/data/puppet-wso2-install-dir/wso2am-2.1.0]: Dependency File[/data/puppet-wso2-install-dir/packs/wso2am-2.1.0.zip] has failures: true
    Warning: /Stage[main]/Wso2am_runtime/Wso2base::Install/Exec[set_ownership_/data/puppet-wso2-install-dir/wso2am-2.1.0]: Skipping because of failed dependencies
    Notice: /Stage[main]/Wso2am_runtime/Wso2base::Install/Exec[set_permissions_/data/puppet-wso2-install-dir/wso2am-2.1.0]: Dependency File[/data/puppet-wso2-install-dir/packs/wso2am-2.1.0.zip] has failures: true
    Warning: /Stage[main]/Wso2am_runtime/Wso2base::Install/Exec[set_permissions_/data/puppet-wso2-install-dir/wso2am-2.1.0]: Skipping because of failed dependencies
    Notice: /Stage[main]/Wso2am_runtime/Wso2base::Configure/Wso2base::Push_templates[repository/conf/tomcat/catalina-server.xml]/File[/data/puppet-wso2-install-dir/wso2am-2.1.0/repository/conf/tomcat/catalina-server.xml]: Dependency File[/data/puppet-wso2-install-dir/packs/wso2am-2.1.0.zip] has failures: true
    Warning: /Stage[main]/Wso2am_runtime/Wso2base::Configure/Wso2base::Push_templates[repository/conf/tomcat/catalina-server.xml]/File[/data/puppet-wso2-install-dir/wso2am-2.1.0/repository/conf/tomcat/catalina-server.xml]: Skipping because of failed dependencies
    Notice: /Stage[main]/Wso2am_runtime/Wso2base::Configure/Wso2base::Push_templates[bin/wso2server.sh]/File[/data/puppet-wso2-install-dir/wso2am-2.1.0/bin/wso2server.sh]: Dependency File[/data/puppet-wso2-install-dir/packs/wso2am-2.1.0.zip] has failures: true
    Warning: /Stage[main]/Wso2am_runtime/Wso2base::Configure/Wso2base::Push_templates[bin/wso2server.sh]/File[/data/puppet-wso2-install-dir/wso2am-2.1.0/bin/wso2server.sh]: Skipping because of failed dependencies
    Notice: /Stage[main]/Wso2am_runtime/Wso2base::Configure/Wso2base::Push_templates[repository/conf/registry.xml]/File[/data/puppet-wso2-install-dir/wso2am-2.1.0/repository/conf/registry.xml]: Dependency File[/data/puppet-wso2-install-dir/packs/wso2am-2.1.0.zip] has failures: true
    Warning: /Stage[main]/Wso2am_runtime/Wso2base::Configure/Wso2base::Push_templates[repository/conf/registry.xml]/File[/data/puppet-wso2-install-dir/wso2am-2.1.0/repository/conf/registry.xml]: Skipping because of failed dependencies
    Notice: /Stage[main]/Wso2am_runtime/Wso2base::Configure/Wso2base::Push_templates[repository/conf/identity/identity.xml]/File[/data/puppet-wso2-install-dir/wso2am-2.1.0/repository/conf/identity/identity.xml]: Dependency File[/data/puppet-wso2-install-dir/packs/wso2am-2.1.0.zip] has failures: true
    Warning: /Stage[main]/Wso2am_runtime/Wso2base::Configure/Wso2base::Push_templates[repository/conf/identity/identity.xml]/File[/data/puppet-wso2-install-dir/wso2am-2.1.0/repository/conf/identity/identity.xml]: Skipping because of failed dependencies
    Notice: /Stage[main]/Wso2am_runtime/Wso2base::Configure/Wso2base::Push_templates[repository/conf/api-manager.xml]/File[/data/puppet-wso2-install-dir/wso2am-2.1.0/repository/conf/api-manager.xml]: Dependency File[/data/puppet-wso2-install-dir/packs/wso2am-2.1.0.zip] has failures: true
    Warning: /Stage[main]/Wso2am_runtime/Wso2base::Configure/Wso2base::Push_templates[repository/conf/api-manager.xml]/File[/data/puppet-wso2-install-dir/wso2am-2.1.0/repository/conf/api-manager.xml]: Skipping because of failed dependencies
    Notice: /Stage[main]/Wso2am_runtime/Wso2base::Configure/Wso2base::Push_templates[repository/conf/identity/application-authentication.xml]/File[/data/puppet-wso2-install-dir/wso2am-2.1.0/repository/conf/identity/application-authentication.xml]: Dependency File[/data/puppet-wso2-install-dir/packs/wso2am-2.1.0.zip] has failures: true
    Warning: /Stage[main]/Wso2am_runtime/Wso2base::Configure/Wso2base::Push_templates[repository/conf/identity/application-authentication.xml]/File[/data/puppet-wso2-install-dir/wso2am-2.1.0/repository/conf/identity/application-authentication.xml]: Skipping because of failed dependencies
    Notice: /Stage[main]/Wso2am_runtime/Wso2base::Configure/File[/data/puppet-wso2-install-dir/wso2am-2.1.0/repository/components/patches]: Dependency File[/data/puppet-wso2-install-dir/packs/wso2am-2.1.0.zip] has failures: true
    Warning: /Stage[main]/Wso2am_runtime/Wso2base::Configure/File[/data/puppet-wso2-install-dir/wso2am-2.1.0/repository/components/patches]: Skipping because of failed dependencies
    Notice: /Stage[main]/Wso2am_runtime/Wso2base::Configure/File[/data/puppet-wso2-install-dir/wso2am-2.1.0/repository/components/patches/.gitkeep]: Dependency File[/data/puppet-wso2-install-dir/packs/wso2am-2.1.0.zip] has failures: true
    Warning: /Stage[main]/Wso2am_runtime/Wso2base::Configure/File[/data/puppet-wso2-install-dir/wso2am-2.1.0/repository/components/patches/.gitkeep]: Skipping because of failed dependencies
    Notice: /Stage[main]/Wso2am_runtime/Wso2base::Configure/Wso2base::Push_templates[repository/conf/identity/EndpointConfig.properties]/File[/data/puppet-wso2-install-dir/wso2am-2.1.0/repository/conf/identity/EndpointConfig.properties]: Dependency File[/data/puppet-wso2-install-dir/packs/wso2am-2.1.0.zip] has failures: true
    Warning: /Stage[main]/Wso2am_runtime/Wso2base::Configure/Wso2base::Push_templates[repository/conf/identity/EndpointConfig.properties]/File[/data/puppet-wso2-install-dir/wso2am-2.1.0/repository/conf/identity/EndpointConfig.properties]: Skipping because of failed dependencies
    Notice: /Stage[main]/Wso2am_runtime/Wso2base::Configure/Wso2base::Push_templates[repository/conf/datasources/am-datasources.xml]/File[/data/puppet-wso2-install-dir/wso2am-2.1.0/repository/conf/datasources/am-datasources.xml]: Dependency File[/data/puppet-wso2-install-dir/packs/wso2am-2.1.0.zip] has failures: true
    Warning: /Stage[main]/Wso2am_runtime/Wso2base::Configure/Wso2base::Push_templates[repository/conf/datasources/am-datasources.xml]/File[/data/puppet-wso2-install-dir/wso2am-2.1.0/repository/conf/datasources/am-datasources.xml]: Skipping because of failed dependencies
    Notice: /Stage[main]/Wso2am_runtime/Wso2base::Configure/Wso2base::Push_templates[repository/conf/user-mgt.xml]/File[/data/puppet-wso2-install-dir/wso2am-2.1.0/repository/conf/user-mgt.xml]: Dependency File[/data/puppet-wso2-install-dir/packs/wso2am-2.1.0.zip] has failures: true
    Warning: /Stage[main]/Wso2am_runtime/Wso2base::Configure/Wso2base::Push_templates[repository/conf/user-mgt.xml]/File[/data/puppet-wso2-install-dir/wso2am-2.1.0/repository/conf/user-mgt.xml]: Skipping because of failed dependencies
    Notice: /Stage[main]/Wso2am_runtime/Wso2base::Configure/Wso2base::Push_templates[repository/conf/security/authenticators.xml]/File[/data/puppet-wso2-install-dir/wso2am-2.1.0/repository/conf/security/authenticators.xml]: Dependency File[/data/puppet-wso2-install-dir/packs/wso2am-2.1.0.zip] has failures: true
    Warning: /Stage[main]/Wso2am_runtime/Wso2base::Configure/Wso2base::Push_templates[repository/conf/security/authenticators.xml]/File[/data/puppet-wso2-install-dir/wso2am-2.1.0/repository/conf/security/authenticators.xml]: Skipping because of failed dependencies
    Notice: /Stage[main]/Wso2am_runtime/Wso2base::Configure/Wso2base::Push_templates[repository/conf/axis2/axis2.xml]/File[/data/puppet-wso2-install-dir/wso2am-2.1.0/repository/conf/axis2/axis2.xml]: Dependency File[/data/puppet-wso2-install-dir/packs/wso2am-2.1.0.zip] has failures: true
    Warning: /Stage[main]/Wso2am_runtime/Wso2base::Configure/Wso2base::Push_templates[repository/conf/axis2/axis2.xml]/File[/data/puppet-wso2-install-dir/wso2am-2.1.0/repository/conf/axis2/axis2.xml]: Skipping because of failed dependencies
    Notice: /Stage[main]/Wso2am_runtime/Wso2base::Configure/Wso2base::Push_templates[repository/conf/datasources/master-datasources.xml]/File[/data/puppet-wso2-install-dir/wso2am-2.1.0/repository/conf/datasources/master-datasources.xml]: Dependency File[/data/puppet-wso2-install-dir/packs/wso2am-2.1.0.zip] has failures: true
    Warning: /Stage[main]/Wso2am_runtime/Wso2base::Configure/Wso2base::Push_templates[repository/conf/datasources/master-datasources.xml]/File[/data/puppet-wso2-install-dir/wso2am-2.1.0/repository/conf/datasources/master-datasources.xml]: Skipping because of failed dependencies
    Notice: /Stage[main]/Wso2am_runtime/Wso2base::Service/Service[wso2am]: Dependency File[/data/puppet-wso2-install-dir/packs/wso2am-2.1.0.zip] has failures: true
    Warning: /Stage[main]/Wso2am_runtime/Wso2base::Service/Service[wso2am]: Skipping because of failed dependencies
    Notice: /Stage[main]/Wso2am_runtime/Wso2base::Service/Notify[Successfully started WSO2 service [name] wso2am, [CARBON_HOME] /data/puppet-wso2-install-dir/wso2am-2.1.0]: Dependency File[/data/puppet-wso2-install-dir/packs/wso2am-2.1.0.zip] has failures: true
    Warning: /Stage[main]/Wso2am_runtime/Wso2base::Service/Notify[Successfully started WSO2 service [name] wso2am, [CARBON_HOME] /data/puppet-wso2-install-dir/wso2am-2.1.0]: Skipping because of failed dependencies
    

0 个答案:

没有答案