ABCDEFGHIJKLMNOPQRSTU
1
compute APIcast, call, db onlyvalid state check before exec: vm_state | task_statestate during exec (_ means no change)eventual state if successful ( vm | task | power )can be idempotent?questions, problems, notes
2
create(max_count=1)cast to schN/abuilding | variousactive | none | pwNowhy max_count==1 check?
3
create(max_count>1)call to schN/Abuilding | variousactive | none | pwNoto be refactored to cast by comstud
4
ensure_default_security_groupdb_ | __ | _ | _Y
5
trigger_security_group_members_refreshcast to many n-cpu, 'refresh_security_group_members'_ | __ | _ | _Y
6
trigger_provider_fw_rules_refreshcast to all n-cpu,'refresh_provider_fw_rules'_ | __ | _ | _Y
7
add_security_groupcast, 'refresh_security_group_rules'_ | __ | _ | _Nowhy only callable when power_state==Running?, why refresh all groups?
8
remove_security_groupcast, 'refresh_security_group_rules'_ | __ | _ | _
9
create_db_entry_for_new_instancedb
10
updatedb
11
soft_deletecast to n-cpu, 'power_off_instance'active,shutoff,errorsoft-delete|powering_off_ | none | pwy
12
deletecall if in some migration state, cast to n-cpu, 'terminate_instance'active,building,error,rescued,shutoff,stopped_ | deleting_ | none | pwywhy not all states, e.g. may get stuck by resize in _delete()
13
restorecast to n-cpu, 'power_on_instance'soft-deleteactive | powering_on_ | none | pwy
14
force_deletecall delete() implsoft-delete_ | deletingy
15
stopcast if do_cast, stop_instanceactive,shutoff,rescued | None,resize_verifyactive | stoppingstopped | none | _y
16
startcast 'start_instance'stopped,shutofffirst call stop(), then stopped | startingactive | none | pwywhy call stop() before start()
17
get_active_by_windowdb
18
get db
19
get_alldb
20
backupcast, 'snapshot_instance'active,shutoff_ | image_backup -> active | _ | pwactive | none | pwNo
21
snapshotcast, 'snapshot_instance'active,shutoff_ | image_snapshotactive | none | pwNo
22
rebootcast, 'reboot_instance'active,shutoff,rescued| None, resize_verifyactive | rebooting[_hard]active | none | pw
23
rebuildcast, 'rebuild_instance'active,shutoff | None, resize_verifyrebuilding | variousactive | none | pw
24
revert_resizecast, 'revert_resize' to destactive,shutoff | resize_verifyresizing | resize_reverting?
25
confirm_resizecast, 'confirm_resize' to sourceactive,shutoff | resize_verifyactive | None
26
resizecast, 'prep_resize' to schactive,shutoff | Noneresizing | resize_prep
27
add_fixed_ipcast, 'add_fixed_ip_to_instance'
28
remove_fixed_ipcast, 'remove_fixed_ip_from_instance'active,shutoff,rescued
29
pausecast, 'pause_instance'active,shutoff,rescued| None, resize_verifyactive | pausingpaused | none | pw
30
unpausecast, 'unpause_instance'pausedpaused | unpausingactive | none | pw
31
suspendcast, 'suspend_instance'active,shutoff,rescued| None, resize_verifyactive | suspendingsuspended | none | pw
32
resumecast, 'resume_instance'suspendedsuspended | resumingactive | none | pw
33
rescuecast, 'rescue_instance'active,shutoff,stopped|None, resize_verifyactive | rescuingrescued | none | pw
34
unrescuecast, 'unrescue_instance'rescuedactive | unrescuingactive | none | pw
35
set_admin_passwordcast, 'set_admin_password'active_ | updating_password_ | none | pwpw must be running
36
inject_filecast, 'inject_file'_ | __ | _ | _pw must be running
37
get_vnc_consolecall, consoleauth_topic,'authorize_console'_ | _missing state check?
38
get_console_outputcall, 'get_console_output'_ | _missing state check?
39
lockcast, 'lock_instance'_ | _
40
unlockcast, 'unlock_instance'_ | _
41
get_lockdb
42
reset_networkcast, 'reset_network'_ | _
43
inject_network_infocast, 'inject_network_info'_ | _
44
attach_volumevol calls + cast, 'attach_volume'_ | _missing state check?
45
detach_volumevol calls + cast, 'detach_volume'_ | _missing state check?
46
associate_floating_ipnet call associate_floating_ip_ | _
47
get_instance_metadatadb
48
delete_instance_metadatadb
49
update_instance_metadatadb
50
get_instance_faultsdb
51
52
53
in the compute node, initiated by periodic_task
54
_heal_instance_info_cache
55
_poll_rebooting_instances
56
_poll_rescued_instances
57
_poll_unconfirmed_resizes
58
_poll_bandwidth_usage
59
_sync_power_statesthis one brutually update vm_state
60
_reclaim_queued_deletes
61
update_available_resource
62
_cleanup_running_deleted_instances
63
_run_image_cache_manager_pass
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