Comment 4 for bug 1764963

Revision history for this message
Nam Nguyen (nammn) wrote :

Additionally, it should happen for other providers as well.
E.g. for openstack

: [cpu1-ram4-disk20 cpu8-ram16-disk10 cpu2-ram4-disk50 cpu1-ram2-disk20 cpu1-ram6-disk50 m1.small cpu1-ram12-disk50 cpu8-ram4-disk10 cpu4-ram16-disk10 m1.tiny cpu2-ram16-disk20 cpu1-ram12-disk10 cpu8-ram8-disk20 cpu2-ram12-disk20 cpu4-ram12-disk50 cpu2-ram8-disk10 cpu2-ram2-disk50 cpu8-ram6-disk10 cpu1-ram8-disk10 cpu2-ram8-disk50 cpu1-ram1-disk10 cpu4-ram6-disk20 cpu2-ram16-disk10 cpu2-ram1-disk20 cpu2-ram1-disk10 ... ]

Im thinking about sorting the instance in the validator place.
Somewhere around this place:
https://github.com/juju/juju/blob/14dcb838d37ab5cd77eb27969161683af318f265/core/constraints/validation.go#L194