[fuel-pythonclient] Client calls `exit()' if getter didn't find resource
Bug #1454343 reported by
Timur Nurlygayanov
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
High
|
Roman Prykhodchenko |
Bug Description
If any get_by_id() call gets 404 response, then exit() call is executed - this is very unconvenient behavior for usage fuelclient from python. Actually we can not use get_by_id() at all since response `Not Found' closes python process immediately. Expected (and common) behavior is having some exception raised.
Changed in fuel: | |
importance: | Undecided → Medium |
Changed in fuel: | |
milestone: | none → 7.0 |
tags: | added: module-client |
Changed in fuel: | |
status: | New → Confirmed |
assignee: | nobody → Fuel Python Team (fuel-python) |
Changed in fuel: | |
importance: | Medium → High |
Changed in fuel: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
It's not a bug but a design decision. We need a blueprint for fuelclient changes. I will create it on Monday.