Commit fecb3df
committed
<fix>[ansible]: Optimize kvm host reconnection
Pass the host_info retrieved from kvm.py to zstacklib to avoid zstacklib
repeatedlly retrieving host_info.
Set variable IS_REMOTE_PIP_READY in zstacklib to record whether remote
host pip is available or not, to avoid checking whether pip exists every
time during pip install python package.
Optimize gather facts, add gather_subset=machine,processor to get only
the required info, and specify the required fields in the fitler param
to avoid excessive logging.
Resolves: ZSTAC-56230
Change-Id: I686771727a6278746165757374646579676f68791 parent 1375428 commit fecb3df
2 files changed
+17
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
| 151 | + | |
151 | 152 | | |
152 | 153 | | |
153 | 154 | | |
| |||
160 | 161 | | |
161 | 162 | | |
162 | 163 | | |
| 164 | + | |
163 | 165 | | |
164 | 166 | | |
165 | 167 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
| 232 | + | |
232 | 233 | | |
233 | 234 | | |
234 | 235 | | |
| |||
1022 | 1023 | | |
1023 | 1024 | | |
1024 | 1025 | | |
| 1026 | + | |
| 1027 | + | |
| 1028 | + | |
1025 | 1029 | | |
| 1030 | + | |
1026 | 1031 | | |
1027 | 1032 | | |
1028 | 1033 | | |
| |||
1043 | 1048 | | |
1044 | 1049 | | |
1045 | 1050 | | |
1046 | | - | |
1047 | | - | |
| 1051 | + | |
| 1052 | + | |
| 1053 | + | |
| 1054 | + | |
1048 | 1055 | | |
1049 | 1056 | | |
1050 | 1057 | | |
| |||
1542 | 1549 | | |
1543 | 1550 | | |
1544 | 1551 | | |
1545 | | - | |
| 1552 | + | |
| 1553 | + | |
| 1554 | + | |
1546 | 1555 | | |
1547 | 1556 | | |
1548 | 1557 | | |
| |||
2171 | 2180 | | |
2172 | 2181 | | |
2173 | 2182 | | |
2174 | | - | |
| 2183 | + | |
| 2184 | + | |
| 2185 | + | |
2175 | 2186 | | |
2176 | 2187 | | |
2177 | 2188 | | |
| |||
0 commit comments