Bug 1429605

Summary: Director support for custom ceph cluster names
Product: Red Hat OpenStack Reporter: Jeremy <jmelvin>
Component: rhosp-directorAssignee: Sébastien Han <shan>
Status: CLOSED DUPLICATE QA Contact: Yogev Rabl <yrabl>
Severity: high Docs Contact:
Priority: high    
Version: 10.0 (Newton)CC: aschultz, athomas, dbecker, flucifre, gfidente, jefbrown, jomurphy, mburns, morazi, rhel-osp-director-maint, seb, shan
Target Milestone: ---Keywords: Reopened, Triaged, Unconfirmed, ZStream
Target Release: 10.0 (Newton)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-09 08:59:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1481685    

Description Jeremy 2017-03-06 16:48:39 UTC
Description of problem:


Does director support custom ceph cluster names?
Director gives the keyring the cluster name ceph, but the real name is TRAVCPUCEPH01 so it doesn't work. If we change the keyring name from ceph.client.admin.keyring to  TPAVCPUCEPH01.client.admin.keyring it works.

customer followed : https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/10/html/red_hat_ceph_storage_for_the_overcloud/integration

###ceph node
[root@tpavcpuadmin01 ~]# vi /etc/ceph/
rbdmap                              TPAVCPUCEPH01.client.admin.keyring  TPAVCPUCEPH01.conf                  
tpavcpuceph01.client.admin.keyring  tpavcpuceph01.conf  

###ceph node
[root@tpavcpuadmin01 ~]# cat /etc/ceph/TPAVCPUCEPH01.client.admin.keyring
[client.admin]
	key = AQAc7YpYKdC2OBAAygCkIzjWw0LAQ2IXU0ep+Q==


###osp controller
[heat-admin@tpavcpusit-ctrl0 ~]$ ls /etc/ceph/
ceph.client.openstack.keyring  ceph.conf  rbdmap
[heat-admin@tpavcpusit-ctrl0 ~]$ 

[heat-admin@tpavcpusit-ctrl0 ~]$ cat /etc/ceph/ceph.client.openstack.keyring 
[client.openstack]
	key = AQBYtLBYG82RMRAA6eo+gqERFqP5YdYRnUaKnw==
	caps mon = "allow r"
	caps osd = "allow class-read object_prefix rbd_children, allow rwx pool=cinder-volumes, allow rwx pool=backups, allow rwx pool=ephemeral-vms, allow rwx pool=glance-images, allow rwx pool=metrics"
[heat-admin@tpavcpusit-ctrl0 ~]$

Comment 1 Red Hat Bugzilla Rules Engine 2017-03-06 16:48:46 UTC
This bugzilla has been removed from the release and needs to be reviewed and Triaged for another Target Release.

Comment 2 Red Hat Bugzilla Rules Engine 2017-03-06 16:50:00 UTC
This bugzilla has been removed from the release and needs to be reviewed and Triaged for another Target Release.

Comment 4 seb 2017-03-21 10:59:14 UTC
OSP10 does not support custom cluster name at the moment.

Comment 5 jomurphy 2017-04-25 15:56:20 UTC

*** This bug has been marked as a duplicate of bug 1435720 ***

Comment 7 Giulio Fidente 2018-02-09 08:59:51 UTC

*** This bug has been marked as a duplicate of bug 1410195 ***

Comment 8 Red Hat Bugzilla 2023-09-14 03:54:52 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days