I'm not sure if this is a bug or not but we're seeing this over and over in the logs in prod. Started POST "/broker/userinfo" for 107.21.193.203 at Sun May 13 21:47:04 -0400 2012 Processing by LegacyBrokerController#user_info_post as HTML Parameters: {"broker_auth_iv"=>"[FILTERED]", "json_data"=>"{\"debug\" : \"true\"}", "broker_auth_key"=>"[FILTERED]"} User-Agent = 'Java OpenShift/1.2.2-SNAPSHOT ()' MongoDataStore.find(CloudUser, Craig.Schwarzwald, Craig.Schwarzwald) Adding user Craig.Schwarzwald...inside legacy_controller MongoDataStore.find(CloudUser, Craig.Schwarzwald, Craig.Schwarzwald) MongoDataStore.find(CloudUser, Craig.Schwarzwald, Craig.Schwarzwald)
Tested it on devenv-stage_200, if the user is not existed, it will add it as following: Started POST "/broker/domain" for 203.114.244.88 at Mon Jun 04 01:44:18 -0400 2012 Processing by LegacyBrokerController#domain_post as Parameters: {"json_data"=>"{\"key_type\":\"ssh-rsa\",\"api\":\"1.1.3\",\"ssh\":\"AAAAB3NzaC1yc2EAAAABIwAAAQEA4NeUyMMeM+8WZITvoArNSYtHeYH/gxpl02JZi2zn1nfAteIKhjY1jSJwmS9puXwOpY4IFIC0JT/ucbtGEQZFTSIhSrZ51bACiuY32pdtNmr5MHAvhIOVwktcjZ+Lmu2fZMEVeGO6bHct0WQ9zBLvcebwCSBKc0xwk5JVr740t+Q00fvcBktVp66qB6AjA7+ELR9reSQLMkQW8URpxeDu6vb8Wh5X/8Vy/m6vfAAEHIjozRNtuvMG5u7jfWs9/5TkpwkQeSs2Q452nndDq0Qt3zLJOYu9ARFandxQh2/CUsbIc9dqQLmTbIgkkjQkqps6J7DetbEAlt3sVyMP1RpH6w==\",\"namespace\":\"domaindev04\",\"rhlogin\":\"xtian+t102\"}", "password"=>"[FILTERED]"} User-Agent = '' MongoDataStore.find(CloudUser, xtian+t102, xtian+t102) Adding user xtian+t102...inside legacy_controller MongoDataStore.find(CloudUser, xtian+t102, xtian+t102) DEBUG: Attempting to add user 'xtian+t102' MongoDataStore.create(CloudUser, xtian+t102, xtian+t102, #hidden) -------------------------------------------------------------------------- If the user does not exist, it will not add it and the log will not say it's adding user. Started POST "/broker/userinfo" for 203.114.244.88 at Mon Jun 04 01:46:11 -0400 2012 Processing by LegacyBrokerController#user_info_post as Parameters: {"json_data"=>"{\"api\":\"1.1.3\",\"rhlogin\":\"xtian+t102\"}", "password"=>"[FILTERED]"} User-Agent = '' MongoDataStore.find(CloudUser, xtian+t102, xtian+t102) [REQ_ID=058e356fde10475a8e71fa43b8deb29d] ACTION=LEGACY_USER_INFO Completed 200 OK in 226ms (Views: 1.8ms)