byghis

nova-manage --help

Jul 15th, 2011
428
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.78 KB | None | 0 0
  1. edward@jaku:~$ nova-manage --help
  2.  
  3. CLI interface for nova management.
  4.  
  5. flags:
  6.  
  7. /usr/bin/nova-manage:
  8. -?,--[no]help: show this help
  9. --[no]helpshort: show usage only for this module
  10. --[no]helpxml: like --help, but generates XML output
  11.  
  12. nova.api.ec2:
  13. --lockout_attempts: Number of failed auths before lockout.
  14. (default: '5')
  15. (an integer)
  16. --lockout_minutes: Number of minutes to lockout if triggered.
  17. (default: '15')
  18. (an integer)
  19. --lockout_window: Number of minutes for lockout window.
  20. (default: '15')
  21. (an integer)
  22. --[no]use_forwarded_for: Treat X-Forwarded-For as the canonical remote
  23. address. Only enable this if you have a sanitizing proxy.
  24. (default: 'false')
  25.  
  26. nova.auth.manager:
  27. --allowed_roles: Allowed roles for project
  28. (default: 'cloudadmin,itsec,sysadmin,netadmin,developer')
  29. (a comma separated list)
  30. --auth_driver: Driver that auth manager uses
  31. (default: 'nova.auth.dbdriver.DbDriver')
  32. --credential_cert_file: Filename of certificate in credentials zip
  33. (default: 'cert.pem')
  34. --credential_key_file: Filename of private key in credentials zip
  35. (default: 'pk.pem')
  36. --credential_rc_file: Filename of rc in credentials zip, %s will be replaced
  37. by name of the region (nova by default)
  38. (default: '%src')
  39. --credential_vpn_file: Filename of certificate in credentials zip
  40. (default: 'nova-vpn.conf')
  41. --credentials_template: Template for creating users rc file
  42. (default: '/usr/lib/pymodules/python2.6/nova/auth/novarc.template')
  43. --global_roles: Roles that apply to all projects
  44. (default: 'cloudadmin,itsec')
  45. (a comma separated list)
  46. --superuser_roles: Roles that ignore authorization checking completely
  47. (default: 'cloudadmin')
  48. (a comma separated list)
  49. --vpn_client_template: Template for creating users vpn file
  50. (default:
  51. '/usr/lib/pymodules/python2.6/nova/cloudpipe/client.ovpn.template')
  52.  
  53. nova.cloudpipe.pipelib:
  54. --boot_script_template: Template for script to run on cloudpipe instance boot
  55. (default: '/usr/lib/pymodules/python2.6/nova/cloudpipe/bootscript.template')
  56. --dmz_mask: Netmask to push into openvpn config
  57. (default: '255.255.255.0')
  58. --dmz_net: Network to push into openvpn config
  59. (default: '10.0.0.0')
  60.  
  61. nova.compute.api:
  62. --find_host_timeout: Timeout after NN seconds when looking for a host.
  63. (default: '30')
  64. (an integer)
  65.  
  66. nova.compute.manager:
  67. --[no]auto_assign_floating_ip: Autoassigning floating ip to VM
  68. (default: 'false')
  69. --compute_driver: Driver to use for controlling virtualization
  70. (default: 'nova.virt.connection.get_connection')
  71. --console_host: Console proxy host to use to connect to instances onthis host.
  72. (default: 'jaku')
  73. --host_state_interval: Interval in seconds for querying the host status
  74. (default: '120')
  75. (an integer)
  76. --instances_path: where instances are stored on disk
  77. (default: '$state_path/instances')
  78. --live_migration_retry_count: Retry count needed in live_migration. sleep 1
  79. sec for each count
  80. (default: '30')
  81. (an integer)
  82. --password_length: Length of generated admin passwords
  83. (default: '12')
  84. (an integer)
  85. --rescue_timeout: Automatically unrescue an instance after N seconds. Set to 0
  86. to disable.
  87. (default: '0')
  88. (an integer)
  89. --stub_network: Stub network related code
  90. (default: 'False')
  91.  
  92. nova.crypto:
  93. --ca_file: Filename of root CA
  94. (default: 'cacert.pem')
  95. --ca_path: Where we keep our root CA
  96. (default: '$state_path/CA')
  97. --crl_file: Filename of root Certificate Revokation List
  98. (default: 'crl.pem')
  99. --key_file: Filename of private key
  100. (default: 'private/cakey.pem')
  101. --keys_path: Where we keep our keys
  102. (default: '$state_path/keys')
  103. --project_cert_subject: Subject for certificate for projects, %s for project,
  104. timestamp
  105. (default: '/C=US/ST=California/L=MountainView/O=AnsoLabs/OU=NovaDev/CN=proje
  106. ct-ca-%s-%s')
  107. --[no]use_project_ca: Should we use a CA for each project?
  108. (default: 'false')
  109. --user_cert_subject: Subject for certificate for users, %s for project, user,
  110. timestamp
  111. (default:
  112. '/C=US/ST=California/L=MountainView/O=AnsoLabs/OU=NovaDev/CN=%s-%s-%s')
  113. --vpn_cert_subject: Subject for certificate for vpns, %s for project,
  114. timestamp
  115. (default: '/C=US/ST=California/L=MountainView/O=AnsoLabs/OU=NovaDev/CN=proje
  116. ct-vpn-%s-%s')
  117.  
  118. nova.db.api:
  119. --db_backend: The backend to use for db
  120. (default: 'sqlalchemy')
  121. --[no]enable_new_services: Services to be added to the available pool on
  122. create
  123. (default: 'true')
  124. --instance_name_template: Template string to be used to generate instance
  125. names
  126. (default: 'instance-%08x')
  127. --snapshot_name_template: Template string to be used to generate snapshot
  128. names
  129. (default: 'snapshot-%08x')
  130. --volume_name_template: Template string to be used to generate instance names
  131. (default: 'volume-%08x')
  132.  
  133. nova.db.base:
  134. --db_driver: driver to use for database access
  135. (default: 'nova.db.api')
  136.  
  137. nova.image.local:
  138. --images_path: path to decrypted images
  139. (default: '$state_path/images')
  140.  
  141. nova.image.s3:
  142. --image_decryption_dir: parent dir for tempdir used for image decryption
  143. (default: '/tmp')
  144.  
  145. nova.ipv6.api:
  146. --ipv6_backend: Backend to use for IPv6 generation
  147. (default: 'rfc2462')
  148.  
  149. nova.log:
  150. --ajax_console_proxy_port: port that ajax_console_proxy binds
  151. (default: '8000')
  152. --ajax_console_proxy_topic: the topic ajax proxy nodes listen on
  153. (default: 'ajax_proxy')
  154. --ajax_console_proxy_url: location of ajax console proxy, in the form
  155. "http://127.0.0.1:8000"
  156. (default: 'http://127.0.0.1:8000')
  157. --auth_token_ttl: Seconds for auth tokens to linger
  158. (default: '3600')
  159. (an integer)
  160. --aws_access_key_id: AWS Access ID
  161. (default: 'admin')
  162. --aws_secret_access_key: AWS Access Key
  163. (default: 'admin')
  164. --build_plan_encryption_key: 128bit (hex) encryption key for scheduler build
  165. plans.
  166. --compute_manager: Manager for compute
  167. (default: 'nova.compute.manager.ComputeManager')
  168. --compute_topic: the topic compute nodes listen on
  169. (default: 'compute')
  170. --connection_type: libvirt, xenapi or fake
  171. (default: 'libvirt')
  172. --console_manager: Manager for console proxy
  173. (default: 'nova.console.manager.ConsoleProxyManager')
  174. --console_topic: the topic console proxy nodes listen on
  175. (default: 'console')
  176. --control_exchange: the main exchange to connect to
  177. (default: 'nova')
  178. --default_image: default image to use, testing only
  179. (default: 'ami-11111')
  180. --default_instance_type: default instance type to use, testing only
  181. (default: 'm1.small')
  182. --default_log_levels: list of logger=LEVEL pairs
  183. (default:
  184. 'amqplib=WARN,sqlalchemy=WARN,boto=WARN,eventlet.wsgi.server=WARN')
  185. (a comma separated list)
  186. --default_project: default project for openstack
  187. (default: 'openstack')
  188. --ec2_dmz_host: internal ip of api server
  189. (default: '$my_ip')
  190. --ec2_host: ip of api server
  191. (default: '$my_ip')
  192. --ec2_path: suffix for ec2
  193. (default: '/services/Cloud')
  194. --ec2_port: cloud controller port
  195. (default: '8773')
  196. (an integer)
  197. --ec2_scheme: prefix for ec2
  198. (default: 'http')
  199. --[no]fake_network: should we use fake network devices and addresses
  200. (default: 'false')
  201. --[no]fake_rabbit: use a fake rabbit
  202. (default: 'false')
  203. --glance_api_servers: list of glance api servers available to nova (host:port)
  204. (default: '127.0.0.1:9292')
  205. (a comma separated list)
  206. --host: name of this node
  207. (default: 'jaku')
  208. --image_service: The service to use for retrieving and searching for images.
  209. (default: 'nova.image.local.LocalImageService')
  210. --lock_path: Directory for lock files
  211. (default: '/usr/lib/pymodules/python2.6/nova/../')
  212. --logdir: output to a per-service log file in named directory
  213. --logfile: output to named file
  214. --logging_context_format_string: format string to use for log messages with
  215. context
  216. (default: '%(asctime)s %(levelname)s %(name)s [%(request_id)s %(user)s
  217. %(project)s] %(message)s')
  218. --logging_debug_format_suffix: data to append to log format when level is
  219. DEBUG
  220. (default: 'from (pid=%(process)d) %(funcName)s %(pathname)s:%(lineno)d')
  221. --logging_default_format_string: format string to use for log messages without
  222. context
  223. (default: '%(asctime)s %(levelname)s %(name)s [-] %(message)s')
  224. --logging_exception_prefix: prefix each line of exception output with this
  225. format
  226. (default: '(%(name)s): TRACE: ')
  227. --memcached_servers: Memcached servers or None for in process cache.
  228. (a comma separated list)
  229. --my_ip: host ip address
  230. (default: '139.82.2.144')
  231. --network_manager: Manager for network
  232. (default: 'nova.network.manager.VlanManager')
  233. --network_topic: the topic network nodes listen on
  234. (default: 'network')
  235. --node_availability_zone: availability zone of this node
  236. (default: 'nova')
  237. --notification_driver: Default driver for sending notifications
  238. (default: 'nova.notifier.no_op_notifier')
  239. --null_kernel: kernel image that indicates not to use a kernel, but to use a
  240. raw disk image instead
  241. (default: 'nokernel')
  242. --osapi_extensions_path: default directory for nova extensions
  243. (default: '/var/lib/nova/extensions')
  244. --osapi_host: ip of api server
  245. (default: '$my_ip')
  246. --osapi_max_limit: max number of items returned in a collection response
  247. (default: '1000')
  248. (an integer)
  249. --osapi_path: suffix for openstack
  250. (default: '/v1.0/')
  251. --osapi_port: OpenStack API port
  252. (default: '8774')
  253. (an integer)
  254. --osapi_scheme: prefix for openstack
  255. (default: 'http')
  256. --[no]publish_errors: publish error events
  257. (default: 'false')
  258. --rabbit_host: rabbit host
  259. (default: 'localhost')
  260. --rabbit_max_retries: rabbit connection attempts
  261. (default: '12')
  262. (an integer)
  263. --rabbit_password: rabbit password
  264. (default: 'guest')
  265. --rabbit_port: rabbit port
  266. (default: '5672')
  267. (an integer)
  268. --rabbit_retry_interval: rabbit connection retry interval
  269. (default: '10')
  270. (an integer)
  271. --[no]rabbit_use_ssl: connect over SSL
  272. (default: 'false')
  273. --rabbit_userid: rabbit userid
  274. (default: 'guest')
  275. --rabbit_virtual_host: rabbit virtual host
  276. (default: '/')
  277. --region_list: list of region=fqdn pairs separated by commas
  278. (default: '')
  279. (a comma separated list)
  280. --s3_dmz: s3 dmz ip (for instances)
  281. (default: '$my_ip')
  282. --s3_host: s3 host (for infrastructure)
  283. (default: '$my_ip')
  284. --s3_port: s3 port
  285. (default: '3333')
  286. (an integer)
  287. --scheduler_manager: Manager for scheduler
  288. (default: 'nova.scheduler.manager.SchedulerManager')
  289. --scheduler_topic: the topic scheduler nodes listen on
  290. (default: 'scheduler')
  291. --sql_connection: connection string for sql database
  292. (default: 'sqlite:///$state_path/$sqlite_db')
  293. --sql_idle_timeout: timeout for idle sql database connections
  294. (default: '3600')
  295. (an integer)
  296. --sql_max_retries: sql connection attempts
  297. (default: '12')
  298. (an integer)
  299. --sql_retry_interval: sql connection retry interval
  300. (default: '10')
  301. (an integer)
  302. --sqlite_db: file name for sqlite
  303. (default: 'nova.sqlite')
  304. --state_path: Top-level directory for maintaining nova's state
  305. (default: '/usr/lib/pymodules/python2.6/nova/../')
  306. --[no]use_syslog: output to syslog
  307. (default: 'false')
  308. --[no]verbose: show debug output
  309. (default: 'false')
  310. --volume_manager: Manager for volume
  311. (default: 'nova.volume.manager.VolumeManager')
  312. --volume_topic: the topic volume nodes listen on
  313. (default: 'volume')
  314. --vpn_image_id: integer id for cloudpipe vpn server
  315. (default: '0')
  316. (an integer)
  317. --vpn_key_suffix: Suffix to add to project name for vpn key and secgroups
  318. (default: '-vpn')
  319. --zone_capabilities: Key/Multi-value list representng capabilities of this
  320. zone
  321. (default: 'hypervisor=xenserver;kvm,os=linux;windows')
  322. (a comma separated list)
  323. --zone_name: name of this zone
  324. (default: 'nova')
  325.  
  326. nova.network.manager:
  327. --cnt_vpn_clients: Number of addresses reserved for vpn clients
  328. (default: '0')
  329. (an integer)
  330. --[no]fake_call: If True, skip using the queue and make local calls
  331. (default: 'false')
  332. --fixed_ip_disassociate_timeout: Seconds after which a deallocated ip is
  333. disassociated
  334. (default: '600')
  335. (an integer)
  336. --fixed_range: Fixed IP address block
  337. (default: '10.0.0.0/8')
  338. --fixed_range_v6: Fixed IPv6 address block
  339. (default: 'fd00::/48')
  340. --[no]flat_injected: Whether to attempt to inject network setup into guest
  341. (default: 'true')
  342. --flat_interface: FlatDhcp will bridge into this interface if set
  343. --flat_network_bridge: Bridge for simple network instances
  344. (default: 'br100')
  345. --flat_network_dhcp_start: Dhcp start for FlatDhcp
  346. (default: '10.0.0.2')
  347. --flat_network_dns: Dns for simple network
  348. (default: '8.8.4.4')
  349. --floating_range: Floating IP address block
  350. (default: '4.4.4.0/24')
  351. --gateway_v6: Default IPv6 gateway
  352. --network_driver: Driver to use for network creation
  353. (default: 'nova.network.linux_net')
  354. --network_host: Network host to use for ip allocation in flat modes
  355. (default: 'jaku')
  356. --network_size: Number of addresses in each private subnet
  357. (default: '256')
  358. (an integer)
  359. --num_networks: Number of networks to support
  360. (default: '1')
  361. (an integer)
  362. --[no]update_dhcp_on_disassociate: Whether to update dhcp when fixed_ip is
  363. disassociated
  364. (default: 'false')
  365. --[no]use_ipv6: use the ipv6
  366. (default: 'false')
  367. --vlan_interface: network device for vlans
  368. (default: 'eth0')
  369. --vlan_start: First VLAN for private networks
  370. (default: '100')
  371. (an integer)
  372. --vpn_ip: Public IP for the cloudpipe VPN servers
  373. (default: '$my_ip')
  374. --vpn_start: First Vpn port for private networks
  375. (default: '1000')
  376. (an integer)
  377.  
  378. nova.quota:
  379. --quota_cores: number of instance cores allowed per project
  380. (default: '20')
  381. (an integer)
  382. --quota_floating_ips: number of floating ips allowed per project
  383. (default: '10')
  384. (an integer)
  385. --quota_gigabytes: number of volume gigabytes allowed per project
  386. (default: '1000')
  387. (an integer)
  388. --quota_instances: number of instances allowed per project
  389. (default: '10')
  390. (an integer)
  391. --quota_max_injected_file_content_bytes: number of bytes allowed per injected
  392. file
  393. (default: '10240')
  394. (an integer)
  395. --quota_max_injected_file_path_bytes: number of bytes allowed per injected
  396. file path
  397. (default: '255')
  398. (an integer)
  399. --quota_max_injected_files: number of injected files allowed
  400. (default: '5')
  401. (an integer)
  402. --quota_metadata_items: number of metadata items allowed per instance
  403. (default: '128')
  404. (an integer)
  405. --quota_ram: megabytes of instance ram allowed per project
  406. (default: '51200')
  407. (an integer)
  408. --quota_volumes: number of volumes allowed per project
  409. (default: '10')
  410. (an integer)
  411.  
  412. nova.rpc:
  413. --rpc_conn_pool_size: Size of RPC connection pool
  414. (default: '30')
  415. (an integer)
  416. --rpc_thread_pool_size: Size of RPC thread pool
  417. (default: '1024')
  418. (an integer)
  419.  
  420. nova.scheduler.api:
  421. --[no]enable_zone_routing: When True, routing to child zones will occur.
  422. (default: 'false')
  423.  
  424. nova.scheduler.driver:
  425. --service_down_time: maximum time since last checkin for up service
  426. (default: '60')
  427. (an integer)
  428.  
  429. nova.virt.disk:
  430. --block_size: block_size to use for dd
  431. (default: '268435456')
  432. (an integer)
  433. --injected_network_template: Template file for injected network
  434. (default: '/usr/lib/pymodules/python2.6/nova/virt/interfaces.template')
  435. --max_nbd_devices: maximum number of possible nbd devices
  436. (default: '16')
  437. (an integer)
  438. --minimum_root_size: minimum size in bytes of root partition
  439. (default: '10737418240')
  440. (an integer)
  441. --timeout_nbd: time to wait for a NBD device coming up
  442. (default: '10')
  443. (an integer)
  444.  
  445. nova.virt.libvirt.connection:
  446. --ajaxterm_portrange: Range of ports that ajaxterm should randomly try to bind
  447. (default: '10000-12000')
  448. --[no]allow_project_net_traffic: Whether to allow in project network traffic
  449. (default: 'true')
  450. --cpuinfo_xml_template: CpuInfo XML Template (Used only live migration now)
  451. (default: '/usr/lib/pymodules/python2.6/nova/virt/cpuinfo.xml.template')
  452. --firewall_driver: Firewall driver (defaults to iptables)
  453. (default: 'nova.virt.libvirt.firewall.IptablesFirewallDriver')
  454. --libvirt_type: Libvirt domain type (valid options are: kvm, lxc, qemu, uml,
  455. xen)
  456. (default: 'kvm')
  457. --libvirt_uri: Override the default libvirt URI (which is dependent on
  458. libvirt_type)
  459. (default: '')
  460. --libvirt_xml_template: Libvirt XML Template
  461. (default: '/usr/lib/pymodules/python2.6/nova/virt/libvirt.xml.template')
  462. --live_migration_bandwidth: Define live migration behavior
  463. (default: '0')
  464. (an integer)
  465. --live_migration_flag: Define live migration behavior.
  466. (default: 'VIR_MIGRATE_UNDEFINE_SOURCE, VIR_MIGRATE_PEER2PEER')
  467. --live_migration_uri: Define protocol used by live_migration feature
  468. (default: 'qemu+tcp://%s/system')
  469. --qemu_img: binary to use for qemu-img commands
  470. (default: 'qemu-img')
  471. --rescue_image_id: Rescue ami image
  472. (default: 'ami-rescue')
  473. --rescue_kernel_id: Rescue aki image
  474. (default: 'aki-rescue')
  475. --rescue_ramdisk_id: Rescue ari image
  476. (default: 'ari-rescue')
  477. --[no]start_guests_on_host_boot: Whether to restart guests when the host
  478. reboots
  479. (default: 'false')
  480. --[no]use_cow_images: Whether to use cow images
  481. (default: 'true')
  482.  
  483. nova.vnc:
  484. --[no]vnc_enabled: enable vnc related features
  485. (default: 'true')
  486. --vnc_keymap: keymap for vnc
  487. (default: 'en-us')
  488. --vncproxy_topic: the topic vnc proxy nodes listen on
  489. (default: 'vncproxy')
  490. --vncproxy_url: location of vnc console proxy, in the form
  491. "http://127.0.0.1:6080"
  492. (default: 'http://127.0.0.1:6080')
  493. --vncserver_host: the host interface on which vnc server should listen
  494. (default: '0.0.0.0')
  495.  
  496. nova.volume.manager:
  497. --storage_availability_zone: availability zone of this service
  498. (default: 'nova')
  499. --[no]use_local_volumes: if True, will not discover local volumes
  500. (default: 'true')
  501. --volume_driver: Driver to use for volume creation
  502. (default: 'nova.volume.driver.ISCSIDriver')
  503.  
  504. gflags:
  505. --flagfile: Insert flag definitions from the given file into the command line.
  506. (default: '')
  507. --undefok: comma-separated list of flag names that it is okay to specify on
  508. the command line even if the program does not define a flag with that name.
  509. IMPORTANT: flags in this list that have arguments MUST use the --flag=value
  510. format.
  511. (default: '')
  512. edward@jaku:~$
Advertisement
Add Comment
Please, Sign In to add comment