14199 Commits

Author SHA1 Message Date
Zuul
3ca4a5deb8 Merge "Fix mismatched attach_volume rule" 2018-05-23 05:06:43 +00:00
jmoffitt
8e3903902d Fix mismatched attach_volume rule
The attach_volume rule on the Compute Instances and Volume pages
does not match the rule in the nova_policy.json file, or what is
generated from an oslo policy generation on Nova. Update the rule
to match what is used in the default policy file, and what Nova
uses in its unit tests.

While looking at this, discovered that the detach_volume has a
similar problem, with no rule that matches at all. It may make sense
to have detach volume use similar permissions to attach

Change-Id: I40c709c7bb0c8538b56624dbfff1faea2eba9ee6
Closes-bug: 1772759
2018-05-22 15:49:54 -07:00
Ian Y. Choi
a3cc0625a6 [trivial] Fixes a typo
auto_alloocated_network -> auto_allocated_network

TrivialFix

Change-Id: I6b2158f80826a23611bd6ae15285a8acedeb0925
2018-05-19 17:22:42 -07:00
Zuul
e5fbf73411 Merge "Convert identity.domains tests into mock" 2018-05-17 12:31:33 +00:00
Zuul
ef437f86cd Merge "Convert admin.networks tests into mock" 2018-05-17 10:16:39 +00:00
Zuul
05c0878e9f Merge "Convert admin.networks.ports tests into mock" 2018-05-17 10:12:40 +00:00
Zuul
61b07c19ef Merge "Create new wsgi.py file and deprecate old file" 2018-05-17 10:12:38 +00:00
OpenStack Proposal Bot
2a1159b776 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ia10b70620c5e83c61ead17822c8988618fb2f5cc
2018-05-17 06:31:33 +00:00
Zuul
033b57ce13 Merge "quota: Move targets argument to get_disabled_quotas" 2018-05-16 16:59:31 +00:00
Zuul
63ac162658 Merge "quota: Merge tenant_limit_usages into tenant_quota_usages" 2018-05-16 16:52:55 +00:00
Adrian Turjak
0ca736e5da Create new wsgi.py file and deprecate old file
Django 1.4 stopped creating django.wsgi files and the common
practice now for a while has been a wsgi.py since it is actually
python code, and should actually be importable.

Right now someone has to copy and rename the existing file if they
want to use it with a server like gunicorn.

This patch adds a new file in location that is importable via python
and adds a deprecation log to the old one.

This also updates the wsgi generation commands to instead  create
'horizon_wsgi.py' and have the apache conf generation also use that
or the default wsgi file.

Change-Id: I0f8bd16c8973ad23bcd8f73b54584dc69e5aed0c
Closes-Bug: #1763204
2018-05-15 01:41:01 +00:00
Akihiro Motoki
3190a5ebc3 Convert admin.networks.ports tests into mock
blueprint mock-framework-in-unit-tests

Change-Id: I9e01edb594ba5272b4f516a327f65b83c96e5896
2018-05-15 01:26:22 +09:00
Zuul
0080405eb5 Merge "doc: Fix doc build failure due to dropped UpdateAction" 2018-05-14 13:29:18 +00:00
Zuul
ce5f459c49 Merge "Convert identity.groups tests into mock" 2018-05-14 04:07:28 +00:00
Zuul
04af5ebd5d Merge "Convert identity.identity_providers tests into mock" 2018-05-14 04:07:26 +00:00
Zuul
c4cfc8d1fc Merge "Add a link to the documentation into the README.rst" 2018-05-14 02:58:54 +00:00
Akihiro Motoki
5e012b45fc Convert admin.networks tests into mock
blueprint mock-framework-in-unit-tests

Change-Id: Id9b40bf44c5ab46e7af6c5fa1dea96663c38f3dd
2018-05-14 11:28:31 +09:00
Ivan Kolodyazhny
518621f930 Add a link to the documentation into the README.rst
Also this patch removes unnecessary index.html references.

