Revision 21d8adbf

b/db/models.py
247 247
        # and are ignored for the time being
248 248
        ('OP_INSTANCE_SET_PARAMS', 'Set Instance Parameters'),
249 249
        ('OP_INSTANCE_QUERY_DATA', 'Query Instance Data'),
250
        ('OP_INSTANCE_REINSTALL', 'Reinstall Instance'),
251
        ('OP_INSTANCE_ACTIVATE_DISKS', 'Activate Disks'),
252
        ('OP_INSTANCE_DEACTIVATE_DISKS', 'Deactivate Disks'),
253
        ('OP_INSTANCE_REPLACE_DISKS', 'Replace Disks'),
254
        ('OP_INSTANCE_MIGRATE', 'Migrate Instance'),
255
        ('OP_INSTANCE_CONSOLE', 'Get Instance Console'),
256
        ('OP_INSTANCE_RECREATE_DISKS', 'Recreate Disks')
250 257
    )
251 258
    # A backend job may be in one of the following possible states
252 259
    BACKEND_STATUSES = (
......
261 268

  
262 269
    # The operating state of a VM,
263 270
    # upon the successful completion of a backend operation.
271
    # IMPORTANT: Make sure all keys have a corresponding
272
    # entry in BACKEND_OPCODES if you update this field, see #1035, #1111.
264 273
    OPER_STATE_FROM_OPCODE = {
265 274
        'OP_INSTANCE_CREATE': 'STARTED',
266 275
        'OP_INSTANCE_REMOVE': 'DESTROYED',

Also available in: Unified diff