MissionCriticalCloud/vagrant-cloudstack

Template name used is mis-reported

sarral opened this issue · 4 comments

Template name doesn't match the UUID used.
Doen't cause issue, just a visual thing.

I couldn't reproduce this. Could you provide us with more info?

This is probably due to my cloud provider. They have two areas with two sets of Templates.
I'll check if a Template-UUID is found in both of the providers areas, as in just returning a matched UUID.

Ah, yes. The logic handling this is here:
https://github.com/klarna/vagrant-cloudstack/blob/master/lib/vagrant-cloudstack/action/run_instance.rb#L69-L75

And here:
https://github.com/klarna/vagrant-cloudstack/blob/master/lib/vagrant-cloudstack/action/run_instance.rb#L343-L348

I don't work for klarna anymore and can't test your case. But to fix this you should probably find some more parameters to inject at 69 to 75.

@sarral @lndbrg closing this issue, if you don't mind.

If you are still experiencing this problem, feel free to open it again 🙂