radosgw not listening after installation
I successfully deploy ceph and rgw v14.2.10 one month ago,
but fail with v14.2.11.
a strange thing is radosgw process owner is different between two versions!
Successful v14.2.10 radosgw process owner is "ceph", while failed v14.2.11 radosgw process owner is "root".I reproduce the procedure(v14.2.11):
export CEPH_DEPLOY_REPO_URL=http://mirrors.163.com/ceph/rpm-nautilus/el7 export CEPH_DEPLOY_GPG_URL=http://mirrors.163.com/ceph/keys/release.asc ceph-deploy new zx1
[ceph1@zx2 my-cluster]$ cat ceph.conf [global] fsid = fda8464f-c43c-44b1-ab9e-9714bb4cedd7 mon_initial_members = zx1 mon_host = 10.100.251.218 auth_cluster_required = cephx auth_service_required = cephx auth_client_required = cephx
ceph-deploy install --release nautilus zx1 zx0 ceph-deploy mon create-initial ceph-deploy admin zx1 zx0 ceph-deploy mgr create zx1 ceph-deploy osd create --data /dev/sde zx0 ceph-deploy osd create --data /dev/sdd zx0 ceph-deploy osd create --data /dev/sdc zx0 ceph-deploy install --release nautilus --rgw zx0 ceph-deploy rgw create zx0In v14.2.10, ps -ef|grep ceph show
and In v14.2.11, ps -ef|grep ceph show
and I donot know how to solve it, someone help me,thanks.
#2 Updated by yuqi hou about 1 year ago
we had to manually change 'type host' to 'type osd' in our crushmap.
after booting rgw, I find that the owner of radosgw process is "root", not "ceph". command "ceph -s" also show that "100.000% pgs not active".
I search the clue "100.000% pgs not active", the post "https://www.cnblogs.com/boshen-hzb/p/13305560.html" tell how to solve it - change 'type host' to 'type osd', "ceph -s" show "HEALTH_OK" and the owner of radosgw process become "ceph", rgw service(7480) is in service.