Comments (14)
Hi,
this works for me
'jersey-bundle':
ensure: 'present'
deploymenttype: 'Library'
versionidentifier: '[email protected]'
target:
- 'AdminServer'
- 'WebCluster'
targettype:
- 'Server'
- 'Cluster'
localpath: '/vagrant/jersey-bundle-1.18.war'
require:
- Wls_cluster[WebCluster]
'webapp':
ensure: 'present'
deploymenttype: 'AppDeployment'
versionidentifier: '[email protected]'
target:
- 'WebCluster'
targettype:
- 'Cluster'
localpath: '/vagrant/webapp.war'
require:
- Wls_deployment[jersey-bundle]
- Wls_cluster[WebCluster]
What are you using PE or masterless and can you change your code and try this
with PE , can you restart all puppet services and do a puppet run on the master, this way easy_type and all the types are loaded.
wls_setting { 'default':
user => $user,
weblogic_home_dir => "${alt_dir}/12c/wlserver_12.1",
connect_url => "t3://${::ipaddress_eth1}:9070",
weblogic_user => "somthin",
weblogic_password => "SOMETHIN",
} ->
wls_deployment { "NAME":
ensure => 'present',
deploymenttype => 'AppDeployment',
target => ['AdminServer'],
targettype => ['Server'],
localpath => "${alt_dir}/install/NAME.war",
}
thanks
from biemond-orawls.
I just ran into this issue as well today... not sure if need to restart puppet services on my Puppet Compile masters or what.
from biemond-orawls.
You can all follow all the puppet master step described in the readme and maybe have to set the timeout on the wls type or need to restart the adminserver after a domain, security or adminserver change.
from biemond-orawls.
Info: Connecting to wls on url t3://10.239.132.57:7001
Info: Executing wls-script /tmp/wlstScript20141223-31648-f5er1u.py
Debug: Passing domain default
Debug: Passing credintials to WLST
Info: Connecting to wls on url t3://10.239.132.57:7001
Error: Could not prefetch wls_user provider 'simple': end of file reached
Info: create default/weblogic
Info: Executing: wlstScript with action
Info: Got the right domain default script, now execute WLST
Prepare to run: /tmp/wlstScript20141223-31648-17mpbnt.py,oracle,default,/app/oracle/middleware10.3.6/wlserver_10.3,weblogic,weblogic1,t3://10.239.132.57:7001,
vvv===================================================================
check the domain else we need to skip this (done in wls_access.rb)
real_domain='default'
name = 'weblogic'
password = 'weblogic_password'
realm = 'myrealm'
authenticationprovider = 'DefaultAuthenticator'
description = 'This user is the default console administrator.'
try:
cd('/')
atnr=cmo.getSecurityConfiguration().getDefaultRealm().lookupAuthenticationProvider(authenticationprovider)
print 'create user: ',name
atnr.createUser(name,password,description)
print "~~~~COMMAND SUCCESFULL~~~~"
except:
print "Unexpected error:", sys.exc_info()[0]
print "~~~~COMMAND FAILED~~~~"
raise
^^^====================================================================
Info: Executing wls-script /tmp/wlstScript20141223-31648-17mpbnt.py
Debug: Passing domain default
Error: Could not set 'present' on ensure: Broken pipe
Error: Could not set 'present' on ensure: Broken pipe
Wrapped exception:
Broken pipe
Error: /Stage[main]/Weblogic::Security/Wls_user[weblogic]/ensure: change from absent to present failed: Could not set 'present' on ensure: Broken pipe
from biemond-orawls.
So, it is having an issue prefetching the wls_user provider it seems? Can I update the timeout for this prefetch you are saying?
from biemond-orawls.
Can you check
if you have all the required dependency puppet modules.
Check/sync the time on all servers.
can you restart all PE master services
do a puppet run on the master
after this on the agent node run this command.
puppet agent --debug --trace
from biemond-orawls.
Successfully Connected to Node Manager.
wls:/nm/ADAMTEST> Starting server AdminServer ...
Successfully started server AdminServer ...
wls:/nm/ADAMTEST> Successfully disconnected from Node Manager.
wls:/offline>
Notice: /Stage[main]/Weblogic::Startwls/Orawls::Control[startWLSAdminServer]/Wls_adminserver[startWLSAdminServer:AdminServer]/ensure: ensure changed 'stop' to 'start'
Info: index wls_user
Info: Executing: wlstScript with action index
Info: domain found default
Info: Starting the wls daemon for domain default
Info: Connecting to wls on url t3://10.239.132.57:7001
Info: Executing wls-script /tmp/wlstScript20141223-11437-b9yfrj.py
Info: Connecting to wls on url t3://10.239.132.57:7001
Error: Could not prefetch wls_user provider 'simple': end of file reached
/var/opt/lib/pe-puppet/lib/easy_type/daemon.rb:74:in readline' /var/opt/lib/pe-puppet/lib/easy_type/daemon.rb:74:in
block in timed_readline'
/opt/puppet/lib/ruby/1.9.1/timeout.rb:69:in timeout' /var/opt/lib/pe-puppet/lib/easy_type/daemon.rb:73:in
timed_readline'
/var/opt/lib/pe-puppet/lib/easy_type/daemon.rb:62:in sync' /var/opt/lib/pe-puppet/lib/utils/wls_daemon.rb:36:in
execute_script'
/var/opt/lib/pe-puppet/lib/utils/wls_access.rb:90:in execute_wlst' /var/opt/lib/pe-puppet/lib/utils/wls_access.rb:39:in
block in wlst'
/var/opt/lib/pe-puppet/lib/utils/wls_access.rb:37:in each' /var/opt/lib/pe-puppet/lib/utils/wls_access.rb:37:in
wlst'
/var/opt/lib/pe-puppet/lib/puppet/type/wls_user.rb:23:in block (2 levels) in <module:Puppet>' /var/opt/lib/pe-puppet/lib/easy_type/provider.rb:178:in
instances'
/var/opt/lib/pe-puppet/lib/easy_type/provider.rb:193:in prefetch' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/transaction.rb:277:in
prefetch'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/transaction.rb:167:in prefetch_if_necessary' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/transaction.rb:67:in
block in evaluate'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/graph/relationship_graph.rb:116:in call' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/graph/relationship_graph.rb:116:in
traverse'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/transaction.rb:108:in evaluate' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/resource/catalog.rb:167:in
block in apply'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/util/log.rb:149:in with_destination' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/transaction/report.rb:112:in
as_logging_destination'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/resource/catalog.rb:166:in apply' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/configurer.rb:117:in
block in apply_catalog'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/util.rb:161:in block in benchmark' /opt/puppet/lib/ruby/1.9.1/benchmark.rb:295:in
realtime'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/util.rb:160:in benchmark' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/configurer.rb:116:in
apply_catalog'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/configurer.rb:191:in run' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/agent.rb:47:in
block (4 levels) in run'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/agent/locker.rb:20:in lock' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/agent.rb:47:in
block (3 levels) in run'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/agent.rb:117:in with_client' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/agent.rb:44:in
block (2 levels) in run'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/agent.rb:82:in run_in_fork' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/agent.rb:43:in
block in run'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/application.rb:179:in call' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/application.rb:179:in
controlled_run'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/agent.rb:41:in run' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/application/agent.rb:355:in
onetime'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/application/agent.rb:321:in run_command' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/application.rb:371:in
block (2 levels) in run'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/application.rb:477:in plugin_hook' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/application.rb:371:in
block in run'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/util.rb:479:in exit_on_fail' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/application.rb:371:in
run'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/util/command_line.rb:137:in run' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/util/command_line.rb:91:in
execute'
/opt/puppet/bin/puppet:8:in <main>' Info: create default/weblogic Info: Executing: wlstScript with action Info: Got the right domain default script, now execute WLST Info: Executing wls-script /tmp/wlstScript20141223-11437-1umev3n.py Error: Could not set 'present' on ensure: Broken pipe /var/opt/lib/pe-puppet/lib/easy_type/daemon.rb:52:in
write'
/var/opt/lib/pe-puppet/lib/easy_type/daemon.rb:52:in puts' /var/opt/lib/pe-puppet/lib/easy_type/daemon.rb:52:in
execute_command'
/var/opt/lib/pe-puppet/lib/utils/wls_daemon.rb:54:in pass_domain' /var/opt/lib/pe-puppet/lib/utils/wls_daemon.rb:32:in
execute_script'
/var/opt/lib/pe-puppet/lib/utils/wls_access.rb:90:in execute_wlst' /var/opt/lib/pe-puppet/lib/utils/wls_access.rb:54:in
block in wlst'
/var/opt/lib/pe-puppet/lib/utils/wls_access.rb:50:in each' /var/opt/lib/pe-puppet/lib/utils/wls_access.rb:50:in
wlst'
/var/opt/lib/pe-puppet/lib/easy_type/command_entry.rb:25:in execute' /var/opt/lib/pe-puppet/lib/easy_type/blank_slate.rb:36:in
block (2 levels) in execute'
/var/opt/lib/pe-puppet/lib/easy_type/blank_slate.rb:35:in each' /var/opt/lib/pe-puppet/lib/easy_type/blank_slate.rb:35:in
block in execute'
/var/opt/lib/pe-puppet/lib/easy_type/blank_slate.rb:34:in each' /var/opt/lib/pe-puppet/lib/easy_type/blank_slate.rb:34:in
execute'
/var/opt/lib/pe-puppet/lib/easy_type/script_builder.rb:105:in execute' /var/opt/lib/pe-puppet/lib/easy_type/provider.rb:60:in
create'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/property/ensure.rb:16:in block in defaultvalues' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/property.rb:197:in
call_valuemethod'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/property.rb:498:in set' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/property.rb:581:in
sync'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/transaction/resource_harness.rb:191:in sync' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/transaction/resource_harness.rb:128:in
sync_if_needed'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/transaction/resource_harness.rb:81:in perform_changes' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/transaction/resource_harness.rb:20:in
evaluate'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/transaction.rb:174:in apply' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/transaction.rb:187:in
eval_resource'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/transaction.rb:117:in call' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/transaction.rb:117:in
block (2 levels) in evaluate'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/util.rb:327:in block in thinmark' /opt/puppet/lib/ruby/1.9.1/benchmark.rb:295:in
realtime'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/util.rb:326:in thinmark' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/transaction.rb:117:in
block in evaluate'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/graph/relationship_graph.rb:118:in traverse' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/transaction.rb:108:in
evaluate'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/resource/catalog.rb:167:in block in apply' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/util/log.rb:149:in
with_destination'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/transaction/report.rb:112:in as_logging_destination' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/resource/catalog.rb:166:in
apply'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/configurer.rb:117:in block in apply_catalog' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/util.rb:161:in
block in benchmark'
/opt/puppet/lib/ruby/1.9.1/benchmark.rb:295:in realtime' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/util.rb:160:in
benchmark'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/configurer.rb:116:in apply_catalog' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/configurer.rb:191:in
run'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/agent.rb:47:in block (4 levels) in run' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/agent/locker.rb:20:in
lock'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/agent.rb:47:in block (3 levels) in run' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/agent.rb:117:in
with_client'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/agent.rb:44:in block (2 levels) in run' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/agent.rb:82:in
run_in_fork'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/agent.rb:43:in block in run' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/application.rb:179:in
call'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/application.rb:179:in controlled_run' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/agent.rb:41:in
run'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/application/agent.rb:355:in onetime' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/application/agent.rb:321:in
run_command'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/application.rb:371:in block (2 levels) in run' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/application.rb:477:in
plugin_hook'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/application.rb:371:in block in run' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/util.rb:479:in
exit_on_fail'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/application.rb:371:in run' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/util/command_line.rb:137:in
run'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/util/command_line.rb:91:in execute' /opt/puppet/bin/puppet:8:in
Error: Could not set 'present' on ensure: Broken pipe
/var/opt/lib/pe-puppet/lib/easy_type/daemon.rb:52:in
write' /var/opt/lib/pe-puppet/lib/easy_type/daemon.rb:52:in
puts'/var/opt/lib/pe-puppet/lib/easy_type/daemon.rb:52:in
execute_command' /var/opt/lib/pe-puppet/lib/utils/wls_daemon.rb:54:in
pass_domain'/var/opt/lib/pe-puppet/lib/utils/wls_daemon.rb:32:in
execute_script' /var/opt/lib/pe-puppet/lib/utils/wls_access.rb:90:in
execute_wlst'/var/opt/lib/pe-puppet/lib/utils/wls_access.rb:54:in
block in wlst' /var/opt/lib/pe-puppet/lib/utils/wls_access.rb:50:in
each'/var/opt/lib/pe-puppet/lib/utils/wls_access.rb:50:in
wlst' /var/opt/lib/pe-puppet/lib/easy_type/command_entry.rb:25:in
execute'/var/opt/lib/pe-puppet/lib/easy_type/blank_slate.rb:36:in
block (2 levels) in execute' /var/opt/lib/pe-puppet/lib/easy_type/blank_slate.rb:35:in
each'/var/opt/lib/pe-puppet/lib/easy_type/blank_slate.rb:35:in
block in execute' /var/opt/lib/pe-puppet/lib/easy_type/blank_slate.rb:34:in
each'/var/opt/lib/pe-puppet/lib/easy_type/blank_slate.rb:34:in
execute' /var/opt/lib/pe-puppet/lib/easy_type/script_builder.rb:105:in
execute'/var/opt/lib/pe-puppet/lib/easy_type/provider.rb:60:in
create' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/property/ensure.rb:16:in
block in defaultvalues'/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/property.rb:197:in
call_valuemethod' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/property.rb:498:in
set'/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/property.rb:581:in
sync' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/transaction/resource_harness.rb:191:in
sync'/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/transaction/resource_harness.rb:128:in
sync_if_needed' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/transaction/resource_harness.rb:81:in
perform_changes'/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/transaction/resource_harness.rb:20:in
evaluate' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/transaction.rb:174:in
apply'/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/transaction.rb:187:in
eval_resource' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/transaction.rb:117:in
call'/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/transaction.rb:117:in
block (2 levels) in evaluate' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/util.rb:327:in
block in thinmark'/opt/puppet/lib/ruby/1.9.1/benchmark.rb:295:in
realtime' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/util.rb:326:in
thinmark'/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/transaction.rb:117:in
block in evaluate' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/graph/relationship_graph.rb:118:in
traverse'/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/transaction.rb:108:in
evaluate' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/resource/catalog.rb:167:in
block in apply'/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/util/log.rb:149:in
with_destination' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/transaction/report.rb:112:in
as_logging_destination'/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/resource/catalog.rb:166:in
apply' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/configurer.rb:117:in
block in apply_catalog'/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/util.rb:161:in
block in benchmark' /opt/puppet/lib/ruby/1.9.1/benchmark.rb:295:in
realtime'/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/util.rb:160:in
benchmark' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/configurer.rb:116:in
apply_catalog'/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/configurer.rb:191:in
run' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/agent.rb:47:in
block (4 levels) in run'/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/agent/locker.rb:20:in
lock' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/agent.rb:47:in
block (3 levels) in run'/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/agent.rb:117:in
with_client' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/agent.rb:44:in
block (2 levels) in run'/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/agent.rb:82:in
run_in_fork' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/agent.rb:43:in
block in run'/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/application.rb:179:in
call' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/application.rb:179:in
controlled_run'/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/agent.rb:41:in
run' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/application/agent.rb:355:in
onetime'/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/application/agent.rb:321:in
run_command' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/application.rb:371:in
block (2 levels) in run'/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/application.rb:477:in
plugin_hook' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/application.rb:371:in
block in run'/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/util.rb:479:in
exit_on_fail' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/application.rb:371:in
run'/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/util/command_line.rb:137:in
run' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/util/command_line.rb:91:in
execute'/opt/puppet/bin/puppet:8:in
<main>' Wrapped exception: Broken pipe /var/opt/lib/pe-puppet/lib/easy_type/daemon.rb:52:in
write'/var/opt/lib/pe-puppet/lib/easy_type/daemon.rb:52:in
puts' /var/opt/lib/pe-puppet/lib/easy_type/daemon.rb:52:in
execute_command'/var/opt/lib/pe-puppet/lib/utils/wls_daemon.rb:54:in
pass_domain' /var/opt/lib/pe-puppet/lib/utils/wls_daemon.rb:32:in
execute_script'/var/opt/lib/pe-puppet/lib/utils/wls_access.rb:90:in
execute_wlst' /var/opt/lib/pe-puppet/lib/utils/wls_access.rb:54:in
block in wlst'/var/opt/lib/pe-puppet/lib/utils/wls_access.rb:50:in
each' /var/opt/lib/pe-puppet/lib/utils/wls_access.rb:50:in
wlst'/var/opt/lib/pe-puppet/lib/easy_type/command_entry.rb:25:in
execute' /var/opt/lib/pe-puppet/lib/easy_type/blank_slate.rb:36:in
block (2 levels) in execute'/var/opt/lib/pe-puppet/lib/easy_type/blank_slate.rb:35:in
each' /var/opt/lib/pe-puppet/lib/easy_type/blank_slate.rb:35:in
block in execute'/var/opt/lib/pe-puppet/lib/easy_type/blank_slate.rb:34:in
each' /var/opt/lib/pe-puppet/lib/easy_type/blank_slate.rb:34:in
execute'/var/opt/lib/pe-puppet/lib/easy_type/script_builder.rb:105:in
execute' /var/opt/lib/pe-puppet/lib/easy_type/provider.rb:60:in
create'/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/property/ensure.rb:16:in
block in defaultvalues' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/property.rb:197:in
call_valuemethod'/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/property.rb:498:in
set' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/property.rb:581:in
sync'/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/transaction/resource_harness.rb:191:in
sync' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/transaction/resource_harness.rb:128:in
sync_if_needed'/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/transaction/resource_harness.rb:81:in
perform_changes' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/transaction/resource_harness.rb:20:in
evaluate'/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/transaction.rb:174:in
apply' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/transaction.rb:187:in
eval_resource'/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/transaction.rb:117:in
call' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/transaction.rb:117:in
block (2 levels) in evaluate'/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/util.rb:327:in
block in thinmark' /opt/puppet/lib/ruby/1.9.1/benchmark.rb:295:in
realtime'/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/util.rb:326:in
thinmark' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/transaction.rb:117:in
block in evaluate'/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/graph/relationship_graph.rb:118:in
traverse' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/transaction.rb:108:in
evaluate'/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/resource/catalog.rb:167:in
block in apply' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/util/log.rb:149:in
with_destination'/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/transaction/report.rb:112:in
as_logging_destination' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/resource/catalog.rb:166:in
apply'/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/configurer.rb:117:in
block in apply_catalog' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/util.rb:161:in
block in benchmark'/opt/puppet/lib/ruby/1.9.1/benchmark.rb:295:in
realtime' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/util.rb:160:in
benchmark'/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/configurer.rb:116:in
apply_catalog' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/configurer.rb:191:in
run'/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/agent.rb:47:in
block (4 levels) in run' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/agent/locker.rb:20:in
lock'/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/agent.rb:47:in
block (3 levels) in run' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/agent.rb:117:in
with_client'/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/agent.rb:44:in
block (2 levels) in run' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/agent.rb:82:in
run_in_fork'/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/agent.rb:43:in
block in run' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/application.rb:179:in
call'/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/application.rb:179:in
controlled_run' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/agent.rb:41:in
run'/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/application/agent.rb:355:in
onetime' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/application/agent.rb:321:in
run_command'/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/application.rb:371:in
block (2 levels) in run' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/application.rb:477:in
plugin_hook'/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/application.rb:371:in
block in run' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/util.rb:479:in
exit_on_fail'/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/application.rb:371:in
run' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/util/command_line.rb:137:in
run'/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/util/command_line.rb:91:in
execute' /opt/puppet/bin/puppet:8:in
'Error: /Stage[main]/Weblogic::Security/Wls_user[weblogic]/ensure: change from absent to present failed: Could not set 'present' on ensure: Broken pipe
Info: create default/ser_dvapp
Info: Executing: wlstScript with action
Info: Got the right domain default script, now execute WLST
Info: Executing wls-script /tmp/wlstScript20141223-11437-njo584.py
from biemond-orawls.
Did you do all the puppet master actions and please update all the modules to it latest versions.
Check if you can connect to the adminserver on this ip address , also check netstat for the listening port.
destroy the agent node and do it again. I should at least see the wls_user index script in the output.
from biemond-orawls.
Yeah, we have module versions pinned (v1.0.21 of orawls, v0.3.1 of orautils) etc. Not a good time for me to be changing module versions (near release). I am told we run the puppet agent on all of our puppet masters and we did restart the services.
from biemond-orawls.
ok,
what is your PE version? I tested it against all PE versions.
Can you check your wls configuration in a vagrant box
Try to setup your own PE environment in virtualbox or vmware, because maybe there are conflicting puppet modules.
Good luck
from biemond-orawls.
Ok, so I found an issue and maybe why things weren't connecting before. I was not setting something right:
wls_setting_instances:
'default':
user: *wls_os_user
I had this user hardcoded to the incorrect user (when I updated permissions etc.). So, when I made it match the wls_os_user, it actually succeeded. But, I had some errors still on the types:
wls:/nm/ADAMTEST> Successfully disconnected from Node Manager.
wls:/offline>
Notice: /Stage[main]/Weblogic::Startwls/Orawls::Control[startWLSAdminServer]/Wls_adminserver[startWLSAdminServer:AdminServer]/ensure: ensure changed 'stop' to 'start'
Info: index wls_server
Info: Executing: wlstScript with action index
Info: domain found default
Info: Starting the wls daemon for domain default
Info: Connecting to wls on url t3://10.239.132.68:7001
Info: Executing wls-script /tmp/wlstScript20141226-10994-uqljfk.py
Info: Connecting to wls on url t3://10.239.132.68:7001
Error: Could not prefetch wls_server provider 'simple': timeout on reading expected output from daemon process.
Info: create default/wlsServer1
Info: Executing: wlstScript with action
Info: Got the right domain default script, now execute WLST
Info: Executing wls-script /tmp/wlstScript20141226-10994-1hhj5q0.py
Info: Connecting to wls on url t3://10.239.132.68:7001
Notice: /Stage[main]/Weblogic::Basic_config/Wls_server[wlsServer1]/ensure: created
Info: create default/wlsServer2
Info: Executing: wlstScript with action
Info: Got the right domain default script, now execute WLST
Info: Executing wls-script /tmp/wlstScript20141226-10994-1kx1iyn.py
Info: Connecting to wls on url t3://10.239.132.68:7001
Notice: /Stage[main]/Weblogic::Basic_config/Wls_server[wlsServer2]/ensure: created
Info: index wls_server_channel
Info: Executing: wlstScript with action index
Info: domain found default
Info: Executing wls-script /tmp/wlstScript20141226-10994-8j2qbz.py
Info: Connecting to wls on url t3://10.239.132.68:7001
Error: Could not prefetch wls_server_channel provider 'simple': timeout on reading expected output from daemon process.
Info: create default/wlsServer1:Channel-Cluster
Info: Executing: wlstScript with action
Info: Got the right domain default script, now execute WLST
Info: Executing wls-script /tmp/wlstScript20141226-10994-105d0v.py
Info: Connecting to wls on url t3://10.239.132.68:7001
Notice: /Stage[main]/Weblogic::Basic_config/Wls_server_channel[wlsServer1:Channel-Cluster]/ensure: created
Info: create default/wlsServer2:Channel-Cluster
Info: Executing: wlstScript with action
Info: Got the right domain default script, now execute WLST
Info: Executing wls-script /tmp/wlstScript20141226-10994-1b0w5r9.py
Info: Connecting to wls on url t3://10.239.132.68:7001
Notice: /Stage[main]/Weblogic::Basic_config/Wls_server_channel[wlsServer2:Channel-Cluster]/ensure: created
Info: index wls_cluster
Info: Executing: wlstScript with action index
Info: domain found default
Info: Executing wls-script /tmp/wlstScript20141226-10994-lwwuvt.py
Info: Connecting to wls on url t3://10.239.132.68:7001
Error: Could not prefetch wls_cluster provider 'simple': timeout on reading expected output from daemon process.
Info: create default/WebCluster
Info: Executing: wlstScript with action
Info: Got the right domain default script, now execute WLST
Info: Executing wls-script /tmp/wlstScript20141226-10994-2nroo0.py
Info: Connecting to wls on url t3://10.239.132.68:7001
You mentioned increasing timeouts or something. I am not sure why this is happening, getting errors, then succeeding.
from biemond-orawls.
Ignore my comments above... it may have been a result of not having a clean machine....
The issue was having conflicting users assigned to different areas in my hiera data (wl_os_user needed to be set in my 'wls_settings_instances' block.
This can be closed...
from biemond-orawls.
Perfect , great you found the issue :-)
from biemond-orawls.
Yes, my sincere apologies for wasting your time with my own issue. Just wasn't getting much information out of the debug output etc. until I looked and noticed a wrong user in there. Thanks as always.
from biemond-orawls.
Related Issues (20)
- OptachUpgrade version check not working HOT 3
- change wlst_action HOT 1
- Some "get" methods still exist after replacement by "get_attribute_value"
- Issues when trying to set nodemanager_username and _password HOT 1
- Managed server not creating using wlserver
- Datasource created in WLS 12.2.1.3 appears to not display in Monitoring tab
- Upgrade to 12.2.1.4 HOT 1
- Errors when running puppet on an AIX operating system HOT 1
- Repo description doesn't match Documentation HOT 1
- FMW install in Solaris for new version fails HOT 1
- wls_opatch and multiple orainst_dir HOT 1
- opatch not being applied when doing a puppet run
- Support for 12.2.1.4
- OHS 12.2.1.4 HOT 7
- extraproperties is not idempotent HOT 1
- Odd issue that we need assistance with
- JDBC_persistence_store - get('MigrationPolicy') & get('DistributionPolicy') causes timeout
- Support for Weblogic version 14.1.1.0
- for keystores of type pkcs12, wls_authentication_provider creation fails with "Error: No domain or domain template has been read." HOT 3
- 0400 Puppet (err): Failed to apply catalog: BUG! removeinfectedconnections should have been '0' or '1' HOT 19
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from biemond-orawls.