bay-show command always return "0" in bay_create_timeout
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Magnum |
Fix Committed
|
Wishlist
|
Yang Hongyang |
Bug Description
When bay created with timeout option as below, bay creation timed out.
magnum bay-create --name k8sbay_timeout --baymodel k8sbaymodel --node-count 1 --timeout 1
But bay-show command gets always "0" for bay_create_timeout from magnum API.
Below is magnumclient's log in bay-show for above bay.
RESP BODY: {"status": "CREATE_FAILED", "uuid": "f46e8fa4-
Changed in magnum: | |
assignee: | nobody → yuanying (ootsuka) |
importance: | Undecided → Wishlist |
Currently 'bay_create_ timeout' is only useful on bay creation, and its value is not stored in database, so when we doing bay-show, it always 0, I think there're two ways to fix this: timeout' value in database timeout' when doing bay-show
1. store 'bay_create_
2. do not show 'bay_create_
I don't know if its worth to add 'bay_create_ timeout' coloumn to database because this only
matters when doing bay creation.