On 4/29/14 13:56 , Cedric Lemarchand wrote:
Le 29/04/2014 20:39, Craig Lewis a écrit :
On 4/29/14 08:29 , Drew Weaver wrote:
I am getting to the Ceph party a little late but I am trying to find
out if any work has already been done on trying to automate the
provisioning lifecycle of users, etc in radosgw?
I started writing some Chef recipes. I intended to manage users,
pools, regions, zones, and replication. I have users and pools
done. I'm not sure I understand the steps to bootstrap regions and
zones well enough to code it. I've done it manually, but I'm not
sure I can do it consistently.
If you're interested, I can push what I have to github.
It would be great, I am doing the same work at this time, but still at
the users and pools step.
I rebased off the current master, and pushed the changes to
https://github.com/centraldesktop/ceph-cookbooks/tree/rgw-replication.
The quality of code is current "nightly snapshot".
radosgw_user is written and working. If you add
"users": {
"dev": {
"suspended": false,
"email": "d...@development.com",
"fullname": "Development User",
"swift": false
}
}
to node[:ceph][:radosgw][:users], then the radosgw recipe will create
the users. If you don't specify a key or secret, it will create them
for you.
radosgw_region and radosgw_zone resources are written, but not doing
anything useful. If I recall correctly, I just got them to compile
cleanly, then put the project on hold . I wouldn't use them.
I thought I had pools done, but I don't see them. If I recall
correctly, that was going to be my next steps, so radosgw_region could
create the pools it needed.
--
*Craig Lewis*
Senior Systems Engineer
Office +1.714.602.1309
Email cle...@centraldesktop.com <mailto:cle...@centraldesktop.com>
*Central Desktop. Work together in ways you never thought possible.*
Connect with us Website <http://www.centraldesktop.com/> | Twitter
<http://www.twitter.com/centraldesktop> | Facebook
<http://www.facebook.com/CentralDesktop> | LinkedIn
<http://www.linkedin.com/groups?gid=147417> | Blog
<http://cdblog.centraldesktop.com/>
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com