ovirt 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rspec +0 -1
- data/README.md +1 -1
- data/lib/ovirt/api.rb +3 -4
- data/lib/ovirt/base.rb +47 -44
- data/lib/ovirt/cluster.rb +1 -1
- data/lib/ovirt/data_center.rb +1 -1
- data/lib/ovirt/event.rb +424 -424
- data/lib/ovirt/exception.rb +2 -2
- data/lib/ovirt/inventory.rb +7 -7
- data/lib/ovirt/logging.rb +5 -0
- data/lib/ovirt/null_logger.rb +11 -0
- data/lib/ovirt/service.rb +35 -45
- data/lib/ovirt/snapshot.rb +2 -2
- data/lib/ovirt/statistic.rb +4 -5
- data/lib/ovirt/storage_domain.rb +1 -1
- data/lib/ovirt/template.rb +28 -31
- data/lib/ovirt/user.rb +1 -1
- data/lib/ovirt/version.rb +1 -1
- data/lib/ovirt/vm.rb +18 -24
- data/lib/ovirt.rb +12 -0
- data/spec/base_spec.rb +7 -9
- data/spec/event_spec.rb +3 -13
- data/spec/factories/template.rb +37 -0
- data/spec/factories/vm.rb +1 -3
- data/spec/service_spec.rb +22 -23
- data/spec/spec_helper.rb +89 -9
- data/spec/template_spec.rb +23 -54
- data/spec/vm_spec.rb +47 -49
- metadata +9 -5
data/lib/ovirt/event.rb
CHANGED
@@ -13,439 +13,439 @@ module Ovirt
|
|
13
13
|
hash[:name] = EVENT_CODES[hash[:code]]
|
14
14
|
unless hash[:name]
|
15
15
|
hash[:name] = "UNKNOWN"
|
16
|
-
|
16
|
+
logger.warn("#{name}.#{__method__} Unknown RHEVM event #{hash[:code]}: #{hash[:description]}")
|
17
17
|
end
|
18
18
|
end
|
19
19
|
private_class_method :set_event_name
|
20
20
|
|
21
21
|
def to_hash
|
22
|
-
|
22
|
+
attributes.dup
|
23
23
|
end
|
24
24
|
|
25
25
|
EVENT_CODES = {
|
26
26
|
# Code Description
|
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
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
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
|
-
|
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 => "HOST_FAILED_CONNECTION_TO_DATA_CENTER",
|
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
|
+
800 => "IMAGES_SYNCRONIZER_DESKTOP_NOT_EXIST_IN_VDC",
|
318
|
+
801 => "IMAGES_SYNCRONIZER_TEMPLATE_NOT_EXIST_IMAGE_EXIST",
|
319
|
+
802 => "IMAGES_SYNCRONIZER_SNAPSHOT_NOT_EXIST_IN_VDC",
|
320
|
+
803 => "IMAGES_SYNCRONIZER_SNAPSHOTS_NOT_ATTACHED_TO_VM_IN_VDC",
|
321
|
+
804 => "IMAGES_SYNCRONIZER_TEMPLATE_NOT_EXIST_IN_VDC",
|
322
|
+
805 => "IMAGES_SYNCRONIZER_DESKTOP_NOT_EXIST_IN_IRS",
|
323
|
+
806 => "IMAGES_SYNCRONIZER_SNAPSHOT_NOT_EXIST_IN_IRS",
|
324
|
+
807 => "IMAGES_SYNCRONIZER_DESKTOP_WITHOUT_TEMPLATE_VDC",
|
325
|
+
808 => "IMAGES_SYNCRONIZER_IMAGE_TEMPLATE_NOT_EXIST",
|
326
|
+
809 => "USER_ADD_HOST_GROUP",
|
327
|
+
810 => "USER_ADD_HOST_GROUP_FAILED",
|
328
|
+
811 => "USER_UPDATE_HOST_GROUP",
|
329
|
+
812 => "USER_UPDATE_HOST_GROUP_FAILED",
|
330
|
+
813 => "USER_REMOVE_HOST_GROUP",
|
331
|
+
814 => "USER_REMOVE_HOST_GROUP_FAILED",
|
332
|
+
815 => "USER_VDC_LOGOUT_FAILED",
|
333
|
+
816 => "MAC_POOL_EMPTY",
|
334
|
+
817 => "CERTIFICATE_FILE_NOT_FOUND",
|
335
|
+
818 => "RUN_VM_FAILED",
|
336
|
+
819 => "HOST_REGISTER_ERROR_UPDATING_HOST",
|
337
|
+
820 => "HOST_REGISTER_ERROR_UPDATING_HOST_ALL_TAKEN",
|
338
|
+
821 => "HOST_REGISTER_HOST_IS_ACTIVE",
|
339
|
+
822 => "HOST_REGISTER_ERROR_UPDATING_NAME",
|
340
|
+
823 => "HOST_REGISTER_ERROR_UPDATING_NAMES_ALL_TAKEN",
|
341
|
+
824 => "HOST_REGISTER_NAME_IS_ACTIVE",
|
342
|
+
825 => "HOST_REGISTER_AUTO_APPROVE_PATTERN",
|
343
|
+
826 => "HOST_REGISTER_FAILED",
|
344
|
+
827 => "HOST_REGISTER_EXISTING_HOST_UPDATE_FAILED",
|
345
|
+
828 => "HOST_REGISTER_SUCCEEDED",
|
346
|
+
829 => "VM_MIGRATION_ON_CONNECT_CHECK_FAILED",
|
347
|
+
830 => "VM_MIGRATION_ON_CONNECT_CHECK_SUCCEEDED",
|
348
|
+
831 => "USER_DEDICATE_VM_TO_POWERCLIENT",
|
349
|
+
832 => "USER_DEDICATE_VM_TO_POWERCLIENT_FAILED",
|
350
|
+
833 => "MAC_ADDRESS_IS_IN_USE",
|
351
|
+
835 => "SYSTEM_UPDATE_HOST_GROUP",
|
352
|
+
836 => "SYSTEM_UPDATE_HOST_GROUP_FAILED",
|
353
|
+
850 => "USER_ADD_PERMISSION",
|
354
|
+
851 => "USER_ADD_PERMISSION_FAILED",
|
355
|
+
852 => "USER_REMOVE_PERMISSION",
|
356
|
+
853 => "USER_REMOVE_PERMISSION_FAILED",
|
357
|
+
854 => "USER_ADD_ROLE",
|
358
|
+
855 => "USER_ADD_ROLE_FAILED",
|
359
|
+
856 => "USER_UPDATE_ROLE",
|
360
|
+
857 => "USER_UPDATE_ROLE_FAILED",
|
361
|
+
858 => "USER_REMOVE_ROLE",
|
362
|
+
859 => "USER_REMOVE_ROLE_FAILED",
|
363
|
+
860 => "USER_ATTACHED_ACTION_GROUP_TO_ROLE",
|
364
|
+
861 => "USER_ATTACHED_ACTION_GROUP_TO_ROLE_FAILED",
|
365
|
+
862 => "USER_DETACHED_ACTION_GROUP_FROM_ROLE",
|
366
|
+
863 => "USER_DETACHED_ACTION_GROUP_FROM_ROLE_FAILED",
|
367
|
+
864 => "USER_ADD_ROLE_WITH_ACTION_GROUP",
|
368
|
+
865 => "USER_ADD_ROLE_WITH_ACTION_GROUP_FAILED",
|
369
|
+
900 => "AD_COMPUTER_ACCOUNT_SUCCEEDED",
|
370
|
+
901 => "AD_COMPUTER_ACCOUNT_FAILED",
|
371
|
+
920 => "NETWORK_ATTACH_NETWORK_TO_HOST",
|
372
|
+
921 => "NETWORK_ATTACH_NETWORK_TO_HOST_FAILED",
|
373
|
+
922 => "NETWORK_DETACH_NETWORK_FROM_HOST",
|
374
|
+
923 => "NETWORK_DETACH_NETWORK_FROM_HOST_FAILED",
|
375
|
+
924 => "NETWORK_ADD_BOND",
|
376
|
+
925 => "NETWORK_ADD_BOND_FAILED",
|
377
|
+
926 => "NETWORK_REMOVE_BOND",
|
378
|
+
927 => "NETWORK_REMOVE_BOND_FAILED",
|
379
|
+
928 => "NETWORK_HOST_NETWORK_MATCH_CLUSTER",
|
380
|
+
929 => "NETWORK_HOST_NETWORK_NOT_MATCH_CLUSTER",
|
381
|
+
930 => "NETWORK_REMOVE_VM_INTERFACE",
|
382
|
+
931 => "NETWORK_REMOVE_VM_INTERFACE_FAILED",
|
383
|
+
932 => "NETWORK_ADD_VM_INTERFACE",
|
384
|
+
933 => "NETWORK_ADD_VM_INTERFACE_FAILED",
|
385
|
+
934 => "NETWORK_UPDATE_VM_INTERFACE",
|
386
|
+
935 => "NETWORK_UPDATE_VM_INTERFACE_FAILED",
|
387
|
+
936 => "NETWORK_ADD_TEMPLATE_INTERFACE",
|
388
|
+
937 => "NETWORK_ADD_TEMPLATE_INTERFACE_FAILED",
|
389
|
+
938 => "NETWORK_REMOVE_TEMPLATE_INTERFACE",
|
390
|
+
939 => "NETWORK_REMOVE_TEMPLATE_INTERFACE_FAILED",
|
391
|
+
940 => "NETWORK_UPDATE_TEMPLATE_INTERFACE",
|
392
|
+
941 => "NETWORK_UPDATE_TEMPLATE_INTERFACE_FAILED",
|
393
|
+
942 => "NETWORK_ADD_NETWORK",
|
394
|
+
943 => "NETWORK_ADD_NETWORK_FAILED",
|
395
|
+
944 => "NETWORK_REMOVE_NETWORK",
|
396
|
+
945 => "NETWORK_REMOVE_NETWORK_FAILED",
|
397
|
+
946 => "NETWORK_ATTACH_NETWORK_TO_HOST_GROUP",
|
398
|
+
947 => "NETWORK_ATTACH_NETWORK_TO_HOST_GROUP_FAILED",
|
399
|
+
948 => "NETWORK_DETACH_NETWORK_TO_HOST_GROUP",
|
400
|
+
949 => "NETWORK_DETACH_NETWORK_TO_HOST_GROUP_FAILED",
|
401
|
+
950 => "USER_ADD_STORAGE_POOL",
|
402
|
+
951 => "USER_ADD_STORAGE_POOL_FAILED",
|
403
|
+
952 => "USER_UPDATE_STORAGE_POOL",
|
404
|
+
953 => "USER_UPDATE_STORAGE_POOL_FAILED",
|
405
|
+
954 => "USER_REMOVE_STORAGE_POOL",
|
406
|
+
955 => "USER_REMOVE_STORAGE_POOL_FAILED",
|
407
|
+
956 => "USER_ADD_STORAGE_DOMAIN",
|
408
|
+
957 => "USER_ADD_STORAGE_DOMAIN_FAILED",
|
409
|
+
958 => "USER_UPDATE_STORAGE_DOMAIN",
|
410
|
+
959 => "USER_UPDATE_STORAGE_DOMAIN_FAILED",
|
411
|
+
960 => "USER_REMOVE_STORAGE_DOMAIN",
|
412
|
+
961 => "USER_REMOVE_STORAGE_DOMAIN_FAILED",
|
413
|
+
962 => "USER_ATTACH_STORAGE_DOMAIN_TO_POOL",
|
414
|
+
963 => "USER_ATTACH_STORAGE_DOMAIN_TO_POOL_FAILED",
|
415
|
+
964 => "USER_DETACH_STORAGE_DOMAIN_FROM_POOL",
|
416
|
+
965 => "USER_DETACH_STORAGE_DOMAIN_FROM_POOL_FAILED",
|
417
|
+
966 => "USER_ACTIVATED_STORAGE_DOMAIN",
|
418
|
+
967 => "USER_ACTIVATE_STORAGE_DOMAIN_FAILED",
|
419
|
+
968 => "USER_DEACTIVATED_STORAGE_DOMAIN",
|
420
|
+
969 => "USER_DEACTIVATE_STORAGE_DOMAIN_FAILED",
|
421
|
+
970 => "SYSTEM_DEACTIVATED_STORAGE_DOMAIN",
|
422
|
+
971 => "SYSTEM_DEACTIVATE_STORAGE_DOMAIN_FAILED",
|
423
|
+
972 => "USER_EXTENDED_STORAGE_DOMAIN",
|
424
|
+
973 => "USER_EXTENDED_STORAGE_DOMAIN_FAILED",
|
425
|
+
974 => "USER_REMOVE_VG",
|
426
|
+
975 => "USER_REMOVE_VG_FAILED",
|
427
|
+
976 => "USER_ACTIVATE_STORAGE_POOL",
|
428
|
+
977 => "USER_ACTIVATE_STORAGE_POOL_FAILED",
|
429
|
+
978 => "SYSTEM_FAILED_CHANGE_STORAGE_POOL_STATUS",
|
430
|
+
979 => "SYSTEM_CHANGE_STORAGE_POOL_STATUS_NO_HOST_FOR_SPM",
|
431
|
+
980 => "SYSTEM_CHANGE_STORAGE_POOL_STATUS_PROBLEMATIC",
|
432
|
+
981 => "USER_FORCE_REMOVE_STORAGE_DOMAIN",
|
433
|
+
982 => "USER_FORCE_REMOVE_STORAGE_DOMAIN_FAILED",
|
434
|
+
983 => "RECONSTRUCT_MASTER_FAILED_NO_MASTER",
|
435
|
+
984 => "RECONSTRUCT_MASTER_DONE",
|
436
|
+
985 => "RECONSTRUCT_MASTER_FAILED",
|
437
|
+
986 => "SYSTEM_CHANGE_STORAGE_POOL_STATUS_PROBLEMATIC_SEARCHING_NEW_SPM",
|
438
|
+
987 => "SYSTEM_CHANGE_STORAGE_POOL_STATUS_PROBLEMATIC_WITH_ERROR",
|
439
|
+
988 => "USER_CONNECT_HOSTS_TO_LUN_FAILED",
|
440
|
+
989 => "SYSTEM_CHANGE_STORAGE_POOL_STATUS_PROBLEMATIC_FROM_NON_OPERATIONAL",
|
441
|
+
990 => "SYSTEM_MASTER_DOMAIN_NOT_IN_SYNC",
|
442
|
+
991 => "RECOVERY_STORAGE_POOL",
|
443
|
+
992 => "RECOVERY_STORAGE_POOL_FAILED",
|
444
|
+
993 => "SYSTEM_CHANGE_STORAGE_POOL_STATUS_RESET_IRS",
|
445
|
+
994 => "CONNECT_STORAGE_SERVERS_FAILED",
|
446
|
+
995 => "CONNECT_STORAGE_POOL_FAILED",
|
447
|
+
996 => "STORAGE_DOMAIN_ERROR",
|
448
|
+
998 => "ISO_DOMAIN_REFRESH_SUCCESSFUL",
|
449
449
|
1012 => "NETWORK_INTERFACE_PLUGGED_INTO_VM",
|
450
450
|
1100 => "NETWORK_UPDATE_DISPLAY_TO_HOST_GROUP",
|
451
451
|
1101 => "NETWORK_UPDATE_DISPLAY_TO_HOST_GROUP_FAILED",
|