What version of sos is in use? The traceback is reminiscent of an older
issue regarding malformed output which was resolved back in, I believe,
3.8.
The `docker system df` command is also gated behind the `size` option,
so check to make sure the customer isn't running sosreport with `-k
docker.size=on` (or equivalent), and doesn't have it in /etc/sos.conf. A
sufficiently old version of sos may not have that command gated by the
plugin option though - so again, look to see if they are running a
current version of sos.
- jake
On 7/28/20 3:47 AM, Wei Tang Huang wrote:
Hi Team,
When we request for a sosreport, found some error in sos_log folder
cat docker-plugin-errors.txt
```
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/sos/sosreport.py", line 964,
in setup
plug.setup()
File "/usr/lib/python2.7/site-packages/sos/plugins/docker.py", line
137, in setup
super(RedHatDocker, self).setup()
File "/usr/lib/python2.7/site-packages/sos/plugins/docker.py", line
97, in setup
name, img_id = img.strip().split()
ValueError: too many values to unpack
```
the following is the console output, we can see the `docker system df`
command is very slow, not quite sure is this the root cause of docker
plugin error? how can we solve it? can we skip a specific command?
Thank you!
Please enter the case id that you are generating this report for []:
Setting up archive ...
Setting up plugins ...
Running plugins. Please wait ...
...omitted
*[plugin:docker] command 'docker system df' timed out after 300s
*
Plugin logs timed out
Plugin origin timed out
Connection to cassandra1 closed by remote host.
Connection to cassandra1 closed.
--
黃偉堂 - Seasonny Huang
TECHNICAL ACCOUNT MANAGER
Red Hat Taiwan <https://www.redhat.com/>
Rm. 2708, 27F., No.9, Songgao Rd., Xinyi Dist., Taipei City 110
weihu...@redhat.com <mailto:weihu...@redhat.com> T: 886-2-7743-2974
<tel:886-2-7743-2974>
M: +886-963-202-921 <tel:+886-963-202-921>
@RedHat <https://twitter.com/redhat> Red Hat
<https://www.linkedin.com/company/red-hat> Red Hat
<https://www.facebook.com/RedHatInc>
<https://www.redhat.com/>
_______________________________________________
sos-devel mailing list
sos-devel@redhat.com
https://www.redhat.com/mailman/listinfo/sos-devel
--
Jake Hunsaker
RHCA Cloud Specialist
Senior Software Engineer
_______________________________________________
sos-devel mailing list
sos-devel@redhat.com
https://www.redhat.com/mailman/listinfo/sos-devel