Updated openstack/openstack
Project: openstack/neutron  dda71585f1abd339ac955078d906b0e54980970a
null
Imported Translations from Transifex

Change-Id: I2e20faef71a104c1a58f20b9c0d8a14ed388a330
Updated openstack/openstack
Project: openstack/neutron  4496def091e068d5fa67c0ab3b84744a1808a6f9
null
Change report_interval from 4 to 30, agent_down_time from 9 to 75

report_interval is how often an agent sends out a heartbeat to the
service. The Neutron service responds to these 'report_state' RPC
messages by updating the agent's heartbeat DB record.
The last heartbeat is then compared to the configured
agent_down_time to determine if the agent is up or down.
The agent's status is used when scheduling networks on DHCP
and L3 agents.

In the spirit of sane defaults suited for production, these values
should be bumped to reduce the load on the Neutron service
dramatically, freeing up CPU time to perform intensive operations.

DocImpact
Closes-Bug: #1293083
Change-Id: I77bcf8f66f74ba55513c989caead1f96c92b9832
Updated openstack/openstack
Project: openstack/neutron  bd05fd69956835d904f0a9922fc4807f24b8ba0a
null
Don't use root to list namespaces

A bit of low hanging fruit.  I just noticed that this hadn't been
fixed yet.

Change-Id: Iea9210098b6acf4ab24a89287529ff82986faaad
Closes-Bug: #1293818
Updated openstack/openstack
Project: openstack/tempest  fc585122e3373ae4db6f279ba96852916e15f8af
null
Add missing client names to T102 hacking check

This commit updates the list of client names that should be checked
for T102.

Change-Id: I6cb693298c75e400e5fe3a4bdd2532bca9d87b9b
Updated openstack/openstack
Project: openstack/tempest  2740b93229ae151749f62a08e4a455c77a5fc679
null
Validate get limits attributes of Nova V2 API

Now most attributes of Nova v2/v3 APIs are not checked in Tempest,
and this patch adds some tests which check these attributes to block
the backward incompatibility change in the future.

This patch adds the checks of "get limits" API responses.

The response body of v2 API is the following:
  {
    "limits": {
      "absolute": {
        "maxTotalRAMSize": 51200,
        "totalCoresUsed": 0,
        "maxTotalInstances": 10,
        "maxTotalFloatingIps": 10,
        "totalSecurityGroupsUsed": 0,
        "maxTotalCores": 20,
        "totalFloatingIpsUsed": 0,
        "maxSecurityGroups": 10,
        "maxServerMeta": 128,
        "maxPersonality": 5,
        "maxImageMeta": 128,
        "maxPersonalitySize": 10240,
        "maxSecurityGroupRules": 20,
        "maxTotalKeypairs": 100,
        "totalRAMUsed": 0,
        "totalInstancesUsed": 0
      },
      "rate": []
    }
  }

Partially implements blueprint nova-api-attribute-test

Change-Id: I503db2986ddcafb899f16d1547fd4857d355f2ed
Updated openstack/openstack
Project: openstack/nova  a6e87370828a1ac81fb762e77a1fbd889ed51998
null
Add helper method for checking if VM is booting from a volume

Add a _is_booted_from_value method which determines whether
the disk mapping indicates that the VM is booting from a volume
Update the _create_image method to use this helper API.

Related-Bug: #1271528
Change-Id: Iaa92f84ad3de9e84ba49bb255add043f3c8e4c8f
Updated openstack/openstack
Project: openstack/nova  c627f1657e5cd57b7a04b22d087cdac5e756e3e2
null
Add helper method for injecting data in an image

Add a _inject_data method whish helps to injecting data
in a disk image file system.
Update the _create_image method to use this helper

Change-Id: Ia005eee0a34d77bbf3eb33f7fef231dcf1eabe2c
Related-Bug: #1271528
Updated openstack/openstack
Project: openstack/nova  b956832d23d1c3107a1a44d60a75afc630d4c99a
null
Prevent rescheduling on block device failure

Due to a race condition - it is possible for more instances to race for
the same volume. In such a scenario, the one that fails will get
rescheduled, and in the process detach the volume of a successful
instance.

To prevent this, this patch makes nova not reschedule on block device
failures. This is actually reasonable behaviour as block device failures
are rarely related to the compute host itself and so rescheduling is not
usually useful.

This bug does not exist in the new boot code in the manager which will
be used once remove-cast-to-schedule-run-instance bp lands (see
Iefab71047996b7cc08107794d5bc628c11680a70). However, it is now clear
that this will not be merged for Icehouse, so this patch is a
"forward port" of a patch we already applied to stable/havana.

Closes-bug: #1195947

Change-Id: I6b68965ac65cdb0e1da3b44e83428f056b1693aa
Updated openstack/openstack
Project: openstack/ceilometer  8fb8d26ee6f2330931db6d671ab64093b401928e
null
Add field translation to complex query from OldSample to Sample

Complex query returns the samples according to the new Sample model, but
it accepts the field names in the query expression only from the OldSample
model during the validation. This patch adds translation between the old
and new field names and translates the field names to the format of the
DB model.

Closes-bug: #1291415

Change-Id: I8ef71b6d43b82cd75f0d7a6ea08cdc8881ca62d3
Updated openstack/openstack
Project: openstack/nova  a8e051b6ec29e524d2bd15820ffa0e8a43bd2eed
null
Adds test for rebuild in compute api

