ovirt 0.17.1 → 0.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ovirt/event.rb +463 -460
- data/lib/ovirt/logging.rb +3 -1
- data/lib/ovirt/service.rb +21 -9
- data/lib/ovirt/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a95d068a480c8e59a52f38ddd4bcc5911dd30583
|
4
|
+
data.tar.gz: 910d97320865a2af8598173e54c4705ff848b2ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c13180e3f09bd399b33d902415b702151d7dc32517ba8a725961f22a310a4f6ac5bca3b0bb9e5ed3345207761ee73355cb5489d2bde07fcdad7cc39186926ca
|
7
|
+
data.tar.gz: e885ef63cb886a662e46fe2f6c212d52d40039795c283bd824537af3fb5d8c3e71b437975284d8b22fa5da6333d32999b4dfab07a45234e6d0ea0268507da4e3
|
data/lib/ovirt/event.rb
CHANGED
@@ -24,465 +24,468 @@ module Ovirt
|
|
24
24
|
|
25
25
|
EVENT_CODES = {
|
26
26
|
# Code Description
|
27
|
-
0
|
28
|
-
1
|
29
|
-
2
|
30
|
-
12
|
31
|
-
13
|
32
|
-
14
|
33
|
-
15
|
34
|
-
16
|
35
|
-
17
|
36
|
-
18
|
37
|
-
19
|
38
|
-
20
|
39
|
-
21
|
40
|
-
22
|
41
|
-
26
|
42
|
-
30
|
43
|
-
31
|
44
|
-
32
|
45
|
-
33
|
46
|
-
34
|
47
|
-
35
|
48
|
-
36
|
49
|
-
37
|
50
|
-
38
|
51
|
-
39
|
52
|
-
40
|
53
|
-
41
|
54
|
-
42
|
55
|
-
43
|
56
|
-
44
|
57
|
-
45
|
58
|
-
46
|
59
|
-
47
|
60
|
-
48
|
61
|
-
49
|
62
|
-
50
|
63
|
-
51
|
64
|
-
52
|
65
|
-
53
|
66
|
-
54
|
67
|
-
55
|
68
|
-
56
|
69
|
-
57
|
70
|
-
58
|
71
|
-
59
|
72
|
-
60
|
73
|
-
61
|
74
|
-
62
|
75
|
-
63
|
76
|
-
64
|
77
|
-
65
|
78
|
-
66
|
79
|
-
68
|
80
|
-
69
|
81
|
-
70
|
82
|
-
71
|
83
|
-
72
|
84
|
-
73
|
85
|
-
74
|
86
|
-
75
|
87
|
-
76
|
88
|
-
77
|
89
|
-
78
|
90
|
-
79
|
91
|
-
80
|
92
|
-
81
|
93
|
-
82
|
94
|
-
83
|
95
|
-
84
|
96
|
-
85
|
97
|
-
86
|
98
|
-
87
|
99
|
-
88
|
100
|
-
89
|
101
|
-
90
|
102
|
-
91
|
103
|
-
92
|
104
|
-
93
|
105
|
-
94
|
106
|
-
95
|
107
|
-
96
|
108
|
-
97
|
109
|
-
98
|
110
|
-
99
|
111
|
-
100
|
112
|
-
101
|
113
|
-
102
|
114
|
-
103
|
115
|
-
104
|
116
|
-
105
|
117
|
-
106
|
118
|
-
107
|
119
|
-
108
|
120
|
-
109
|
121
|
-
110
|
122
|
-
111
|
123
|
-
112
|
124
|
-
113
|
125
|
-
114
|
126
|
-
115
|
127
|
-
116
|
128
|
-
117
|
129
|
-
118
|
130
|
-
119
|
131
|
-
120
|
132
|
-
121
|
133
|
-
122
|
134
|
-
123
|
135
|
-
124
|
136
|
-
125
|
137
|
-
126
|
138
|
-
127
|
139
|
-
128
|
140
|
-
129
|
141
|
-
130
|
142
|
-
131
|
143
|
-
132
|
144
|
-
133
|
145
|
-
134
|
146
|
-
135
|
147
|
-
136
|
148
|
-
137
|
149
|
-
138
|
150
|
-
139
|
151
|
-
140
|
152
|
-
141
|
153
|
-
142
|
154
|
-
143
|
155
|
-
144
|
156
|
-
145
|
157
|
-
147
|
158
|
-
149
|
159
|
-
150
|
160
|
-
151
|
161
|
-
152
|
162
|
-
153
|
163
|
-
182
|
164
|
-
201
|
165
|
-
204
|
166
|
-
250
|
167
|
-
251
|
168
|
-
300
|
169
|
-
301
|
170
|
-
302
|
171
|
-
303
|
172
|
-
304
|
173
|
-
305
|
174
|
-
306
|
175
|
-
307
|
176
|
-
308
|
177
|
-
309
|
178
|
-
310
|
179
|
-
311
|
180
|
-
312
|
181
|
-
313
|
182
|
-
314
|
183
|
-
315
|
184
|
-
316
|
185
|
-
317
|
186
|
-
318
|
187
|
-
319
|
188
|
-
320
|
189
|
-
325
|
190
|
-
326
|
191
|
-
327
|
192
|
-
328
|
193
|
-
329
|
194
|
-
330
|
195
|
-
331
|
196
|
-
332
|
197
|
-
333
|
198
|
-
334
|
199
|
-
335
|
200
|
-
336
|
201
|
-
337
|
202
|
-
338
|
203
|
-
339
|
204
|
-
342
|
205
|
-
343
|
206
|
-
344
|
207
|
-
345
|
208
|
-
346
|
209
|
-
347
|
210
|
-
348
|
211
|
-
349
|
212
|
-
350
|
213
|
-
351
|
214
|
-
352
|
215
|
-
353
|
216
|
-
354
|
217
|
-
355
|
218
|
-
356
|
219
|
-
357
|
220
|
-
360
|
221
|
-
361
|
222
|
-
400
|
223
|
-
401
|
224
|
-
402
|
225
|
-
403
|
226
|
-
404
|
227
|
-
405
|
228
|
-
406
|
229
|
-
407
|
230
|
-
408
|
231
|
-
409
|
232
|
-
430
|
233
|
-
431
|
234
|
-
432
|
235
|
-
433
|
236
|
-
434
|
237
|
-
435
|
238
|
-
436
|
239
|
-
437
|
240
|
-
438
|
241
|
-
439
|
242
|
-
440
|
243
|
-
441
|
244
|
-
442
|
245
|
-
443
|
246
|
-
444
|
247
|
-
445
|
248
|
-
446
|
249
|
-
447
|
250
|
-
448
|
251
|
-
449
|
252
|
-
450
|
253
|
-
451
|
254
|
-
452
|
255
|
-
453
|
256
|
-
454
|
257
|
-
455
|
258
|
-
456
|
259
|
-
457
|
260
|
-
458
|
261
|
-
459
|
262
|
-
460
|
263
|
-
461
|
264
|
-
462
|
265
|
-
463
|
266
|
-
467
|
267
|
-
468
|
268
|
-
470
|
269
|
-
471
|
270
|
-
472
|
271
|
-
473
|
272
|
-
494
|
273
|
-
495
|
274
|
-
496
|
275
|
-
497
|
276
|
-
498
|
277
|
-
499
|
278
|
-
500
|
279
|
-
501
|
280
|
-
502
|
281
|
-
503
|
282
|
-
504
|
283
|
-
505
|
284
|
-
506
|
285
|
-
507
|
286
|
-
509
|
287
|
-
510
|
288
|
-
511
|
289
|
-
512
|
290
|
-
513
|
291
|
-
514
|
292
|
-
515
|
293
|
-
516
|
294
|
-
517
|
295
|
-
518
|
296
|
-
519
|
297
|
-
520
|
298
|
-
521
|
299
|
-
522
|
300
|
-
523
|
301
|
-
524
|
302
|
-
525
|
303
|
-
526
|
304
|
-
527
|
305
|
-
528
|
306
|
-
529
|
307
|
-
530
|
308
|
-
531
|
309
|
-
533
|
310
|
-
555
|
311
|
-
556
|
312
|
-
600
|
313
|
-
601
|
314
|
-
602
|
315
|
-
603
|
316
|
-
605
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
27
|
+
0 => "UNASSIGNED",
|
28
|
+
1 => "VDC_START",
|
29
|
+
2 => "VDC_STOP",
|
30
|
+
12 => "HOST_FAILURE",
|
31
|
+
13 => "HOST_DETECTED",
|
32
|
+
14 => "HOST_RECOVER",
|
33
|
+
15 => "HOST_MAINTENANCE",
|
34
|
+
16 => "HOST_ACTIVATE",
|
35
|
+
17 => "HOST_MAINTENANCE_FAILED",
|
36
|
+
18 => "HOST_ACTIVATE_FAILED",
|
37
|
+
19 => "HOST_RECOVER_FAILED",
|
38
|
+
20 => "USER_HOST_START",
|
39
|
+
21 => "USER_HOST_STOP",
|
40
|
+
22 => "IRS_FAILURE",
|
41
|
+
26 => "IRS_DISK_SPACE_LOW",
|
42
|
+
30 => "USER_VDC_LOGIN",
|
43
|
+
31 => "USER_VDC_LOGOUT",
|
44
|
+
32 => "USER_RUN_VM",
|
45
|
+
33 => "USER_STOP_VM",
|
46
|
+
34 => "USER_ADD_VM",
|
47
|
+
35 => "USER_UPDATE_VM",
|
48
|
+
36 => "USER_REMOVE_VM",
|
49
|
+
37 => "USER_ADD_VM_STARTED",
|
50
|
+
38 => "USER_CHANGE_DISK_VM",
|
51
|
+
39 => "USER_PAUSE_VM",
|
52
|
+
40 => "USER_RESUME_VM",
|
53
|
+
41 => "USER_HOST_RESTART",
|
54
|
+
42 => "USER_ADD_HOST",
|
55
|
+
43 => "USER_UPDATE_HOST",
|
56
|
+
44 => "USER_REMOVE_HOST",
|
57
|
+
45 => "USER_CREATE_SNAPSHOT",
|
58
|
+
46 => "USER_TRY_BACK_TO_SNAPSHOT",
|
59
|
+
47 => "USER_RESTORE_FROM_SNAPSHOT",
|
60
|
+
48 => "USER_ADD_VM_TEMPLATE",
|
61
|
+
49 => "USER_UPDATE_VM_TEMPLATE",
|
62
|
+
50 => "USER_REMOVE_VM_TEMPLATE",
|
63
|
+
51 => "USER_ADD_VM_TEMPLATE_FINISHED_SUCCESS",
|
64
|
+
52 => "USER_ADD_VM_TEMPLATE_FINISHED_FAILURE",
|
65
|
+
53 => "USER_ADD_VM_FINISHED_SUCCESS",
|
66
|
+
54 => "USER_FAILED_RUN_VM",
|
67
|
+
55 => "USER_FAILED_PAUSE_VM",
|
68
|
+
56 => "USER_FAILED_STOP_VM",
|
69
|
+
57 => "USER_FAILED_ADD_VM",
|
70
|
+
58 => "USER_FAILED_UPDATE_VM",
|
71
|
+
59 => "USER_FAILED_REMOVE_VM",
|
72
|
+
60 => "USER_ADD_VM_FINISHED_FAILURE",
|
73
|
+
61 => "VM_DOWN",
|
74
|
+
62 => "VM_MIGRATION_START",
|
75
|
+
63 => "VM_MIGRATION_DONE",
|
76
|
+
64 => "VM_MIGRATION_ABORT",
|
77
|
+
65 => "VM_MIGRATION_FAILED",
|
78
|
+
66 => "VM_FAILURE",
|
79
|
+
68 => "USER_CREATE_SNAPSHOT_FINISHED_SUCCESS",
|
80
|
+
69 => "USER_CREATE_SNAPSHOT_FINISHED_FAILURE",
|
81
|
+
70 => "USER_RUN_VM_AS_STATELESS_FINISHED_FAILURE",
|
82
|
+
71 => "USER_TRY_BACK_TO_SNAPSHOT_FINISH_SUCCESS",
|
83
|
+
72 => "USER_CHANGE_FLOPPY_VM",
|
84
|
+
73 => "USER_INITIATED_SHUTDOWN_VM",
|
85
|
+
74 => "USER_FAILED_SHUTDOWN_VM",
|
86
|
+
75 => "USER_FAILED_CHANGE_FLOPPY_VM",
|
87
|
+
76 => "USER_STOPPED_VM_INSTEAD_OF_SHUTDOWN",
|
88
|
+
77 => "USER_FAILED_STOPPING_VM_INSTEAD_OF_SHUTDOWN",
|
89
|
+
78 => "USER_ADD_DISK_TO_VM",
|
90
|
+
79 => "USER_FAILED_ADD_DISK_TO_VM",
|
91
|
+
80 => "USER_REMOVE_DISK_FROM_VM",
|
92
|
+
81 => "USER_FAILED_REMOVE_DISK_FROM_VM",
|
93
|
+
82 => "USER_MOVED_VM",
|
94
|
+
83 => "USER_FAILED_MOVE_VM",
|
95
|
+
84 => "USER_MOVED_TEMPLATE",
|
96
|
+
85 => "USER_FAILED_MOVE_TEMPLATE",
|
97
|
+
86 => "USER_COPIED_TEMPLATE",
|
98
|
+
87 => "USER_FAILED_COPY_TEMPLATE",
|
99
|
+
88 => "USER_UPDATE_VM_DISK",
|
100
|
+
89 => "USER_FAILED_UPDATE_VM_DISK",
|
101
|
+
90 => "USER_HOST_SHUTDOWN",
|
102
|
+
91 => "USER_MOVED_VM_FINISHED_SUCCESS",
|
103
|
+
92 => "USER_MOVED_VM_FINISHED_FAILURE",
|
104
|
+
93 => "USER_MOVED_TEMPLATE_FINISHED_SUCCESS",
|
105
|
+
94 => "USER_MOVED_TEMPLATE_FINISHED_FAILURE",
|
106
|
+
95 => "USER_COPIED_TEMPLATE_FINISHED_SUCCESS",
|
107
|
+
96 => "USER_COPIED_TEMPLATE_FINISHED_FAILURE",
|
108
|
+
97 => "USER_ADD_DISK_TO_VM_FINISHED_SUCCESS",
|
109
|
+
98 => "USER_ADD_DISK_TO_VM_FINISHED_FAILURE",
|
110
|
+
99 => "USER_TRY_BACK_TO_SNAPSHOT_FINISH_FAILURE",
|
111
|
+
100 => "USER_RESTORE_FROM_SNAPSHOT_FINISH_SUCCESS",
|
112
|
+
101 => "USER_RESTORE_FROM_SNAPSHOT_FINISH_FAILURE",
|
113
|
+
102 => "USER_FAILED_CHANGE_DISK_VM",
|
114
|
+
103 => "USER_FAILED_RESUME_VM",
|
115
|
+
104 => "USER_FAILED_ADD_HOST",
|
116
|
+
105 => "USER_FAILED_UPDATE_HOST",
|
117
|
+
106 => "USER_FAILED_REMOVE_HOST",
|
118
|
+
107 => "USER_FAILED_HOST_RESTART",
|
119
|
+
108 => "USER_FAILED_ADD_VM_TEMPLATE",
|
120
|
+
109 => "USER_FAILED_UPDATE_VM_TEMPLATE",
|
121
|
+
110 => "USER_FAILED_REMOVE_VM_TEMPLATE",
|
122
|
+
111 => "USER_STOP_SUSPENDED_VM",
|
123
|
+
112 => "USER_STOP_SUSPENDED_VM_FAILED",
|
124
|
+
113 => "USER_REMOVE_VM_FINISHED",
|
125
|
+
114 => "USER_VDC_LOGIN_FAILED",
|
126
|
+
115 => "USER_FAILED_TRY_BACK_TO_SNAPSHOT",
|
127
|
+
116 => "USER_FAILED_RESTORE_FROM_SNAPSHOT",
|
128
|
+
117 => "USER_FAILED_CREATE_SNAPSHOT",
|
129
|
+
118 => "USER_FAILED_HOST_START",
|
130
|
+
119 => "VM_DOWN_ERROR",
|
131
|
+
120 => "VM_MIGRATION_FAILED_FROM_TO",
|
132
|
+
121 => "SYSTEM_HOST_RESTART",
|
133
|
+
122 => "SYSTEM_FAILED_HOST_RESTART",
|
134
|
+
123 => "HOST_SLOW_STORAGE_RESPONSE_TIME",
|
135
|
+
124 => "VM_IMPORT",
|
136
|
+
125 => "VM_IMPORT_FAILED",
|
137
|
+
126 => "VM_NOT_RESPONDING",
|
138
|
+
127 => "HOST_RUN_IN_NO_KVM_MODE",
|
139
|
+
128 => "VM_MIGRATION_TRYING_RERUN",
|
140
|
+
129 => "VM_CLEARED",
|
141
|
+
130 => "USER_FAILED_HOST_SHUTDOWN",
|
142
|
+
131 => "USER_EXPORT_VM",
|
143
|
+
132 => "USER_EXPORT_VM_FAILED",
|
144
|
+
133 => "USER_EXPORT_TEMPLATE",
|
145
|
+
134 => "USER_EXPORT_TEMPLATE_FAILED",
|
146
|
+
135 => "TEMPLATE_IMPORT",
|
147
|
+
136 => "TEMPLATE_IMPORT_FAILED",
|
148
|
+
137 => "USER_FAILED_HOST_STOP",
|
149
|
+
138 => "VM_PAUSED_ENOSPC",
|
150
|
+
139 => "VM_PAUSED_ERROR",
|
151
|
+
140 => "VM_MIGRATION_FAILED_DURING_MOVE_TO_MAINTANANCE",
|
152
|
+
141 => "HOST_VERSION_NOT_SUPPORTED_FOR_CLUSTER",
|
153
|
+
142 => "VM_SET_TO_UNKNOWN_STATUS",
|
154
|
+
143 => "VM_WAS_SET_DOWN_DUE_TO_HOST_REBOOT_OR_MANUAL_FENCE",
|
155
|
+
144 => "VM_IMPORT_INFO",
|
156
|
+
145 => "VM_BLK_VIRTIO_NO_CACHE",
|
157
|
+
147 => "VM_SHUTDOWN_FAILED",
|
158
|
+
149 => "USER_ADD",
|
159
|
+
150 => "USER_INITIATED_RUN_VM",
|
160
|
+
151 => "USER_INITIATED_RUN_VM_FAILED",
|
161
|
+
152 => "USER_RUN_VM_ON_NON_DEFAULT_HOST",
|
162
|
+
153 => "USER_STARTED_VM",
|
163
|
+
182 => "USER_FAILED_ATTACH_USER_TO_VM",
|
164
|
+
201 => "IRS_DISK_SPACE_LOW_ERROR",
|
165
|
+
204 => "IRS_HOSTED_ON_HOST",
|
166
|
+
250 => "USER_UPDATE_VM_CLUSTER_DEFAULT_HOST_CLEARED",
|
167
|
+
251 => "USER_REMOVE_VM_TEMPLATE_FINISHED",
|
168
|
+
300 => "USER_ADD_VM_POOL",
|
169
|
+
301 => "USER_ADD_VM_POOL_FAILED",
|
170
|
+
302 => "USER_ADD_VM_POOL_WITH_VMS",
|
171
|
+
303 => "USER_ADD_VM_POOL_WITH_VMS_FAILED",
|
172
|
+
304 => "USER_REMOVE_VM_POOL",
|
173
|
+
305 => "USER_REMOVE_VM_POOL_FAILED",
|
174
|
+
306 => "USER_ADD_VM_TO_POOL",
|
175
|
+
307 => "USER_ADD_VM_TO_POOL_FAILED",
|
176
|
+
308 => "USER_REMOVE_VM_FROM_POOL",
|
177
|
+
309 => "USER_REMOVE_VM_FROM_POOL_FAILED",
|
178
|
+
310 => "USER_ATTACH_USER_TO_POOL",
|
179
|
+
311 => "USER_ATTACH_USER_TO_POOL_FAILED",
|
180
|
+
312 => "USER_DETACH_USER_FROM_POOL",
|
181
|
+
313 => "USER_DETACH_USER_FROM_POOL_FAILED",
|
182
|
+
314 => "USER_UPDATE_VM_POOL",
|
183
|
+
315 => "USER_UPDATE_VM_POOL_FAILED",
|
184
|
+
316 => "USER_ATTACH_USER_TO_VM_FROM_POOL",
|
185
|
+
317 => "USER_ATTACH_USER_TO_VM_FROM_POOL_FAILED",
|
186
|
+
318 => "USER_ATTACH_USER_TO_VM_FROM_POOL_FINISHED_SUCCESS",
|
187
|
+
319 => "USER_ATTACH_USER_TO_VM_FROM_POOL_FINISHED_FAILURE",
|
188
|
+
320 => "USER_ADD_VM_POOL_WITH_VMS_ADD_HOST_FAILED",
|
189
|
+
325 => "USER_REMOVE_ADUSER",
|
190
|
+
326 => "USER_FAILED_REMOVE_ADUSER",
|
191
|
+
327 => "USER_FAILED_ADD_ADUSER",
|
192
|
+
328 => "USER_ATTACH_USER_TO_TIME_LEASED_POOL",
|
193
|
+
329 => "USER_ATTACH_USER_TO_TIME_LEASED_POOL_FAILED",
|
194
|
+
330 => "USER_DETACH_USER_FROM_TIME_LEASED_POOL",
|
195
|
+
331 => "USER_DETACH_USER_FROM_TIME_LEASED_POOL_FAILED",
|
196
|
+
332 => "USER_ATTACH_AD_GROUP_TO_TIME_LEASED_POOL",
|
197
|
+
333 => "USER_ATTACH_AD_GROUP_TO_TIME_LEASED_POOL_FAILED",
|
198
|
+
334 => "USER_DETACH_AD_GROUP_FROM_TIME_LEASED_POOL",
|
199
|
+
335 => "USER_DETACH_AD_GROUP_FROM_TIME_LEASED_POOL_FAILED",
|
200
|
+
336 => "USER_UPDATE_USER_TO_TIME_LEASED_POOL",
|
201
|
+
337 => "USER_UPDATE_USER_TO_TIME_LEASED_POOL_FAILED",
|
202
|
+
338 => "USER_UPDATE_AD_GROUP_TO_TIME_LEASED_POOL",
|
203
|
+
339 => "USER_UPDATE_AD_GROUP_TO_TIME_LEASED_POOL_FAILED",
|
204
|
+
342 => "USER_MERGE_SNAPSHOT",
|
205
|
+
343 => "USER_FAILED_MERGE_SNAPSHOT",
|
206
|
+
344 => "USER_UPDATE_VM_POOL_WITH_VMS",
|
207
|
+
345 => "USER_UPDATE_VM_POOL_WITH_VMS_FAILED",
|
208
|
+
346 => "USER_PASSWORD_CHANGED",
|
209
|
+
347 => "USER_PASSWORD_CHANGE_FAILED",
|
210
|
+
348 => "USER_CLEAR_UNKNOWN_VMS",
|
211
|
+
349 => "USER_FAILED_CLEAR_UNKNOWN_VMS",
|
212
|
+
350 => "USER_ADD_BOOKMARK",
|
213
|
+
351 => "USER_ADD_BOOKMARK_FAILED",
|
214
|
+
352 => "USER_UPDATE_BOOKMARK",
|
215
|
+
353 => "USER_UPDATE_BOOKMARK_FAILED",
|
216
|
+
354 => "USER_REMOVE_BOOKMARK",
|
217
|
+
355 => "USER_REMOVE_BOOKMARK_FAILED",
|
218
|
+
356 => "USER_MERGE_SNAPSHOT_FINISHED_SUCCESS",
|
219
|
+
357 => "USER_MERGE_SNAPSHOT_FINISHED_FAILURE",
|
220
|
+
360 => "USER_DETACH_USER_FROM_VM",
|
221
|
+
361 => "USER_FAILED_DETACH_USER_FROM_VM",
|
222
|
+
400 => "USER_ATTACH_VM_TO_AD_GROUP",
|
223
|
+
401 => "USER_ATTACH_VM_TO_AD_GROUP_FAILED",
|
224
|
+
402 => "USER_DETACH_VM_TO_AD_GROUP",
|
225
|
+
403 => "USER_DETACH_VM_TO_AD_GROUP_FAILED",
|
226
|
+
404 => "USER_ATTACH_VM_POOL_TO_AD_GROUP",
|
227
|
+
405 => "USER_ATTACH_VM_POOL_TO_AD_GROUP_FAILED",
|
228
|
+
406 => "USER_DETACH_VM_POOL_TO_AD_GROUP",
|
229
|
+
407 => "USER_DETACH_VM_POOL_TO_AD_GROUP_FAILED",
|
230
|
+
408 => "USER_REMOVE_AD_GROUP",
|
231
|
+
409 => "USER_REMOVE_AD_GROUP_FAILED",
|
232
|
+
430 => "USER_UPDATE_TAG",
|
233
|
+
431 => "USER_UPDATE_TAG_FAILED",
|
234
|
+
432 => "USER_ADD_TAG",
|
235
|
+
433 => "USER_ADD_TAG_FAILED",
|
236
|
+
434 => "USER_REMOVE_TAG",
|
237
|
+
435 => "USER_REMOVE_TAG_FAILED",
|
238
|
+
436 => "USER_ATTACH_TAG_TO_USER",
|
239
|
+
437 => "USER_ATTACH_TAG_TO_USER_FAILED",
|
240
|
+
438 => "USER_ATTACH_TAG_TO_USER_GROUP",
|
241
|
+
439 => "USER_ATTACH_TAG_TO_USER_GROUP_FAILED",
|
242
|
+
440 => "USER_ATTACH_TAG_TO_VM",
|
243
|
+
441 => "USER_ATTACH_TAG_TO_VM_FAILED",
|
244
|
+
442 => "USER_ATTACH_TAG_TO_HOST",
|
245
|
+
443 => "USER_ATTACH_TAG_TO_HOST_FAILED",
|
246
|
+
444 => "USER_DETACH_HOST_FROM_TAG",
|
247
|
+
445 => "USER_DETACH_HOST_FROM_TAG_FAILED",
|
248
|
+
446 => "USER_DETACH_VM_FROM_TAG",
|
249
|
+
447 => "USER_DETACH_VM_FROM_TAG_FAILED",
|
250
|
+
448 => "USER_DETACH_USER_FROM_TAG",
|
251
|
+
449 => "USER_DETACH_USER_FROM_TAG_FAILED",
|
252
|
+
450 => "USER_DETACH_USER_GROUP_FROM_TAG",
|
253
|
+
451 => "USER_DETACH_USER_GROUP_FROM_TAG_FAILED",
|
254
|
+
452 => "USER_ATTACH_TAG_TO_USER_EXISTS",
|
255
|
+
453 => "USER_ATTACH_TAG_TO_USER_GROUP_EXISTS",
|
256
|
+
454 => "USER_ATTACH_TAG_TO_VM_EXISTS",
|
257
|
+
455 => "USER_ATTACH_TAG_TO_HOST_EXISTS",
|
258
|
+
456 => "USER_LOGGED_IN_VM",
|
259
|
+
457 => "USER_LOGGED_OUT_VM",
|
260
|
+
458 => "USER_LOCKED_VM",
|
261
|
+
459 => "USER_UNLOCKED_VM",
|
262
|
+
460 => "USER_DETACH_USER_FROM_TIME_LEASED_POOL_INTERNAL",
|
263
|
+
461 => "USER_DETACH_USER_FROM_TIME_LEASED_POOL_FAILED_INTERNAL",
|
264
|
+
462 => "USER_DETACH_AD_GROUP_FROM_TIME_LEASED_POOL_INTERNAL",
|
265
|
+
463 => "USER_DETACH_AD_GROUP_FROM_TIME_LEASED_POOL_FAILED_INTERNAL",
|
266
|
+
467 => "UPDATE_TAGS_VM_DEFAULT_DISPLAY_TYPE",
|
267
|
+
468 => "UPDATE_TAGS_VM_DEFAULT_DISPLAY_TYPE_FAILED",
|
268
|
+
470 => "USER_ATTACH_VM_POOL_TO_AD_GROUP_INTERNAL",
|
269
|
+
471 => "USER_ATTACH_VM_POOL_TO_AD_GROUP_FAILED_INTERNAL",
|
270
|
+
472 => "USER_ATTACH_USER_TO_POOL_INTERNAL",
|
271
|
+
473 => "USER_ATTACH_USER_TO_POOL_FAILED_INTERNAL",
|
272
|
+
494 => "HOST_MANUAL_FENCE_STATUS",
|
273
|
+
495 => "HOST_MANUAL_FENCE_STATUS_FAILED",
|
274
|
+
496 => "HOST_FENCE_STATUS",
|
275
|
+
497 => "HOST_FENCE_STATUS_FAILED",
|
276
|
+
498 => "HOST_APPROVE",
|
277
|
+
499 => "HOST_APPROVE_FAILED",
|
278
|
+
500 => "HOST_FAILED_TO_RUN_VMS",
|
279
|
+
501 => "USER_SUSPEND_VM",
|
280
|
+
502 => "USER_FAILED_SUSPEND_VM",
|
281
|
+
503 => "USER_SUSPEND_VM_OK",
|
282
|
+
504 => "HOST_INSTALL",
|
283
|
+
505 => "HOST_INSTALL_FAILED",
|
284
|
+
506 => "HOST_INITIATED_RUN_VM",
|
285
|
+
507 => "HOST_INITIATED_RUN_VM_FAILED",
|
286
|
+
509 => "HOST_INSTALL_IN_PROGRESS",
|
287
|
+
510 => "HOST_INSTALL_IN_PROGRESS_WARNING",
|
288
|
+
511 => "HOST_INSTALL_IN_PROGRESS_ERROR",
|
289
|
+
512 => "USER_SUSPEND_VM_FINISH_SUCCESS",
|
290
|
+
513 => "HOST_RECOVER_FAILED_VMS_UNKNOWN",
|
291
|
+
514 => "HOST_INITIALIZING",
|
292
|
+
515 => "HOST_CPU_LOWER_THAN_CLUSTER",
|
293
|
+
516 => "HOST_CPU_RETRIEVE_FAILED",
|
294
|
+
517 => "HOST_SET_NONOPERATIONAL",
|
295
|
+
518 => "HOST_SET_NONOPERATIONAL_FAILED",
|
296
|
+
519 => "HOST_SET_NONOPERATIONAL_NETWORK",
|
297
|
+
520 => "USER_ATTACH_USER_TO_VM",
|
298
|
+
521 => "USER_SUSPEND_VM_FINISH_FAILURE",
|
299
|
+
522 => "HOST_SET_NONOPERATIONAL_DOMAIN",
|
300
|
+
523 => "HOST_SET_NONOPERATIONAL_DOMAIN_FAILED",
|
301
|
+
524 => "HOST_DOMAIN_DELAY_INTERVAL",
|
302
|
+
525 => "AUTO_SUSPEND_VM_FINISH_SUCCESS",
|
303
|
+
526 => "AUTO_SUSPEND_VM_FINISH_FAILURE",
|
304
|
+
527 => "AUTO_FAILED_SUSPEND_VM",
|
305
|
+
528 => "USER_EJECT_VM_DISK",
|
306
|
+
529 => "USER_EJECT_VM_FLOPPY",
|
307
|
+
530 => "HOST_MANUAL_FENCE_FAILED_CALL_FENCE_SPM",
|
308
|
+
531 => "HOST_LOW_MEM",
|
309
|
+
533 => "VDS_HIGH_NETWORK_USE",
|
310
|
+
555 => "USER_MOVE_TAG",
|
311
|
+
556 => "USER_MOVE_TAG_FAILED",
|
312
|
+
600 => "USER_HOST_MAINTENANCE",
|
313
|
+
601 => "CPU_FLAGS_NX_IS_MISSING",
|
314
|
+
602 => "USER_HOST_MAINTENANCE_MIGRATION_FAILED",
|
315
|
+
603 => "HOST_SET_NONOPERATIONAL_IFACE_DOWN",
|
316
|
+
605 => "HOST_USED_AS_PROXY",
|
317
|
+
620 => "USER_HOST_MAINTENANCE",
|
318
|
+
800 => "IMAGES_SYNCRONIZER_DESKTOP_NOT_EXIST_IN_VDC",
|
319
|
+
801 => "IMAGES_SYNCRONIZER_TEMPLATE_NOT_EXIST_IMAGE_EXIST",
|
320
|
+
802 => "IMAGES_SYNCRONIZER_SNAPSHOT_NOT_EXIST_IN_VDC",
|
321
|
+
803 => "IMAGES_SYNCRONIZER_SNAPSHOTS_NOT_ATTACHED_TO_VM_IN_VDC",
|
322
|
+
804 => "IMAGES_SYNCRONIZER_TEMPLATE_NOT_EXIST_IN_VDC",
|
323
|
+
805 => "IMAGES_SYNCRONIZER_DESKTOP_NOT_EXIST_IN_IRS",
|
324
|
+
806 => "IMAGES_SYNCRONIZER_SNAPSHOT_NOT_EXIST_IN_IRS",
|
325
|
+
807 => "IMAGES_SYNCRONIZER_DESKTOP_WITHOUT_TEMPLATE_VDC",
|
326
|
+
808 => "IMAGES_SYNCRONIZER_IMAGE_TEMPLATE_NOT_EXIST",
|
327
|
+
809 => "USER_ADD_HOST_GROUP",
|
328
|
+
810 => "USER_ADD_HOST_GROUP_FAILED",
|
329
|
+
811 => "USER_UPDATE_HOST_GROUP",
|
330
|
+
812 => "USER_UPDATE_HOST_GROUP_FAILED",
|
331
|
+
813 => "USER_REMOVE_HOST_GROUP",
|
332
|
+
814 => "USER_REMOVE_HOST_GROUP_FAILED",
|
333
|
+
815 => "USER_VDC_LOGOUT_FAILED",
|
334
|
+
816 => "MAC_POOL_EMPTY",
|
335
|
+
817 => "CERTIFICATE_FILE_NOT_FOUND",
|
336
|
+
818 => "RUN_VM_FAILED",
|
337
|
+
819 => "HOST_REGISTER_ERROR_UPDATING_HOST",
|
338
|
+
820 => "HOST_REGISTER_ERROR_UPDATING_HOST_ALL_TAKEN",
|
339
|
+
821 => "HOST_REGISTER_HOST_IS_ACTIVE",
|
340
|
+
822 => "HOST_REGISTER_ERROR_UPDATING_NAME",
|
341
|
+
823 => "HOST_REGISTER_ERROR_UPDATING_NAMES_ALL_TAKEN",
|
342
|
+
824 => "HOST_REGISTER_NAME_IS_ACTIVE",
|
343
|
+
825 => "HOST_REGISTER_AUTO_APPROVE_PATTERN",
|
344
|
+
826 => "HOST_REGISTER_FAILED",
|
345
|
+
827 => "HOST_REGISTER_EXISTING_HOST_UPDATE_FAILED",
|
346
|
+
828 => "HOST_REGISTER_SUCCEEDED",
|
347
|
+
829 => "VM_MIGRATION_ON_CONNECT_CHECK_FAILED",
|
348
|
+
830 => "VM_MIGRATION_ON_CONNECT_CHECK_SUCCEEDED",
|
349
|
+
831 => "USER_DEDICATE_VM_TO_POWERCLIENT",
|
350
|
+
832 => "USER_DEDICATE_VM_TO_POWERCLIENT_FAILED",
|
351
|
+
833 => "MAC_ADDRESS_IS_IN_USE",
|
352
|
+
835 => "SYSTEM_UPDATE_HOST_GROUP",
|
353
|
+
836 => "SYSTEM_UPDATE_HOST_GROUP_FAILED",
|
354
|
+
850 => "USER_ADD_PERMISSION",
|
355
|
+
851 => "USER_ADD_PERMISSION_FAILED",
|
356
|
+
852 => "USER_REMOVE_PERMISSION",
|
357
|
+
853 => "USER_REMOVE_PERMISSION_FAILED",
|
358
|
+
854 => "USER_ADD_ROLE",
|
359
|
+
855 => "USER_ADD_ROLE_FAILED",
|
360
|
+
856 => "USER_UPDATE_ROLE",
|
361
|
+
857 => "USER_UPDATE_ROLE_FAILED",
|
362
|
+
858 => "USER_REMOVE_ROLE",
|
363
|
+
859 => "USER_REMOVE_ROLE_FAILED",
|
364
|
+
860 => "USER_ATTACHED_ACTION_GROUP_TO_ROLE",
|
365
|
+
861 => "USER_ATTACHED_ACTION_GROUP_TO_ROLE_FAILED",
|
366
|
+
862 => "USER_DETACHED_ACTION_GROUP_FROM_ROLE",
|
367
|
+
863 => "USER_DETACHED_ACTION_GROUP_FROM_ROLE_FAILED",
|
368
|
+
864 => "USER_ADD_ROLE_WITH_ACTION_GROUP",
|
369
|
+
865 => "USER_ADD_ROLE_WITH_ACTION_GROUP_FAILED",
|
370
|
+
900 => "AD_COMPUTER_ACCOUNT_SUCCEEDED",
|
371
|
+
901 => "AD_COMPUTER_ACCOUNT_FAILED",
|
372
|
+
920 => "NETWORK_ATTACH_NETWORK_TO_HOST",
|
373
|
+
921 => "NETWORK_ATTACH_NETWORK_TO_HOST_FAILED",
|
374
|
+
922 => "NETWORK_DETACH_NETWORK_FROM_HOST",
|
375
|
+
923 => "NETWORK_DETACH_NETWORK_FROM_HOST_FAILED",
|
376
|
+
924 => "NETWORK_ADD_BOND",
|
377
|
+
925 => "NETWORK_ADD_BOND_FAILED",
|
378
|
+
926 => "NETWORK_REMOVE_BOND",
|
379
|
+
927 => "NETWORK_REMOVE_BOND_FAILED",
|
380
|
+
928 => "NETWORK_HOST_NETWORK_MATCH_CLUSTER",
|
381
|
+
929 => "NETWORK_HOST_NETWORK_NOT_MATCH_CLUSTER",
|
382
|
+
930 => "NETWORK_REMOVE_VM_INTERFACE",
|
383
|
+
931 => "NETWORK_REMOVE_VM_INTERFACE_FAILED",
|
384
|
+
932 => "NETWORK_ADD_VM_INTERFACE",
|
385
|
+
933 => "NETWORK_ADD_VM_INTERFACE_FAILED",
|
386
|
+
934 => "NETWORK_UPDATE_VM_INTERFACE",
|
387
|
+
935 => "NETWORK_UPDATE_VM_INTERFACE_FAILED",
|
388
|
+
936 => "NETWORK_ADD_TEMPLATE_INTERFACE",
|
389
|
+
937 => "NETWORK_ADD_TEMPLATE_INTERFACE_FAILED",
|
390
|
+
938 => "NETWORK_REMOVE_TEMPLATE_INTERFACE",
|
391
|
+
939 => "NETWORK_REMOVE_TEMPLATE_INTERFACE_FAILED",
|
392
|
+
940 => "NETWORK_UPDATE_TEMPLATE_INTERFACE",
|
393
|
+
941 => "NETWORK_UPDATE_TEMPLATE_INTERFACE_FAILED",
|
394
|
+
942 => "NETWORK_ADD_NETWORK",
|
395
|
+
943 => "NETWORK_ADD_NETWORK_FAILED",
|
396
|
+
944 => "NETWORK_REMOVE_NETWORK",
|
397
|
+
945 => "NETWORK_REMOVE_NETWORK_FAILED",
|
398
|
+
946 => "NETWORK_ATTACH_NETWORK_TO_HOST_GROUP",
|
399
|
+
947 => "NETWORK_ATTACH_NETWORK_TO_HOST_GROUP_FAILED",
|
400
|
+
948 => "NETWORK_DETACH_NETWORK_TO_HOST_GROUP",
|
401
|
+
949 => "NETWORK_DETACH_NETWORK_TO_HOST_GROUP_FAILED",
|
402
|
+
950 => "USER_ADD_STORAGE_POOL",
|
403
|
+
951 => "USER_ADD_STORAGE_POOL_FAILED",
|
404
|
+
952 => "USER_UPDATE_STORAGE_POOL",
|
405
|
+
953 => "USER_UPDATE_STORAGE_POOL_FAILED",
|
406
|
+
954 => "USER_REMOVE_STORAGE_POOL",
|
407
|
+
955 => "USER_REMOVE_STORAGE_POOL_FAILED",
|
408
|
+
956 => "USER_ADD_STORAGE_DOMAIN",
|
409
|
+
957 => "USER_ADD_STORAGE_DOMAIN_FAILED",
|
410
|
+
958 => "USER_UPDATE_STORAGE_DOMAIN",
|
411
|
+
959 => "USER_UPDATE_STORAGE_DOMAIN_FAILED",
|
412
|
+
960 => "USER_REMOVE_STORAGE_DOMAIN",
|
413
|
+
961 => "USER_REMOVE_STORAGE_DOMAIN_FAILED",
|
414
|
+
962 => "USER_ATTACH_STORAGE_DOMAIN_TO_POOL",
|
415
|
+
963 => "USER_ATTACH_STORAGE_DOMAIN_TO_POOL_FAILED",
|
416
|
+
964 => "USER_DETACH_STORAGE_DOMAIN_FROM_POOL",
|
417
|
+
965 => "USER_DETACH_STORAGE_DOMAIN_FROM_POOL_FAILED",
|
418
|
+
966 => "USER_ACTIVATED_STORAGE_DOMAIN",
|
419
|
+
967 => "USER_ACTIVATE_STORAGE_DOMAIN_FAILED",
|
420
|
+
968 => "USER_DEACTIVATED_STORAGE_DOMAIN",
|
421
|
+
969 => "USER_DEACTIVATE_STORAGE_DOMAIN_FAILED",
|
422
|
+
970 => "SYSTEM_DEACTIVATED_STORAGE_DOMAIN",
|
423
|
+
971 => "SYSTEM_DEACTIVATE_STORAGE_DOMAIN_FAILED",
|
424
|
+
972 => "USER_EXTENDED_STORAGE_DOMAIN",
|
425
|
+
973 => "USER_EXTENDED_STORAGE_DOMAIN_FAILED",
|
426
|
+
974 => "USER_REMOVE_VG",
|
427
|
+
975 => "USER_REMOVE_VG_FAILED",
|
428
|
+
976 => "USER_ACTIVATE_STORAGE_POOL",
|
429
|
+
977 => "USER_ACTIVATE_STORAGE_POOL_FAILED",
|
430
|
+
978 => "SYSTEM_FAILED_CHANGE_STORAGE_POOL_STATUS",
|
431
|
+
979 => "SYSTEM_CHANGE_STORAGE_POOL_STATUS_NO_HOST_FOR_SPM",
|
432
|
+
980 => "SYSTEM_CHANGE_STORAGE_POOL_STATUS_PROBLEMATIC",
|
433
|
+
981 => "USER_FORCE_REMOVE_STORAGE_DOMAIN",
|
434
|
+
982 => "USER_FORCE_REMOVE_STORAGE_DOMAIN_FAILED",
|
435
|
+
983 => "RECONSTRUCT_MASTER_FAILED_NO_MASTER",
|
436
|
+
984 => "RECONSTRUCT_MASTER_DONE",
|
437
|
+
985 => "RECONSTRUCT_MASTER_FAILED",
|
438
|
+
986 => "SYSTEM_CHANGE_STORAGE_POOL_STATUS_PROBLEMATIC_SEARCHING_NEW_SPM",
|
439
|
+
987 => "SYSTEM_CHANGE_STORAGE_POOL_STATUS_PROBLEMATIC_WITH_ERROR",
|
440
|
+
988 => "USER_CONNECT_HOSTS_TO_LUN_FAILED",
|
441
|
+
989 => "SYSTEM_CHANGE_STORAGE_POOL_STATUS_PROBLEMATIC_FROM_NON_OPERATIONAL",
|
442
|
+
990 => "SYSTEM_MASTER_DOMAIN_NOT_IN_SYNC",
|
443
|
+
991 => "RECOVERY_STORAGE_POOL",
|
444
|
+
992 => "RECOVERY_STORAGE_POOL_FAILED",
|
445
|
+
993 => "SYSTEM_CHANGE_STORAGE_POOL_STATUS_RESET_IRS",
|
446
|
+
994 => "CONNECT_STORAGE_SERVERS_FAILED",
|
447
|
+
995 => "CONNECT_STORAGE_POOL_FAILED",
|
448
|
+
996 => "STORAGE_DOMAIN_ERROR",
|
449
|
+
998 => "ISO_DOMAIN_REFRESH_SUCCESSFUL",
|
450
|
+
1012 => "NETWORK_INTERFACE_PLUGGED_INTO_VM",
|
451
|
+
1100 => "NETWORK_UPDATE_DISPLAY_TO_HOST_GROUP",
|
452
|
+
1101 => "NETWORK_UPDATE_DISPLAY_TO_HOST_GROUP_FAILED",
|
453
|
+
1102 => "NETWORK_UPDATE_NETWORK_TO_HOST_INTERFACE",
|
454
|
+
1103 => "NETWORK_UPDATE_NETWORK_TO_HOST_INTERFACE_FAILED",
|
455
|
+
1104 => "NETWORK_COMMINT_NETWORK_CHANGES",
|
456
|
+
1105 => "NETWORK_COMMINT_NETWORK_CHANGES_FAILED",
|
457
|
+
1106 => "NETWORK_HOST_USING_WRONG_CLUSER_VLAN",
|
458
|
+
1107 => "NETWORK_HOST_MISSING_CLUSER_VLAN",
|
459
|
+
1150 => "IMPORTEXPORT_EXPORT_VM",
|
460
|
+
1151 => "IMPORTEXPORT_EXPORT_VM_FAILED",
|
461
|
+
1152 => "IMPORTEXPORT_IMPORT_VM",
|
462
|
+
1153 => "IMPORTEXPORT_IMPORT_VM_FAILED",
|
463
|
+
1154 => "IMPORTEXPORT_REMOVE_TEMPLATE",
|
464
|
+
1155 => "IMPORTEXPORT_REMOVE_TEMPLATE_FAILED",
|
465
|
+
1156 => "IMPORTEXPORT_EXPORT_TEMPLATE",
|
466
|
+
1157 => "IMPORTEXPORT_EXPORT_TEMPLATE_FAILED",
|
467
|
+
1158 => "IMPORTEXPORT_IMPORT_TEMPLATE",
|
468
|
+
1159 => "IMPORTEXPORT_IMPORT_TEMPLATE_FAILED",
|
469
|
+
1160 => "IMPORTEXPORT_REMOVE_VM",
|
470
|
+
1161 => "IMPORTEXPORT_REMOVE_VM_FAILED",
|
471
|
+
1162 => "IMPORTEXPORT_STARTING_EXPORT_VM",
|
472
|
+
1163 => "IMPORTEXPORT_STARTING_IMPORT_TEMPLATE",
|
473
|
+
1164 => "IMPORTEXPORT_STARTING_EXPORT_TEMPLATE",
|
474
|
+
1165 => "IMPORTEXPORT_STARTING_IMPORT_VM",
|
475
|
+
1166 => "IMPORTEXPORT_STARTING_REMOVE_TEMPLATE",
|
476
|
+
1167 => "IMPORTEXPORT_STARTING_REMOVE_VM",
|
477
|
+
1168 => "IMPORTEXPORT_FAILED_TO_IMPORT_VM",
|
478
|
+
1169 => "IMPORTEXPORT_FAILED_TO_IMPORT_TEMPLATE",
|
479
|
+
1200 => "VM_RENAMED",
|
480
|
+
9000 => "HOST_ALERT_FENCING_IS_NOT_CONFIGURED",
|
481
|
+
9001 => "HOST_ALERT_FENCING_TEST_FAILED",
|
482
|
+
9002 => "HOST_ALERT_FENCING_OPERATION_FAILED",
|
483
|
+
9003 => "HOST_ALERT_FENCING_OPERATION_SKIPPED",
|
484
|
+
9004 => "HOST_ALERT_FENCING_NO_PROXY_HOST",
|
485
|
+
9500 => "TASK_STOPPING_ASYNC_TASK",
|
486
|
+
9501 => "TASK_CLEARING_ASYNC_TASK",
|
487
|
+
10452 => "USER_HOST_MAINTENANCE",
|
488
|
+
10453 => "USER_HOST_MAINTENANCE"
|
489
|
+
}.freeze
|
487
490
|
end
|
488
491
|
end
|
data/lib/ovirt/logging.rb
CHANGED
data/lib/ovirt/service.rb
CHANGED
@@ -62,14 +62,8 @@ module Ovirt
|
|
62
62
|
@api_path = @options[:path]
|
63
63
|
@ca_certs = @options[:ca_certs]
|
64
64
|
|
65
|
-
#
|
66
|
-
# is called, or, if that is never called, when the Ruby process finishes.
|
65
|
+
# The temporary file to store the CA certificates will be created when needed:
|
67
66
|
@ca_file = nil
|
68
|
-
if @ca_certs
|
69
|
-
@ca_file = Tempfile.new('ca_file')
|
70
|
-
@ca_file.write(@ca_certs)
|
71
|
-
@ca_file.close
|
72
|
-
end
|
73
67
|
end
|
74
68
|
|
75
69
|
def inspect # just like the default inspect, but WITHOUT @password
|
@@ -156,7 +150,10 @@ module Ovirt
|
|
156
150
|
|
157
151
|
def disconnect
|
158
152
|
# Remove the temporary file that was created to store the trusted CA certificates:
|
159
|
-
|
153
|
+
if @ca_file
|
154
|
+
@ca_file.unlink
|
155
|
+
@ca_file = nil
|
156
|
+
end
|
160
157
|
end
|
161
158
|
|
162
159
|
def get_resource_by_ems_ref(uri_suffix, element_name = nil)
|
@@ -392,7 +389,7 @@ module Ovirt
|
|
392
389
|
options[:timeout] = timeout if timeout
|
393
390
|
options[:open_timeout] = open_timeout if open_timeout
|
394
391
|
options[:verify_ssl] = verify_ssl unless verify_ssl.nil?
|
395
|
-
options[:ssl_ca_file] =
|
392
|
+
options[:ssl_ca_file] = ca_file.path if ca_file
|
396
393
|
options
|
397
394
|
end
|
398
395
|
|
@@ -467,5 +464,20 @@ module Ovirt
|
|
467
464
|
v = v.sub("-", ".").split(".")[0..3]
|
468
465
|
Hash[[:major, :minor, :revision, :build].zip(v)]
|
469
466
|
end
|
467
|
+
|
468
|
+
#
|
469
|
+
# Returns a file object containing the trusted CA certificates. The file will be created if it
|
470
|
+
# doesn't exist, and it shouldn't be removed or modified by the caller.
|
471
|
+
#
|
472
|
+
# @return [File] The temporary file containing the trusted CA certificates, or nil if no custom
|
473
|
+
# CA certificates are used by the connection.
|
474
|
+
#
|
475
|
+
def ca_file
|
476
|
+
return unless @ca_certs
|
477
|
+
@ca_file ||= Tempfile.new('ca_file').tap do |tempfile|
|
478
|
+
tempfile.write(@ca_certs)
|
479
|
+
tempfile.close
|
480
|
+
end
|
481
|
+
end
|
470
482
|
end
|
471
483
|
end
|
data/lib/ovirt/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ovirt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.18.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jason Frey
|
@@ -26,7 +26,7 @@ authors:
|
|
26
26
|
autorequire:
|
27
27
|
bindir: bin
|
28
28
|
cert_chain: []
|
29
|
-
date: 2017-
|
29
|
+
date: 2017-08-25 00:00:00.000000000 Z
|
30
30
|
dependencies:
|
31
31
|
- !ruby/object:Gem::Dependency
|
32
32
|
name: activesupport
|
@@ -246,7 +246,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
246
246
|
version: '0'
|
247
247
|
requirements: []
|
248
248
|
rubyforge_project:
|
249
|
-
rubygems_version: 2.
|
249
|
+
rubygems_version: 2.5.2
|
250
250
|
signing_key:
|
251
251
|
specification_version: 4
|
252
252
|
summary: Ovirt provides a simple Object Oriented interface to the REST API of oVirt
|