MB-12564: only include kv nodes into bucket's servers list

Change-Id: I5c4c706f5d7b62da573837ab8d20b9b72467e6a8
Reviewed-on: http://review.couchbase.org/42873
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Artem Stemkovski <artem@couchbase.com>
MB-12564: disallow failing over last kv node

Change-Id: I8eba3577082d87469b9f5c151ecd300a9d7755c0
Reviewed-on: http://review.couchbase.org/42874
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Artem Stemkovski <artem@couchbase.com>
MB-12564: disallow rebalancing out last kv node

Change-Id: I452d68f057c13b565267736873d685cb2b6e2d8a
Reviewed-on: http://review.couchbase.org/42875
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Artem Stemkovski <artem@couchbase.com>
MB-12564: compute balancedness of only kv nodes

Change-Id: I280c5c7ae7077d1458e2977aa0348333dea3b805
Reviewed-on: http://review.couchbase.org/42876
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Artem Stemkovski <artem@couchbase.com>
MB-12564: added /node/controller/setupServices endpoint

Which is going to be used for setup of node services of initial
cluster node.

Change-Id: Idc90a15a8228486fb0c995d881ba8153e9e3155f
Reviewed-on: http://review.couchbase.org/42877
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Artem Stemkovski <artem@couchbase.com>
MB-12564: added ugly UI for setting up initial node services

Change-Id: Idc578daddd09a81d91fca84d53353004df70634c
Reviewed-on: http://review.couchbase.org/42878
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Artem Stemkovski <artem@couchbase.com>
MB-12564: added services list node infos in REST API

Change-Id: Ia3fb4ba5b4be9efaae1322af93ef4d60f8639ac7
Reviewed-on: http://review.couchbase.org/42881
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Artem Stemkovski <artem@couchbase.com>
MB-12564: consider only kv nodes for sample buckets quota check

Change-Id: I141a856aa31f29b6eb6feb27b42dd8a7be9ed3da
Reviewed-on: http://review.couchbase.org/42934
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Artem Stemkovski <artem@couchbase.com>
MB-12564: consider only kv nodes for num_replicas warnings check

Change-Id: If7645bf7e0ec7df3e70790d0e5f06a801951af20
Reviewed-on: http://review.couchbase.org/42935
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Artem Stemkovski <artem@couchbase.com>
MB-12564: only count kv nodes for bucket's summary

I.e. that's count of nodes that's displayed on UI when
creating/editing bucket.

Change-Id: If85386952dc72088c598436c5c89f45ca2db9fe1
Reviewed-on: http://review.couchbase.org/42936
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Artem Stemkovski <artem@couchbase.com>
MB-12564: send crud attempt requests only to bucket nodes

Change-Id: Ie51cf9a80dfed935159c21832e37dc5b02ed2d76
Reviewed-on: http://review.couchbase.org/42937
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Artem Stemkovski <artem@couchbase.com>