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)
Import install_venv from oslo

The new version of install_venv_common evaluates requirements.txt
and test-requirements.txt at the same time and we avoid Django 1.6
is installed when evaluating django-nose dependencies.

Change-Id: I2ab7108b3615ac6c0525089b81b80e5c0a4793fc
Closes-Bug: #1250581
(cherry picked from commit 7a0581bb701dbb4d7d9fb1bbe1d7644e98ac2b2e)
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)
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)
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
Merge "Logging user out after self password change" into stable/havana
Role name should not be translated in Domain Groups dialog

Role names are retrieved from keystone and they should be displayed
as-is.

Change-Id: I62f9cb5582090e197fe2b7b434107dc801864571
Closes-Bug: #1255004
(cherry picked from commit 8ed32cc2785ffffbdcc0a2f0f745c10a226560fa)
Fix bug so that escaped html is not shown in volume detach dialog

Fixes bug #1252881

Change-Id: I8fc4ee78440c2682ad9185dcb88fa9d52ff969db
(cherry picked from commit 3e75fd4703ab757045b82249f230ebb0cefb3a0b)
Give HealthMonitor a proper display name

Closes-Bug: #1237377

Change-Id: If901008171d964bf93941c0b6de2c66e20f0aa27
(cherry picked from commit 3a28423cd96596edd5e30a1a53956fa6c93f439f)