summaryrefslogtreecommitdiffstats
path: root/etc/nova/nova.conf.sample
Commit message (Collapse)AuthorAgeFilesLines
* Updates nova.conf.sampleZhongyue Luo2013-06-141-4/+4
| | | | Change-Id: Iabd856748258b224308588f5c54052df2e247a62
* Enhance group handling in extract_optsJulien Danjou2013-06-101-191/+300
| | | | | | | | | | | | | | When there's 2 options with the same name, the script gets confused and doesn't know in which group it goes. This fixes it, and fixes also the template generation which is broken for various reasons: - gettext.install was missing - nova-rootwrap when imported calls exit() because it doesn't find a valid configuration file, so let's exclude it entirely anyway - eventlet/greendns needs to be ignored for this Change-Id: Iaa4e9a806e79032ce1675b46a6b7a7628c3eff89 Signed-off-by: Julien Danjou <julien@danjou.info>
* Adds ability to black/whitelist v3 API extensionsChris Yeoh2013-06-031-8/+21
| | | | | | | | | | | | | | | | Adds a config option which will blacklist specific v3 API extensions from being loaded even if they are detected. Adds a config option which if the list is not empty will stop any v3 API extension from being loaded unless it is in the whitelist. No filtering occurs if the whitelist is empty Creates a config option group osapi_v3 to hold the two new options and osapi_v3_enabled renamed to just enabled within the new group Partially implements blueprint v3-api-extension-framework Change-Id: Iec7fdb073b933791b0110dae485538c9080f2670
* Adds v3 API disable config optionChris Yeoh2013-05-311-0/+8
| | | | | | | | Adds the ability to disable the v3 API and it is disabled by default for now. The API is explictly enabled when running the unittests though. Change-Id: I34597d35b9739e06561579651f7ec72afa357919
* Add ca cert file support to cinder client requestsCian O'Driscoll2013-05-161-0/+4
| | | | | | | | Allow for ca certificates file to be specified when doing cinder client requests. Needed when using custom ca authorities. Change-Id: Ib9aa15df2fc7d96cb8587c13769399e353c032c6 Fixes: bug #1179476
* Remove security_group_handlerAaron Rosen2013-05-061-5/+0
| | | | | | | | | | | | | | | | | | Now that nova's security groups are more plugable and decoupled from the database the security_group_handler code is not very useful so this patch removes it. A little info about the security_group_handler: The security_group_handle code was added to provide a hook into nova security groups so that one could get security group add/delete/update notification and proxy them somewhere else (i.e quantum). Trying to actually using this method opens one up to several transactional issues because in the current implemenation the security group is commited to the nova database before security_group_handler is called. Implements blueprint: remove-security-group-handler Change-Id: I45047fe8dbb81555505e03309838910113080c37
* fix broken WSDL logichartsocks2013-05-021-4/+2
| | | | | | | | | vSphere driver incorrectly assumes that a WSDL is locally required. A local WSDL is only needed as a work-around for certain situations. Fixes bug 1171215 Change-Id: Id8c5fc104c244ba768c58b97afdc26703c5c42ac
* Wrong proxy port in nova.conf for Spice proxyÉmilien Macchi2013-04-261-2/+2
| | | | | | | | | | | If we look at nova/cmd/spicehtml5proxy.py, we use 6082 port for Spice proxy. In nova.conf, the default port for html5proxy_base_url is 6080 which fails console service. Fix bug #1172957 Change-Id: I52ca37f76e7a6abd085b079ae42e7914cb619ad5
* Regenerate nova.conf.sampleMark McLoughlin2013-03-011-28/+247
| | | | | | | | Fix generate_sample.sh script so that we include options from the bin/ scripts too. In order to make this work, sync a zmq-receive fix from oslo-incubator to delay parsing its config file. Change-Id: Ia3f9083b2ebc16425dbad8a2a55c2d45f1ff2be3
* Change nova-dhcpbridge FLAGFILE to a list of filesBrent Eagles2013-02-241-1/+1
| | | | | | | | | | | | | | | | | | | This patch adds support to linux_net and nova-dhcpbridge for specifying and conveying multiple dhcpbridge_flagfile values. The support is implemented as follows: dhcpbridge_flagfile is now a "MultiStr" configuration file option allowing the flag files to be defined over multiple configuration files. The configured files are concatenated into a comma separated string and assigned to the FLAGFILE environment variable when invoking nova-dhcpbridge. nova-dhcpbridge splits the value of the environment variable on the comma an initializes its configuration with the provided files (the configuration system already supports loading configuration from multiple files) Fixes bug 1131932 Change-Id: Ic9cc57b8f7d9356606b9134ef5b63ab07b6099d9
* Added a service heartbeat driver using Memcached.Akira Yoshiyama2013-02-131-1/+2
| | | | | | | | | | | | | | | | | | | Today the heartbeat information of Nova services/nodes is maintained in the DB, while each service updates the corresponding record in the Service table periodically (by default -- every 10 seconds), specifying the timestamp of the last update. This mechanism is highly inefficient and does not scale. E.g., maintaining the heartbeat information for 1,000 nodes/services would require 100 DB updates per second (just for the heartbeat). This patch adds nova.servicegroup.drivers.memcached, a service heartbeat driver using Memcached. You can reduce DB updates with it. blueprint memcached-service-heartbeat Change-Id: I60bdb1cfbce1fea051f276ebfd6ccc4ad8fe6d2b
* Regenerate nova.conf.sampleMark McLoughlin2013-02-081-104/+188
| | | | Change-Id: I1f560367cb895602b359a51a9da9cb044013e936
* Merge "Sync latest cfg from oslo-incubator"Jenkins2013-01-231-62/+83
|\
| * Sync latest cfg from oslo-incubatorMark McLoughlin2013-01-211-62/+83
| | | | | | | | | | | | | | | | | | | | The main change is: c5984ba Move logging config options into the log module Re-generate nova.conf.sample to reflect the options move. Change-Id: I3913ea54465658d93dc56e014dfe5d911b0541d6
* | Merge "Correcting improper use of the word 'an'."Jenkins2013-01-211-2/+2
|\ \ | |/ |/|
| * Correcting improper use of the word 'an'.Matt Joyce2013-01-161-2/+2
| | | | | | | | Change-Id: I032509539c61f2f5fda2001e2db5a3298e30c561
* | Allow nova to use insecure cinderclient.Cory Stone2013-01-161-1/+5
|/ | | | | | | | Add an option cinder_api_insecure to pass on to cinderclient. Bug 1100459 Change-Id: Ifb31cc0df48d2345fa0a6ec440bdf9685254cbcd
* Add common config options for SPICE graphicsDaniel P. Berrange2013-01-161-1/+29
| | | | | | | | | | | | The VNC config options are shared across hypervisor drivers, and while SPICE originally only supported KVM, it is now possible to use it with Xen too. Thus, adding common SPICE config options makes more sense than adding them to the libvirt driver only DocImpact Blueprint: libvirt-spice Change-Id: I8e817530908c6fee0781b92dc9e27010951b4540 Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
* Try out a new nova.conf.sample formatMark McLoughlin2013-01-101-1342/+1744
| | | | | | | | | | | | | | | The current format strikes me as fairly bizarre: - Having the help message after the option it's documenting seems backwards to me. Compare to the glance or swift samples. - Printing the type as e.g. "(StrOpt)" isn't very user friendly - We're creating a global pound symbol shortage Switch to a new format that looks much more like a normal config file. Change-Id: Ifba0a181667f3b81cad400f1cdd3812e388a9d64
* Regenerate nova.conf.sampleMark McLoughlin2013-01-101-419/+725
| | | | | | | | Some pretty monstrous hacking in the extraction tool is required to guess the group which options are in. It was pretty hacky to begin with though. Change-Id: Ie93dcfc82ab19af4e3cb7090bbb03d9efee83aa2
* Support cinderclient http retries.Cory Stone2013-01-071-1/+4
| | | | | | | | HTTP retries were recently added to cinderclient. This adds the config option required to use it. The default (unchanged) behavior is 0 retries. Change-Id: Ia7ad831045e8df9ad9c22f0119ae3485d91ad949
* Periodic update of DNS entries.Édouard Thuleau2012-12-281-0/+9
| | | | | | | | | | | | | The new DNS mechanism to resolve instance names on private network with multi hosted mode doesn't scale. This patch add the possibility to update the DNS entries periodically on each network host in addition to fanout cast each time the DNS entries need to be updated. DocImpact: new config options Fixes LP bug #1086026 Change-Id: I59094a29c9f5010f5e55a6f11160263337b058b2
* Autodetect nbd devices.Michael Still2012-12-121-3/+0
| | | | | | | | | | | | | This means we don't need to the max_nbd_devices flag any more at all. This patch also moves the internal representation of the list of available nbd devices to not including the leading /dev/, but that is not exposed as a change in the interface to the class. Resolves bug 861504 and its duplicate 1088339. DocImpact. Change-Id: I5c6218122ab09781d8a2ecd6d8b76a74be4a6e91
* Remove start_guests_on_host_boot config optionRafi Khardalian2012-11-291-3/+0
| | | | | | | | | | | | | | | | | Fixes bug 1081808 The start_guests_on_host_boot config option ignores any/all user-requested VM state and attempts to start every VM assigned to the hypervisor in question. This means even a VM which was suspended, paused, in error state, etc will run through the process of attempting to start. resume_guests_state_on_host_boot provides similar functionality, except that it confirms the VM was previously in a running state prior to attempting to restart on compute startup. This patch will remove the config option entirely. Flags: DocImpact Change-Id: Ib26e74c46e17496bccf8e6fa3002fc4c78bde9e9
* update nova.conf.sample.Yaguang Tang2012-11-141-352/+137
| | | | | | created by using generate_sample.sh. Change-Id: I0b5a20b8a77d5d87bb0f8497f74a19eb5bbd2d06
* remove deprecated connection_type flagSean Dague2012-10-011-4/+0
| | | | | | | | | | | | | | | Fixes bug #1025712 connection_type was deprecated in Folsom and should now be removed in Grizzly as early as possible to shake out any fallout. This removes all references to it, changes the config sample and tests appropriately. Remove old default fixtures for flavors that specify ephemeral disks if the connection_type flag was set to 'libvirt' Change-Id: I8af831600a1931ae92c6d06c5105bd1bd81debe3
* Fix config opts for Storwize/SVC volume driver.Avishay Traeger2012-09-211-3/+3
| | | | | | | | | | | Removed the "vtype" option which did not work in the driver, and added the "easytier" option. Added another check to _check_flags and made sure -warning flag is passed properly. Added unit tests to check all option variations. Fixes bug 1049446. Change-Id: I135ed85ad1b9d60e6a8cc406aa49360e0f080039
* Re-generate sample config fileMark McLoughlin2012-09-201-12/+89
| | | | | | | | | | | | | | Changes include: - recent resource tracker changes moved around options and added new options like disk_allocation_ratio - new send_arp_for_ha_count option - qpid_heartbeat default increased - volume_tmp_dir added by image cloning support - netapp_nfs and solidfire volume driver additions DocImpact: update nova.conf docs Change-Id: I4b53e4c51a40de1321f70a2bed16ac7020a2f160
* Merge "Fix FLAGS.volumes_dir help message"Jenkins2012-09-131-1/+1
|\
| * Fix FLAGS.volumes_dir help messageJoe Gordon2012-09-121-1/+1
| | | | | | | | | | | | And other nova/volume/iscsi.py typos Change-Id: I08e7d4379f6a455273df999b621f8a89e73e0aef
* | Add flag cinder_endpoint_template to volume.cinderClay Gerrard2012-09-101-0/+12
|/ | | | | | | | | | | | | | | | | Add optional flag to allow cinder endpoint to be defined by flag rather than extracted from the request context's service catalog. No change to default behavior. This flag allows deployers to use a seperate management endpoint for cinder which compute can use exclusively to send messages to cinder, or just use an auth system that doesn't add/forward the catalog along with the request (e.g. noauth). Add python-cinderclient to tools/test-requires fix lp bug #1048798 Change-Id: Icb416bf4df2a6e37024f1fbc866006d46d30bcf2
* FLAG rename: bandwith_poll_*=>bandwidth_poll_*Joe Gordon2012-08-301-1/+1
| | | | | | | | | Fix bug 1036407 bandwith_poll_interval is deprecated in Folsom and will be removed in Grizzly Change-Id: I32cbdffce21a0024bd0303d46d7b7632db6ec8cb
* Update nova.conf.sampleMark McLoughlin2012-08-281-23/+6
| | | | | | | | Regenerate to account for unused options which were removed by commit ea06eff7e7 DocImpact: update nova.conf docs Change-Id: I1082d2869d0b9d33747fb877efb6d99344074b2c
* Allow connecting to a ssl-based glanceVincent Untz2012-08-271-1/+5
| | | | | | | | | | This introduces a new glance_api_insecure setting that can be used to not verify the certificate of the glance server against the certificate authorities. Fix bug 1042081. Change-Id: I0a9f081425854e9c01e00dfd641e42276c878c67
* Merge "Re-work the handling of firewall_driver default"Jenkins2012-08-231-3/+4
|\
| * Re-work the handling of firewall_driver defaultMark McLoughlin2012-08-231-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug #1040430 We have a different default firewall driver for libvirt and xenapi, yet the sample config file currently contains: firewall_driver=nova.virt.firewall.IptablesFirewallDriver In the case of libvirt, it should actually be: firewall_driver=nova.virt.firewall.libvirt.IptablesFirewallDriver This is really easy for users to get confused about. Since we don't have a different sample config file for each hypervisor, the best we can do is to just not include the default in the sample config and have each hypervisor supply its default at runtime. DocImpact: update nova.conf docs Change-Id: Ie78371bcceac5a65978d695934e0246022f748a3
* | Include CommonConfigOpts options in sample configMark McLoughlin2012-08-231-1/+39
|/ | | | | | | | | | | | | | Options defined by CommonConfigOpts are declared within the class rather than at module level, so they weren't being included in the sample conf. Also, in essex (and up until commit 991614add8), the sample conf file didn't contain these options but they included the hyphen in the name. The hyphen is only used on the command line, it is converted to an underscore automatically in the config file. Use opt.dest rather than opt.name as the config file key. Fixes bug #1034970. DocImpact: update nova.conf docs Change-Id: Ia7f3dded9148deedeb198c19a8d343db6dd93f99
* Re-generate nova.conf.sampleMark McLoughlin2012-08-231-226/+346
| | | | | | | It looks like this hasn't been regenerated in a looong time. DocImpact: update nova.conf docs Change-Id: I64832ca79b3456e64237bfa0b1b130201a3f678b
* Merge "Introduce ImagePropertiesFilter scheduler filter"Jenkins2012-08-221-1/+1
|\
| * Introduce ImagePropertiesFilter scheduler filterJim Fehlig2012-08-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit d39137fa added functionality to the ComputeFilter to filter on architecture, hypervisor_type, and vm_mode. The existing ArchFilter already filtered on architecture. This patch merges the ComputeFilter functionality introduced in d39137fa with the ArchFilter to create the ImagePropertiesFilter. The ImagePropertiesFilter uses image properties specified in the request_spec to filter hosts. This patch also adds the ImagePropertiesFilter to the list of default filters specified by the scheduler_default_filters FLAG. Fixes LP Bug #1037339 DocImpact Change-Id: Ifa6fccf2db266b0fe3457d58fc81fdb50ffcbc0f
* | Remove stub_network flagRongze Zhu2012-08-211-3/+0
|/ | | | | | | | | | | Fixes bug #816025 remove stub_network flag and replace usage with stubbing out of relevant calls in tests. In nova/tests/fake_network.py , I add set_stub_network_methods and unset_stub_network_methods. They can be userd for tests. Change-Id: Ie8fa95d9ab62cced00f0917cffe75ebc6c94bb3e
* Update FilterScheduler docJim Fehlig2012-08-171-1/+1
| | | | | | | | | | | The FilterScheduler doc was overlooked when new filters were added or existing filters were changed. This change updates the doc with information skimmed from the individual filters. nova.conf.sample is updated as well with the current list of default filters. Change-Id: I48af75c472195ded89b34db76a22947614ffb99b
* remove nova code related to Quantum v1 APIDan Wendlandt2012-08-101-47/+1
| | | | | | | | | bug 1034692 Quantum team is removing all v1 support in Folsom, so this code will not be used or supported with Quantum Folsom release. Change-Id: I4c397d5238fcc3a15320e052bdc4735dfec1f176
* Merge "Send 'create volume from snapshot' to the proper host"Jenkins2012-08-091-0/+6
|\
| * Send 'create volume from snapshot' to the proper hostZhuRongze2012-08-031-0/+6
| | | | | | | | | | | | | | | | | | | | | | A simple solution for bug 1008866. When creating volume from snapshot on multicluster, in volume it will check if snapshot_id is set. If snapshot_id is set and FLAGS.snapshot_same_host is true, make the call create volume directly to the volume host where the snapshot resides instead of passing it through the scheduler. So snapshot can be copy to new volume. The same as review 9761. Change-Id: Ic182eb4563b9462704c5969d5116629442df316a
* | Driver for IBM Storwize and SVC storage.Avishay Traeger2012-08-091-1/+25
|/ | | | | | | | | | | Volume driver for IBM Storwize and SVC storage systems, along with unit tests and updated sample config file. The unit tests include a Storwize/SVC management simulator to allow for testing without controller hardware. Also added a new exception for volume drivers. Co-authored-by: Ronen Kat <ronenkat@il.ibm.com> Change-Id: I3fe9cfcca8d4bddb71c763b526105e34f2652557
* Turn on base image cleanup by default.Michael Still2012-07-281-1/+1
| | | | | | | | | Essex shipped with the libvirt image cache manager hobbled so it wouldn't delete unused base images. Its been a while and we haven't had a new bug reported in ages. Let's turn it on for Folsom. This is tracked by bug 1029674. Change-Id: I5529232bf4a316f844d383d5f5a3c0c287d59c1f
* Add multi-process support for API servicesJohannes Erdfelt2012-06-281-0/+12
| | | | | | | | | | | | | | | | | Implements blueprint multi-process-api-service This is based on Huang Zhiteng's patch. This patch adds support for running services as multiple processes. This is primarily intended to be used with the API service as a way to provide more concurrency than eventlet can sometimes provide. A SIGTERM or SIGINT signal will cause the parent process to gracefully terminate the child processes, allowing them to finish processing the requests currently being processed. The parent will wait for the children to finish before exiting. Change-Id: Ie6d6802626eb42d5e64c4167be363fbf6cea2a1b
* Set libvirt_nonblocking to true by default for Folsom.Yun Mao2012-06-201-1/+1
| | | | | | Make the fake libvirt module look more like the real module. Change-Id: Ie03f24c6e5c3027d83d8f3d87d049f7f9df29e5b
* Revert "blueprint <multi-process-api-service>"James E. Blair2012-06-041-12/+0
| | | | | | | | This reverts commit e599636d09755f635604f64f17e9f56cac14575e The nova test runner is leaking processes after this change. Change-Id: Id74463d53f3b7cd749cba293619abef01499b90d