[SERVER-7262] mongorestore on 2.2 fails with "Invalid ns" Created: 04/Oct/12 Updated: 15/Feb/13 Resolved: 09/Oct/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Tools |
| Affects Version/s: | 2.2.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Blocker - P1 |
| Reporter: | Derek Crudgington | Assignee: | Scott Hernandez (Inactive) |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Operating System: | ALL | ||||||||
| Participants: | |||||||||
| Description |
|
| Comments |
| Comment by Scott Hernandez (Inactive) [ 09/Oct/12 ] | ||||||
|
No, it will be in 2.2.1 RC1 (and is currently in the v2.2 nightly) since it was back-ported after RC0 went out. This issue is a duplicate of -this one -, which has the fix : | ||||||
| Comment by Derek Crudgington [ 09/Oct/12 ] | ||||||
|
Thanks. Can you verify this is fixed in 2.2.1-rc0 ? | ||||||
| Comment by Scott Hernandez (Inactive) [ 09/Oct/12 ] | ||||||
|
I can reproduce this and I believe it has already been fixed in master for the 2.2.1 release. It stems from no db being sent to authorize (nonce request). I will look for the orig server issue report and link it. Here is a workaround for just the admin db:
Server logs:
| ||||||
| Comment by Derek Crudgington [ 05/Oct/12 ] | ||||||
|
If it helps I can give you login information to the server. | ||||||
| Comment by Derek Crudgington [ 04/Oct/12 ] | ||||||
|
Hi, Thanks for the quick response. This is the same instance, not restarted. I run the mongodump and then the restore right after. Everything is 2.2.0:
I've attached the files from the backup in backup1.tar. | ||||||
| Comment by Scott Hernandez (Inactive) [ 04/Oct/12 ] | ||||||
|
Can you attach the files from the backup please? What version did you backup from? Is that the same instance running from the backup and restore (not restarted)? |