2019-12-23 07:02 PM
When running the following command on my endpoint log hybrid. It fails with the subsequent errors.
chef-solo --no-color --logfile "/var/log/netwitness/config-management/chef-solo.log" --format doc --config /var/lib/netwitness/config-management/client.rb --json-attributes /etc/netwitness/config-management/node.json
* nw_rabbitmq_plugin[nw_admin:upgrade] action disable * nw_rabbitmq_plugin[nw_admin:upgrade] action disable
* execute[rabbitmq-plugins disable nw_admin] action run
* execute[rabbitmq-plugins disable nw_admin] action run
[execute] The following plugins have been disabled:
nw_admin
[execute] The following plugins have been disabled:
nw_admin
Applying plugin configuration to rabbit@047595fd-5b2d-4579-a622-70e52992baac...
Applying plugin configuration to rabbit@047595fd-5b2d-4579-a622-70e52992baac... stopped 1 plugin.
stopped 1 plugin.
- execute rabbitmq-plugins disable nw_admin - execute rabbitmq-plugins disable nw_admin
Recipe: nw-firewall::packages
* yum_package[iptables-services] action installRecipe: nw-firewall::packages
* yum_package[iptables-services] action install
================================================================================
Error executing action `install` on resource 'yum_package[iptables-services]'
================================================================================
Chef::Exceptions::Package
-------------------------
Version ["1.4.21-24.1.el7_5"] of ["iptables-services"] not found. Did you specify both version and release? (version-release, e.g. 1.84-10.fc6)
Resource Declaration:
---------------------
# In /var/lib/netwitness/config-management/cache/cookbooks/nw-firewall/recipes/packages.rb
11: package pkg['name'] do
12: version pkg['version']
13: action :install
14: end
15: end
Compiled Resource:
------------------
# Declared in /var/lib/netwitness/config-management/cache/cookbooks/nw-firewall/recipes/packages.rb:11:in `block in from_file'
yum_package("iptables-services") do
package_name "iptables-services"
action [:install]
retries 0
retry_delay 2
default_guard_interpreter :default
declared_type :package
cookbook_name "nw-firewall"
recipe_name "packages"
version "1.4.21-24.1.el7_5"
flush_cache {:before=>false, :after=>false}
end
Platform:
---------
x86_64-linux
Chef Client failed. 5 resources updated in 19 seconds
Chef Client failed. 5 resources updated in 19 seconds
Installed Packages
iptables-services.x86_64 1.4.21-28.el7 @nw-rsa-base
2019-12-30 07:38 AM
First off, I am really sorry for the delay in answering your question as you know how Christmas is.
I would not recommend running that command directly unless dictated by someone at RSA to do so, especially when the intention is to try and do your own upgrade (this should be done from orchestration-cli-client instead or the GUI). The problem here is that some things also need to be done in the background and if you don't do them, strange things can happen. When you hit that fancy "Upgrade" button for instance, a lot of wheels start turning in the back and they are different from device to device.
Now, unless you opened a case already and Support has already dealt with it, why are you attempting to do this?
2019-12-30 05:32 PM
Hi Aaron,
The running of this command was directed by support, but to be honest, I don't recall what the underlying issue was when I raised this post so I guess the problem isn't there any more, so I'm going to say this isn't required.
Thanks.
2019-12-30 05:35 PM
No worries! I'm glad everything seems sorted. Have a great new year!