[stats] 'Deploy' action from action logs isn't sent if deployment is stopped
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
Medium
|
Alexander Kislitsky |
Bug Description
api: '1.0'
astute_sha: 16b252d93be6aaa
auth_required: true
build_id: 2014-12-09_22-41-06
build_number: '49'
feature_groups:
- mirantis
fuellib_sha: 2c99931072d9513
fuelmain_sha: 3aab16667f47dd8
nailgun_sha: 22bd43b89a17843
ostf_sha: a9afb68710d8095
production: docker
release: '6.0'
If environment deployment was stopped then 'statsenderd' doesn't send 'deploy' action logs because it lacks of 'end_timestamp' data.
Steps to reproduce:
1. Create environment, add nodes to it, run deployment
2. Stop deployment and force sending of usage stats
Result:
- sending of 1 record from action logs fails, here are details:
http://
As you can see 'end_timestamp' is Null for 'deploy' action even after it was stopped.
Changed in fuel: | |
milestone: | 6.0 → 6.1 |
importance: | Undecided → Medium |
status: | New → Confirmed |
tags: |
added: stats removed: usage-stats |
summary: |
- 'Deploy' action from action logs isn't sent if deployment is stopped + [stats] 'Deploy' action from action logs isn't sent if deployment is + stopped |
tags: |
added: feature-stats removed: stats |
tags: | added: module-nailgun |
Changed in fuel: | |
assignee: | Fuel Python Team (fuel-python) → Alexander Kislitsky (akislitsky) |
Changed in fuel: | |
status: | Triaged → In Progress |
Log record is not refreshed when deployment task is deleted on 'stop_deployment' action. So it never gets sent. Log record refresh for 'deployment' task is to be added in 'stop_deployment' and 'delete_ environment' tasks.