Bug 821299 - Constant re-adding?
Summary: Constant re-adding?
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Pod
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: ---
Assignee: Dan McPherson
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-05-14 02:00 UTC by Mike McGrath
Modified: 2015-05-15 01:53 UTC (History)
3 users (show)

Fixed In Version: devenv_1809
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-08 17:58:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Mike McGrath 2012-05-14 02:00:43 UTC
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)

Comment 1 Xiaoli Tian 2012-06-04 07:36:37 UTC
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)


Note You need to log in before you can comment on or make changes to this bug.