Bug 994683
Summary: | App Create Error: 'Cannot validate input uid' | ||||||
---|---|---|---|---|---|---|---|
Product: | OpenShift Online | Reporter: | Thomas Wiest <twiest> | ||||
Component: | Pod | Assignee: | Dan McPherson <dmcphers> | ||||
Status: | CLOSED DUPLICATE | QA Contact: | libra bugs <libra-bugs> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 2.x | CC: | abhgupta, dmcphers, dtrainor, jhonce, twiest | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | |||||||
: | 1003647 (view as bug list) | Environment: | |||||
Last Closed: | 2014-04-16 17:59:47 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1003647 | ||||||
Attachments: |
|
Description
Thomas Wiest
2013-08-07 18:47:43 UTC
Can you please provide the broker, mcollective and platform (node) logs for a request that fails with this error? Providing snippets of logs from the broker and mcollective in the previous comment. Seems like useradd is failing because it is unable to lock /etc/passwd . Most likely some of these files were left behind by a crashing useradd/userdel operation. /etc/passwd.lock /etc/shadow.lock /etc/group.lock /etc/gshadow.lock Have we seen this issue again in PROD? Thanks, Mrunal We've changed how we're doing these creates now. We're now using the --from-code method of creating a drupal quickstart. So, no, we're no longer seeing this problem, but I don't know if that's because it's fixed or because we changed how we're doing the creates. Lowering severity for now since we haven't been able to root cause it looking at the logs and also we haven't seen it again. It will be easier to debug, if we can inspect the nodes if/when the issue is seen. Hey Thomas, I'm at a client site right now and they've encountered this. Can you please tell me more information about in which component this --from-code method was changed in? I'd like to settle this one. I've attached a full stack trace in the hopes it helps. Created attachment 802523 [details]
Stack trace from gear creation providing more information on this error
Dan Trainor, Did you see any of these files when the issue occured? /etc/passwd.lock /etc/shadow.lock /etc/group.lock /etc/gshadow.lock If so, do you have timestamps so we can correlate with the node call? The message "Cannot validate input uid: value should be a number" is being emitted from the MCollective client on the Broker when attempting to query a Node. From the openshift.ddl, action "has_uid_or_gid", :description => "Returns whether this system has already taken the uid or gid" do display :always input :uid, :prompt => "uid/gid", :description => "uid/gid", :type => :number, :optional => false mcollective_application_container_proxy.rb#has_uid_or_gid? is populating +uid+ with some value that is not considered :numeric by MCollective validators. This seems to be a duplicate of bug 1039641 and was fixed by Dan with --> https://github.com/openshift/origin-server/pull/4300 *** This bug has been marked as a duplicate of bug 1039641 *** |