--
--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CA%2BM63kcQw_UTUMW%2BmLXd0uNv3Bgowfdy9yP_v%2B55yW9cKkKN6A%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CA%2BM63kcQw_UTUMW%2BmLXd0uNv3Bgowfdy9yP_v%2B55yW9cKkKN6A%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CA%2BM63kcQw_UTUMW%2BmLXd0uNv3Bgowfdy9yP_v%2B55yW9cKkKN6A%40mail.gmail.com.
So to follow up on this: I looked at this further, and while the gluster_heal_info module DOES return a heal_info list, its not a list of files. It returns the value of every brick (brick name, number of entries, and stattus):"heal_info": [{"brick": " server1:/gluster_bricks/brick3/1","no_of_entries": "0","status": "Connected"},{"brick": " server2:/gluster_bricks/brick4/1","no_of_entries": "0","status": "Connected"}]So what I think I need to do is to get the "no_of_entries" value from every brick and sum them up. If the sum is zero, I can continue on. If the sum is greater than zero, then there is a heal in process, and I need to wait until that is finished before continuing. That's the part I'm getting stuck on. Also, if you look at the heal_info list, the bricks are ALL bricks associated with the gluster volume, which is across all gluster servers. So would it be safe to assume that if the sum is zero, then there is no healing occuring on any server, and the continue-on procedure is to stop gluster on all servers, update them, then restart gluster?Thanks,Harry
--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/70668aff-e0fe-4f4f-8606-ffc1cc273f52%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CA%2BM63kcQw_UTUMW%2BmLXd0uNv3Bgowfdy9yP_v%2B55yW9cKkKN6A%40mail.gmail.com.
So to follow up on this: I looked at this further, and while the gluster_heal_info module DOES return a heal_info list, its not a list of files. It returns the value of every brick (brick name, number of entries, and stattus):"heal_info": [{"brick": " server1:/gluster_bricks/brick3/1","no_of_entries": "0","status": "Connected"},{"brick": " server2:/gluster_bricks/brick4/1","no_of_entries": "0","status": "Connected"}]So what I think I need to do is to get the "no_of_entries" value from every brick and sum them up. If the sum is zero, I can continue on. If the sum is greater than zero, then there is a heal in process, and I need to wait until that is finished before continuing. That's the part I'm getting stuck on. Also, if you look at the heal_info list, the bricks are ALL bricks associated with the gluster volume, which is across all gluster servers. So would it be safe to assume that if the sum is zero, then there is no healing occuring on any server, and the continue-on procedure is to stop gluster on all servers, update them, then restart gluster?Thanks,Harry
--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible...@googlegroups.com.