Updated openstack/openstack
Project: openstack/glance_store  31fc24fdb3b9a3a1fc52428df994b19a53750a9e

Backporting S3 multi-part upload functionality to glace_store

This commits is to backport S3 multi-part upload functionality
from the old glance store package to glace_store library.

In addition, refactored the write chunk processing to S3 for
a large object and dynamic upload part size calculation to
be able to store large objects via S3 multi-part upload.

Change-Id: Ie01bbf33db5a5ba519c5701ef9475fc0437cd6de
Updated openstack/openstack
Project: openstack/tempest  1bdba8412ee2bc4f35b6c794f2b61d6885190a0e

Add response schema for V2 sec grp default rule

This patch adds response schema for nova V2
'os-security-group-default-rules' APIs.

Response body of create/show 'os-security-group-default-rules' -
{
    "security_group_default_rule": {
        "from_port": 80,
        "id": 1,
        "ip_protocol": "TCP",
        "ip_range":{
            "cidr": "10.10.10.0/24"
        },
        "to_port": 80
    }
}

Response body of list 'os-security-group-default-rules' -
{
    "security_group_default_rules": [
        {
            "from_port": 80,
            "id": 1,
            "ip_protocol": "TCP",
            "ip_range": {
                "cidr": "10.10.10.0/24"
            },
            "to_port": 80
        }
    ]
}

Delete API only returns 204 status code.

Change-Id: Id24857ee95445570d45aac3e1a25e607d8df78d1
Updated openstack/openstack
Project: openstack/heat  9dd3ede1db1a1c336dae3681671bea3495e3a778

Default port policy to force replacement

This change adds a replacement_policy property to OS::Neutron::Port
which defaults to always replacing the port on stack-update
regardless of any changes to the template.

Currently when a server is replaced, the new server is booted with
the port that is still attached to the old server, which raises a
port-still-in-use error.

Even if heat managed to detach and attach a single port, Nova currently
deletes all ports on interface-detach and server delete, so the port
would no longer be available anyway.

This change ensures that a new server is always booted with a new port,
so it fixes the above 2 issues, however there are implications for
other scenarios.

If the server is not replaced during the stack-update, the server
handle_update will detach/attach to the new port, so this is fine.

If the port specifies a fixed_ips ip_address which doesn't change
during stack-update, an error will be raised that 2 ports exist
with the same IP address. The only current workaround would be
to set update_policy:AUTO and not make any changes to the server
which results in server replacement (or do 2 stack updates using
a transition ip_address).

Likewise, update_policy:AUTO will need to be set on any port
consumed by resources which don't support update without replacement
(such as OS::Neutron::FloatingIP and OS::Trove::Instance)

Change-Id: I558db6bac196f49e5c488a577f0580c934b06747
Closes-Bug: #1301486
Related-Bug: #1158684
Related-Bug: #1369748
Updated openstack/openstack
Project: openstack/heat  c2f22b100efd6ca3bc85a8d2f0649661168d7ed7

Commit transaction on object delete

The postgres gate jobs currently have an intermittent failure
where a deleted resource shows up in the resource list.

This change does a transaction commit on object delete, which
brings delete behaviour in line with soft_delete behaviour
(soft_delete uses update_and_save, which also commits).

Change-Id: I5e1be4c197863fde3149c964f992ad816db88b7e
Closes-Bug: #1370865
Updated openstack/openstack
Project: openstack/nova  13a9bafe81265158ba24ab20f020a76d8a5f7272

Fix SecurityGroupExists error when booting instances

Make sure we properly handle the case when multiple threads check
and create the default security group, if it hasn't existed yet.
One thread will succeed and others will fail (we have a unique
constraint in db to prevent a race condition), so just handle the
exception to let instance boot proceed.

Steps to reproduce:

1) install OpenStack with Rally using DevStack:

    https://github.com/stackforge/rally/tree/master/contrib/devstack

2) fetch the Rally task:

    http://boris-42.github.io/boot.yaml

3) run it

    rally -v task start boot.yaml

Closes-Bug: #1370782

Change-Id: I414637a31b0b540fefa6c1314be6e973e2d4a178
Updated openstack/openstack
Project: openstack/tempest  6a4d43bed76581ccab6bc87c0511e4712c21c979

Lock test_resize_server_using_overlimit_* tests on 'compute_quotas'

The test_resize_server_using_overlimit_* negative tests are getting the
default quotas and creating a flavor that bumps one of the quota values
just over the limit, expecting an OverLimit failure when trying to
resize an instance to that temporary new flavor.

This can race with the os-quota-class-set admin test which changes the
default quotas, so lock the server negative tests using the same lock
fixture used in the quota class set tests.

Closes-Bug: #1372093

Change-Id: I380a7f057a6b6df94cc029f65f357de7368dc2f7
Updated openstack/openstack
Project: openstack/oslo.vmware  1c8e851887519f141e5b3971e06d4e9468fb8b1b

VimExceptions need to support i18n objects

