Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- edward@pituba:~$ sudo nova-compute --help
- Starter script for Nova Compute.
- flags:
- /usr/bin/nova-compute:
- --ajax_console_proxy_port: port that ajax_console_proxy binds
- (default: '8000')
- --ajax_console_proxy_topic: the topic ajax proxy nodes listen on
- (default: 'ajax_proxy')
- --ajax_console_proxy_url: location of ajax console proxy, in the form
- "http://127.0.0.1:8000"
- (default: 'http://127.0.0.1:8000')
- --auth_token_ttl: Seconds for auth tokens to linger
- (default: '3600')
- (an integer)
- --aws_access_key_id: AWS Access ID
- (default: 'admin')
- --aws_secret_access_key: AWS Access Key
- (default: 'admin')
- --compute_manager: Manager for compute
- (default: 'nova.compute.manager.ComputeManager')
- --compute_topic: the topic compute nodes listen on
- (default: 'compute')
- --connection_type: libvirt, xenapi or fake
- (default: 'libvirt')
- --console_manager: Manager for console proxy
- (default: 'nova.console.manager.ConsoleProxyManager')
- --console_topic: the topic console proxy nodes listen on
- (default: 'console')
- --control_exchange: the main exchange to connect to
- (default: 'nova')
- --default_image: default image to use, testing only
- (default: 'ami-11111')
- --default_instance_type: default instance type to use, testing only
- (default: 'm1.small')
- --default_project: default project for openstack
- (default: 'openstack')
- --ec2_dmz_host: internal ip of api server
- (default: '$my_ip')
- --ec2_host: ip of api server
- (default: '$my_ip')
- --ec2_path: suffix for ec2
- (default: '/services/Cloud')
- --ec2_port: cloud controller port
- (default: '8773')
- (an integer)
- --ec2_scheme: prefix for ec2
- (default: 'http')
- --[no]fake_network: should we use fake network devices and addresses
- (default: 'false')
- --[no]fake_rabbit: use a fake rabbit
- (default: 'false')
- --glance_host: glance host
- (default: '$my_ip')
- --glance_port: glance port
- (default: '9292')
- (an integer)
- --host: name of this node
- (default: 'pituba')
- --image_service: The service to use for retrieving and searching for images.
- (default: 'nova.image.local.LocalImageService')
- --lock_path: Directory for lock files
- (default: '/usr/lib/pymodules/python2.7/nova/../')
- --logdir: output to a per-service log file in named directory
- --my_ip: host ip address
- (default: '139.82.2.181')
- --network_manager: Manager for network
- (default: 'nova.network.manager.VlanManager')
- --network_topic: the topic network nodes listen on
- (default: 'network')
- --node_availability_zone: availability zone of this node
- (default: 'nova')
- --null_kernel: kernel image that indicates not to use a kernel, but to use a
- raw disk image instead
- (default: 'nokernel')
- --osapi_extensions_path: default directory for nova extensions
- (default: '/var/lib/nova/extensions')
- --osapi_host: ip of api server
- (default: '$my_ip')
- --osapi_max_limit: max number of items returned in a collection response
- (default: '1000')
- (an integer)
- --osapi_path: suffix for openstack
- (default: '/v1.0/')
- --osapi_port: OpenStack API port
- (default: '8774')
- (an integer)
- --osapi_scheme: prefix for openstack
- (default: 'http')
- --rabbit_host: rabbit host
- (default: 'localhost')
- --rabbit_max_retries: rabbit connection attempts
- (default: '12')
- (an integer)
- --rabbit_password: rabbit password
- (default: 'guest')
- --rabbit_port: rabbit port
- (default: '5672')
- (an integer)
- --rabbit_retry_interval: rabbit connection retry interval
- (default: '10')
- (an integer)
- --rabbit_userid: rabbit userid
- (default: 'guest')
- --rabbit_virtual_host: rabbit virtual host
- (default: '/')
- --region_list: list of region=fqdn pairs separated by commas
- (default: '')
- (a comma separated list)
- --s3_dmz: s3 dmz ip (for instances)
- (default: '$my_ip')
- --s3_host: s3 host (for infrastructure)
- (default: '$my_ip')
- --s3_port: s3 port
- (default: '3333')
- (an integer)
- --scheduler_manager: Manager for scheduler
- (default: 'nova.scheduler.manager.SchedulerManager')
- --scheduler_topic: the topic scheduler nodes listen on
- (default: 'scheduler')
- --sql_connection: connection string for sql database
- (default: 'sqlite:///$state_path/$sqlite_db')
- --sql_idle_timeout: timeout for idle sql database connections
- (default: '3600')
- (an integer)
- --sql_max_retries: sql connection attempts
- (default: '12')
- (an integer)
- --sql_retry_interval: sql connection retry interval
- (default: '10')
- (an integer)
- --sqlite_db: file name for sqlite
- (default: 'nova.sqlite')
- --state_path: Top-level directory for maintaining nova's state
- (default: '/usr/lib/pymodules/python2.7/nova/../')
- --[no]verbose: show debug output
- (default: 'false')
- --volume_manager: Manager for volume
- (default: 'nova.volume.manager.VolumeManager')
- --volume_topic: the topic volume nodes listen on
- (default: 'volume')
- --vpn_image_id: AMI for cloudpipe vpn server
- (default: 'ami-cloudpipe')
- --vpn_key_suffix: Suffix to add to project name for vpn key and secgroups
- (default: '-vpn')
- --zone_capabilities: Key/Multi-value list representng capabilities of this
- zone
- (default: 'hypervisor=xenserver;kvm,os=linux;windows')
- (a comma separated list)
- --zone_name: name of this zone
- (default: 'nova')
- nova.auth.manager:
- --allowed_roles: Allowed roles for project
- (default: 'cloudadmin,itsec,sysadmin,netadmin,developer')
- (a comma separated list)
- --auth_driver: Driver that auth manager uses
- (default: 'nova.auth.dbdriver.DbDriver')
- --credential_cert_file: Filename of certificate in credentials zip
- (default: 'cert.pem')
- --credential_key_file: Filename of private key in credentials zip
- (default: 'pk.pem')
- --credential_rc_file: Filename of rc in credentials zip, %s will be replaced
- by name of the region (nova by default)
- (default: '%src')
- --credential_vpn_file: Filename of certificate in credentials zip
- (default: 'nova-vpn.conf')
- --credentials_template: Template for creating users rc file
- (default: '/usr/lib/pymodules/python2.7/nova/auth/novarc.template')
- --global_roles: Roles that apply to all projects
- (default: 'cloudadmin,itsec')
- (a comma separated list)
- --superuser_roles: Roles that ignore authorization checking completely
- (default: 'cloudadmin')
- (a comma separated list)
- --vpn_client_template: Template for creating users vpn file
- (default:
- '/usr/lib/pymodules/python2.7/nova/cloudpipe/client.ovpn.template')
- nova.compute.manager:
- --compute_driver: Driver to use for controlling virtualization
- (default: 'nova.virt.connection.get_connection')
- --console_host: Console proxy host to use to connect to instances onthis host.
- (default: 'pituba')
- --instances_path: where instances are stored on disk
- (default: '$state_path/instances')
- --live_migration_retry_count: Retry count needed in live_migration. sleep 1
- sec for each count
- (default: '30')
- (an integer)
- --password_length: Length of generated admin passwords
- (default: '12')
- (an integer)
- --rescue_timeout: Automatically unrescue an instance after N seconds. Set to 0
- to disable.
- (default: '0')
- (an integer)
- --stub_network: Stub network related code
- (default: 'False')
- nova.crypto:
- --ca_file: Filename of root CA
- (default: 'cacert.pem')
- --ca_path: Where we keep our root CA
- (default: '$state_path/CA')
- --crl_file: Filename of root Certificate Revokation List
- (default: 'crl.pem')
- --key_file: Filename of private key
- (default: 'private/cakey.pem')
- --keys_path: Where we keep our keys
- (default: '$state_path/keys')
- --project_cert_subject: Subject for certificate for projects, %s for project,
- timestamp
- (default: '/C=US/ST=California/L=MountainView/O=AnsoLabs/OU=NovaDev/CN=proje
- ct-ca-%s-%s')
- --[no]use_project_ca: Should we use a CA for each project?
- (default: 'false')
- --user_cert_subject: Subject for certificate for users, %s for project, user,
- timestamp
- (default:
- '/C=US/ST=California/L=MountainView/O=AnsoLabs/OU=NovaDev/CN=%s-%s-%s')
- --vpn_cert_subject: Subject for certificate for vpns, %s for project,
- timestamp
- (default: '/C=US/ST=California/L=MountainView/O=AnsoLabs/OU=NovaDev/CN=proje
- ct-vpn-%s-%s')
- nova.db.api:
- --db_backend: The backend to use for db
- (default: 'sqlalchemy')
- --[no]enable_new_services: Services to be added to the available pool on
- create
- (default: 'true')
- --instance_name_template: Template string to be used to generate instance
- names
- (default: 'instance-%08x')
- --volume_name_template: Template string to be used to generate instance names
- (default: 'volume-%08x')
- nova.db.base:
- --db_driver: driver to use for database access
- (default: 'nova.db.api')
- nova.log:
- --default_log_levels: list of logger=LEVEL pairs
- (default:
- 'amqplib=WARN,sqlalchemy=WARN,boto=WARN,eventlet.wsgi.server=WARN')
- (a comma separated list)
- --logfile: output to named file
- --logging_context_format_string: format string to use for log messages with
- context
- (default: '%(asctime)s %(levelname)s %(name)s [%(request_id)s %(user)s
- %(project)s] %(message)s')
- --logging_debug_format_suffix: data to append to log format when level is
- DEBUG
- (default: 'from (pid=%(process)d) %(funcName)s %(pathname)s:%(lineno)d')
- --logging_default_format_string: format string to use for log messages without
- context
- (default: '%(asctime)s %(levelname)s %(name)s [-] %(message)s')
- --logging_exception_prefix: prefix each line of exception output with this
- format
- (default: '(%(name)s): TRACE: ')
- --[no]use_syslog: output to syslog
- (default: 'false')
- nova.network.linux_net:
- --dhcp_domain: domain to use for building the hostnames
- (default: 'novalocal')
- --dhcp_lease_time: Lifetime of a DHCP lease
- (default: '120')
- (an integer)
- --dhcpbridge: location of nova-dhcpbridge
- (default: '/usr/lib/pymodules/python2.7/bin/nova-dhcpbridge')
- --dhcpbridge_flagfile: location of flagfile for dhcpbridge
- (default: '/etc/nova/nova-dhcpbridge.conf')
- --dmz_cidr: dmz range that should be accepted
- (default: '10.128.0.0/24')
- --dns_server: if set, uses specific dns server for dnsmasq
- --input_chain: chain to add nova_input to
- (default: 'INPUT')
- --networks_path: Location to keep network config files
- (default: '$state_path/networks')
- --public_interface: Interface for public IP addresses
- (default: 'eth0')
- --routing_source_ip: Public IP of network host
- (default: '$my_ip')
- nova.network.manager:
- --cnt_vpn_clients: Number of addresses reserved for vpn clients
- (default: '0')
- (an integer)
- --[no]fake_call: If True, skip using the queue and make local calls
- (default: 'false')
- --fixed_ip_disassociate_timeout: Seconds after which a deallocated ip is
- disassociated
- (default: '600')
- (an integer)
- --fixed_range: Fixed IP address block
- (default: '10.0.0.0/8')
- --fixed_range_v6: Fixed IPv6 address block
- (default: 'fd00::/48')
- --[no]flat_injected: Whether to attempt to inject network setup into guest
- (default: 'true')
- --flat_interface: FlatDhcp will bridge into this interface if set
- --flat_network_bridge: Bridge for simple network instances
- (default: 'br100')
- --flat_network_dhcp_start: Dhcp start for FlatDhcp
- (default: '10.0.0.2')
- --flat_network_dns: Dns for simple network
- (default: '8.8.4.4')
- --floating_range: Floating IP address block
- (default: '4.4.4.0/24')
- --network_driver: Driver to use for network creation
- (default: 'nova.network.linux_net')
- --network_host: Network host to use for ip allocation in flat modes
- (default: 'pituba')
- --network_size: Number of addresses in each private subnet
- (default: '256')
- (an integer)
- --num_networks: Number of networks to support
- (default: '1')
- (an integer)
- --[no]update_dhcp_on_disassociate: Whether to update dhcp when fixed_ip is
- disassociated
- (default: 'false')
- --[no]use_ipv6: use the ipv6
- (default: 'false')
- --vlan_interface: network device for vlans
- (default: 'eth0')
- --vlan_start: First VLAN for private networks
- (default: '100')
- (an integer)
- --vpn_ip: Public IP for the cloudpipe VPN servers
- (default: '$my_ip')
- --vpn_start: First Vpn port for private networks
- (default: '1000')
- (an integer)
- nova.quota:
- --quota_cores: number of instance cores allowed per project
- (default: '20')
- (an integer)
- --quota_floating_ips: number of floating ips allowed per project
- (default: '10')
- (an integer)
- --quota_gigabytes: number of volume gigabytes allowed per project
- (default: '1000')
- (an integer)
- --quota_instances: number of instances allowed per project
- (default: '10')
- (an integer)
- --quota_max_injected_file_content_bytes: number of bytes allowed per injected
- file
- (default: '10240')
- (an integer)
- --quota_max_injected_file_path_bytes: number of bytes allowed per injected
- file path
- (default: '255')
- (an integer)
- --quota_max_injected_files: number of injected files allowed
- (default: '5')
- (an integer)
- --quota_metadata_items: number of metadata items allowed per instance
- (default: '128')
- (an integer)
- --quota_volumes: number of volumes allowed per project
- (default: '10')
- (an integer)
- nova.rpc:
- --rpc_thread_pool_size: Size of RPC thread pool
- (default: '1024')
- (an integer)
- nova.scheduler.api:
- --[no]enable_zone_routing: When True, routing to child zones will occur.
- (default: 'false')
- nova.service:
- --api_paste_config: File name for the paste.deploy config for nova-api
- (default: 'api-paste.ini')
- --ec2_listen: IP address for EC2 API to listen
- (default: '0.0.0.0')
- --ec2_listen_port: port for ec2 api to listen
- (default: '8773')
- (an integer)
- -?,--[no]help: show this help
- --[no]helpshort: show usage only for this module
- --[no]helpxml: like --help, but generates XML output
- --osapi_listen: IP address for OpenStack API to listen
- (default: '0.0.0.0')
- --osapi_listen_port: port for os api to listen
- (default: '8774')
- (an integer)
- --periodic_interval: seconds between running periodic tasks
- (default: '60')
- (a positive integer)
- --report_interval: seconds between nodes reporting state to datastore
- (default: '10')
- (a positive integer)
- nova.virt.disk:
- --block_size: block_size to use for dd
- (default: '268435456')
- (an integer)
- --injected_network_template: Template file for injected network
- (default: '/usr/lib/pymodules/python2.7/nova/virt/interfaces.template')
- --max_nbd_devices: maximum number of possible nbd devices
- (default: '16')
- (an integer)
- --minimum_root_size: minimum size in bytes of root partition
- (default: '10737418240')
- (an integer)
- --timeout_nbd: time to wait for a NBD device coming up
- (default: '10')
- (an integer)
- nova.virt.libvirt_conn:
- --ajaxterm_portrange: Range of ports that ajaxterm should randomly try to bind
- (default: '10000-12000')
- --[no]allow_project_net_traffic: Whether to allow in project network traffic
- (default: 'true')
- --cpuinfo_xml_template: CpuInfo XML Template (Used only live migration now)
- (default: '/usr/lib/pymodules/python2.7/nova/virt/cpuinfo.xml.template')
- --firewall_driver: Firewall driver (defaults to iptables)
- (default: 'nova.virt.libvirt_conn.IptablesFirewallDriver')
- --libvirt_type: Libvirt domain type (valid options are: kvm, lxc, qemu, uml,
- xen)
- (default: 'kvm')
- --libvirt_uri: Override the default libvirt URI (which is dependent on
- libvirt_type)
- (default: '')
- --libvirt_xml_template: Libvirt XML Template
- (default: '/usr/lib/pymodules/python2.7/nova/virt/libvirt.xml.template')
- --live_migration_bandwidth: Define live migration behavior
- (default: '0')
- (an integer)
- --live_migration_flag: Define live migration behavior.
- (default: 'VIR_MIGRATE_UNDEFINE_SOURCE, VIR_MIGRATE_PEER2PEER')
- --live_migration_uri: Define protocol used by live_migration feature
- (default: 'qemu+tcp://%s/system')
- --qemu_img: binary to use for qemu-img commands
- (default: 'qemu-img')
- --rescue_image_id: Rescue ami image
- (default: 'ami-rescue')
- --rescue_kernel_id: Rescue aki image
- (default: 'aki-rescue')
- --rescue_ramdisk_id: Rescue ari image
- (default: 'ari-rescue')
- --[no]start_guests_on_host_boot: Whether to restart guests when the host
- reboots
- (default: 'false')
- --[no]use_cow_images: Whether to use cow images
- (default: 'true')
- nova.virt.vmwareapi.vim:
- --vmwareapi_wsdl_loc: VIM Service WSDL Locatione.g
- http://<server>/vimService.wsdlDue to a bug in vSphere ESX 4.1 default
- wsdlRefer readme-vmware to setup
- nova.virt.vmwareapi_conn:
- --vmwareapi_api_retry_count: The number of times we retry on failures, e.g.,
- socket error, etc.Used only if connection_type is vmwareapi
- (default: '10.0')
- (a number)
- --vmwareapi_host_ip: URL for connection to VMWare ESX host.Required if
- connection_type is vmwareapi.
- --vmwareapi_host_password: Password for connection to VMWare ESX host.Used
- only if connection_type is vmwareapi.
- --vmwareapi_host_username: Username for connection to VMWare ESX host.Used
- only if connection_type is vmwareapi.
- --vmwareapi_task_poll_interval: The interval used for polling of remote tasks
- Used only if connection_type is vmwareapi
- (default: '5.0')
- (a number)
- --vmwareapi_vlan_interface: Physical ethernet adapter name for vlan networking
- (default: 'vmnic0')
- nova.virt.xenapi.vm_utils:
- --block_device_creation_timeout: time to wait for a block device to be created
- (default: '10')
- (an integer)
- --default_os_type: Default OS type
- (default: 'linux')
- nova.virt.xenapi_conn:
- --iqn_prefix: IQN Prefix
- (default: 'iqn.2010-10.org.openstack')
- --target_host: iSCSI Target Host
- --target_port: iSCSI Target Port, 3260 Default
- (default: '3260')
- --xenapi_agent_path: Specifies the path in which the xenapi guest agent should
- be located. If the agent is present, network configuration is not injected
- into the image Used only if connection_type=xenapi. and
- xenapi_inject_image=True
- (default: 'usr/sbin/xe-update-networking')
- --xenapi_connection_password: Password for connection to XenServer/Xen Cloud
- Platform. Used only if connection_type=xenapi.
- --xenapi_connection_url: URL for connection to XenServer/Xen Cloud Platform.
- Required if connection_type=xenapi.
- --xenapi_connection_username: Username for connection to XenServer/Xen Cloud
- Platform. Used only if connection_type=xenapi.
- (default: 'root')
- --xenapi_image_service: Where to get VM images: glance or objectstore.
- (default: 'glance')
- --[no]xenapi_inject_image: Specifies whether an attempt to inject network/key
- data into the disk image should be made. Used only if
- connection_type=xenapi.
- (default: 'true')
- --xenapi_login_timeout: Timeout in seconds for XenAPI login.
- (default: '10')
- (an integer)
- --[no]xenapi_remap_vbd_dev: Used to enable the remapping of VBD dev (Works
- around an issue in Ubuntu Maverick)
- (default: 'false')
- --xenapi_remap_vbd_dev_prefix: Specify prefix to remap VBD dev to (ex.
- /dev/xvdb -> /dev/sdb)
- (default: 'sd')
- --xenapi_sr_base_path: Base path to the storage repository
- (default: '/var/run/sr-mount')
- --xenapi_task_poll_interval: The interval used for polling of remote tasks
- (Async.VM.start, etc). Used only if connection_type=xenapi.
- (default: '0.5')
- (a number)
- --xenapi_vhd_coalesce_max_attempts: Max number of times to poll for VHD to
- coalesce. Used only if connection_type=xenapi.
- (default: '5')
- (an integer)
- --xenapi_vhd_coalesce_poll_interval: The interval used for polling of
- coalescing vhds. Used only if connection_type=xenapi.
- (default: '5.0')
- (a number)
- nova.vnc:
- --[no]vnc_enabled: enable vnc related features
- (default: 'true')
- --vncproxy_topic: the topic vnc proxy nodes listen on
- (default: 'vncproxy')
- --vncproxy_url: location of vnc console proxy, in the form
- "http://127.0.0.1:6080"
- (default: 'http://127.0.0.1:6080')
- --vncserver_host: the host interface on which vnc server should listen
- (default: '0.0.0.0')
- nova.volume.driver:
- --aoe_eth_dev: Which device to export the volumes on
- (default: 'eth0')
- --blades_per_shelf: Number of vblade blades per shelf
- (default: '16')
- (an integer)
- --iscsi_ip_prefix: discover volumes on the ip that starts with this prefix
- (default: '$my_ip')
- --iscsi_num_targets: Number of iscsi target ids per host
- (default: '100')
- (an integer)
- --iscsi_target_prefix: prefix for iscsi volumes
- (default: 'iqn.2010-10.org.openstack:')
- --num_iscsi_scan_tries: number of times to rescan iSCSI target to find volume
- (default: '3')
- --num_shell_tries: number of times to attempt to run flakey shell commands
- (default: '3')
- --num_shelves: Number of vblade shelves
- (default: '100')
- (an integer)
- --rbd_pool: the rbd pool in which volumes are stored
- (default: 'rbd')
- --volume_group: Name for the VG that will contain exported volumes
- (default: 'nova-volumes')
- nova.volume.manager:
- --storage_availability_zone: availability zone of this service
- (default: 'nova')
- --[no]use_local_volumes: if True, will not discover local volumes
- (default: 'true')
- --volume_driver: Driver to use for volume creation
- (default: 'nova.volume.driver.ISCSIDriver')
- gflags:
- --flagfile: Insert flag definitions from the given file into the command line.
- (default: '')
- --undefok: comma-separated list of flag names that it is okay to specify on
- the command line even if the program does not define a flag with that name.
- IMPORTANT: flags in this list that have arguments MUST use the --flag=value
- format.
- (default: '')
- edward@pituba:~$
Advertisement
Add Comment
Please, Sign In to add comment