In function gettoken ,keystoneurl variable was expecting url like
https://<>:443/v2.0/tokens so "/tokens" is now geting appened to
keystone url variable.