blob: b9858a73a67d1d2ad118b3b44ea44b56fbd80e91 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
|
%define debug_package %{nil}
Name: gala-spider
Version: 2.0.1
Release: 1
Summary: OS topological graph storage service and cause inference service for gala-ops project
License: MulanPSL2
URL: https://gitee.com/openeuler/gala-spider
Source0: %{name}-%{version}.tar.gz
BuildRequires: python3-setuptools systemd
Requires: python3-%{name} = %{version}-%{release}
%description
OS topological graph storage service for gala-ops project
%package -n gala-ops
Summary: gala-anteater/spider/inference installation package
Requires: gala-anteater gala-inference gala-spider
%description -n gala-ops
This package requires gala-anteater/spider/inference, allowing users to install them all at once
%package -n python3-%{name}
Summary: Python3 package of gala-spider
Requires: python3-kafka-python python3-pyyaml python3-pyarango python3-requests
%description -n python3-%{name}
Python3 package of gala-spider
%package -n gala-inference
Summary: Cause inference module for gala-ops project
Requires: python3-gala-inference = %{version}-%{release}
%description -n gala-inference
Cause inference module for A-Ops project
%package -n python3-gala-inference
Summary: Python3 package of gala-inference
Requires: python3-%{name} = %{version}-%{release} python3-networkx python3-scipy
%description -n python3-gala-inference
Python3 package of gala-inference
%prep
%autosetup -p1
%build
%py3_build
%install
%py3_install
%pre
if [ -f "%{_unitdir}/gala-spider.service" ] ; then
systemctl enable gala-spider.service || :
fi
%post
%systemd_post gala-spider.service
%preun
%systemd_preun gala-spider.service
%postun
%systemd_postun_with_restart gala-spider.service
%pre -n gala-inference
if [ -f "%{_unitdir}/gala-inference.service" ] ; then
systemctl enable gala-inference.service || :
fi
%post -n gala-inference
%systemd_post gala-inference.service
%preun -n gala-inference
%systemd_preun gala-inference.service
%postun -n gala-inference
%systemd_postun_with_restart gala-inference.service
%files
%doc README.md docs/*
%license LICENSE
%config(noreplace) %{_sysconfdir}/%{name}/gala-spider.yaml
%config(noreplace) %{_sysconfdir}/%{name}/topo-relation.yaml
%config(noreplace) %{_sysconfdir}/%{name}/ext-observe-meta.yaml
%{_bindir}/spider-storage
%{_unitdir}/gala-spider.service
%files -n gala-ops
%defattr(-,root,root)
%files -n python3-%{name}
%{python3_sitelib}/spider/*
%{python3_sitelib}/gala_spider-*.egg-info
%files -n gala-inference
%doc README.md docs/*
%license LICENSE
%config(noreplace) %{_sysconfdir}/gala-inference/gala-inference.yaml
%config(noreplace) %{_sysconfdir}/gala-inference/ext-observe-meta.yaml
%config(noreplace) %{_sysconfdir}/gala-inference/infer-rule.yaml
%config(noreplace) %{_sysconfdir}/gala-inference/cause-keyword.yaml
%{_bindir}/gala-inference
%{_unitdir}/gala-inference.service
%files -n python3-gala-inference
%{python3_sitelib}/cause_inference/*
%{python3_sitelib}/gala_spider-*.egg-info
%changelog
* Thu Aug 22 2024 algorithmofdish <hexiujun1@huawei.com> - 1.0.2-1
- Update to 1.0.2: support pod-level topo
* Wed Dec 21 2022 algorithmofdish <hexiujun1@huawei.com> - 1.0.1-3
- Optimize infer rule config
* Thu Dec 15 2022 algorithmofdish <hexiujun1@huawei.com> - 1.0.1-2
- Optimize cause location with time delay
* Wed Dec 14 2022 algorithmofdish <hexiujun1@huawei.com> - 1.0.1-1
- Update to 1.0.1: support cross host cause location
* Sat Dec 10 2022 algorithmofdish <hexiujun1@huawei.com> - 1.0.0-6
- Adaptation for abnormal event output change
* Tue Dec 6 2022 Zhen Chen <chenzhen126@huawei.com> - 1.0.0-5
- Provide gala-ops package to install anteater/spider/inference at once
* Mon Dec 5 2022 tangxin xie <xietangxin@huawei.com> - 1.0.0-4
- add restart service when update software
* Tue Nov 22 2022 algorithmofdish <hexiujun1@huawei.com> - 1.0.0-3
- Cause inference optimization
* Mon Nov 14 2022 Zhen Chen <chenzhen126@huawei.com> - 1.0.0-2
- Update 1.0.0 tarball
* Sun Nov 13 2022 Zhen Chen <chenzhen126@huawei.com> - 1.0.0-1
- Package init
|