~rlane/nova/lp773690

« back to all changes in this revision

Viewing changes to doc/source/runnova/flags.rst

  • Committer: rlane at wikimedia
  • Date: 2011-04-29 22:30:40 UTC
  • mfrom: (382.1.655 nova)
  • Revision ID: rlane@wikimedia.org-20110429223040-i0x3ds9eqwrabyru
MergeĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 
21
21
Nova uses a configuration file containing flags located in /etc/nova/nova.conf. You can get the most recent listing of avaialble flags by running nova-(servicename) --help, for example, nova-api --help. 
22
22
 
23
 
Here's a list of available flags and their default settings. 
24
 
 
25
 
  --ajax_console_proxy_port: port that ajax_console_proxy binds
26
 
    (default: '8000')
27
 
  --ajax_console_proxy_topic: the topic ajax proxy nodes listen on
28
 
    (default: 'ajax_proxy')
29
 
  --ajax_console_proxy_url: location of ajax console proxy, in the form
30
 
    "http://127.0.0.1:8000"
31
 
    (default: 'http://127.0.0.1:8000')
32
 
  --auth_token_ttl: Seconds for auth tokens to linger
33
 
    (default: '3600')
34
 
    (an integer)
35
 
  --aws_access_key_id: AWS Access ID
36
 
    (default: 'admin')
37
 
  --aws_secret_access_key: AWS Access Key
38
 
    (default: 'admin')
39
 
  --compute_manager: Manager for compute
40
 
    (default: 'nova.compute.manager.ComputeManager')
41
 
  --compute_topic: the topic compute nodes listen on
42
 
    (default: 'compute')
43
 
  --connection_type: libvirt, xenapi or fake
44
 
    (default: 'libvirt')
45
 
  --console_manager: Manager for console proxy
46
 
    (default: 'nova.console.manager.ConsoleProxyManager')
47
 
  --console_topic: the topic console proxy nodes listen on
48
 
    (default: 'console')
49
 
  --control_exchange: the main exchange to connect to
50
 
    (default: 'nova')
51
 
  --db_backend: The backend to use for db
52
 
    (default: 'sqlalchemy')
53
 
  --default_image: default image to use, testing only
54
 
    (default: 'ami-11111')
55
 
  --default_instance_type: default instance type to use, testing only
56
 
    (default: 'm1.small')
57
 
  --default_log_levels: list of logger=LEVEL pairs
58
 
    (default: 'amqplib=WARN,sqlalchemy=WARN,eventlet.wsgi.server=WARN')
59
 
    (a comma separated list)
60
 
  --default_project: default project for openstack
61
 
    (default: 'openstack')
62
 
  --ec2_dmz_host: internal ip of api server
63
 
    (default: '$my_ip')
64
 
  --ec2_host: ip of api server
65
 
    (default: '$my_ip')
66
 
  --ec2_path: suffix for ec2
67
 
    (default: '/services/Cloud')
68
 
  --ec2_port: cloud controller port
69
 
    (default: '8773')
70
 
    (an integer)
71
 
  --ec2_scheme: prefix for ec2
72
 
    (default: 'http')
73
 
  --[no]enable_new_services: Services to be added to the available pool on
74
 
    create
75
 
    (default: 'true')
76
 
  --[no]fake_network: should we use fake network devices and addresses
77
 
    (default: 'false')
78
 
  --[no]fake_rabbit: use a fake rabbit
79
 
    (default: 'false')
80
 
  --glance_host: glance host
81
 
    (default: '$my_ip')
82
 
  --glance_port: glance port
83
 
    (default: '9292')
84
 
    (an integer)
85
 
  -?,--[no]help: show this help
86
 
  --[no]helpshort: show usage only for this module
87
 
  --[no]helpxml: like --help, but generates XML output
88
 
  --host: name of this node
89
 
    (default: 'osdemo03')
90
 
  --image_service: The service to use for retrieving and searching for images.
91
 
    (default: 'nova.image.s3.S3ImageService')
92
 
  --instance_name_template: Template string to be used to generate instance
93
 
    names
94
 
    (default: 'instance-%08x')
95
 
  --logfile: output to named file
96
 
  --logging_context_format_string: format string to use for log messages with
97
 
    context
98
 
    (default: '%(asctime)s %(levelname)s %(name)s [%(request_id)s %(user)s
99
 
    %(project)s] %(message)s')
100
 
  --logging_debug_format_suffix: data to append to log format when level is
101
 
    DEBUG
