Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- edward@jaku:~$ nova-manage --help
- CLI interface for nova management.
- flags:
- /usr/bin/nova-manage:
- -?,--[no]help: show this help
- --[no]helpshort: show usage only for this module
- --[no]helpxml: like --help, but generates XML output
- nova.api.ec2:
- --lockout_attempts: Number of failed auths before lockout.
- (default: '5')
- (an integer)
- --lockout_minutes: Number of minutes to lockout if triggered.
- (default: '15')
- (an integer)
- --lockout_window: Number of minutes for lockout window.
- (default: '15')
- (an integer)
- --[no]use_forwarded_for: Treat X-Forwarded-For as the canonical remote
- address. Only enable this if you have a sanitizing proxy.
- (default: 'false')
- 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.6/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.6/nova/cloudpipe/client.ovpn.template')
- nova.cloudpipe.pipelib:
- --boot_script_template: Template for script to run on cloudpipe instance boot
- (default: '/usr/lib/pymodules/python2.6/nova/cloudpipe/bootscript.template')
- --dmz_mask: Netmask to push into openvpn config
- (default: '255.255.255.0')
- --dmz_net: Network to push into openvpn config
- (default: '10.0.0.0')
- nova.compute.api:
- --find_host_timeout: Timeout after NN seconds when looking for a host.
- (default: '30')
- (an integer)
- nova.compute.manager:
- --[no]auto_assign_floating_ip: Autoassigning floating ip to VM
- (default: 'false')
- --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: 'jaku')
- --host_state_interval: Interval in seconds for querying the host status
- (default: '120')
- (an integer)
- --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')
- --snapshot_name_template: Template string to be used to generate snapshot
- names
- (default: 'snapshot-%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.image.local:
- --images_path: path to decrypted images
- (default: '$state_path/images')
- nova.image.s3:
- --image_decryption_dir: parent dir for tempdir used for image decryption
- (default: '/tmp')
- nova.ipv6.api:
- --ipv6_backend: Backend to use for IPv6 generation
- (default: 'rfc2462')
- nova.log:
- --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')
- --build_plan_encryption_key: 128bit (hex) encryption key for scheduler build
- plans.
- --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_log_levels: list of logger=LEVEL pairs
- (default:
- 'amqplib=WARN,sqlalchemy=WARN,boto=WARN,eventlet.wsgi.server=WARN')
- (a comma separated list)
- --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_api_servers: list of glance api servers available to nova (host:port)
- (default: '127.0.0.1:9292')
- (a comma separated list)
- --host: name of this node
- (default: 'jaku')
- --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.6/nova/../')
- --logdir: output to a per-service log file in named directory
- --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: ')
- --memcached_servers: Memcached servers or None for in process cache.
- (a comma separated list)
- --my_ip: host ip address
- (default: '139.82.2.144')
- --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')
- --notification_driver: Default driver for sending notifications
- (default: 'nova.notifier.no_op_notifier')
- --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')
- --[no]publish_errors: publish error events
- (default: 'false')
- --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)
- --[no]rabbit_use_ssl: connect over SSL
- (default: 'false')
- --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.6/nova/../')
- --[no]use_syslog: output to syslog
- (default: 'false')
- --[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: integer id for cloudpipe vpn server
- (default: '0')
- (an integer)
- --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.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')
- --gateway_v6: Default IPv6 gateway
- --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: 'jaku')
- --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_ram: megabytes of instance ram allowed per project
- (default: '51200')
- (an integer)
- --quota_volumes: number of volumes allowed per project
- (default: '10')
- (an integer)
- nova.rpc:
- --rpc_conn_pool_size: Size of RPC connection pool
- (default: '30')
- (an integer)
- --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.scheduler.driver:
- --service_down_time: maximum time since last checkin for up service
- (default: '60')
- (an 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.6/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.connection:
- --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.6/nova/virt/cpuinfo.xml.template')
- --firewall_driver: Firewall driver (defaults to iptables)
- (default: 'nova.virt.libvirt.firewall.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.6/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.vnc:
- --[no]vnc_enabled: enable vnc related features
- (default: 'true')
- --vnc_keymap: keymap for vnc
- (default: 'en-us')
- --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.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@jaku:~$
Advertisement
Add Comment
Please, Sign In to add comment