Bug 1567990 - Failed to install ceph on RHEL-7.5 : Error ENOENT: failed to find client.admin in keyring
Summary: Failed to install ceph on RHEL-7.5 : Error ENOENT: failed to find client.admi...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: puppet-ceph
Version: 11.0 (Ocata)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: async
: ---
Assignee: Keith Schincke
QA Contact: Yogev Rabl
URL:
Whiteboard:
Depends On:
Blocks: 1610358 1624438
TreeView+ depends on / blocked
 
Reported: 2018-04-16 14:18 UTC by Yurii Prokulevych
Modified: 2018-08-31 14:55 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1610358 1624438 (view as bug list)
Environment:
Last Closed: 2018-06-22 12:46:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 564048 0 'None' 'MERGED' 'Resolve puppet overwriting a pre-existing bootstrap-osd auth entry' 2019-12-03 09:39:59 UTC

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


Note You need to log in before you can comment on or make changes to this bug.