Open stable/havana

Change-Id: I1399ad4e4ee7c303d9a161e611d5a699bb64072d
Avoid discarding precision of metering data

Fixes bug 1241467

Narrow-casting statistical aggregates to int before inserting
into the resource usage line charts had the effect of unnaturally
smoothening the trend. This was especially apparent for meters
defined over a narrow range (such as cpu_util ranging from 0.0%
to 100.0%).

We now maintain floating point precision for these data.

Change-Id: If6141a4f66aa0078d38aa9f53d913aca5684ad94
(cherry picked from commit 4b973c2fb49b3a1a0d38c3788f45b3af076625d0)
Fix default port of MS SQL in security group template

Change-Id: Id20538faa81b730be90b115c6c8c119aeb5a08ee
Closes-Bug: #1250029
(cherry picked from commit 038b5b80208a8b1837e5a2e0efd16676a842c59a)
Fix a bug some optional field in LBaaS are mandatory

* VIP connection_limit
* Pool Member weight

Closes-Bug: #1241209
Closes-Bug: #1241004

The change of create_stubs in openstack_dashboard/test/helpers.py
is cherry-picked from commit fa3a039d0585c8c995504c09657070af4025305f.
It allows us to create_stubs decorator for sub methods with arguments.

Change-Id: I337215938645f6785393925f201567f2143d133e
(cherry picked from commit c9f4e27aa5c60bc997e70b4982856bbf4a23372b)
Provide missing hover hints for instance:<type> meters

Fixes bug 1243241

Previously, the Metric dropdown list on the Stats tab of the admin/
Resource Usage panel had hover hints with a short description of each
meter, except for the instance:<type> meters which were missing.

Now, we construct the hover hints list using the current set of flavor
names as reported by nova.

Change-Id: Ieb64ee1eec43fae6036a3a97e86907b9fcc201e1
(cherry picked from commit 386d5865689aeb344182133790bdcb192789b3d2)
Add logging configuration for iso8601 module

iso8601 module outputs log messages but it is not useful for users,
so this commit assigns null log handler to iso8601 module.
This change suppresses iso8601 log messages during unit tests.

Also moves openstack_dashboard related logging config for unit test
from horizon to openstack_dashboard.

Change-Id: I01cf12688118e2137382b8dc7a050b3587749354
Closes-Bug: #1250554
(cherry picked from commit 1f81be7e671a11449911f84f9f2d74c220dbc8cc)
Fix incomplete translation of "Update members" widget

Marks the default value for the search fields of the "Update members"
widget translatable. Also updates the English PO file accordingly.

Change-Id: I8c317de49087b4207bcb774dd241fd1e4591882b
Closes-Bug: #1239927
(cherry picked from commit 3b79ec17b710000fa00523774ed2eff7dc1c12ca)
Fix translatable string for "Injected File Path Bytes"

Change-Id: I7a60c371621bd37d1918db7ddcabd4cb2dcd9d0d
Closes-Bug: #1254049
(cherry picked from commit 39d3b8418ae0d4827571bcbbe5d79daedaaa053b)
Change "Tenant" to "Project"

Fixing inconsistency verbose_name of some columns in
'Resource Usage' panel.

Change-Id: I55969f6fa67be1758a2c03b06237a9a66fe7ef40
Fixes: bug #1250942
(cherry picked from commit a4a3cfbca28bfc2a650dd45202dfca0f6617f52e)
Add contextual markers to BatchAction messages

BatchAction message is used for both present (table action menu)
and past (completion message) and there is no way that translators
use different texts for present and passt messages.
This commit add contextual markers to the message strings and allows
translators to use different texts for message in BatchAction.

Change-Id: Ie6438730386fc2cca18704354d5cf5f5b71cd494
Closes-Bug: #1252082
(cherry picked from commit 9e6d59bc8b7811622e42ebdcb5911eb6487a4f77)
translate text: "subnet"/"subnet details"

When trying to create or update a subnet from the Networks
details page, the tab titles 'Subnet' and 'Subnet details'
are not showing as translated. This patch add the missing
underscore.

Change-Id: I48cd47e7ead3717d96e4808f41bf876a567c8052
Closes-Bug: #1254026
(cherry picked from commit 599c2135e5dfdcf88324faf1a8336a252db72d2f)
Merge "Change "Tenant" to "Project"" into stable/havana
Fix bug by escaping strings from Nova before displaying them

Fixes bug #1247675

(cherry-picked from commit b8ff480)
Change-Id: I3637faafec1e1fba081533ee020f4ee218fea101
Merge "Provide missing hover hints for instance:<type> meters" into stable/havana
Logging user out after self password change

Admin users where not logged out after changing their own password in the user
settings pannel, and error messages where displayed afterwards.

Fixes bug 1226829

Change-Id: Iec0e34484e2bbc28a300d6259aab1a682e4a00ff
(cherry-picked from commit 0aab590)
Ensure all compute meters are listed in dropdown

Fixes bug 1243298

Previously, an incomplete list of Compute (Nova) meters appeared
in the Metric dropdown on the Stats tab of the admin/Resource Usage
panel. As a result, some meters were inaccessible via the dashboard.

Now, a complete list of the current set of Compute meters is constructed
by querying all meters known to the ceilometer API and cross-referencing
with the resource IDs known to refer to instances.

Change-Id: I456bb0282ad465f0cc346e2e076545fbf1bc1346
(cherry picked from commit 264a595cba4e6a7a01cecb64024b18d67971eac4)
Merge "Fix default port of MS SQL in security group template" into stable/havana
Merge "Add logging configuration for iso8601 module" into stable/havana
Merge "Ensure all compute meters are listed in dropdown" into stable/havana
Merge "Fix bug by escaping strings from Nova before displaying them" into stable/havana