| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: Iabd856748258b224308588f5c54052df2e247a62
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 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 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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: I1f560367cb895602b359a51a9da9cb044013e936
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| |/
|/| |
|
| |
| |
| |
| | |
Change-Id: I032509539c61f2f5fda2001e2db5a3298e30c561
|
|/
|
|
|
|
|
|
| |
Add an option cinder_api_insecure to pass on to cinderclient.
Bug 1100459
Change-Id: Ifb31cc0df48d2345fa0a6ec440bdf9685254cbcd
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
created by using generate_sample.sh.
Change-Id: I0b5a20b8a77d5d87bb0f8497f74a19eb5bbd2d06
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|\ |
|
| |
| |
| |
| |
| |
| | |
And other nova/volume/iscsi.py typos
Change-Id: I08e7d4379f6a455273df999b621f8a89e73e0aef
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
Fix bug 1036407
bandwith_poll_interval is deprecated in Folsom and will be removed in
Grizzly
Change-Id: I32cbdffce21a0024bd0303d46d7b7632db6ec8cb
|
|
|
|
|
|
|
|
| |
Regenerate to account for unused options which were removed by
commit ea06eff7e7
DocImpact: update nova.conf docs
Change-Id: I1082d2869d0b9d33747fb877efb6d99344074b2c
|
|
|
|
|
|
|
|
|
|
| |
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
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
It looks like this hasn't been regenerated in a looong time.
DocImpact: update nova.conf docs
Change-Id: I64832ca79b3456e64237bfa0b1b130201a3f678b
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|/
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|/
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Make the fake libvirt module look more like the real module.
Change-Id: Ie03f24c6e5c3027d83d8f3d87d049f7f9df29e5b
|
|
|
|
|
|
|
|
| |
This reverts commit e599636d09755f635604f64f17e9f56cac14575e
The nova test runner is leaking processes after this change.
Change-Id: Id74463d53f3b7cd749cba293619abef01499b90d
|