| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Also makes adds passing True to the disassociate/deallocate functions
use a kwarg so the meaning is more apparent.
Fixes bug #918358.
Change-Id: Ie88d19456ffe0fa5f7c7bba79b572672db96c766
|
| |\ \ \ \
| |/ / /
|/| | | |
|
| | | | |
| | | |
| | | |
| | | | |
Change-Id: I0f432b790ebee3a017f2124619a9ab78421b0eac
|
| |/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Adding this functionality required the existing DNS api
to be rearranged considerably.
Nova needs to track some information about domains that is
outside the scope of the DNS driver, specifically the availability
zone of a private domain and the project of a public domain.
In order to track those attributes, this patch adds a new table
to the Nova database, dns_domains.
This patch perpetuates some naming ambiguities (e.g. zone vs. domain).
A future renaming patch will sort all this out.
For blueprint public-and-private-dns.
Change-Id: I80865207d34ab7c6e2afc5638863a299b3913f8e
|
| |\ \ \ |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This is a bit of a scheduler refactoring to support future scaling work
as a part of blueprint scaling-zones.
Also fixes bug 891971 (remove unused set_network_host in scheduler)
With or without that blueprint work, this cleans a number of things up
and paves the way for combining a lot of the schedulers by using this
new 'HostManager' for filtering and weighing (future work :)
On to the goodies:
Introduces new HostManager, splitting code out from ZoneManager.
Zone communication and management is handlded in the ZoneManager.
Host filtering and weighing is handled in the HostManager.
ZoneManager is removed from the SchedulerManager and direct calls to it
from the SchedulerManager now occur via the scheduler driver. This
simplifies a number of things.
ZoneManager and HostManager classes to use are now flags. This allows
one to extend the current classes and use them.
HostManager uses a HostState class to keep info about hosts. This class
needs to be extendable. Since it's very much tied to the HostManager,
the HostState class to use is not a flag. It is, instead, a class
variable in HostManager.
Filtering functions now accept a single host to filter. This improves
performance by not having to build a new array of hosts within every
filter function.
Filtering functions now accept a more generic 'filter_properties'
dictionary which we can fill with information available for filtering.
Adding additional data to this 'filter_properties' can be done by
subclassing.
Weighing functions now accept this 'filter_properties', also, although
it's poorly named ATM. Will be cleaned up in a future branch when I
move some weighing functions into the host manager.
Filtering tests are true unit tests now.
test_zones was moved from top level to under scheduler as zone_manager
tests and refactored to be true unit tests.
Host tests are true unit tests now.
Other minor cleanups
Change-Id: I0ef2acef6639b4500c400c18cf2c673cb80f0150
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add an check to the list_instances method so that the domains whose ID
is 0 are not listed, since this is reserved in libvirt for hypervisors.
Refers to https://lists.launchpad.net/openstack/msg06699.html
Change-Id: I55f6f370cbaf8bd2254e08afad8b36d833726817
|
| |\ \ \ \
| |/ / /
|/| | | |
|
| | |/ /
| | |
| | |
| | |
| | |
| | | |
Fixes LP bug #917810.
Change-Id: I17c1e467a13075f3952dc6a1b475bc71a8b1d9bc
|
| |\ \ \
| |/ /
|/| | |
|
| | |/
| |
| |
| |
| |
| | |
Fixes bug 917327
Change-Id: I0b77b088c9fe99354bcec3706fbdc05f3c39ae90
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| | |
Fixes bug 917812
Change-Id: Ibb59e2ae634590fe57e777b720a84580c6ed64cc
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Creates a unified way to access vnc consoles for xenserver and libvirt
* Now supports both java and websocket clients
* Removes nova-vncproxy - a replacement version of this (nova-novncproxy) can be found as described in vncconsole.rst
* Adds nova-xvpvncproxy, which supports a java vnc client
* Adds api extension to access java and novnc access_urls
* Fixes proxy server to close/shutdown sockets more cleanly
* Address style feedback
* Use new-style extension format
* Fix setup.py
* utils.gen_uuid must be wrapped like str(utils.gen_uuid()) or it can't be serialized
Change-Id: I5e42e2f160e8e3476269bd64b0e8aa77e66c918c
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is the first of a series of commits that add the host-aggregates capability,
as described on the blueprint page.
This commit, more precisely, introduces changes to the Nova model: model classes
related to aggregates have been added, as well as DB API methods to interact with
the model; a sqlalchemy migration script plus a bunch of tests are also part of
this changeset.
Commits that will follow are going to add:
- Extensions to OSAPI Admin, and related python_novaclient mappings
- Implementation of the XenAPI virt layer
- Integration of OSAPI and virt layer, via the compute_api
- smoketests
- openstack-manuals documentation
These commits will be pushed for review not necessarily in this exact order.
Change-Id: Iceb27609dc53bf4305c02d7cbc436fba4c4a7256
|
| |\ \ \ |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The problem: self.__dict__ contains message. This overrides the
default of None for the NovaException constructor. Since a
message is provided, it's used directly instead of trying to
substitute the keyword arguments. The solution is to limit the
keyword arguments we pass to the NovaException constructor, so
they don't contain message. Fixes bug 917768.
Change-Id: I5986fa7b552c84ba7f902e78b32498ab294beb7b
|
| | |_|/
|/| |
| | |
| | |
| | |
| | | |
Fixes bug 917306
Change-Id: I27848a4503a5027b0e5f9cad3f110ea67c462327
|
| |\ \ \
| |_|/
|/| | |
|
| | | |
| | |
| | |
| | | |
Change-Id: I5e29c2af495d5b8e58d7101545f43ba40c5a97a4
|
| |\ \ \ |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
If distutils-extra is installed, all scripts are automatically included
in the tarball. We should explicitly include them in setup.py to avoid
confusion.
As an example, the 2011.3 tarballs appear to have been generated with
distutils-extra but the 2011.3.1/2012.1 tarballs are now being
generated in a venv. So, these newer tarballs are missing scripts which
were included in 2011.3.
Change-Id: I2a85418b84b93e041f6c7d31833b09acdcb29daa
|
| |\ \ \ \
| |_|_|/
|/| | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Partially implements bp interim-nova-authz-service
Change-Id: Ib93d854ee1a7f22f4e7f313a9d50300df8b8596b
|
| |\ \ \ \ |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* Allows exit 254 from ip add and ip del
* Allows exit 7 from route add and route del
* These exit codes means the ip/route already existed or was
already removed
* Fixes bug 915556
Change-Id: Ib71da2351372f3c7e3558cf5b3e9f55e10681875
|
| |\ \ \ \ \
| |_|_|/ /
|/| | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I01c384666ae2366638fe77ffbe2f85e9e2692303
|
| |\ \ \ \ \ |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Allow a 'loop' entry to be optional.
Also improve the diagnostic with an empty
or non capable list.
Change-Id: Iec395497e43d1e84adbfc5f29a7bce82d4f91587
|
| |\ \ \ \ \ \ |
|
| | | |_|_|/ /
| |/| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
If a specific rule is not found, we will check the rule defined in FLAGS.policy_default_action.
Change-Id: Ib1b1aa4bbeec74bdb1562d0fc649d33838076f01
|
| |\ \ \ \ \ \
| |_|_|/ / /
|/| | | | | |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
As pointed out by Vish, there are duplicates of:
OverridesTestCase::test_default_override
OverridesTestCase::test_override
SadPathTestCase::test_conf_file_not_found
Also, rename the ConfigFileOptsTestCase so it is obvious they
don't clash with the tests by the same name in CliOptsTestCase.
Change-Id: I5cda3c4796b98eaf0e99589579d0b3bceaf9cd8b
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | | |
looking at logs."
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
at logs.
Change-Id: Ic29b9c6b83c4572d17c0b48fb509063d279d3a78
|
| |\ \ \ \ \ \ \
| |_|_|_|_|_|/
|/| | | | | | |
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Fixes bug 891264
Change-Id: Ie5975a6ee8129392b308d405ab5cb9303bdd0a89
|
| |\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | | |
error that the tests caught"
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
that the tests caught
Change-Id: I6c706e4681cf079caab614b0870315b275339028
|
| | |_|_|_|/ / /
|/| | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Fixing bug where calling super causes TypeError. For explanation, see:
http://stackoverflow.com/questions/489269/python-super-raises-typeerror-why
bug: 917398
Change-Id: Ib2bd69496b4e1e93f63b17b9ba751ae27126f736
|
| |\ \ \ \ \ \ \ |
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Updates the following extensions to conform to new interfaces:
* admin_actions (AdminActions)
* console_output (Console_output)
* deferred_delete (DeferredDelete)
* floating_ips (Floating_ips)
* multinic (NMN)
* rescue (Rescue)
* security_groups (SecurityGroups)
Related to blueprint extension-refactor.
Change-Id: Ica7b44db22835971703cc72d831410d7e7660f1d
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Fixed bug #877417
Change-Id: Iddb9a6d4eb798b0f41f0ef1ab01cb02d16d16dbe
|
| |\ \ \ \ \ \ \ \
| |_|/ / / / / /
|/| | | | | | | |
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
The fake implementation was raising an exception during a failed
search_s where the normal python ldap module does not. So, removed
that raise.
Also added a modrdn_s implementation because I need it for a network test.
(Indirectly) for blueprint public-and-private-dns.
Change-Id: Ia86a776afe19ffce72b285bb4c96ce3ed0ae7c4a
|
| |\ \ \ \ \ \ \ \ |
|
| | | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Fixes bug 917377
Change-Id: I375f70bc35fe96813f8706f1691d1619f46b8f84
|
| |\ \ \ \ \ \ \ \ \ |
|