Error when trying to add a shard set in Mongo db
You need to have at least the role of clusterManager to perform this action in 2.6 . If you are a dbadmin you can grantRole clusterManager to current user following this tutorial http://docs.mongodb.org/manual/tutorial/assign-role-to-user/