Repository navigation
Allow additional parameters for GCE cloud profile - #22785
Conversation
|
Love the avatar, @junckritter. @jfindlay, I'm good with the code change if you're good with the tests. @erjohnso, do you have some thoughts on the other questions presented here? |
|
I got pretty lazy in libcloud with that Users aren't too keen on that approach [https://github.com/apache/libcloud/pull/496], unsuprisingly. I had it mind at the time, that salt-cloud could be made more user-friendly and its implementation would convert separate params to libcloud's underlying But, in this PR, we're just propagating my laziness. :( I think it might be better to go forward with @phildav's approach to "fixing" libcloud, and then propagate his diligent work to salt-cloud. :) |
|
Thanks, @techhat :) I an looking at salt's and libcloud's EC2 drivers for inspiration, because my effort sources from migration of existing infrastructure from EC2 to GCE (and because they are mostly functionally similar). And there is possible to pass raw So what steps should I make with this PR? |
|
I would be okay with merging this for now, and then updating it when libcloud is ready for it. |
Allow additional parameters for GCE cloud profile
Right now libcloud allows to pass more parameters for creating node, especially ex_disks_gce_struct and ex_service_accounts, than salt cloud profile. In this commit, they are at least not ignored. Question is whether it is better to pass them one by one, or all parameters from profile and let libcloud check them.
Other question is if salt should provide shorter way for defining disks.
Possible base for solving #22346