-
During upgrade from 2.3.130 to 2.3.140, I encountered the issue referenced in discussion #8324 and implemented the fix suggested. During running that fix, I received the error referenced in discussion #8340 and, as suggested, removed the custom filebeat rule to enable Fortigate log parsing in /opt/so/saltstack/local/pillar/minions/so_standalone.sls and tried soup again. I am now in the situation where most containers are in WAIT_START and attempting to manually start filebeat results in the error below. local: During handling of the above exception, another exception occurred: Traceback (most recent call last):
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 29 replies
-
This isn't helpful, but the error "No such container: so-filebeat" probably just means that the container hasn't started so it doesn't exist. You get the same error when trying to restart a container that isn't running (it will error trying to stop the container because it doesn't exist then it will start the container). |
Beta Was this translation helpful? Give feedback.
-
What is the output of the following?
|
Beta Was this translation helpful? Give feedback.
-
@weslambert I found the solution. The cache suggestion you gave was key. I did a global find for */filebeat/init.sls and found 5 instances. There is one at /var/cache/salt/minion/files/base/filebeat/init.sls that did have the line I deleted it, ran the so-filebeat-start and it errored, as usual. The file that came back to the cache still had the bad line. So, the key to fixing this was finding that there is an init.sls in /opt/so/saltstack/local/salt/filebeat/ that had the bad line. Apparently, it is not updated by soup. Entering the commands below fixed it: sudo -i After that, filebeat started and I'm all green on the containers after a reboot. Again, thanks for sticking with me on this. |
Beta Was this translation helpful? Give feedback.
@weslambert I found the solution. The cache suggestion you gave was key. I did a global find for */filebeat/init.sls and found 5 instances.
There is one at /var/cache/salt/minion/files/base/filebeat/init.sls that did have the line
{% from 'filebeat/map.jinja' import SO with context %}
I deleted it, ran the so-filebeat-start and it errored, as usual. The file that came back to the cache still had the bad line. So, the key to fixing this was finding that there is an init.sls in /opt/so/saltstack/local/salt/filebeat/ that had the bad line. Apparently, it is not updated by soup. Entering the commands below fixed it:
sudo -i
cp /opt/so/saltstack/default/salt/filebeat/init.sls /opt/so/saltstack…