fuelclient "connect" in 9.1 does not define defaults
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Won't Fix
|
High
|
Georgy Kibardin | ||
Mitaka |
Won't Fix
|
High
|
Georgy Kibardin |
Bug Description
In Timmy project we try to utilize fuelclient library to get data from Fuel. In 9.1 we try to use method "connect" available in fuelclient/
I believe this is a regression and should be fixed. Fuelclient should provide an interface to instantiate Client class with all the default parameters pre-configured.
Changed in fuel: | |
assignee: | nobody → Fuel Sustaining (fuel-sustaining-team) |
Changed in fuel: | |
milestone: | none → 10.0 |
tags: | added: area-python |
Changed in fuel: | |
importance: | Undecided → High |
Changed in fuel: | |
status: | New → Confirmed |
assignee: | Fuel Sustaining (fuel-sustaining-team) → Georgy Kibardin (gkibardin) |
I found that the issue originated in Timmy code: /github. com/adobdin/ timmy/commit/ a1b43e1cbd435ee 2430ba347b574c5 78f8310130 adds usage of "connect" function and we pass all parameters, however in https:/ /github. com/adobdin/ timmy/commit/ b052cede2861803 c604f76913cf888 e01f23dc6f we started to only provide non-default parameters to the "connect" function.
commit https:/
Still I believe that since connect has most parameters as non-mandatory, it should pre-populate mandatory parameters inside Client __init__ to make it work with default values when no parameters are provided from outside.