os-vif does not current respect the neutron provided mtu, it just uses
the configuration inside os-vif. This is a big regression from mitaka
and liberty.
Long term, this is something os-vif will be able to do by correctly
parsing and acting on the network info. For now we just set the mtu for
a second time once os-vif has done what it wants to do.
Closes-Bug: #1623876
Change-Id: Id4ca38fa1bb84f8cdb5edcd9ccb7acd8c8e9b60c
The RT tracks instance dicts for some reason. Fix that and make the
test poke the previous issue.
Change-Id: Iae3b2aa8e655f51f6fffd98dd02fa8e1cd9366c3
Closes-Bug: #1624119
Add soft deleting 'migrations' table when the VM instance is deleted.
And add soft deleting 'migrations' table when archiving deleted rows
for the case to upgrade.
Change-Id: Ica35ce2628dfcf412eb097c2c61fdde8828e9d90
Closes-Bug: #1584702
Currently the 'update_available_resource' only update the allocations
records for the instances which are tracked by RT. Which leads to leak
allocations record in the DB. The cases for leaking:
* When execute resize, the instance is moved to another host and the
instance.host is changed to the new host. But RT only update the
instance which instance.host is on the same host. It leads to the
allocation record on the source host leave in the DB.
* The instance was deleted locally when the compute node is down. After
the compute node back, the related allocations record can't be cleanup.
This patch add new method for the scheduler client. It will remove all
the allocations records for the instance which isn't on the host.
Change-Id: I28884c4edac8825a4753449f1b6e1eddded0d52b
Partial-Bug: #1621709
The HTTP responses that are errors and provided messages to the
client should be marked for translation. This change does that.
Change-Id: If22270768c2e6cdb810e0e08b3a4ab7a42bf828d
Closes-Bug: #1621888
If a PUT, POST or PATCH is sent without a content-type header,
webob.dec.wsgify will raise a KeyError. Avoid this by checking for
the content-type header before reaching any wsgify calls. As noted
in the TODO within this is not the most elegant solution, but
prevents an inadvertent 500 and returns a reasonable 400.
Change-Id: I6e7dffb5dc5f0cdc78a57e8df3ae9952c55163ae
Closes-Bug: #1623517
This commit adds option ps2mouse to pointer_model, and set the default
value of pointer_model to usbtablet to do not break upgrade regarding
the default behavior of use_usb_tablet.
WHY: use_usb_tablet is by default set to True and during the
deprecation phase of use_usb_tablet, operators which have set that
option to false can't have the same behavior by using pointer_model
since use_usb_tablet takes precedence. Now operators can use
pointer_model=ps2mouse.
Change-Id: Id18b5503799922e4096bde296a9e7bb4f2a994aa
Closes-Bug: #1621582
This reverts commit 0d6d1616b9.
The PYTHONDONTWRITEBYTECODE setting is ignored in post-v1.6.0 versions
of tox due to issues with setuptools [1]. Suffer the performance hit.
[1] https://tox.readthedocs.io/en/latest/changelog.html#id21
Change-Id: I99d165f0cc4f5382aef72f21f31bc985585f4748
This commit updates image.inc to remove create
and update image from title
Partially implements blueprint api-ref-in-rst
Change-Id: Ib9aea5fd26585f6b81addfe4f0cdea00f2b2eaf5
This commit verify everything for cloudpipe.inc
Also mark this API deprecated as it works only for
nova-networks.
Partially implements blueprint api-ref-in-rst
Change-Id: I415760ff634dd85974f0c3f79e788e633852efb5