nailgun throws http500 on assigning role to offline node

Bug #1380700 reported by Tatyanka
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
Medium
Nikolay Markov

Bug Description

{"build_id": "2014-10-13_12-25-21", "ostf_sha": "1795445bcd30ae26111e760b284078e5688f322f", "build_number": "15", "auth_required": true, "api": "1.0", "nailgun_sha": "4ae5efcd00422ad2119570dce6d33cf19afbc727", "production": "docker", "fuelmain_sha": "c50f4d4963ee08cf85055b8ea6cc5ac575f6c1d0", "astute_sha": "65a5a0781d314bdcc090a61a599a8abf95989fc1", "feature_groups": ["mirantis"], "release": "6.0", "release_versions": {"2014.2-6.0": {"VERSION": {"build_id": "2014-10-13_12-25-21", "ostf_sha": "1795445bcd30ae26111e760b284078e5688f322f", "build_number": "15", "api": "1.0", "nailgun_sha": "4ae5efcd00422ad2119570dce6d33cf19afbc727", "production": "docker", "fuelmain_sha": "c50f4d4963ee08cf85055b8ea6cc5ac575f6c1d0", "astute_sha": "65a5a0781d314bdcc090a61a599a8abf95989fc1", "feature_groups": ["mirantis"], "release": "6.0", "fuellib_sha": "0efae896ddb38cb6d52b2bb38b834f115a920078"}}}, "fuellib_sha": "0efae896ddb38cb6d52b2bb38b834f115a920078"}

Steps to Reproduce:
1. Add some fake data to the nailgun db(can use fixtures for the fake ui)
2. create new environment
3. Nodes from step 1 was added to the db and has offline status
4. Try to add and assign role to the offline nodes

Expected:
User-friendly descriptive message / warning shows

Actual:

http://pastebin.com/ata12vM3

Revision history for this message
Tatyanka (tatyana-leontovich) wrote :
Revision history for this message
Aleksey Kasatkin (alekseyk-ru) wrote :

Did you do this via UI or CLI?

Changed in fuel:
status: New → Confirmed
Revision history for this message
Tatyanka (tatyana-leontovich) wrote :

Alexey I've done this in UI

Dmitry Pyzhov (dpyzhov)
Changed in fuel:
milestone: 6.0 → 6.1
Dmitry Pyzhov (dpyzhov)
summary: - Attempts to assign role to offline nodes shoulb be hanled with
- discriptive message
+ nailgun throws http500 on assigning role to offline node
Dmitry Pyzhov (dpyzhov)
tags: added: module-nailgun
Revision history for this message
Nikolay Markov (nmarkov) wrote :

Can't reproduce this one at all. Using default offline node from fixtures, assigning Controller role. Are there any more details? Looks like in some cases node can be created in DB without interfaces, and this is causing an error.

Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Nikolay Markov (nmarkov)
Revision history for this message
Tatyanka (tatyana-leontovich) wrote :

If it is not reproduced now we can move it to invalid for 6.1 , because issue was reproduced during 6.0 development

Revision history for this message
Nikolay Markov (nmarkov) wrote :

Tatyanka, the thing is, I can't even reproduce it on the same commit as in bug description.

Nikolay Markov (nmarkov)
Changed in fuel:
status: Confirmed → Invalid
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.