When lazy is enabled the i18n translation object does not support
str() which causes failures like:
  UnicodeError: Message objects do not support str() because they may
  contain non-ascii characters. Please use unicode() or translate()
  instead.

Removed str() in __init__ and updated __str__ and __unicode__
in VimException and VimFaultsException to correctly handle this object.
Also updated a couple of test cases to use an i18n translation object.

Closes-Bug: #1374210
Change-Id: Id55b5deb5535ba5352b449a3b78099aa912a0b54
Updated openstack/openstack
Project: openstack/horizon  3149eb947ccde45d9e32b3db90906bbbdbf145cb

Updated from global requirements

Change-Id: I471e0c1d7b15835ef16cf11c72401335b3a834e4
Updated openstack/openstack
Project: openstack/tempest  f483b3705d9d5446df13241982e834a3be1918a5

reenable full request/response logging at DEBUG

For the difficult bugs we are often missing information if we don't
have the full request / response traffic. Provide a new
_log_request_full which functions at a debug level and provides
this. Pretty print the bodies for resp and req for readability.

Change-Id: Ic1f7f324c04fc2d2529c7065b0dcda1640d4fb53
Updated openstack/openstack
Project: openstack/trove  e3d6e576a4081317a92ede799ab55c96cf70e9a1

Fixed database migration script issues

The db downgrade scripts are currently not dropping foreign key
constraints, causing errors when the script tries to drop related
tables on downgrade.

This commit address issues in the migration scripts, and also
introduces a new test script to test the migration scripts, so that
issues can be prevented in the future. The new test script is based
on the existing migration test script implementated in Nova.

Change-Id: I240d81afc3e43fd3711de8c156cfb43fd14850bf
Closes-Bug: #1347114
Updated openstack/openstack
Project: openstack/oslo.concurrency  12bd40f91ddfc98ac9e8c13ee8beb6e0a50e0042

Imported Translations from Transifex

Change-Id: I68d736457e762e388d149de8ce039fb639e2b5bc
Updated openstack/openstack
Project: openstack/oslo.utils  b5ab4d03f35e3721ac0167e1d1140fe203b903e5

Imported Translations from Transifex

Change-Id: I5404d559a2b0c51eed4e9c7ba68e36e12640163a
Updated openstack/openstack
Project: openstack/horizon  a788b8c399c1a5b49ff3c89f113668cfd602ebef

Allow setting config drive option when launching instance

This patch adds a "Configuration Drive" checkbox to the Advanced tab
of the Launch Instance workflow, if the config drive extension is
supported. This allows setting the config drive option when launching
an instance.

Change-Id: Ib4e4e18251f4f024a61dabb646cda79a7c88582d
Closes-Bug: #1366842
Updated openstack/openstack
Project: openstack/ceilometer  7beccc684d74472949d54b14b72d29ce74479931

dbsync: Acknowledge 'metering_connection' option

Support 'metering_connection' option in ceilometer-dbsync.

Closes-Bug: #1373269

Change-Id: I02f439ae89f265e088ca539ab355561d1b7b1c31
Updated openstack/openstack
Project: openstack/keystonemiddleware  e77a7a225b0902da47fc4acd643d76ebd77e68d1

Support service user and project in non-default domain

The domain for the service user and project couldn't be configured,
so the auth_token middleware always used the v2 API and the default
domain. With this change, the deployer can configure the domain for
the service user and project and the auth_token middleware will then
use the v3 API to get the service token.

DocImpact
Closes-Bug: #1372142

Change-Id: I4f65adb523a591816a6cd807070d92ce6e414a1b
Updated openstack/openstack
Project: openstack/horizon  d2d24f06ea2ccafd3877838b7f262d30b71b6b66

Fixing issue with editing N1K network profiles

This resolves issues surrounding the update network profiles
for the Cisco N1K profiles when used with the N1K neutron
plugin.

Issue resolved include the edit form opening up properly
and also addressing which fields are editable and which not.

Also adding new unit tests.

Closes-bug: #1260435

Change-Id: I318057a9f5870d4a25ebf461d5fc67e4a03d54d8
Updated openstack/openstack
Project: openstack/oslo.middleware  e18de4afbe0e0d48d4dfc5bb8b351eec2accd9f9

Imported Translations from Transifex

Change-Id: I4e3d80607017822b5aebf316595ea1497e46706b
Updated openstack/openstack
Project: openstack/horizon  cf2c6335a27ed408c4d148f836aa7404da9e835a

Imported Translations from Transifex

Change-Id: I0b834e58b373c7c1179a3d56fe3f78415131b345
Updated openstack/openstack
Project: openstack/oslo.log  521b3bde9dcba14961e6e92eb64de5d2e40a3bbd

fix typo and formatting in contributing docs

Change-Id: Ie53eb4d2e85601feb281c57c569048e2c533320a
Updated openstack/openstack
Project: openstack/oslo.log  b735108d26beb4e870cf9421e5102b2a54f8106a

log: add missing space in error message

Change-Id: If3094c28f500dc189dbbcd15926e71ece9e7fde3