Fix regression on running manage command.

Options on the manage command (./run_tests.sh) is getting shuffled,
this is due to the logic how testopts and testargs are extracted.

For example, the command "./run_tests.sh -m startdashboard test
--target test" is being translated into "startdashboard --target
test test".

The options after the "-m" should be passed as is as argument to the
manage command.

Fixes bug 1164505.

Change-Id: Id1a0699050390014487459757b3bda9c7fcca405
(cherry picked from commit 44f2275c69c2b4f3637d888f82ff0b5cc232e4bc)
Fix some not-consistent titles for virtual routers management

- Replace "Detail" by "Details"
- Replace "Create a router" by "Create router" (like other OpenStack projects)

Fix bug #1120551
Cherry-picked from https://review.openstack.org/#/c/24899/

Change-Id: I8b6e01b4400a044dfab7322abb251fe034ae010b
Merge "Fix regression on running manage command." into stable/grizzly
Fix translation error for missing default role

Fixes: bug #1175165
Change-Id: Ic3e19b47c5449740bec189f2c3a2e803d22fb5dc
(cherry picked from commit 112b1e181d06e6d500386f080acae7bcd86d799c)
Bump stable/grizzly next version to 2013.1.2

Change-Id: I130528ae946e8888d35c25e468b4ea6ac29db0cf
Remove the term 'syspanel' from docs

Since the refactorization of syspanel occurred at
the very early Folsom days, the docs should reflect this too.

Cherry-picked from I8539b0b8bda2f63366c6de75b1a010f52f07fd0e

Fixes bug 1179873

Change-Id: I890c41048ad2cb9f44a1dacce01c570746ce27db
Updated translations from Transifex

Fixes bug #1175241

This is a grizzly version of commit b7e36244c0
in master branch. To avoid fuzzy strings PO files are directly downloaded
from Transifex instead of cherry-picking from master.
This commit does not override the source language 'en'
to avoid the bug fixed by commit a7505869c4.

Change-Id: I4810c45d15413bdf21b9f68f59096c907bb1e624
Increase socket timeout for selenium tests

I can reproduce bug 1100771 consistently in my development environment.
Increasing the socket timeout in the SeleniumTestCase class fixes
the timeout issue for me.

This uncovers another issue that causes an "Address already in use
error". This happens because the order of tear down is wrong - we
need to quit() the driver before continuing with tear down rather
than after.

Fixes bug 1100771.

Change-Id: I95fbea05c3fc2516ce4e736eea9b0823bb5bbf79
(cherry picked from commit 5e58a7e388bf593861a63409ee3ccc20b868a9b5)
Merge "Updated translations from Transifex" into stable/grizzly
Bump stable/grizzly next version to 2013.1.3

Change-Id: I304b782b8c6e09f3f8e2232068f42a6112d04e3c
Mark additional strings as translatable

Some variables and templates variables that should be translatable
weren't marked as such.

Fixes bug #1180316

Note the change in horizon/templates/horizon/common/_quota_summary.html
is not backported in this commit to keep the existing translations work.

Change-Id: I90baf19c4bea09c126f8ed225777037194f5331f
(cherry picked from commit acfb83d5d5e45506cb2198869bc9e345f87ff6ea)
Remove deprecated features

When running in httpd, Django complains about deprecations.

Fixes bug 1172222

Change-Id: Ic65b1413bb7745ce45861522fd0cd3c7b688e340
Merge "Increase socket timeout for selenium tests" into stable/grizzly
Merge "Mark additional strings as translatable" into stable/grizzly
Merge "Remove deprecated features" into stable/grizzly
Always return a list from VolumeTableMixIn._get*

Returning None from these methods leads to TypeError
(None is not iterable)

Fixes: bug #1182075
Change-Id: Ia5f5fe78669bbaed599b7dd5cae1beb69bde7796
(cherry picked from commit decee66cb412cafecddc581cd8f229e77a9c6f1a)
Shows a warning message when deleting a container that contains data.

We cannot delete objects in the container since there may be millions
of objects in that. The batch deletion should be done in swift instead
of Horizon. The batch remove of objects function is only in swift CLI
command now. This commit replace the unclear message with a warning
message that tells the user the container is not empy.

Related bug: https://bugs.launchpad.net/horizon/+bug/1034890

Fixes bug: #1096084

Change-Id: I59b46a3535b8654734c3dae4eec916ab1b53c716
(cherry picked from commit eae19c1a7c2303e398b3348651482f49ea7508ce)
Ensure to use keyword parameters in format string in create_instance.py

Fixes bug #1177629

Change-Id: If5a8b74bbcb698f2833ada275be914271dc1b995
(cherry picked from commit 58b0e62cab3b81898719881d4f8d16e094eb4854)
Manually mock service_catalog in stub_keystoneclient

MockObject.__init__ ignores properties, fixes:

FAIL: test_get_default_role (openstack_dashboard.test.api_tests.keystone_tests.RoleAPITests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/lib/openstack-dashboard-test/openstack_dashboard/test/api_tests/keystone_tests.py", line 78, in test_get_default_role
    keystoneclient = self.stub_keystoneclient()
  File "/var/lib/openstack-dashboard-test/openstack_dashboard/test/helpers.py", line 287, in stub_keystoneclient
    self.keystoneclient = self.mox.CreateMock(keystone_client.Client)
  File "/usr/lib64/python2.6/site-packages/mox.py", line 258, in CreateMock
    new_mock = MockObject(class_to_mock, attrs=attrs)
  File "/usr/lib64/python2.6/site-packages/mox.py", line 556, in __init__
    attr = getattr(class_to_mock, method)
  File "/usr/lib64/python2.6/site-packages/mox.py", line 608, in __getattr__
    raise UnknownMethodCallError(name)
UnknownMethodCallError: Method called is not a member of the object: service_catalog
>>  raise UnknownMethodCallError('service_catalog')

(cherry picked from commit 82bdecb117877bc0bd1bbd553fbd40d04cbe9078)

Temporary change the django_openstack_auth requirement

The new django_openstack_auth version causes gate job issues like:
http://logs.openstack.org/33618/5/gate/gate-tempest-devstack-vm-full/29950/console.html

Temporary disabling the 1.1.0 version.

(from commit 2ffe032dbf21757bd574dedffa3cd3f6927bbfe3)

Mock some more keystoneclient.Client properties for mox

Fixes LP bug 1196823

Change-Id: I9b0c56eda95ee83cf56a28f2f1b7316ad2592fa2
(cherry picked from commit 2a6d669443b817ced3a98f5bc60a066298b6e40e)
Fix a few visual issues on the network topology diagram.

This commit separates CIDR labels with a comma and adjusts the vertical
positioning of port labels for improved readability.

Change-Id: I57510033fcc309b5d570d7ee6a9369a97775719b
Fixes: bug #1199086