|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
e9d8bb |
# Upstream ceph commit upon which this package is based:
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
e9d8bb |
# patches_base=74275226ac79999bfd40e683dc9a1309e76033bf
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
e9d8bb |
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
e9d8bb |
Name: cephadm
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
e9d8bb |
Epoch: 2
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
e9d8bb |
Version: 16.1.0
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
e9d8bb |
Release: 100%{?dist}
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
e9d8bb |
Summary: Utility to bootstrap Ceph clusters
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
e9d8bb |
License: LGPL-2.1
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
e9d8bb |
URL: https://ceph.io
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
e9d8bb |
Source0: https://github.com/ceph/ceph/raw/74275226ac79999bfd40e683dc9a1309e76033bf/src/cephadm/cephadm
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
e9d8bb |
Source1: COPYING-LGPL2.1
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
e9d8bb |
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
e9d8bb |
BuildArch: noarch
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
e9d8bb |
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
e9d8bb |
Requires: lvm2
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
e9d8bb |
Requires: python3
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
e9d8bb |
Recommends: podman
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
e9d8bb |
%description
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
e9d8bb |
Utility to bootstrap a Ceph cluster and manage Ceph daemons deployed
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
e9d8bb |
with systemd and podman.
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
e9d8bb |
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
e9d8bb |
%prep
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
e9d8bb |
cp %{SOURCE0} .
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
e9d8bb |
cp %{SOURCE1} .
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
e9d8bb |
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
e9d8bb |
%build
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
e9d8bb |
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
e9d8bb |
%install
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
e9d8bb |
mkdir -p %{buildroot}%{_sbindir}
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
e9d8bb |
install -m 0755 cephadm %{buildroot}%{_sbindir}/cephadm
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
e9d8bb |
mkdir -p %{buildroot}%{_sharedstatedir}/cephadm
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
e9d8bb |
chmod 0700 %{buildroot}%{_sharedstatedir}/cephadm
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
e9d8bb |
mkdir -p %{buildroot}%{_sharedstatedir}/cephadm/.ssh
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
e9d8bb |
chmod 0700 %{buildroot}%{_sharedstatedir}/cephadm/.ssh
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
e9d8bb |
touch %{buildroot}%{_sharedstatedir}/cephadm/.ssh/authorized_keys
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
e9d8bb |
chmod 0600 %{buildroot}%{_sharedstatedir}/cephadm/.ssh/authorized_keys
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
e9d8bb |
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
e9d8bb |
%pre
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
e9d8bb |
getent group cephadm >/dev/null || groupadd -r cephadm
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
e9d8bb |
getent passwd cephadm >/dev/null || useradd -r -g cephadm -s /bin/bash -c "cephadm user for mgr/cephadm" -d %{_sharedstatedir}/cephadm cephadm
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
e9d8bb |
exit 0
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
e9d8bb |
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
e9d8bb |
%postun
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
e9d8bb |
userdel -r cephadm || true
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
e9d8bb |
exit 0
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
e9d8bb |
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
e9d8bb |
%files
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
e9d8bb |
%license COPYING-LGPL2.1
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
e9d8bb |
%{_sbindir}/cephadm
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
e9d8bb |
%attr(0700,cephadm,cephadm) %dir %{_sharedstatedir}/cephadm
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
e9d8bb |
%attr(0700,cephadm,cephadm) %dir %{_sharedstatedir}/cephadm/.ssh
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
e9d8bb |
%attr(0600,cephadm,cephadm) %{_sharedstatedir}/cephadm/.ssh/authorized_keys
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
e9d8bb |
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
e9d8bb |
%changelog
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
e9d8bb |
* Wed Feb 10 2021 Ken Dreyer <kdreyer@redhat.com> - 16.1.0-100
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
e9d8bb |
- initial package
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
e9d8bb |
|