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.
23
Here's a list of available flags and their default settings.
25
--ajax_console_proxy_port: port that ajax_console_proxy binds
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
35
--aws_access_key_id: AWS Access ID
37
--aws_secret_access_key: AWS Access Key
39
--compute_manager: Manager for compute
40
(default: 'nova.compute.manager.ComputeManager')
41
--compute_topic: the topic compute nodes listen on
43
--connection_type: libvirt, xenapi or fake
45
--console_manager: Manager for console proxy
46
(default: 'nova.console.manager.ConsoleProxyManager')
47
--console_topic: the topic console proxy nodes listen on
49
--control_exchange: the main exchange to connect to
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
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
64
--ec2_host: ip of api server
66
--ec2_path: suffix for ec2
67
(default: '/services/Cloud')
68
--ec2_port: cloud controller port
71
--ec2_scheme: prefix for ec2
73
--[no]enable_new_services: Services to be added to the available pool on
76
--[no]fake_network: should we use fake network devices and addresses
78
--[no]fake_rabbit: use a fake rabbit
80
--glance_host: glance host
82
--glance_port: glance port
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
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
94
(default: 'instance-%08x')
95
--logfile: output to named file
96
--logging_context_format_string: format string to use for log messages with
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
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
106
(default: '%(asctime)s %(levelname)s %(name)s [-] %(message)s')
107
--logging_exception_prefix: prefix each line of exception output with this
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
116
--node_availability_zone: availability zone of this node
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
123
--osapi_path: suffix for openstack
125
--osapi_port: OpenStack API port
128
--osapi_scheme: prefix for openstack
130
--periodic_interval: seconds between running periodic tasks
133
--pidfile: pidfile to use for this service
134
--rabbit_host: rabbit host
135
(default: 'localhost')
136
--rabbit_max_retries: rabbit connection attempts
139
--rabbit_password: rabbit password
141
--rabbit_port: rabbit port
144
--rabbit_retry_interval: rabbit connection retry interval
147
--rabbit_userid: rabbit userid
149
--rabbit_virtual_host: rabbit virtual host
151
--region_list: list of region=fqdn pairs separated by commas
153
(a comma separated list)
154
--report_interval: seconds between nodes reporting state to datastore
157
--s3_dmz: s3 dmz ip (for instances)
159
--s3_host: s3 host (for infrastructure)
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
172
--sql_max_retries: sql connection attempts
175
--sql_retry_interval: sql connection retry interval
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
182
--[no]verbose: show debug output
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
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
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'