From 91f60d28842cdde1692994fab163a313784bc697 Mon Sep 17 00:00:00 2001 From: chinasubbareddy mallavarapu Date: Fri, 19 Jun 2020 16:11:23 +0000 Subject: [PATCH] Revert "[ceph-client] Update ceph-mon port." Reverting this ps since we tried to solve the problem here for the old clients prior to nautilus but nautilus clients thinks its v2 port and try to communicate with server and getting some warnings as shown below: lets make v2 port as default and ovverride mon_host config for old clients prior to nautilus as we did in this ps (https://review.opendev.org/#/c/711648/). better solution will be moving out of old ceph clients by changing the images wherever old ceph clients are installed. log: + ceph auth get-or-create client.cinder mon 'profile rbd' osd 'profile rbd' -o /tmp/tmp.k9PBzKOyCq.keyring 2020-06-19 15:56:13.100 7febee088700 -1 --2- 172.29.0.139:0/2835096817 >> v2:172.29.0.141:6790/0 conn(0x7febe816b4d0 0x7febe816b990 unknown :-1 s=BANNER_CONNECTING pgs=0 cs=0 l=0 rx=0 tx=0)._handle_peer_banner peer v2:172.29.0.141:6790/0 is using msgr V1 protocol This reverts commit acde91c87d5e233d1180544df919cb6603e306a9. Change-Id: I08ef968b3e80c80b973ae4ec1f80ba1618f0e0a5 --- ceph-provisioners/templates/configmap-etc-client.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ceph-provisioners/templates/configmap-etc-client.yaml b/ceph-provisioners/templates/configmap-etc-client.yaml index 3023a8ed5..57a1bfce8 100644 --- a/ceph-provisioners/templates/configmap-etc-client.yaml +++ b/ceph-provisioners/templates/configmap-etc-client.yaml @@ -20,7 +20,7 @@ limitations under the License. {{- if or (.Values.deployment.ceph) (.Values.deployment.client_secrets) }} {{- if empty .Values.conf.ceph.global.mon_host -}} -{{- $monHost := tuple "ceph_mon" "internal" "mon" . | include "helm-toolkit.endpoints.host_and_port_endpoint_uri_lookup" }} +{{- $monHost := tuple "ceph_mon" "internal" "mon_msgr2" . | include "helm-toolkit.endpoints.host_and_port_endpoint_uri_lookup" }} {{- $_ := $monHost | set .Values.conf.ceph.global "mon_host" -}} {{- end -}}