cli. After killing task, cli respond with empty dict {}

Bug #1483365 reported by Egor Kotko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Confirmed
Low
Julia Varlamova
Mitaka
Won't Fix
Low
Julia Varlamova
Newton
Confirmed
Low
Julia Varlamova

Bug Description

cli. After killing task, cli respond with empty dict {}

Steps to reproduce:
1). Create cluster
2). Start network check
3). Kill via cli network check

Actual result:
[root@nailgun ~]# fuel task --delete -f --tid 11
{}
[root@nailgun ~]#

{"build_id": "2015-08-03_15-33-10", "build_number": "130", "release_versions": {"2015.1.0-7.0": {"VERSION": {"build_id": "2015-08-03_15-33-10", "build_number": "130", "api": "1.0", "fuel-library_sha": "9c27c0663217dadf2af988cfc8718f84c1e35f16", "nailgun_sha": "58b402efc2cc357e2f90379cadbe849855d77fa6", "feature_groups": ["mirantis"], "fuel-nailgun-agent_sha": "1512b9af6b41cc95c4d891c593aeebe0faca5a63", "openstack_version": "2015.1.0-7.0", "fuel-agent_sha": "1fe47720ba554818a0be707f2e16281791492d50", "production": "docker", "python-fuelclient_sha": "4fe70fb5c0ce8905ae5908f63d45b45e89a99340", "astute_sha": "07060d81303fcfd4ad4d5cbd4a7b4af7319e9511", "fuel-ostf_sha": "53109a99d923cccdf88c5cf5aba0af8050df47e3", "release": "7.0", "fuelmain_sha": "7a374fbd1f5ebde943cb391a4f71b94888ce4a15"}}}, "auth_required": true, "api": "1.0", "fuel-library_sha": "9c27c0663217dadf2af988cfc8718f84c1e35f16", "nailgun_sha": "58b402efc2cc357e2f90379cadbe849855d77fa6", "feature_groups": ["mirantis"], "fuel-nailgun-agent_sha": "1512b9af6b41cc95c4d891c593aeebe0faca5a63", "openstack_version": "2015.1.0-7.0", "fuel-agent_sha": "1fe47720ba554818a0be707f2e16281791492d50", "production": "docker", "python-fuelclient_sha": "4fe70fb5c0ce8905ae5908f63d45b45e89a99340", "astute_sha": "07060d81303fcfd4ad4d5cbd4a7b4af7319e9511", "fuel-ostf_sha": "53109a99d923cccdf88c5cf5aba0af8050df47e3", "release":
"7.0", "fuelmain_sha": "7a374fbd1f5ebde943cb391a4f71b94888ce4a15"}

https://drive.google.com/open?id=0BzWDM1PONYEuZHE4VmhMQWNoZXM

Revision history for this message
Roman Prykhodchenko (romcheg) wrote :

This bug looks like a pure-python problem. Moving to fuel-python

Changed in fuel:
assignee: Fuel Library Team (fuel-library) → Fuel Python Team (fuel-python)
status: New → Confirmed
Dmitry Pyzhov (dpyzhov)
tags: added: area-python
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
milestone: 8.0 → 9.0
importance: Medium → Low
Revision history for this message
Bug Checker Bot (bug-checker) wrote : Autochecker

(This check performed automatically)
Please, make sure that bug description contains the following sections filled in with the appropriate data related to the bug you are describing:

expected result

For more detailed information on the contents of each of the listed sections see https://wiki.openstack.org/wiki/Fuel/How_to_contribute#Here_is_how_you_file_a_bug

tags: added: need-info
Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Julia Varlamova (jvarlamova)
Revision history for this message
Julia Varlamova (jvarlamova) wrote :

For Fuel 7.0 and later this bug is reproduced only when serialization in enabled ("fuel task --delete -f --tid 11 --yaml"). Is it unexpected behaviour too, which has to be fixed?

Now by default python-fuelclient doesn't print serialized response when 'delete' action for task is performed. We only see message "Tasks with id's ... deleted":

[root@fuel ~]# fuel network --env 1 --verify
Verification status is 'running'. message: None

[root@fuel ~]# fuel task
id | status | name | cluster | progress | uuid
---|---------|-------------------------|---------|----------|-------------------------------------
6 | ready | deployment | 1 | 100 | a9e97e69-886f-46e6-bf2a-f6adfbe3ddf7
1 | ready | deploy | 1 | 100 | 251ba3d2-e3bf-46f8-9d5a-216f2fb9d468
19 | running | check_dhcp | 1 | 0 | 07ec3ced-5cd4-4d0d-adf8-72a462cf232f
20 | running | check_repo_availability | 1 | 0 | a0f2036c-3c82-4ac2-825b-c6798fea62a6
18 | running | verify_networks | 1 | 0 | 4b0a9da5-7a3c-4f9c-a204-6b14d25c5b04
5 | ready | provision | 1 | 100 | c737a8d8-c0a9-40f6-9b94-fbdeff2c33a2

[root@fuel ~]# fuel task --delete -f --tid 18
Tasks with id's 18 deleted.

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.