| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
These don't do anything anymore since we just rely on optparse's
--help behaviour.
Change-Id: I7c74456a06fe924503dcfbcfa4da9fc5c26b8ab0
|
| |\ \ \ \ \ \ \
| |_|_|_|_|_|/
|/| | | | | | |
|
| | | |/ / / /
| |/| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Fixes bug 921744
Change-Id: Ib4b6405dffa3ee2e8ef2b8a7710124f97f0fdf43
|
| |/ / / / /
| | | | |
| | | | |
| | | | |
| | | | | |
bug: 867627
Change-Id: I663fd4004a2198c15d576de33b5aa35188a6e74a
|
| |\| | | |
| |/ / /
|/| | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
It's the only code in the codebase using evil CRLF line endings.
Change-Id: I8b1a2b12a5707fbd4d32588c081599beaa34aca5
|
| |\ \ \ \ |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
1. Provides dom0 IPtables driver to implement the Provider firewall rules.
2. Existing libvirt code has been refactored to reduce the amount of duplicated code to a minimum
3. The three provider apis in ec2/admin.py file are now fixed the following way:
a. remove_external_address_block returned 'OK' on removing blocks which didn't exist. This is now fixed.
b. block_external_addresses raised exception earlier on duplicate network blocks. Now the exception is logged and failed status message is returned.
c. all the three provider apis now logs for invalid and improper inputs and return uniform (a dictionary ) and proper status messages for all cases.
4. appropriate unit tests added to cover the same
Change-Id: I27d83186f850423a6268947aed0c9a349d8f8d65
|
| |\ \ \ \ \
| |_|/ / /
|/| | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This commit introduces sub for a host maintenance_mode option into
the osapi. It is required for the host aggregates work.
This is part of a series of commits that have started with change:
https://review.openstack.org/#change,3035
Change-Id: Ib462ef9ad6b641bf1083cc176dfba6645020ccec
|
| |\ \ \ \ \
| |_|/ / /
|/| | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* Makes euca-upload/euca-register work again
* Provides means for novarc to be generated
* Fixes bug 903345
* Implements blueprint x509-cert-crud
Change-Id: I0b2a42fe5436243da6925ba199936b49458d6f8c
|
| |/ / / /
| | | |
| | | |
| | | |
| | | |
| | | | |
Implements blueprint start-stop-methods-support-in-os-servers-xapi
Change-Id: I7aa241ffdd2ec3a7c9800411268f4adc47960be8
|
| |\ \ \ \ |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* Adds new worker for cert management
* Makes decrypt use an rpc to the worker
* Moves CA filesystem creation out of cloud.setup
* Moves test for X509 into crypto
* Adds test for encrypting and decrypting using cert
* Cleans up extra code in cloudpipe
* Fixes bug 918563
* Prepares for a future patch that will fix bug 903345
Change-Id: I4693c50c8f432706f97395af39e736f49d60e719
|
| |\ \ \ \ \
| |/ / / /
|/| | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Add configuration sanity to QuantumManager. Logs error message
if a parameter not used by QuantumManager's create_networks()
method is passed into it.
Change-Id: I1d6daa7f77590a61b542122ada33ed1c188df19f
|
| |\ \ \ \ \ |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Introduced recently by 60ff2e, but seems totally unused.
Change-Id: Iefe0168b6bc189ec83efbd69f0be22946696d408
|
| |\ \ \ \ \ \ |
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Querying for resource usage within a given time range seems to have a
logic flaw: it will only report instances that have run the entire
length of the specified range.
AIUI What we really want is any instance that spent any time consuming
resources at any point in the specified range. Fix the logic to
implement this.
v2:
Update function comments as well
Change-Id: I4fa567982457e5f447ec33cf3d96457f50d71d86
|
| |\ \ \ \ \ \ \ |
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Change nova-manage network modify --network to --fixed_range, to match
nova-manage network delete.
Also document both.
Change-Id: I3c03a33e9e3576393252d771eb4ce3353a7f2eaa
|
| |\ \ \ \ \ \ \ \ |
|
| | | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
* Raise NoFloatingIpInterface when associate floating IP has an
interface that doesn't exist.
* Return 500 Internal server Error, indicate only that associate
action failed
Change-Id: I6b032f7554795de64bce8e669d20269210c62e33
|
| |\ \ \ \ \ \ \ \ \ |
|
| | | |_|_|_|/ / / /
| |/| | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Since keys are just the domain name, we need to be able
to reuse them. That means we have to do a real record
deletion to free up namespace rather than just mark the
records as deleted.
For blueprint public-and-private-dns.
Change-Id: If47e961cf2cb977d297b506bd397f1a438499f18
|
| |\ \ \ \ \ \ \ \ \ |
|
| | | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
nova.rpc.common.ConnectionContext makes use of an exception that was not
defined. This patch adds it.
Change-Id: Ibfbd2fc56dbcc36c8f271d5bc8c6e1db04ce8c93
|
| |\| | | | | | | | |
| |_|_|/ / / / / /
|/| | | | | | | | |
|
| | | |_|_|/ / / /
| |/| | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Implements blueprint apache-qpid-rpc.
This patch adds a new implementation of the nova.rpc API that uses Qpid
as the messaging backend. We first considered trying to add Qpid
support to kombu, but the kombu API did not map very well to Qpid, which
is based on a newer version of AMQP. It was easier to just map the nova
rpc API to Qpid.
For more information about how to use Qpid with Nova, see this wiki
page:
http://wiki.openstack.org/QpidSupport
The structure of impl_qpid is largely based on impl_kombu, but adapted
to use the Qpid APIs as necessary. This patch also factors out some of
the code shared with impl_kombu into nova.rpc.common to try to cut down
on duplicated code.
The unit tests were written from scratch instead of taking advantage
of the common rpc unit tests. The common unit tests only work if qpidd
is running, but they do pass if enabled. The unit tests for impl_qpid
instead use mox to mock out the Qpid objects and ensure the right
operations happen on them when the rpc API is exercised.
This patch was a joint effort between myself and William Henry, which is
why he was added to the Authors file in this patch.
Change-Id: Ibacaa956e016ef96f014443074e2a4622e31f090
|
| |\ \ \ \ \ \ \ \
| |/ / / / / / /
|/| | | | | | | |
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Python-ldap sometimes behaves poorly when receiving unicode strings.
For blueprint public-and-private-dns.
Change-Id: If61c3b5bb9198e3870fb48974fa4a8fc072bb1bb
|
| |\ \ \ \ \ \ \ \ |
|
| | | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Change-Id: I6cc540e666abcb319acb5a0d653a7ef35ed401b1
|
| |\ \ \ \ \ \ \ \ \
| | |_|_|_|/ / / /
| |/| | | | | | | |
|
| | | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
This extension is a step towards deprecating openstackx for horizon.
Most of the extension code is based on the equivalent in openstackx.
v2:
s/lifecycle/manage/ for all bits
Address Pádraig style issues
Drop purge API option
Adjust now inaccurate comment in DB api
Make extension admin_only
Extend existing /flavors namespace rather than os-flavor-lifecycle
Only allow API access from admin user
v3:
Some pep8 fixes
v4:
Adjust to root_gb, ephemeral_gb changes
Drop admin_only (it's on the way out AIUI)
Change-Id: I3fdfccdd8e7337e1759f5875c3b15fa9954371ef
|
| |\ \ \ \ \ \ \ \ \ |
|
| | | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Working on blueprint separate-nova-adminapi. This removes the
admin_only extension attribute and the allow_admin_api flag. The
approach we're going for now is to load all extensions, but
to set an admin-only rule in our policy file for those extensions
that should be limited to just admin users. Now that all of our
admin api code has been moved to extensions, in order to
prevent admin api code from being loaded, simply remove it from
the extension list.
Change-Id: Ic574e06af44922ba764013b769077fc5099fd1a2
|
| |\ \ \ \ \ \ \ \ \ \
| | |/ / / / / / / /
| |/| | | | | | | /
| |_|_|_|_|_|_|_|/
|/| | | | | | | | |
|
| | |/ / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
This allows an extension to add new actions for create and delete
operations to an existing collection.
Currently when extending an existing collection (API namespace), an
extension can register brand new 'actions', and extend any preexisting API
functionality, but unfortunately create and delete are special cases that
don't fall under the 'actions' classification, meaning the infrastructure
can't handle them unless extending an existing impl.
Stubbing out the create/delete methods in the original resource with
the equiv of a NotImplementedError doesn't work, since 'extend'ing
requires the original implementation to exit correctly.
Whitelist 'create' and 'delete' and handle them appropriately.
v2:
Add myself to Authors
Update wsgi.action docs
Add a test case
v3:
Actually update Authors
Change-Id: I550ae93c5e200f18644042ac81656bc76dbe8955
|
| |\ \ \ \ \ \ \ \
| |_|_|/ / / / /
|/| | | | | | | |
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
In the interests of improving DRY in the sqlalchemy db backend API,
abstract out _exact_match_filter().
Change-Id: Ic381a071005dced6989e9e9696930fd85b6d5d46
|
| | |/ / / / / /
|/| | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
I was seeing dcs where ['e','v','e','r','y'] character was
a list item, so clearly ldap is going to interpret this field
as a list whether it is one or not.
For blueprint public-and-private-dns.
Change-Id: I9f383b322e85d99783f9ce93bdfc4e0d3d94e2ed
|
| |\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This is a follow-on to https://review.openstack.org/3135 that changes
the Keystone middleware. Devstack's https://review.openstack.org/3333
requires this change to work properly.
Change-Id: If439cd5c27be2026b9c1db1747acb01b893a60b4
|
| |\ \ \ \ \ \ \ |
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Change-Id: I7721bae1af900c215552f547e125c2b1e60b271e
|
| |\ \ \ \ \ \ \ \
| |/ / / / / / /
|/| | | | | | | |
|
| | |/ / / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Implements blueprint disk-configuration-parity
This change splits local_gb into root_gb and ephemeral_gb. libvirt
interpreted local_gb as what ephemeral_gb is now, whereas XenAPI
interpreted local_gb as what root_gb is now.
Change-Id: I496600991bac1e990326d4ded1607fee08209d68
|