devstack - horizon plugin inconsistent variable value and 'request.GET'

asked 2018-08-20 14:03:16 -0600

sts gravatar image


i have been noticing a strange behavior in devstack when a custom dashboard plugin is run directly on devstack( ex, The behavior is,

1) when a global variable (lets say, 'global_var = "This is global var"') is defined in '' and the same variable is accessed in '' by importing view and as 'view.globa_var', this variable is inconsistent in having the value "This is global var". 2) the inconsistency is also with 'self.request.GET.get('url_param')' when used in any workflow Actions class. it some times gets the url_param and sometimes dont.

And these behavior do not occur when i run horizon from './ runserver' ( and works perfectly fine.

Kindly let me know if i have not expressed the issue properly and if there's a need to additional info.

Regards, Sharath TS

edit retag flag offensive close merge delete