Details
-
Bug
-
Resolution: Duplicate
-
Major
-
5.0.0
-
Untriaged
-
Unknown
Description
When trying to initialize the cluster:
[root@localhost ~]# /opt/couchbase/bin/couchbase-cli cluster-init -c localhost:8091 --cluster-username Administrator --cluster-password password --services='data,index,query,fts' |
ERROR: insufficient memory to satisfy memory quota for the services (requested quota is 3178MB, maximum allowed quota for the node is 3022MB) |
If i do not pass any memory value, not sure how much is the default value it try to use here for each and every service. Here proper information should be provided to the user about memory usages so that user can make modifications in memory allotment accordingly. User doesn't know where he can do memory modifications.
Now, if i simply change the index memory cluster gets initialized.
[root@localhost ~]# /opt/couchbase/bin/couchbase-cli cluster-init -c localhost:8091 --cluster-username Administrator --cluster-password password --services='data,index,query,fts' --cluster-index-ramsize=260 |
SUCCESS: Cluster initialized
|
When cluster initializes through UI proper distribution of memory is done. Same should be done of cli or default memory allotment should be shown to the user on failure so that user can make changes.
Attachments
Issue Links
- duplicates
-
MB-23675 [Spock UI] : Cluster initialization wizard : Finish with Defaults button on the Terms and Conditions screen does not work
- Closed