f5 - I am getting this error while executing Chef Mixlib::ShellOut::ShellCommandFailed -


when execute chef recipe through work station error , i'm not able understand missing?

> knife bootstrap 10.192.74.59 --ssh-user scs --ssh-password 'cisco123' --sudo --use-sudo-password --node-name webserver10.192.74.59 --run-list 'recipe[f5-node-initiator]'   > node webserver10.192.74.59 exists, overwrite it? (y/n) y   > client webserver10.192.74.59 exists, overwrite it? (y/n) y   > creating new client webserver10.192.74.59   > creating new node webserver10.192.74.59   > connecting 10.192.74.59   > 10.192.74.59 [sudo] password scs: -----> existing chef installation detected 10.192.74.59 starting first chef client run... 10.192.74.59 starting chef client, version 12.15.19 10.192.74.59 resolving cookbooks run list: ["f5-node-initiator"] 10.192.74.59 synchronizing cookbooks: 10.192.74.59   - f5-node-initiator (0.0.1) 10.192.74.59 installing cookbook gems: 10.192.74.59 compiling cookbooks... 10.192.74.59 converging 4 resources 10.192.74.59 recipe: f5-node-initiator::default 10.192.74.59   * cookbook_file[/var/chef/cache/f5-icontrol-10.2.0.2.gem] action create (up date) 10.192.74.59   * cookbook_file[/usr/local/bin/f5-node-initiator] action create (up date) 10.192.74.59   * gem_package[f5-icontrol] action install (up date) 10.192.74.59   * execute[f5-node-initiator] action run 10.192.74.59      10.192.74.59     ================================================================================ 10.192.74.59     error executing action `run` on resource 'execute[f5-node-initiator]' 10.192.74.59     ================================================================================ 10.192.74.59      10.192.74.59     mixlib::shellout::shellcommandfailed 10.192.74.59     ------------------------------------ 10.192.74.59     expected process exit [0], received '1' 10.192.74.59     ---- begin output of f5-node-initiator -b 10.192.73.79 -u  -p  -n  -d 10.192.74.59:80 ---- 10.192.74.59     stdout:  10.192.74.59     stderr: /var/lib/gems/2.3.0/gems/soap4r-1.5.8/lib/xsd/charset.rb:13: warning: variable $kcode no longer effective 10.192.74.59     /var/lib/gems/2.3.0/gems/soap4r-1.5.8/lib/xsd/xmlparser.rb:74:in `<top (required)>': xml processor module not found. (runtimeerror) 10.192.74.59        /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require' 10.192.74.59        /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require' 10.192.74.59        /var/lib/gems/2.3.0/gems/soap4r-1.5.8/lib/wsdl/parser.rb:12:in `<top (required)>' 10.192.74.59        /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require' 10.192.74.59        /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require' 10.192.74.59        /var/lib/gems/2.3.0/gems/soap4r-1.5.8/lib/soap/wsdldriver.rb:9:in `<top (required)>' 10.192.74.59        /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:127:in `require' 10.192.74.59        /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:127:in `rescue in require' 10.192.74.59        /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:40:in `require' 10.192.74.59        /var/lib/gems/2.3.0/gems/f5-icontrol-10.2.0.2/lib/f5-icontrol.rb:2:in `<top (required)>' 10.192.74.59        /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:127:in `require' 10.192.74.59        /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:127:in `rescue in require' 10.192.74.59        /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:40:in `require' 10.192.74.59        /usr/local/bin/f5-node-initiator:31:in `<main>' 10.192.74.59     ---- end output of f5-node-initiator -b 10.192.73.79 -u  -p  -n  -d 10.192.74.59:80 ---- 10.192.74.59     ran f5-node-initiator -b 10.192.73.79 -u  -p  -n  -d 10.192.74.59:80 returned 1 10.192.74.59      10.192.74.59     resource declaration: 10.192.74.59     --------------------- 10.192.74.59     # in /var/chef/cache/cookbooks/f5-node-initiator/recipes/default.rb 10.192.74.59      10.192.74.59      25: execute "f5-node-initiator" 10.192.74.59      26:   command "f5-node-initiator -b #{node[:bigip][:address]} -u #{node[:bigip][:user]} -p #{node[:bigip][:pass]} -n #{node[:bigip][:pool_name]} -d #{node[:bigip][:node_address]}:#{node[:bigip][:node_port]}" 10.192.74.59      27:  # action :nothing 10.192.74.59      28: end 10.192.74.59      10.192.74.59     compiled resource: 10.192.74.59     ------------------ 10.192.74.59     # declared in /var/chef/cache/cookbooks/f5-node-initiator/recipes/default.rb:25:in `from_file' 10.192.74.59      10.192.74.59     execute("f5-node-initiator") 10.192.74.59       action [:run] 10.192.74.59       retries 0 10.192.74.59       retry_delay 2 10.192.74.59       default_guard_interpreter :execute 10.192.74.59       command "f5-node-initiator -b 10.192.73.79 -u  -p  -n  -d 10.192.74.59:80" 10.192.74.59       backup 5 10.192.74.59       returns 0 10.192.74.59       declared_type :execute 10.192.74.59       cookbook_name "f5-node-initiator" 10.192.74.59       recipe_name "default" 10.192.74.59     end 10.192.74.59      10.192.74.59     platform: 

this bug in soap4r gem. given soap4r has been abandoned 9 years now, seems unlikely fixed. can find forked issue patched on github , install 1 of instead in recipe code.


Comments

Popular posts from this blog

java - SSE Emitter : Manage timeouts and complete() -

jquery - uncaught exception: DataTables Editor - remote hosting of code not allowed -

java - How to resolve error - package com.squareup.okhttp3 doesn't exist? -