Why Is The Manual Data Uploading To Red Hat Automation Analytics Failing With Status 413 In Ansible Tower?
Issue
When trying to get the automation analytics data uploaded from tower manually using the awx-manage gather_analytics --ship utility the upload fails with below error:
# awx-manage gather_analytics --ship
Last analytics run was: 2019-07-11 00:59:00.062829+00:00
/tmp/178cf005-c991-4bb8-bdaf-a3667464c926_2020-07-16-081112+0000.tar.gz
shipping analytics file: /tmp/178cf005-c991-4bb8-bdaf-a3667464c926_2020-07-16-081112+0000.tar.gz
Upload failed with status 413,
NoneType: None
You have mail in /var/spool/mail/root
This issue has already been filed in the upstream AWX github repo & will be fixed in Ansible Tower v3.8.0. Below is the link:
Analytics fail to upload if the size is greater than 100MB #7658
Environment
Ansible Tower > = 3.5.3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.