Bug 1567990

Summary: Failed to install ceph on RHEL-7.5 : Error ENOENT: failed to find client.admin in keyring
Product: Red Hat OpenStack Reporter: Yurii Prokulevych <yprokule>
Component: puppet-cephAssignee: Keith Schincke <kschinck>
Status: CLOSED EOL QA Contact: Yogev Rabl <yrabl>
Severity: high Docs Contact:
Priority: high    
Version: 11.0 (Ocata)CC: jjoyce, johfulto, jschluet, kschinck, mnadeem, slinaber, tvignaud, yprokule
Target Milestone: asyncKeywords: Triaged, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1610358 1624438 (view as bug list) Environment:
Last Closed: 2018-06-22 12:46:18 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: 1610358, 1624438    

Description Yurii Prokulevych 2018-04-16 14:18:01 UTC
Description of problem:
-----------------------
Installation of RHOS-11 on RHEL-7.5 fails:
Debug: /Stage[main]/Ceph::Keys/Ceph::Key[client.admin]/Exec[ceph-injectkey-client.admin]/unless: 2018-04-16 12:37:01.578122 7f326448f700  0 -- :/1618649587 >> 172.17.3.13:6789/0 pipe(0x7f32600620c0 
gs=0 cs=0 l=1 c=0x7f326005df70).fault
Debug: /Stage[main]/Ceph::Keys/Ceph::Key[client.admin]/Exec[ceph-injectkey-client.admin]/unless: 2018-04-16 12:37:07.577968 7f326428d700  0 -- 172.17.3.16:0/1618649587 >> 172.17.3.15:6789/0 pipe(0x7
d=4 :0 s=1 pgs=0 cs=0 l=1 c=0x7f32540039a0).fault
Debug: /Stage[main]/Ceph::Keys/Ceph::Key[client.admin]/Exec[ceph-injectkey-client.admin]/unless: 2018-04-16 12:37:13.578709 7f326438e700  0 -- 172.17.3.16:0/1618649587 >> 172.17.3.15:6789/0 pipe(0x7
d=3 :0 s=1 pgs=0 cs=0 l=1 c=0x7f3254002910).fault
Debug: /Stage[main]/Ceph::Keys/Ceph::Key[client.admin]/Exec[ceph-injectkey-client.admin]/unless: Error ENOENT: failed to find client.admin in keyring
Debug: /Stage[main]/Ceph::Keys/Ceph::Key[client.admin]/Exec[ceph-injectkey-client.admin]/unless: + true
Debug: /Stage[main]/Ceph::Keys/Ceph::Key[client.admin]/Exec[ceph-injectkey-client.admin]/unless: + diff -N /tmp/tmp.rYnvBeKtZv /etc/ceph/ceph.client.admin.keyring
Debug: /Stage[main]/Ceph::Keys/Ceph::Key[client.admin]/Exec[ceph-injectkey-client.admin]/unless: 0a1,5
Debug: /Stage[main]/Ceph::Keys/Ceph::Key[client.admin]/Exec[ceph-injectkey-client.admin]/unless: > [client.admin]
Debug: /Stage[main]/Ceph::Keys/Ceph::Key[client.admin]/Exec[ceph-injectkey-client.admin]/unless: >         key = AQCAkNRaAAAAABAAVcEJAmdQuJeiI6eFaZahEA==
Debug: /Stage[main]/Ceph::Keys/Ceph::Key[client.admin]/Exec[ceph-injectkey-client.admin]/unless: >         caps mds = "allow *"
Debug: /Stage[main]/Ceph::Keys/Ceph::Key[client.admin]/Exec[ceph-injectkey-client.admin]/unless: >         caps mon = "allow *"
Debug: /Stage[main]/Ceph::Keys/Ceph::Key[client.admin]/Exec[ceph-injectkey-client.admin]/unless: >         caps osd = "allow *"
Debug: /Stage[main]/Ceph::Keys/Ceph::Key[client.admin]/Exec[ceph-injectkey-client.admin]/unless: + rv=1
Debug: /Stage[main]/Ceph::Keys/Ceph::Key[client.admin]/Exec[ceph-injectkey-client.admin]/unless: + rm /tmp/tmp.rYnvBeKtZv
Debug: /Stage[main]/Ceph::Keys/Ceph::Key[client.admin]/Exec[ceph-injectkey-client.admin]/unless: + exit 1
Debug: Exec[ceph-injectkey-client.admin](provider=posix): Executing '/bin/true # comment to satisfy puppet syntax requirements

name 'mon.'   --keyring '/var/lib/ceph/mon/ceph-controller-0/keyring'  auth import -i /etc/ceph/ceph.client.admin.keyring'
Debug: Executing: '/bin/true # comment to satisfy puppet syntax requirements
...

Deploy command:
---------------
openstack overcloud deploy \
--timeout 100 \
--templates /usr/share/openstack-tripleo-heat-templates \
--stack overcloud \
--libvirt-type kvm \
--ntp-server clock.redhat.com \
-e /usr/share/openstack-tripleo-heat-templates/environments/storage-environment.yaml \
-e /home/stack/virt/internal.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/network-isolation.yaml \
-e /home/stack/virt/network/network-environment.yaml \
-e /home/stack/virt/enable-tls.yaml \
-e /home/stack/virt/inject-trust-anchor.yaml \
-e /home/stack/virt/public_vip.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/tls-endpoints-public-ip.yaml \
-e /home/stack/virt/hostnames.yml \
-e /home/stack/virt/debug.yaml \
-e /home/stack/virt/nodes_data.yaml

Version-Release number of selected component (if applicable):
-------------------------------------------------------------
Repo used - 2018-04-02.3

Additional info:
----------------
Virtual env: 3controllers + 2computes + 3ceph

Comment 13 Scott Lewis 2018-06-22 12:46:18 UTC
OSP11 is now retired, see details at https://access.redhat.com/errata/product/191/ver=11/rhel---7/x86_64/RHBA-2018:1828