Unable to supply provisioning script to softlayer create() #19947
Labels
Bug
broken, incorrect, or confusing behavior
fixed-pls-verify
fix is linked, bug author to confirm fix
P3
Priority 3
RIoT
Relates to integration with cloud providers, hypervisors, API-based services, etc.
Salt-Cloud
severity-medium
3rd level, incorrect or bad functionality, confusing and lacks a work around
Milestone
Hello,
I found it not possible to supply the post_uri parameter of [1] from the CloudClient.create() when creating softlayer VMs. This is important when a couple of settings need to be made in order to allow the freshly spawned minion to be contactable by the salt master.
An example scenario:
The fresh minion does not have a public IP. The master is on a different site (different internal subnet), and the two private subnets are connect by a VPN. In this case after SL provisions the new VM, a provisioning script is needed to set the proper routing parameters.
By being able to pass the post_uri from the cloudclient's create() to softlayer's API, it makes it possible to do the required adjustments on the freshly spawned VM, therefore saltstack will be able to reach the new VM and bootstrap the salt-minion.
[1] https://softlayer-api-python-client.readthedocs.org/en/latest/api/managers/vs/#SoftLayer.managers.vs.VSManager.create_instance
The text was updated successfully, but these errors were encountered: