Closed rssh22 closed 7 years ago
Hi,
Can you remove all the other actions and focus on the domain part. We can run it in the debug mode or get the archive script and try it ourselves ( line for line) plus add some debug statements.
I guess the wlst is not valid or we didn't provide the right value/type for something or after the 1st domain change we didn't do an autostart of the adminserver ( subscribe to domain changes)
Hope this helps.
Hi Biemond,
I've removed all other actions as you suggested and executed the agent as:
/opt/puppetlabs/bin/puppet agent -t --verbose --debug
I've attached the output in wls_domain_debug.txt file. wls_domain_debug.txt
I'm sorry I'm very lost on it.
so can you do
puppet resource wls_domain on the vm, this will reverse engineer your wls_domain. then we know if the index works
also do you have these entries , this should be the domain modify. I think the generated py script is not valid and wlst crashes. Info: Executing wls-script /tmp/wlstCommonScript.py20170228-9240-9ye34n Info: Executing wls-script /tmp/wlstScript20170228-9240-1bnwsl4.py with timeout = 120
Somehow I don't have a tool to validate wlst scripts before I execute them
Hi Biemond,
It is curious but I get the error:
root@puppet-pil00:~# /opt/puppetlabs/bin/puppet resource wls_domain Error: Could not run: end of file reached
Kind Regards, Raúl
this is good news, that means you found the issue , can you add --debug also can you try something else like wls_user or wls_server just to be sure. maybe wls_setting is not ok
Hi Biemond,
I solved the problem. Thanks for your support.
The cause was I set up the wls_settings with user: bea instead of user: root (root is currently the domain's user owner)
Thanks a lot
Hi,
I'm getting this ERROR when trying to modify some domain parameters:
this is the yaml file with the hiera config for the node puppet-pil00.msc.es.yaml:
this is the /etc/wls_setting.yaml
The puppet module seems to fail in the class:
Could you help me? I don't understand why i'm getting this error. Maybe I just don't understand very well how I must use the module. Could you provide a whole example?
Thanks in advance,
Raúl