Incorrect param size check in cluster_scale_in/out service routines
Bug #1539478 reported by
Yanyan Hu
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
senlin |
Fix Released
|
Undecided
|
Yanyan Hu |
Bug Description
In cluster_
http://
http://
Currently, scaling request could be rejected incorrectly in service layer even it is legal for scaling policy attached.
Changed in senlin: | |
assignee: | nobody → Yanyan Hu (yanyanhu) |
milestone: | none → mitaka-3 |
To post a comment you must log in.
Maybe we don't do size parameter check in cluster_ scale_in/ out routines. Although rejecting illegal cluster_ scale_in/ out request in service layer is good, scaling_policy should take the responsibility of size parameter checking if there it is attached.
Even no ScalingPolicy is attached, do_scale_in/out routines in cluster_action module will check the size parameter and reject illegal requests:
http:// git.openstack. org/cgit/ openstack/ senlin/ tree/senlin/ engine/ actions/ cluster_ action. py#n714