soup fails with error 160 on standalone 3.0.0 — reads Elasticsearch target version from wrong path (salt/manager/defaults.yaml instead of salt/elasticsearch/defaults.yaml) #16036
Version3.0.0 Installation MethodSecurity Onion ISO image Descriptionupgrading Installation TypeStandalone Locationon-prem with Internet access Hardware SpecsExceeds minimum requirements CPU8 RAM64 Storage for /8000 Storage for /nsm8000 Network Traffic Collectionspan port Network Traffic Speeds1Gbps to 10Gbps StatusYes, all services on all nodes are running OK Salt StatusYes, there are salt failures (please provide detail below) LogsNo, there are no additional clues DetailRunning sudo soup fails during the pre-upgrade Elasticsearch compatibility check with error 160. Relevant output: Where soup appears to look — key absent:$ sudo /sbin/so-yaml.py get /tmp/sogh/securityonion/salt/manager/defaults.yaml elasticsearch.version Where the value actually lives:$ sudo find /tmp/sogh/securityonion -name 'defaults.yaml' -path 'elasticsearch' $ sudo head -5 /tmp/sogh/securityonion/salt/elasticsearch/defaults.yaml Guidelines
|
Replies: 1 comment 2 replies
|
Potential Solution;; Run the below commands in order;; sudo salt-call state.apply common.soup_scripts sudo /usr/sbin/so-yaml.py get -r /tmp/sogh/securityonion/salt/elasticsearch/defaults.yaml elasticsearch.version OUTPUT: 9.3.3 and then run sudo soup. worked on my machine. I hit the same SOUP failure:
In my case the issue was not the Elasticsearch defaults file path. The target version existed here: /tmp/sogh/securityonion/salt/elasticsearch/defaults.yaml |
Potential Solution;; Run the below commands in order;;
sudo cp -av /usr/sbin/so-yaml.py /root/so-yaml.py.$(date +%Y%m%d-%H%M%S).bak
sudo salt-call state.apply common.soup_scripts
queue=True -l info
--file-root=/tmp/sogh/securityonion/salt
--local
sudo /usr/sbin/so-yaml.py get -r /tmp/sogh/securityonion/salt/elasticsearch/defaults.yaml elasticsearch.version
sudo /sbin/so-yaml.py get -r /tmp/sogh/securityonion/salt/elasticsearch/defaults.yaml elasticsearch.version
OUTPUT: 9.3.3 and then run sudo soup. worked on my machine.
I hit the same SOUP failure:
Missing filename or key argCouldn't determine the target Elasticsearch versionSoup failed with error 160: Incompatible Elasticsearch upg…