~ubuntu-cloud-archive/ubuntu/precise/nova/trunk

« back to all changes in this revision

Viewing changes to nova/compute/task_states.py

  • Committer: Package Import Robot
  • Author(s): Chuck Short, Adam Gandelman, Chuck Short
  • Date: 2012-07-06 10:18:33 UTC
  • mfrom: (1.1.58)
  • Revision ID: package-import@ubuntu.com-20120706101833-wp2nv392mpe9re8p
Tags: 2012.2~f2-0ubuntu1
[ Adam Gandelman ]
* Use new rootwrap configuration structure:
  - debian/nova-{compute, network, volume}.{pyinstall, pyremove}: Dropped.
  - debian/nova-common.dirs: Add /etc/nova/rootwrap.d/.
  - debian/nova-common.install: Install /etc/nova/rootwrap.conf.
  - debian/debian/nova.conf: Reference rootwrap.conf in calls to
    nova-rootwrap.
  - debian/nova-{compute, network, volume}.install: Install corresponding
    filter in /etc/nova/rootwrap.d/
* debian/rules: Install logging_sample.conf to /etc/nova/logging.conf
  as part of nova-common.
* debian/pydist-overrides: Add setuptools-git.
* debian/control: Add python-setuptools-git as a Build-Depends.
* debian/rules: Do not remove nova.egg-info during auto_clean.  Now that
  upstream has moved to setuptools-git, doing so results in missing files
  from built package.

[ Chuck Short ]
* New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 
26
26
"""
27
27
 
 
28
# possible task states during create()
28
29
SCHEDULING = 'scheduling'
29
30
BLOCK_DEVICE_MAPPING = 'block_device_mapping'
30
31
NETWORKING = 'networking'
31
32
SPAWNING = 'spawning'
32
33
 
 
34
# possible task states during snapshot()
33
35
IMAGE_SNAPSHOT = 'image_snapshot'
 
36
 
 
37
# possible task states during backup()
34
38
IMAGE_BACKUP = 'image_backup'
35
39
 
 
40
# possible task states during set_admin_password()
36
41
UPDATING_PASSWORD = 'updating_password'
37
42
 
 
43
# possible task states during resize()
38
44
RESIZE_PREP = 'resize_prep'
39
45
RESIZE_MIGRATING = 'resize_migrating'
40
46
RESIZE_MIGRATED = 'resize_migrated'
41
47
RESIZE_FINISH = 'resize_finish'
 
48
 
 
49
# possible task states during revert_resize()
42
50
RESIZE_REVERTING = 'resize_reverting'
 
51
 
 
52
# possible task states during confirm_resize()
43
53
RESIZE_CONFIRMING = 'resize_confirming'
44
 
RESIZE_VERIFY = 'resize_verify'
45
54
 
 
55
# possible task states during reboot()
46
56
REBOOTING = 'rebooting'
47
57
REBOOTING_HARD = 'rebooting_hard'
 
58
 
 
59
# possible task states during pause()
48
60
PAUSING = 'pausing'
 
61
 
 
62
# possible task states during unpause()
49
63
UNPAUSING = 'unpausing'
 
64
 
 
65
# possible task states during suspend()
50
66
SUSPENDING = 'suspending'
 
67
 
 
68
# possible task states during resume()
51
69
RESUMING = 'resuming'
 
70
 
 
71
# possible task states during stop()
 
72
STOPPING = 'stopping'
 
73
 
 
74
# possible task states during start()
 
75
STARTING = 'starting'
 
76
 
 
77
# possible task states during soft_delete()
52
78
POWERING_OFF = 'powering-off'
 
79
 
 
80
# possible task states during restore()
53
81
POWERING_ON = 'powering-on'
54
82
 
 
83
# possible task states during rescue()
55
84
RESCUING = 'rescuing'
 
85
 
 
86
# possible task states during unrescue()
56
87
UNRESCUING = 'unrescuing'
57
88
 
 
89
# possible task states during rebuild()
 
90
REBUILDING = 'rebuilding'
 
91
REBUILD_BLOCK_DEVICE_MAPPING = "rebuild_block_device_mapping"
 
92
REBUILD_SPAWNING = 'rebuild_spawning'
 
93
 
 
94
# possible task states during live_migrate()
 
95
MIGRATING = "migrating"
 
96
 
 
97
# possible task states during delete()
58
98
DELETING = 'deleting'
59
 
STOPPING = 'stopping'
60
 
STARTING = 'starting'