On 26.04.16 17:31, Mark Kirkwood wrote: > Yeah, a builtin method to distribute rings would be nice.
Well, you need some more information - for example the proxy nodes, that are not included in the rings, but need a copy too. So we would need to provide some additional data, and IMO then we quickly start to reinvent the wheel to distribute a few files. > The puppet module (puppet-swift) does do this. I'm guessing most > people are going to use some configuration management tool (Pupper, > Ansible etc) to manage their deployment (especially if installing the > rest of Openstack too). Indeed. Ansible provides a very simple way to copy ring files to all your proxy/storage nodes even without writing any playbook at all. Just create an inventory file listing all your proxy & storage nodes, a directory "rings" containing ONLY the ring files (*.ring.gz and maybe *.builder as well), and then use something like this: ansible -a "src=rings/ dest=/etc/swift" -m copy -i inventory all That takes care of distributing your files to all nodes (you might need a few more options for authentication, but that's basically it). -- Christian -- Christian Schwede Principal Software Engineer Production Chain Tool Team _____________________________________________________________________ Red Hat GmbH Technopark II, Haus C, Werner-von-Siemens-Ring 11-15, 85630 Grasbrunn, Handelsregister: Amtsgericht Muenchen HRB 153243 Geschaeftsfuehrer: Mark Hegarty, Charlie Peters, Michael Cunningham, Charles Cachera _______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack