The pylint tests have been broken for several months and
the Jenkins job has also been disabled. There has been
no sign of attempts to address this, so just delete what
remains of the pylint support so developers don't mistakenly
think it is supposed to work with patches they are submitting.
Change-Id: Ifacc99e45acb0e9a72be6c31113e0cf073354f02
The nova unit test console output can be flooded with deprecation
warnings from dependent libraries, this change makes it so they are only
logged once.
It's worth noting that Keystone has an alternative implementation where
they filter deprecation warnings and only error out if they are coming
from Keystone code. See commit 9ae6ffe8a.
Partial-Bug: #1407736
Co-authored-by: Sean Dague <sean@dague.net>
Change-Id: Id8d8866baaf64721fda2b6b2e8358db18920c8ba
The development.environment instructions were almost completely copy/pastable
to get started on a new machine. Almost. This doc patch just adds python-tox to
the list of things to be fetched with apt-get, so now it's really *really* simple to get
started on a brand-new machine or cloud instance.
Change-Id: I09cbb376df2ce81e618c99e5db36ddf7809f6f3d
When attach_interface, this LOG.exception will be reported
if InterfaceAttachFailed is raised from compute layer
actually, there already are LOG.error and API layer also
reported this exception, so there is no need to
raise exception here.
Change-Id: If5258c851b60cc4360f357a531610e4e52f9b26c
This commit removes the local copy of subunit-trace in nova and uses
the packaged version of the utility in tempest-lib.
Change-Id: I1ed2fea9ff3d8194628b722684492f8ba7a3cabb
Stop using the deprecated eventlet.util API: use
eventlet.patcher.original('socket') to access the original socket.socket
type.
Change-Id: Idbb9d2b53829dae0e807cd1260dee3dce155d5f3
Closes-Bug: 1407685
These changes aim to clean up the pattern of passing a context in
object member functions create/destroy/refresh/save and instead
initialize the object with the context when it's constructed.
Related to blueprint kilo-objects
Change-Id: Idb27a5d2c4a58f2bb70817006dec219ca702e4dd
These changes aim to clean up the pattern of passing a context in
object member functions create/destroy/refresh/save and instead
initialize the object with the context when it's constructed.
Related to blueprint kilo-objects
Change-Id: I02458af37e0c39d9a9d7309a9a3cc1d2545f3da1
These changes aim to clean up the pattern of passing a context in
object member functions create/destroy/refresh/save and instead
initialize the object with the context when it's constructed.
Related to blueprint kilo-objects
Change-Id: I60be29ba0c6ccbadd4c4d9a2d5426d1047c01a82
These changes aim to clean up the pattern of passing a context in
object member functions create/destroy/refresh/save and instead
initialize the object with the context when it's constructed.
Related to blueprint kilo-objects
Change-Id: I4405407f0f9e20bedbfd714b98492eb9beb39722
These changes aim to clean up the pattern of passing a context in
object member functions create/destroy/refresh/save and instead
initialize the object with the context when it's constructed.
Related to blueprint kilo-objects
Change-Id: Ibad6b1f94686117cd67984858c8ac17237540bed
These changes aim to clean up the pattern of passing a context in
object member functions create/destroy/refresh/save and instead
initialize the object with the context when it's constructed.
Related to blueprint kilo-objects
Change-Id: Id672fab7a840a8e07be305a06083b3e9ca30d18e
Remove every single *_nsmap definition, they are only used
to provide an argument to the template constructors and
was used for XML namespacing.
Pretty much every single ResponseObject.attach() call can
go away as well, they're only used to attach XML slave
templates to the master templates, and the method does
nothing if no arguments are passed.
Change-Id: I744869bb41a4938268c0769939fa998eeeb476c8
The os-floating-ips extension translates the floating IP information
from the network API for the response but is only checking fields based
on what comes back from nova-network, which is using the FloatingIP
object. The neutronv2 API returns a different set of keys for the
instance/instance_uuid which the API extension doesn't handle and
therefore doesn't show the associated instance id for a given floating
IP.
The network APIs should return consistent data formats so this change
adds the expected key to fix the bug in the API extension (since the API
extensions shouldn't have to know the implementation details of the
network API, there are some extensions actually checking if it's the
neutron API and parsing the result set based on that).
This change will be used to backport the fix to the stable branches.
The longer term fix is to convert the neutronv2 get_floating_ip* API
methods to use nova objects which will be done as part of blueprint
kilo-objects in a separate change.
Closes-Bug: #1380965
Change-Id: I01df2096ced51eb9ebfd994cf8397f2fa094f6e3
In I5a580fc323c3809790b4a68a9f8f8129ecdc2cf0 we switched off XML support. In
this review we entirely remove all support for XML in the API.
Change-Id: Id384d0e8d350fdd68ed03c83b94f6e558d53eb28
This commit adds some basic pinning logic that will allow us to make
pinning placements taking into consideration hyperthreading capabilities
of the host (and instances if set).
_numa_fit_instance_cell_with_pinning is the central method that will be
called for each NUMA cell that will eventually be called from
numa_fit_instance_to_host for instances that will require explicit CPU
pinning.
None of the methods here are meant to be exposed as public methods to be
called outside of numa_fit_instance_to_host, however since they contain
all the placement logic it is useful to test them separately.
Change-Id: Ia846437f315bceb21d7ffd0cdfdd905a0b2d546d
Blueprint: virt-driver-cpu-pinning