Change-Id: I382c1c08a3a406cabf7b519521cf8a215c7d62b4
2018-05-13 19:28:22 +03:00
OpenStack Proposal Bot
26fb8f259f Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I7fb51cc1757b11db41e8c66d430f12dbcdf650e5
2018-05-13 06:29:03 +00:00
Zuul
17ce74e4f0 Merge "usage: Categorize Limit Summary by service" 2018-05-08 08:23:47 +00:00
Akihiro Motoki
8230f2cf7a doc: Fix doc build failure due to dropped UpdateAction
Change-Id: Iae027ff58a4924fb3cfea1f9eaf07f357c861de8
Closes-Bug: #1769777
2018-05-08 09:36:11 +09:00
Zuul
71fe288d88 Merge "Add server groups and server group members quota management in Horizon" 2018-05-07 19:37:25 +00:00
Zuul
eb07437c92 Merge "Make babel_extract_angular work with python 3" 2018-05-07 19:37:24 +00:00
Zuul
ac85f89c2f Merge "Convert identity.mappings tests into mock" 2018-05-07 19:15:59 +00:00
Zuul
6e90144dc0 Merge "Convert identity.roles tests into mock" 2018-05-07 19:15:58 +00:00
Zuul
4fff2894ad Merge "Support "Get me a network" in launch instance" 2018-05-07 13:15:03 +00:00
Akihiro Motoki
d16ed45e06 Support "Get me a network" in launch instance
"Get-me-a-network" feature is supported in Nova API 2.37 or later.
To support this in horizon, a dummy "auto_allocated_network" is shown
in the launch instance form. I believe this approach fits the current
way of the launch instance form. The dummy network is a special network ID
and if specified the nova API wrapper converts 'nics' parameter properly.

In addition, a dummy "auto_allocated_network" is now shown in the network
table. This is because Neutron creates an actual auto allocated network
once a server is created specifying nics=="auto".
I believe this fake behavior brings consistency in the network table
to some extent, while this is just a compromise.

Note that this patch does not cover the network topology integration.
"auto_allocated_network" is not shown until the actual auto allocated
network is created. The network topology integration requires more work.
For example, the link for the fake auto allocated network should be
disabled in the flat view. The pop-up for the fake auto allocated network
should be disabled in the graph view.

Change-Id: I062fc1b7ed75dc771ddc7f13c8324ed4ffab6808
Closes-Bug: #1690433
2018-05-07 20:49:29 +09:00
OpenStack Proposal Bot
bff96f08d0 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I5e633ea65ccb7b30d95d8014fe943bbee4027c1c
2018-05-07 06:44:41 +00:00
wei.ying
e0e81e2b87 Add server groups and server group members quota management in Horizon
Currently we can't set server groups and server group members quotas
in Horizon, they are still the back end definition of default.
In some cases, it will failed to create an instance when server group
members quota is insufficient. Therefore, it is necessary to specify
the quota of the server groups and server group members when creating
and editing the project. This patch allows the user to modify the
default values for the server groups and the server group members
quota.

Change-Id: Ifbd51bec3e775d8fecbf110da37309a443a3d1ba
Closes-Bug:#1732429
2018-05-06 00:33:41 +08:00
OpenStack Proposal Bot
2c0de431c7 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ib0537daeba5c566231b5614c75dcaa98b31deb35
2018-05-05 06:40:12 +00:00
OpenStack Proposal Bot
228004339a Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I9572ce33ad43ed7baa007c3c8892d72a5a2de9e0
2018-05-03 07:16:12 +00:00
Zuul
3cfc104bd3 Merge "Add "Edit Port Security Groups" action" 2018-05-02 14:52:13 +00:00
Zuul
0ccd88c451 Merge "Convert identity.projects tests into mock" 2018-05-02 14:52:11 +00:00
Zuul
6774284c24 Merge "Trivial: Update pypi url to new url" 2018-05-02 14:52:09 +00:00
Zuul
6270809218 Merge "Watch field item changes" 2018-05-02 14:52:07 +00:00
OpenStack Proposal Bot
0f95d4efba Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I7568c9a8e502484f62cab649ce9a9c45eec15a65
2018-05-02 06:25:37 +00:00
Akihiro Motoki
df780f21d7 quota: Merge tenant_limit_usages into tenant_quota_usages
The response of tenant_quota_usages is now baesd on the limit API,
so tenant_limit_usages and tenant_quota_usages provide same information.
This commit changes all consumers of tenant_limit_usages to use
tenant_quota_usages and updates the corresponding templates.

