|
![](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) |
8637a1 |
# patches_base=e132babf2904505731f0d45d5168c7e0e12c06be
|
|
![](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) |
0cf12a |
Version: 16.2.4
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
bd0ffd |
Release: 5%{?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) |
bd0ffd |
#Source0: https://github.com/ceph/ceph/raw/e132babf2904505731f0d45d5168c7e0e12c06be/src/cephadm/cephadm
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
bd0ffd |
Source0: https://raw.githubusercontent.com/ceph/ceph/pacific/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) |
9cfe44 |
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
bd0ffd |
* Thu Jun 17 2021 Francesco Pantano <fpantano@redhat.com> - 2:16.2.4-5
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
bd0ffd |
- 16.2.4-5 GA
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
bd0ffd |
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
bd0ffd |
* Thu Jun 11 2021 Francesco Pantano <fpantano@redhat.com> - 2:16.2.4-4
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
bd0ffd |
- 16.2.4-4 GA
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
bd0ffd |
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
8637a1 |
* Thu Jun 10 2021 Francesco Pantano <fpantano@redhat.com> - 2:16.2.4-3
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
8637a1 |
- 16.2.4-3 GA
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
8637a1 |
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
9cfe44 |
* Thu Mar 25 2021 Francesco Pantano <fpantano@redhat.com> - 2:16.1.0-2
|
|
![](https://seccdn.libravatar.org/avatar/28d941ae34a5bd69a7f8a97817298cca66ee4cb18dd7ecfd296709fe43046a23?s=16&d=retro) |
9cfe44 |
- 16.1.0-2 GA
|