Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

Is it possible to use system properties from administration tab for cloud profile definition in grid tab? #4433

Leemool ·

Hello

I tried to create a system property in administration tab, in order to retrieve the value in node launch settings for cloud profile.
I had a lot of cloud profiles and i do not want to change image name value manually for both and just have 2 or 3 variable to change for this .
Is it possible?

Thx in advance
Regards

  • replies 6
  • views 420
  • stars 0
robinshen ADMIN ·

Yes this should be possible. Just enclose for instance ${system.getProperty("propertyName")} in your node launch setting.

Leemool ·

Hello,

Yes i put ${system.getProperty("propertyName")} in Image Name field but seems not working on our side.

com.pmease.quickbuild.QuickbuildException: Image ${system.getProperty("TEST_IMAGE")} is missing

I try to retrieve from a configuration test too and it works also.

Regards

robinshen ADMIN ·

What type of cloud profile are you using?

Leemool ·

An openstack node launcher custom plugin, like Benprim ;)

seems same case here , but seems we did not patch Qb server in fact ? ^^

robinshen ADMIN ·

Please upgrade to QB 12.0.13: https://build.pmease.com/build/5558

And then annotate your getImage() method declaration with @Scriptable. Also make sure everywhere using this image, use getImage() instead of accessing field directly.

Leemool ·

Thx a lot , we'll do it soon

Regards