blueprint make-quotas-great-again
Change-Id: I620e2946f2aca31bac134c247ceaf971498f9eeb
2018-05-02 01:19:25 +09:00
OpenStack Proposal Bot
2e0a3610bd Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ia82616cc850a71022cb44bf45f79121e8cb6dc86
2018-05-01 06:32:32 +00:00
Zuul
70e897729d Merge "Drop Flavor Edit completely" 2018-04-30 08:41:54 +00:00
Zuul
9f993adba0 Merge "Standardize the login form button text" 2018-04-30 08:27:31 +00:00
huang.zhiping
09f73b81cc Trivial: Update pypi url to new url
Pypi url changed from [1] to [2]

[1] https://pypi.python.org/pypi/<package>
[2] https://pypi.org/project/<package>

Change-Id: Ic974b5e586bc24609560986057f753bd39d546fe
2018-04-30 09:11:09 +08:00
Zuul
ddd1003856 Merge "Imported Translations from Zanata" 2018-04-29 15:43:40 +00:00
OpenStack Proposal Bot
5fafd47b91 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I4b8a65b19cf132a5fbc13ec80a313d000d7bd58c
2018-04-28 06:51:30 +00:00
HyunsikYang
fa20420246 Bug Fix : Local variable 'quota_display' referenced before assignment
closes-Bug: #1767354

Change-Id: I6eed169b8c5f18295734cb6453c7256f31de10d3
2018-04-28 15:32:03 +09:00
OpenStack Proposal Bot
96e7c33c1c Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I9e3261b1f9a19be318e5b4bfc2611af73b0fe5b4
2018-04-27 07:33:17 +00:00
Zuul
73b429b321 Merge "Imported Translations from Zanata" 2018-04-26 12:40:13 +00:00
Zuul
10f51dfb74 Merge "Add support for application credentials" 2018-04-26 12:40:11 +00:00
OpenStack Proposal Bot
850288b24c Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I56e89bc92d45cbcab32563ca03a3bc6516d5c6f2
2018-04-26 07:32:54 +00:00
Colleen Murphy
2d69444bad Add support for application credentials
This patch adds support for creating application credentials in
keystone[1]. Application credentials can be created by any user for
themselves. An application credential is created for the currently
selected project. A user may provide their own secret for the application
credential, or may allow keystone to generate a secret for them. After
the application credential is created, the secret is revealed once to
the user. At that point they may download a clouds.yaml or openrc file
that contains the application credential secret and will enable them to
use it to authenticate. The secret is not revealed again.

[1] https://docs.openstack.org/keystone/latest/user/application_credentials.html

bp application-credentials

Depends-On: https://review.openstack.org/557927
Depends-On: https://review.openstack.org/557932
Change-Id: Ida2e836cf81d2b96e0b66afed29a900c312223a4
2018-04-26 09:32:00 +02:00
Adrian Turjak
ad25568db9 Standardize the login form button text
The default always seemed to be connect, potentially
due to a bug. This just gets rid of the connect option
and makes 'sign in' the only text.

Closes-bug: #1767021
Change-Id: I77830ddb24616742abe691b45f89b8c9eb18aff9
2018-04-26 03:28:46 +00:00