102
 
    (default: 'from %(processName)s (pid=%(process)d) %(funcName)s
103
 
    %(pathname)s:%(lineno)d')
104
 
  --logging_default_format_string: format string to use for log messages without
105
 
    context
106
 
    (default: '%(asctime)s %(levelname)s %(name)s [-] %(message)s')
107
 
  --logging_exception_prefix: prefix each line of exception output with this
108
 
    format
109
 
    (default: '(%(name)s): TRACE: ')
110
 
  --my_ip: host ip address
111
 
    (default: '184.106.73.68')
112
 
  --network_manager: Manager for network
113
 
    (default: 'nova.network.manager.VlanManager')
114
 
  --network_topic: the topic network nodes listen on
115
 
    (default: 'network')
116
 
  --node_availability_zone: availability zone of this node
117
 
    (default: 'nova')
118
 
  --null_kernel: kernel image that indicates not to use a kernel, but to use a
119
 
    raw disk image instead
120
 
    (default: 'nokernel')
121
 
  --osapi_host: ip of api server
122
 
    (default: '$my_ip')
123
 
  --osapi_path: suffix for openstack
124
 
    (default: '/v1.0/')
125
 
  --osapi_port: OpenStack API port
126
 
    (default: '8774')
127
 
    (an integer)
128
 
  --osapi_scheme: prefix for openstack
129
 
    (default: 'http')
130
 
  --periodic_interval: seconds between running periodic tasks
131
 
    (default: '60')
132
 
    (a positive integer)
133
 
  --pidfile: pidfile to use for this service
134
 
  --rabbit_host: rabbit host
135
 
    (default: 'localhost')
136
 
  --rabbit_max_retries: rabbit connection attempts
137
 
    (default: '12')
138
 
    (an integer)
139
 
  --rabbit_password: rabbit password
140
 
    (default: 'guest')
141
 
  --rabbit_port: rabbit port
142
 
    (default: '5672')
143
 
    (an integer)
144
 
  --rabbit_retry_interval: rabbit connection retry interval
145
 
    (default: '10')
146
 
    (an integer)
147
 
  --rabbit_userid: rabbit userid
148
 
    (default: 'guest')
149
 
  --rabbit_virtual_host: rabbit virtual host
150
 
    (default: '/')
151
 
  --region_list: list of region=fqdn pairs separated by commas
152
 
    (default: '')
153
 
    (a comma separated list)
154
 
  --report_interval: seconds between nodes reporting state to datastore
155
 
    (default: '10')
156
 
    (a positive integer)
157
 
  --s3_dmz: s3 dmz ip (for instances)
158
 
    (default: '$my_ip')
159
 
  --s3_host: s3 host (for infrastructure)
160
 
    (default: '$my_ip')
161
 
  --s3_port: s3 port
162
 
    (default: '3333')
163
 
    (an integer)
164
 
  --scheduler_manager: Manager for scheduler
165
 
    (default: 'nova.scheduler.manager.SchedulerManager')
166
 
  --scheduler_topic: the topic scheduler nodes listen on
167
 
    (default: 'scheduler')
168
 
  --sql_connection: connection string for sql database
169
 
    (default: 'sqlite:///$state_path/nova.sqlite')
170
 
  --sql_idle_timeout: timeout for idle sql database connections
171
 
    (default: '3600')
172
 
  --sql_max_retries: sql connection attempts
173
 
    (default: '12')
174
 
    (an integer)
175
 
  --sql_retry_interval: sql connection retry interval
176
 
    (default: '10')
177
 
    (an integer)
178
 
  --state_path: Top-level directory for maintaining nova's state
179
 
    (default: '/usr/lib/pymodules/python2.6/nova/../')
180
 
  --[no]use_syslog: output to syslog
181
 
    (default: 'false')
182
 
  --[no]verbose: show debug output
183
 
    (default: 'false')
184
 
  --volume_manager: Manager for volume
185
 
    (default: 'nova.volume.manager.VolumeManager')
186
 
  --volume_name_template: Template string to be used to generate instance names
187
 
    (default: 'volume-%08x')
188
 
  --volume_topic: the topic volume nodes listen on
189
 
    (default: 'volume')
190
 
  --vpn_image_id: AMI for cloudpipe vpn server
191
 
    (default: 'ami-cloudpipe')
192
 
  --vpn_key_suffix: Suffix to add to project name for vpn key and secgroups
193
 
    (default: '-vpn')
 
 
b'\\ No newline at end of file'
 
23
The OpenStack wiki has a page with the flags listed by their purpose and use at http://wiki.openstack.org/FlagsGrouping.
 
 
b'\\ No newline at end of file'