While trying to verify a reported bug I wrote a test for the compute api
rebuild method.  The test verified that the bug was not here.

Related-bug: #1292181

Change-Id: I443f4d0927e7756a99b14b0491bb7f133ece5d86
Updated openstack/openstack
Project: openstack/swift  04de98691f0239e75348bb6bbdcae3b028efa6d9
null
move cors-test-page to literal include

This makes it so test-cors.html is a real file in doc/source so it's easy for
those in the know to jump in there with a `python -m SimpleHTTPServer` and
point their webbrowser to `http://localhost:8000/test-cors.html`.

The example html and javascript still appear in the docs in their entirety
using the Sphinx literal include directive.

Change-Id: Ia0ba36df6c58795e3764fa53b7f585dcc1b3be07
Updated openstack/openstack
Project: openstack/neutron  c3a852a1c9ad6ce9b1944bcdc96717b40bf189b3
null
Cisco plugin fails with ParseError no elem found

When the Cisco nexus plugin is configured on DevStack, the tempest
Neutron API test test_port_list_filter_by_router_id fails with the
following error:
     ParseError: no element found: line 1, column 0

The root cause is that the Cisco Nexus plugin model layer
is encapsulating each dictionary response from the OVS subplugin
into a list, whereas the WSGI layer is expecting a dictionary
response. The fix is not to encapsulate these responses into a list.

Change-Id: I4b589e8e5696c0eae43cafc46912b3d7f29bbdb6
Closes-Bug: #1284162
Updated openstack/openstack
Project: openstack/glance  49d3220d941ed05743e862459f43bf83822ba75e
null
Detect MultiDict when generating json body

Detects webob.multidict Multidict at sanitizerand returns mixed()
out of them so they can be parsed as json.

Fixes image-list when using Image API v2 with registry.

Implements a test to verify that the /rpc endpoint exists as
intended.

Closes bug: #1246980

Change-Id: I3d28ca5d8f1af0ec7b9e7a8684e3160f674b8f4c
Updated openstack/openstack
Project: openstack/neutron  b4518bb9fca740487b384b270b5c5583f9adf7ad
null
return false or true according to binding result

Change-Id: I23a47c6c7c9be989e65c144b2277c42eeaaade3f
Closes-Bug: 1294500
Updated openstack/openstack
Project: openstack/neutron  298e1c8f97c5ba1842848993b81519d1350667dd
null
NSX: Fix router-interface-delete returns 404 when router not in nsx

Previously, if one would run router-interface-delete and the router
was not found in NSX. Neutron would raise a 404 error and remove the interface
from the database. In this case it would be better if we did not raise
a 404 error as the caller shouldn't be aware that the backend is out of sync.

Closes-bug: #1291690

Change-Id: I2400f8b31817e6dd4bc8aa08f07e1613fc2deeae
Updated openstack/openstack
Project: openstack/python-heatclient  92e0d8fa8467669dcdc9f2eedf65a98d8febea33
null
Oslo: sync strutils

The strutils module has been improved with regards to Python 3
compatibility.  For instance, safe_{encode,decode} may now take bytes
as input, which is needed to completely port heatclient to Python 3.

This module is now in sync with commit
c1f1a6d87d3f8a5420f5e749ae5ed85e15ff5fe4.

Change-Id: I658467dc85038da029e0ae8b40fc027cdc4d5eaf
Updated openstack/openstack
Project: openstack/neutron  e19479de3063be7b01ea64ce0053350b6cccce52
null
Add a semaphore to some ML2 operations

This patch adds a semaphore for serializing the delete port API
calls and update_port_status calls to avoid simultaneous
attempts to acquire SQL update locks on the port table from
the same thread pool.

This semaphore has been introduced to avoid undesired eventlet
yields which trigger 'lock wait timeout' errors in the DB backend;
it should have a negligible impact on the overall performance.

Change-Id: I0ec947086e533945942ae93402943dec69b218ef
Partial-Bug: 1283522
Updated openstack/openstack
Project: openstack/python-cinderclient  7240040986319117b5db6b9813681830980ceb2e
null
Allow list_extensions to work in cinderclient v2

Cinder client extensions also requires explicity setting the
service_type that they are available for. This makes the only extension
for the client available to v2 as well.

Change-Id: I9a73cac31c70b248ac6070540554f9293e9a6e43
Closes-Bug: #1284321
Updated openstack/openstack
Project: openstack/trove  463fafa3994f34bc966f98b1588298ac8d9a357c
null
Setup trove for translation

The upstream-translation-job exists already but fails since trove
is not setup properly for translation.

Add the usual babel.cfg file, update setup.cfg for translation and
create initial trove.pot file.

Change-Id: I65ca2c974fc54e005ba8887dceb66ac08432c6d1
Updated openstack/openstack
Project: openstack/neutron  aa9cb0168e41b839e530ea92104d40526169ab89
null
NEC plugin: Honor Retry-After response from OFC

A backend OpenFlow controller nec plugin talks to can return
503 response with retry-after header when it is busy.
It is better to honor retry-after header to avoid unnecessary
user-visible errors due to temporary busy condition.

Change-Id: I2ff1c3ac8402a2207bd955e9a9bb61e147950c5c
Closes-Bug: #1294527