9661e49411
This update replaces compute references to worker in mtce, kickstarts, installer and bsp files. Tests Performed: Non-containerized deployment AIO-SX: Sanity and Nightly automated test suite AIO-DX: Sanity and Nightly automated test suite 2+2 System: Sanity and Nightly automated test suite 2+2 System: Horizon Patch Orchestration Kubernetes deployment: AIO-SX: Create, delete, reboot and rebuild instances 2+2+2 System: worker nodes are unlock enable and no alarms Story: 2004022 Task: 27013 Depends-On: https://review.openstack.org/#/c/624452/ Change-Id: I225f7d7143d841f80459603b27b95ac3f846c46f Signed-off-by: Tao Liu <tao.liu@windriver.com>
60 lines
1.4 KiB
RPMSpec
60 lines
1.4 KiB
RPMSpec
%define local_etc_pmond %{_sysconfdir}/pmon.d
|
|
%define local_etc_goenabledd %{_sysconfdir}/goenabled.d
|
|
%define local_etc_nova %{_sysconfdir}/nova
|
|
|
|
%define debug_package %{nil}
|
|
|
|
Name: mtce-compute
|
|
Version: 1.0
|
|
Release: %{tis_patch_ver}%{?_tis_dist}
|
|
Summary: Compute Node Maintenance Package
|
|
|
|
Group: base
|
|
License: Apache-2.0
|
|
Packager: Wind River <info@windriver.com>
|
|
URL: unknown
|
|
|
|
Source0: %{name}-%{version}.tar.gz
|
|
|
|
BuildRequires: systemd
|
|
BuildRequires: systemd-devel
|
|
Requires: bash
|
|
Requires: /bin/systemctl
|
|
Requires: qemu-kvm-ev
|
|
|
|
%description
|
|
Maintenance support files for compute-only node type
|
|
|
|
%prep
|
|
%setup
|
|
|
|
%build
|
|
|
|
%install
|
|
make install buildroot=%{buildroot} _sysconfdir=%{_sysconfdir} _unitdir=%{_unitdir} _datarootdir=%{_datarootdir}
|
|
|
|
%post
|
|
/bin/systemctl enable goenabled-worker.service
|
|
/bin/systemctl enable e_nova-init.service
|
|
/bin/systemctl enable qemu_clean.service
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_sysconfdir}/init.d/goenabledWorker
|
|
%{_sysconfdir}/init.d/e_nova-init
|
|
%{_sysconfdir}/init.d/nova-cleanup
|
|
%{_sysconfdir}/init.d/nova-startup
|
|
%{local_etc_nova}/nova-cleanup.conf
|
|
%{local_etc_nova}/nova-compute.conf
|
|
%{local_etc_pmond}/libvirtd.conf
|
|
%{local_etc_goenabledd}/nova-goenabled.sh
|
|
%{local_etc_goenabledd}/virt-support-goenabled.sh
|
|
%{_unitdir}/goenabled-worker.service
|
|
%{_unitdir}/e_nova-init.service
|
|
|
|
%license %{_datarootdir}/licenses/mtce-compute-1.0/LICENSE
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|