| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The images functionality is moved for the V3 API from core to an
extension and is now accessed via /os-images instead of /images.
Consensus appears to be that we continue to need this
functionality for v3 because some deployers disable the public
image endpoint due security concerns and whether this will be
fixed in glance for Havana. Deployers can disable
this extension if they do not want it.
A further changeset will follow which changes the view builder
to correctly handle the lack of project id in the path with the
v3 API.
Partially implements blueprint nova-v3-api
Change-Id: I1237ad1ab5c58bb2d7cd9460b14666b4b97ef7fc
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
Ports the server_diagnostics extensions and the corresponding
unittests to the v3 framework.
Partially implements blueprint nova-v3-api
Change-Id: I2ddf626a539d47884e845d73ec67e9f9169dcb2b
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
Ports the cells extensions and the corresponding unittests to the
v3 framework.
Merges in functionality of the os-cells-capacities extension to
be the default behavior. Does not yet address v3 TODO of returning
capacity information in the cell detail method
Partially implements blueprint nova-v3-api
Change-Id: I24df708b9d6504a355fca0eacd0ffaeb6586610d
|
|
|
|
|
|
|
|
|
| |
Ports the flavor_disabled extension and the corresponding
unittests to the v3 framework.
Partially implements blueprint nova-v3-api
Change-Id: I8af3f69ebc0584b79499e2695d6120c7c0833d24
|
|
|
|
|
|
|
|
|
| |
Ports the flavor_access extension and the corresponding
unittests to the v3 framework.
Partially implements blueprint nova-v3-api
Change-Id: I671f490bad2daaaae06d48328f4fff10076ab0ed
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Implements: blueprint ivs-vif-driver
Adds line to rootwrap config to allow call to ivs-ctl to control the Indigo switch.
Adds a new 'ivs' VIF type in network/model.py.
Adds support to the LibvirtGenericVIFDriver class for the IVS switch.
Adds functions to linux_net.py to create and delete IVS vif ports.
Adds unit tests to test the new IVS methods.
Change-Id: I65436b82f65374103644af8aba9dba14ba73f94c
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch contains the changes required to adapt the service
extension and the corresponding unittest to the v3 framework
Partially implements bp v3-api-extension-versioning
Change-Id: If5438d5bef5da1832e81c0b80523f9f419d5e3d5
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Adds ability for a v3 loaded extension to be visible in
/v3/extensions to be dependent on the discoverable action policy
for that extension. Note that this does not actually effect whether
or not the functionality provided by the extension is accessible
Implements blueprint nova-v3-api-filter
Change-Id: I3f6ba7ea59e7abfa9d57b79ab18aa5b675e64118
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This patch contains the changes required to adapt the rescue
extension and the corresponding unittest to the v3 framework
Partially implements blueprint nova-v3-api
Change-Id: Iaa6d0cf7708b0887512db952b1e26ccde75d24ef
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This patch contains the changes required to adapt the evacuate
extension and the corresponding unittest to the v3 framework
Partially implements blueprint nova-v3-api
Change-Id: Id9ca6a7a92a087cb063fe265af1ad6a626c63510
|
|\ \ \ |
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This patch contains the changes required to adapt the certificates
extension and the corresponding unittests to the v3 framework
Partially implements blueprint nova-v3-api
Change-Id: If4fe7e8524ba0181b50722281f594e0a80cd49ed
|
|/ /
| |
| |
| | |
Change-Id: Iabd856748258b224308588f5c54052df2e247a62
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
DocImpact: This patch adds an extension 'UsedLimitsForAdmin'. If this
extention is enabled then it extends the used limits API behavior, such
that admin can fetch the details of any customer's quota usage by passing
the customer's tenant id in query parameters.The API signature for the
same is 'v2/{tenant_id}/limits?tenant_id={customer_tenant_id}'
Change-Id: I89b8b5083e46b899458407426c89a3865e960faa
Implements: blueprint customer-quota-through-admin-api
|
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Implements bp usage-details-on-instance
Change-Id: I0a9101c43a51d597a1eaff9d5a5d08d602024e72
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Renames name used to for policy authorisation for the
V3 os-fixed-ips to os-fixed-ips with a "v3:" prefix (as
per ML discussion)
Change-Id: Ia599c29d7f45153ef47605b6e2a7061fc28ff7cc
|
|\| | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is the second patch for the new extension framework
which is only to be used by the Nova v3 API.
- Adds tracking of extensions loaded and allows
extensions access to this information
- Adds core API functionality as extensions
- 'server'
- Adds an entry point that other extensions can
use to modify the server create arguments without
having to modify the server extension itself
- TODO: Will have to add more entry points as other
extensions are ported. Delaying adding entry points
now so they can be tested as they are added.
- Adds port of os-keypairs extension
- This is an example of a controller extension in the new
framework
- This is an example of using the server extension entry
point to add functionality without modify the core API code
- Ports tests for the os-keypairs extensions
- Adds v3 API fake specific code for tests
This completes the bulk of the new extension framework. Porting
of the server tests will be done in future changesets as more
of the core API is ported across as the tests are dependent
on multiple core APIs.
Partially implements blueprint v3-api-extension-framework
Change-Id: Ibadb5bbe808c27d2f4afebe65c06a92576397085
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This adds filtering and weighing support to the cells scheduler.
Adds the following config options to the 'cells' group:
scheduler_filter_classes -- list of filter classes
scheduler_weight_classes -- list of weight classes
Adds a couple of weighing modules as defaults (which removes the random
cell selection):
ram_by_instance_type: Select cells with the most capacity for the
instance type being requested.
weight_offset: Allows modifying the DB to weight a particular cell
(useful for disabling a cell)
Adds a filter class (TargetCellFilter) that allows specifying a scheduler
hint to direct a build to a particular cell if you're an admin.
DocImpact
Implements blueprint cells-filter-scheduler
Change-Id: I027c5734e3d6134127fcd4dd28b8ff39047416dc
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
Added 'extended-quotas' extension that has provides ability for admins
to be able to delete a non-default quota (absolute limit) for a tenant,
so that tenant's quota will revert back to the configured default.
Implements blueprint admin-api-for-delete-quota
Change-Id: I7375420a466823b3e099aebff71a8f7d7f922afb
|
|/
|
|
|
|
|
|
|
|
| |
Make the rootwrap filters more portable by removing
the explicit exec_dirs prefix from them. This allows
a binary to be installed in any of the exec_dirs and
still be used by rootwrap, which improves cross-distro
portability.
Change-Id: Ieccb8c480e0e116a976d0920ab900305a5615015
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is the initial patch for the new extension framework to be used
by the Nova v3 API. It will only be used by v3 API extensions
and not v2 API extensions. v3 API extensions will only use this plugin
framework and will not be compatible with the old one.
- Sets up a /v3 url prefix
- Looks in an entry point namespace of nova.api.extensions
- The fixed_ips extensions is ported to /v3 as an example of
a resource extensions. Required changes are very minor.
- All extensions must derive from the V3APIExtensionBase class
- Drops updated field from extensions, replaced with version field
- Ports tests for fixed_ips extension
- None of the core has been ported in this patch, though
the example extension works without it. The intent is
to port the core code over as plugins as well. There will still
be a conceptual core however I don't think we need a separate directory
for core.
This is the first of a series of patches to add support for the
new extension framework. Future direction including support
for controller extensions, removal of extension code in core
code etc can be seen here:
https://github.com/cyeoh/nova/tree/v3_api_extension_framework
Partially implements blueprint v3-api-extension-framework
Change-Id: I88aa6353ad1d74cac51abbb6aac7274b1567485a
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Different distros (or even distro releases) put iscsiadm in potentially
arbitrary paths. It is better to use rootwraps' own search than to hardcode the
path.
Fixes bug 1178612
Change-Id: I690788b666a84e599504690d0e2d087eaa66a4c8
|
|/
|
|
|
|
|
|
|
|
| |
The sample api-paste.ini file included an insecure value for the
signing_dir option for the keystone authtoken middleware. Comment out
the option so that we just rely on the default behavior by default.
Fix bug 1174608.
Change-Id: I6189788953d789c34456bbe150b8ed6ce6f68403
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
A recent change (Ibe41afc6e9d7b432453785819821b3c8f0078613), removed
nova.openstack.common.log.LegacyFormatter, and replaced it with
ContextFormatter.
This change updates the example logging config file to reflect this
change, as any reference to the now-removed LegacyFormatter causes
nova services to fail to start.
Change-Id: I55a984ed7ea12c1dde49c4eb13d5b4f47471bf95
|
|
|
|
|
|
|
|
|
| |
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 a VM migrates from hostA to hostB, there will still be connections
in the conntrack table of the hostA. If, for any reason, VM is migrated back
to the hostA, while those connections are still in conntrack table, persistent
connections (such is ssh) to VM, from outside, will get dropped. They get
dropped cause hostA was expecting different packets and cause of that requires
establishing new connection. By dropping conntrack table entries for VM
we make sure that connection flow is not interupted by old packets.
Change-Id: If8e146e05914e9febd6fc40a1d8085306c1244ea
|
|/
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
This extension adds the OS-EXT-IPS-MAC:mac_addr param
so that users can associate the mac address to the ip of the server in
one API call.
Implement bp: os-ext-ips-mac-api-extension
DocImpact
Change-Id: I01d0b3aa804b5218853a4bb568c85e31b87d04e4
Signed-off-by: Zhi Yan Liu <zhiyanl@cn.ibm.com>
|
|
|
|
|
|
|
|
|
|
| |
This extension adds the OS-EXT-VIF-NET:net_id param
so that users can determine vif plunged into which network now.
DocImpact
Change-Id: I56bef5c45f7f545aa5e9b13760dff1c802da0f8f
Signed-off-by: Zhi Yan Liu <zhiyanl@cn.ibm.com>
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch changes make_partitions function to use sfdisk instead
of fdisk. Also added logging of cmd, stdout, and stderr should
command fail.
Fixes Bug 1088652
Change-Id: Ia2711a5450900c95598253f2a7b02e7c3e83a3d8
Authored-by: Chris Krelle <nobodycam@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
blueprint add-tilera-to-baremetal.
The baremetal driver is a hypervisor driver for Openstack Nova
Compute. Within the Openstack framework, it has the same role
as the drivers for other hypervisors (libvirt, xen, etc). With
this patch set of tilera-backend, provisioning and management
of non-PXE tilera physical hardware is accomplished using
common cloud APIs and tools.
Change-Id: I356c06a07ace463779e3b84836d5000331e24814
Co-authored-by: Mikyung Kang <mkkang@isi.edu>
Co-authored-by: David Kang <dkang@isi.edu>
Co-authored-by: Ken Igarashi <igarashik@nttdocomo.co.jp>
Co-authored-by: Arata Notsu <notsu@virtualtech.jp>
Co-authored-by: Devananda van der Veen <devananda.vdv@gmail.com>
|