Nailgun agent does not calculate checksum correctly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
High
|
Evgeniy L | ||
Mitaka |
Fix Committed
|
Undecided
|
Vladimir Sharshov | ||
Newton |
Fix Committed
|
Undecided
|
Vladimir Sharshov |
Bug Description
Detailed bug description:
Nailgun agent calculates hash sum of data to send, which is used by Nailgun not to update all related models if hash sum was not changed.
The problem is in Offloading class which is used to calculate HashSum, there is no to_s method, so object id gets propagated, hence every time nailgun-agent is run, there is different hash sum.
https:/
Steps to reproduce:
Make 300 nodes deployment and see amount of database access from Nailgun to Postgresql.
Expected results:
After first fuel-agent run, Nailgun based on the hash sum sent from agent should not update all the fields.
Actual result:
Hash sum is wrongly calculated and Nailgun updates all fields based on data from the agent.
Reproducibility:
100%
Workaround:
Apply the patch manually (rebuild packages and bootstrap) or increase fuel-agent timeout in cron which may lead to unexpected side effects.
Impact:
Huge impact for any medium-scale deployments.
Description of the environment:
8.0, 9.0, 9.1, 10.0
tags: | added: module-nailgun-agent |
summary: |
- Scale problem with Nailgun on 300 node deployment + Nailgun agent does not calculate checksum correctly |
tags: | added: scale |
Fix proposed to branch: master /review. openstack. org/399698
Review: https:/