[Gluster-users] Trouble with AFR
Anand Avati
avati at gluster.com
Wed Apr 1 18:31:32 UTC 2009
> ----
> tisiphone ~ # md5sum --binary /var/www/vu-hosting/localhost/admin/ssl/*
> c80162aa9220f8942fd11137f03243cb */var/www/vu-hosting/localhost/admin/ssl/nginx.crt
> 330a48882caf1960180183d7e3d237c8 */var/www/vu-hosting/localhost/admin/ssl/nginx.csr
> 20169d74a3493b2941c99213ea24705b */var/www/vu-hosting/localhost/admin/ssl/nginx.key
> d41d8cd98f00b204e9800998ecf8427e */var/www/vu-hosting/localhost/admin/ssl/nginx.pem
> tisiphone ~ #
> ----
> ==> The pem file is wrong!
>
>
> Redoing the check on hermes:
> ----
> hermes ~ # md5sum --binary /var/www/vu-hosting/localhost/admin/ssl/*
> c80162aa9220f8942fd11137f03243cb */var/www/vu-hosting/localhost/admin/ssl/nginx.crt
> 330a48882caf1960180183d7e3d237c8 */var/www/vu-hosting/localhost/admin/ssl/nginx.csr
> 20169d74a3493b2941c99213ea24705b */var/www/vu-hosting/localhost/admin/ssl/nginx.key
> c92bad4bdfde4df52db7afe91977247d */var/www/vu-hosting/localhost/admin/ssl/nginx.pem
> hermes ~ #
> ----
>
>
> Listing on hermes:
> ----
> hermes ~ # ls -lah /var/www/vu-hosting/localhost/admin/ssl/
> total 16K
> drwxr-xr-x 2 root root 70 Mar 30 18:27 .
> drwxr-xr-x 3 root root 16 Mar 30 18:27 ..
> -r--r--r-- 1 root root 1017 Mar 30 18:27 nginx.crt
> -r--r--r-- 1 root root 737 Mar 30 18:27 nginx.csr
> -r-------- 1 root root 887 Mar 30 18:27 nginx.key
> -r-------- 1 root root 1.9K Mar 30 18:27 nginx.pem
> hermes ~ #
> ----
>
>
> Listing on tisiphone:
> ----
> tisiphone ~ # ls -lah /var/www/vu-hosting/localhost/admin/ssl/
> total 16K
> drwxr-xr-x 2 root root 70 Mar 30 18:27 .
> drwxr-xr-x 3 root root 16 Mar 30 18:27 ..
> -r--r--r-- 1 root root 1017 Mar 30 18:27 nginx.crt
> -r--r--r-- 1 root root 737 Mar 30 18:27 nginx.csr
> -r-------- 1 root root 887 Mar 30 18:27 nginx.key
> -r-------- 1 root root 1.9K Mar 30 18:27 nginx.pem
> tisiphone ~ #
> ----
> ==> WHAT? This is new! I never had the whole file there in my tests. Now the file is there and not having 0 bytes size. Let me check MD5 sum.
>
>
> Recheck on tisiphone:
> ----
> tisiphone ~ # md5sum --binary /var/www/vu-hosting/localhost/admin/ssl/*
> c80162aa9220f8942fd11137f03243cb */var/www/vu-hosting/localhost/admin/ssl/nginx.crt
> 330a48882caf1960180183d7e3d237c8 */var/www/vu-hosting/localhost/admin/ssl/nginx.csr
> 20169d74a3493b2941c99213ea24705b */var/www/vu-hosting/localhost/admin/ssl/nginx.key
> d41d8cd98f00b204e9800998ecf8427e */var/www/vu-hosting/localhost/admin/ssl/nginx.pem
> tisiphone ~ #
> ----
> ==> Okay. At least this is consistent. The pem file is not the same on both nodes. The size is this time not 0 bytes but the content is not the same. At least if I can trust md5sum.
>
Can you remove io-cache and see if things continue to be the same?
Avati
More information about the Gluster-users
mailing list