wso2 puppet代理在获取WUM更新文件后尝试安装wso2am-2.1.0.zip时出错
我试图将WUM更新的wso2am-2.1.0.zip从puppet master安装到代理 我所尝试的:wso2 puppet代理在获取WUM更新文件后尝试安装wso2am-2.1.0.zip时出错,wso2,puppet,wso2-am,Wso2,Puppet,Wso2 Am,我试图将WUM更新的wso2am-2.1.0.zip从puppet master安装到代理 我所尝试的: 从puppet master/etc/puppet/environments/production/modules/wso2am_runtime/files中删除了现有的wso2am-2.1.0.zip文件 将更新的wso2am-2.1.0.149735516179.zip转换为/etc/puppet/environments/production/modules/wso2am_runtim
[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
您是否更改了wso2am zip文件名?是的,我将WUM wso2am-2.1.0.1493283858466.zip改为wso2am-2.1.0.zip请注意:如果我第一次使用从wso2站点新下载的wso2am-2.1.0.zip进行安装,效果会很好。只有当我获取WUM更新文件并尝试更新到代理时,问题才会出现代理声称无法读取文件[/data/puppet-wso2-install-dir/packs/wso2am-2.1.0.zip]/确保:从缺席更改为文件失败:无法在上设置“文件”:确保:没有这样的文件或目录文件确实存在于具有正确权限的源位置中吗?是的,刚才我在启动时注意到。/setup.sh file/data/puppet-wso2-install-dir/为空。我们开始时,它似乎正在被删除。/setup.sh