
rook enable with such procedure 1, deploy system without add ceph storage backend 2, update osd info with helm override $ system helm-override-update rook-ceph-apps rook-ceph --values value.yaml 3, apply rook-ceph application $ system application-apply rook-ceph-storage sample value.yaml to deploy provision sdb on host 'controller-0' cluster: storage: nodes: - devices: - config: journalSizeMB: 1024 storeType: bluestore name: sdb name: controller-0 Story: 2005527 Task: 39214 Depends-On: https://review.opendev.org/#/c/713084/ Change-Id: Ie8f43082a5022b4e3507f0ac8fe0a2654e2a3302 Signed-off-by: Martin, Chen <haochuan.z.chen@intel.com>
57 lines
1.1 KiB
RPMSpec
57 lines
1.1 KiB
RPMSpec
%global pypi_name k8sapp-rook
|
|
%global sname k8sapp_rook
|
|
|
|
Name: python-%{pypi_name}
|
|
Version: 1.0
|
|
Release: %{tis_patch_ver}%{?_tis_dist}
|
|
Summary: StarlingX sysinv extensions: Rook Ceph K8S app
|
|
|
|
License: Apache-2.0
|
|
Source0: %{name}-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: python-setuptools
|
|
BuildRequires: python-pbr
|
|
BuildRequires: python2-pip
|
|
BuildRequires: python2-wheel
|
|
|
|
%description
|
|
StarlingX sysinv extensions: Rook Ceph K8S app
|
|
|
|
%prep
|
|
%setup
|
|
# Remove bundled egg-info
|
|
rm -rf %{pypi_name}.egg-info
|
|
|
|
%build
|
|
export PBR_VERSION=%{version}
|
|
%{__python2} setup.py build
|
|
|
|
%py2_build_wheel
|
|
|
|
%install
|
|
export PBR_VERSION=%{version}.%{tis_patch_ver}
|
|
export SKIP_PIP_INSTALL=1
|
|
%{__python2} setup.py install --skip-build --root %{buildroot}
|
|
mkdir -p ${RPM_BUILD_ROOT}/plugins
|
|
install -m 644 dist/*.whl ${RPM_BUILD_ROOT}/plugins/
|
|
|
|
%files
|
|
%{python2_sitelib}/%{sname}
|
|
%{python2_sitelib}/%{sname}-*.egg-info
|
|
|
|
%package wheels
|
|
Summary: %{name} wheels
|
|
|
|
%description wheels
|
|
Contains python wheels for %{name}
|
|
|
|
%files wheels
|
|
/plugins/*
|
|
|
|
|
|
%changelog
|
|
* Tue Jun 2 2020 Martin Chen <haochuan.z.chen@intel.com>
|
|
- Initial version
|