Bug 1007156 - "Execute failed:unauthorized" shows when login rockmongo from browser
Summary: "Execute failed:unauthorized" shows when login rockmongo from browser
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: Unspecified
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Dan Mace
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-12 03:14 UTC by Lei Zhang
Modified: 2015-05-14 23:28 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-12 14:32:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
rockmongo can't be accessed (34.92 KB, image/png)
2013-09-12 03:29 UTC, Lei Zhang
no flags Details

Description Lei Zhang 2013-09-12 03:14:25 UTC
Description of problem:
Given a normal app embedded with mongodb and rockmongo created(e.g.,myjbossas7), login rockmongo from browser, found 'Execute failed:unauthorized' shows in web page

Version-Release number of selected component (if applicable):
INT(devenv-3775)

How reproducible:
always

Steps to Reproduce:
1. rhc app create myjbossas7 jbossas-7 mongodb-2.2 rockmongo-1.1
2. Access URL https://myjbossas7-chunchen.dev.rhcloud.com/rockmongo/  and input username, password, and dbname to login rockmongo
3.

Actual results:
"Execute failed:unauthorized" shows in rockmongo web page


Expected results:
rockmongo should be accessed successfully.


Additional info:

Comment 1 Lei Zhang 2013-09-12 03:29:28 UTC
Created attachment 796607 [details]
rockmongo can't be accessed

Comment 2 Dan Mace 2013-09-12 14:32:30 UTC
The "DB Name(s)" field in the Rockmongo login page is only for use when specifying a non-admin user. Using it with the admin user will produce the error you're seeing.

If you omit the "DB Name(s)" field (or create a non-admin user to specify), you'll be able to log in.

I don't think it's a very intuitive UI (the DB name field appears under a "Non-Admin users:" header with no explanation), but it's not a bug.


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