[SERVER-13649] Unable to generate mongostats Created: 17/Apr/14 Updated: 10/Dec/14 Resolved: 01/May/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Tools |
| Affects Version/s: | 2.4.6 |
| Fix Version/s: | None |
| Type: | Question | Priority: | Minor - P4 |
| Reporter: | naresh b | Assignee: | Ramon Fernandez Marina |
| Resolution: | Done | Votes: | 0 |
| Labels: | commands | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Linux |
||
| Participants: |
| Description |
|
Assertion: 13111:field not found, expected type 2 |
| Comments |
| Comment by naresh b [ 01/May/14 ] |
|
HI, |
| Comment by Thomas Rueckstiess [ 01/May/14 ] |
|
Hi Naresh, We haven't heard back from you so I'll go ahead and resolve the issue now. If you'd like to follow up, feel free to re-open the ticket and provide the additional information Ramón requested. Kind Regards, |
| Comment by Ramon Fernandez Marina [ 21/Apr/14 ] |
|
Naresh, in 2.4.6 there's unfortunately no workaround for this scenario – you'll need "clusterAdmin" privileges, which might be more privileges than what you're willing to give to this application account. Version 2.6 does have a finer control over privileges. That being said, I can't reproduce the stack trace; what I get is: connected to: 127.0.0.1 If you send us more information on how you're running mongostat we can try to fix it and provide a friendlier error message. |
| Comment by naresh b [ 21/Apr/14 ] |
|
Yes, it works with dba account. Probably looks like a privilege issue. This is an application account and we cannot afford to grant admin privilege on this account. Please advice if there is any work around for this..? |
| Comment by Eliot Horowitz (Inactive) [ 19/Apr/14 ] |
|
It could be a privilege issue. |
| Comment by naresh b [ 18/Apr/14 ] |
|
Can this be a privilege issue..? The user is currently granted with "readAnyDatabase" role. This is an application user account and we DBA's do not want to grant any admin role to this account. Please suggest if there is any workaround for this. |