'version_info' of oswl isn't sent to collector

Bug #1547558 reported by Andrey Sledzinskiy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Alexander Kislitsky
8.0.x
In Progress
High
Fuel Sustaining

Bug Description

iso - 8.0-570

Steps:
1. Deploy any cluster
2. Create some 'vm' through Horizon
3. Change in nailgun settings.yaml next values as below:
COLLECTOR_ACTION_LOGS_URL: "http://fuel-collect-testing.vm.mirantis.net/api/v1/action_logs/"
COLLECTOR_INST_INFO_URL: "http://fuel-collect-testing.vm.mirantis.net/api/v1/installation_structure/"
COLLECTOR_OSWL_INFO_URL: "http://fuel-collect-testing.vm.mirantis.net/api/v1/oswl_stats/"
COLLECTOR_PING_URL: "http://fuel-collect-testing.vm.mirantis.net/api/v1/ping/"
OSWL_COLLECT_PERIOD: 0
4. restart nailgun container

5. Enter to nailgun db and check 'version_info' field is present for oswl
select * from oswl_stats where resource_type='vm';
id | 6
cluster_id | 1
created_date | 2016-02-17
updated_time | 13:54:43.871297
resource_type | vm
resource_data | {"current": [], "removed": [], "modified": [], "added": []}
resource_checksum | 97d170e1550eee4afc0af065b78cda302a97674c
is_sent | t
version_info | {"release_version": "liberty-8.0", "release_os": "Ubuntu", "release_name": "Liberty on Ubuntu 14.04", "fuel_version": "8.0", "environment_version": "8.0"}

6. Check data for that master node in analytics
http://fuel-stats-testing.vm.mirantis.net/api/v1/json/oswls/22d78936-c1d7-4a78-b9cd-c2a325dad66b

Expected result - 'version_info' for oswls is present and not empty

Actual result - 'version_info' is empty because it wasn't sent from master node

Changed in fuel:
status: New → Confirmed
tags: added: area-python feature-stats
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (master)

Fix proposed to branch: master
Review: https://review.openstack.org/282897

Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Alexander Kislitsky (akislitsky)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/282897
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=5a646bf4acf067daca8e5da230d7a67ddd85696f
Submitter: Jenkins
Branch: master

commit 5a646bf4acf067daca8e5da230d7a67ddd85696f
Author: Alexander Kislitsky <email address hidden>
Date: Sun Feb 21 22:44:40 2016 +0300

    version_info added to OSWL serialization

    For sending version_info data from OSWL we need to have it
    in the OSWL serializer.

    Change-Id: If6c909ba15dac947888069bb3f3339a2d473694e
    Closes-Bug: #1547558

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (stable/8.0)

Fix proposed to branch: stable/8.0
Review: https://review.openstack.org/286528

tags: added: on-verification
Revision history for this message
Alex Schultz (alex-schultz) wrote :

verified on 9 rc2

Changed in fuel:
status: Fix Committed → Fix Released
tags: removed: on-verification
Revision history for this message
Alexey Stupnikov (astupnikov) wrote :

Non-critical, non-customer found bug without reviews from fuel maintainers.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-web (stable/8.0)

Change abandoned by Andreas Jaeger (<email address hidden>) on branch: stable/8.0
Review: https://review.opendev.org/286528
Reason: This repo is retired now, no further work will get merged.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.