13571 Commits

Author SHA1 Message Date
Zuul
0b11ccb98f Merge "Switch Glance-related tests (dashboards.admin.images) to mock" 2017-12-27 17:57:01 +00:00
Zuul
29553889ab Merge "Switch Glance API tests to mock" 2017-12-27 17:54:39 +00:00
Ivan Kolodyazhny
3c872e5586 Switch Glance-related tests (dashboards.admin.images) to mock
This patch changes mox to mock for the following test module:
* openstack_dashboard/dashboards/admin/images/tests.py

Change-Id: Ib91a862658777c22fbd540a62c70c4385366afd0
Partially-Implements: blueprint mock-framework-in-unit-tests
2017-12-27 15:01:01 +00:00
Ivan Kolodyazhny
ec0b29f996 Switch Glance API tests to mock
This patch changes mox to mock for the following test modules:
* openstack_dashboard/test/api_tests/glance_tests.py

Change-Id: I282bc6a8ceca851b9755c9637790da055e6b4780
Partially-Implements: blueprint mock-framework-in-unit-tests
2017-12-27 16:59:02 +02:00
Zuul
98d0714939 Merge "quota: Use network quota field names consistently" 2017-12-26 21:40:34 +00:00
Zuul
135a279246 Merge "quota: Use neutron quota_details API to retrieve usage" 2017-12-26 21:20:18 +00:00
Zuul
24cc9c75fb Merge "quota: retrieve quota (limit) and usage at once" 2017-12-26 21:19:50 +00:00
OpenStack Proposal Bot
e4a8dcd24e Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ie18e04d4519aa32e62b81687b8b96113e7d94e4a
2017-12-26 06:10:02 +00:00
OpenStack Proposal Bot
fb9699f34c Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I587b004be20add43db287c3c0da51d63958fcf0c
2017-12-25 06:27:12 +00:00
Zuul
abfcecea06 Merge "Update Ubuntu horizon installation instruction" 2017-12-24 20:22:07 +00:00
Zuul
511c30763e Merge "quota: Disable nova-network quotas completely" 2017-12-23 11:58:03 +00:00
OpenStack Proposal Bot
f8701149a2 Updated from global requirements
Change-Id: Ief450d07147f54be2561cce1226864e97167faad
2017-12-22 02:53:28 +00:00
Zuul
7c087f0cad Merge "Drop flavor name validation in horizon side." 2017-12-20 17:31:57 +00:00
Ahmed Zaid
154ddab1d4 Drop flavor name validation in horizon side.
This patch drop name validation in horizon and
let nova check if the is name is valid or not.
Instead of using pattern in the flavors form,
pattern will be checked in the nova. Also I
added limation for the name size with tests to
check the max size since the min size has it's unit
test.

Closes-Bug: 1738328
Change-Id: Ib4f6f9b87560df43819d992254603e55ea8ff6a3
2017-12-21 01:13:53 +09:00
OpenStack Proposal Bot
0f59818291 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I3b0bcef8da1138ca601a25eac1e9bec9cd6f02e4
2017-12-19 07:27:16 +00:00
Zuul
9d159da4af Merge "Show volume snapshots in admin volume detail page" 2017-12-19 03:50:16 +00:00
Zuul
7437fdb54d Merge "Fix wrong link to VM in admin volume detail" 2017-12-19 03:50:15 +00:00
Zuul
8f35898419 Merge "Updated from global requirements" 2017-12-19 03:29:58 +00:00
Zuul
673f3e4bf1 Merge "Define default POLICY_DIRS value" 2017-12-19 03:22:56 +00:00
OpenStack Proposal Bot
bdba740a00 Updated from global requirements
Change-Id: I89fcdfb7fccdf8a79cc21a9a63e026bb72a4153c
2017-12-19 01:17:33 +00:00
Zuul
cdd94f21ab Merge "Imported Translations from Zanata" 2017-12-18 15:44:48 +00:00
Zuul
7dbaf50afd Merge "Use Cinder API v3 by default" 2017-12-18 14:51:01 +00:00
Ivan Kolodyazhny
a774fa30dd Use Cinder API v3 by default
Cinder API v3 was introduced several releases ago and is backward
compatible with API v2 so it's safe to swith to use it.

Change-Id: I550e6c59bb14c17da78d7b2abcde5783b2b6825d
Closes-Bug: #1728761
2017-12-18 15:34:41 +02:00
OpenStack Proposal Bot
3d471086c7 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I542da986a8bbaf8b6b7e525f05dfb243834d18a7
2017-12-18 07:39:47 +00:00
Zuul
1913c7f153 Merge "Floating IP: Expose description field in form and tables" 2017-12-18 06:14:18 +00:00
Akihiro Motoki
8c25bb728f Update Ubuntu horizon installation instruction
openstack-dashboard.conf provided by Ubuntu package does not
contain WSGIApplicationGroup configuration which is required to
make the dashboard work correctly.

Change-Id: I578217571e7a80c174bfc65317d4a1c159ff8692
Closes-Bug: #1738379
2017-12-18 14:57:04 +09:00
Zuul
71fa624d77 Merge "Redirect VM console dynamically" 2017-12-18 04:14:11 +00:00
Zuul
6210e1ab66 Merge "Add release note on policy dirs support" 2017-12-17 13:36:36 +00:00
Zuul
64cc85967f Merge "Fix warning message not showing on launch instance modal" 2017-12-17 13:36:34 +00:00
Trygve Vea
d1225c606e Floating IP: Expose description field in form and tables
The networking API supports setting a description on floating IP addresses.
This patch adds a form input field to the allocation form, and a column to the
table that displays floating IP list.

Closes-Bug: #1738625
Change-Id: I3cec286d01f319402dd652f2f0fe7a59e7d1cfbb
2017-12-17 12:58:50 +00:00
OpenStack Proposal Bot
6164fe0079 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Icaad5b3518e52b2b3e0a91467e8a24d5a2f3606d
2017-12-17 07:37:08 +00:00
Huan Xiong
f929d39ab4 Do not make duplicate requests to Glance for image names in admin panel
Admin panel generates duplicate (N per instance) requests to Glance for
instances that boot from image. The commit fixes it by getting all
images information in one shot.

Change-Id: I360aef8c34304f3abe76a90787ab63647cd78491
Closes-Bug: #1711486
2017-12-16 12:41:48 +00:00
Zuul
79b7b50a96 Merge "Refactor swap_filter in instance views" 2017-12-16 11:51:33 +00:00
Akihiro Motoki
6c4d254b4a Refactor swap_filter in instance views
Previously we check if a fake_field is contained in search_opts
before calling swap_filter, but we can move it into the inside
of swap_filter.

This commit is split from https://review.openstack.org/#/c/507388/
to avoid doing a fix and refactoring in a single commit.

Co-Authored-By: Huan Xiong <huan.xiong@hxt-semitech.com>
Change-Id: I3069c6c9e66f32f53a64124f1d9d191d6aa703a3
2017-12-16 10:08:44 +00:00
Zuul
4f4cb743ee Merge "Trunks panel: display the MAC of ports" 2017-12-16 10:08:01 +00:00
OpenStack Proposal Bot
fae118de37 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ie0e6a2d8d68cc0ae31d8851b8b332260741a6147
2017-12-16 07:35:11 +00:00
Zuul
5a1111e8c8 Merge "Imported Translations from Zanata" 2017-12-15 19:23:18 +00:00
Zuul
ad17915e43 Merge "Add create and import key pair actions" 2017-12-15 03:56:26 +00:00
Shu Muto
5424c6306a Add create and import key pair actions
This patch adds create and import keypair actions into
Angularized key pair panel as global action.

Also, to load public key from file, this patch uses
load-edit directive.

To use load-edit directive from angular-schema-form,
i.e. from separated scope, this patch enables to configure
callback function to get content of textarea in load-edit.

Change-Id: Ie38bff8fba90de99095b589d70da45dcb202fa56
Imprements: blueprint ng-keypair
Needed-By: I3d6ae0b513120cf50c89b40234b602b816adfd48
Needed-By: I9200baa585c18095656d0459c649391b61b553a2
2017-12-14 15:44:44 +09:00
Zuul
554bcfc808 Merge "Sync glance policy" 2017-12-14 03:51:23 +00:00
Zuul
8351d7277a Merge "python3: long does not exist in python 3" 2017-12-14 03:51:21 +00:00
Zuul
d85776cce5 Merge "Add text download service" 2017-12-14 03:42:40 +00:00
Zuul
70866a308c Merge "Optional removal of V2 openrc file" 2017-12-14 02:34:07 +00:00
Akihiro Motoki
ebaf633c1f Sync glance policy
Based on glance commit 38e6c025173ffbd9de651ff5d15b39f709f3a13

Change-Id: I546b1d8f797e45fabca21e2d7df8fd2112ab1764
2017-12-14 01:01:50 +09:00
Zuul
52115149c2 Merge "Prevent non-admin users from detaching interfaces" 2017-12-13 12:03:31 +00:00
Akihiro Motoki
1340904d47 quota: Use network quota field names consistently
Previously neutron quota names and nova-network quota names are
mixly used and this makes the readability terrible.
We no longer supports nova-network, so it looks simple to use
neutron quota names consistently.

Neutron quota names use singular form and it is different
from nova and cinder (which adopt plural form as quota names).
Although it might be confusing, the mixed usage is much worse.
Some wrapper layer may address singular vs plural form issue,
but it can be solved later. Let's use neutron quota names
directly now to simplify the code.

blueprint make-quotas-great-again
Change-Id: Ie31414ada34cbdbd046063b512d3cef0a6e68acf
2017-12-13 20:27:02 +09:00
Akihiro Motoki
cd3f3e5127 quota: Use neutron quota_details API to retrieve usage
Previously neutron did not provide a way to retrieve resource usage
in a single API, so we need to call list APIs and count the number of
resources. Since Pike release, quota details API is provided and
it returns both quota and usage (used + reserved).

blueprint make-quotas-great-again
Change-Id: I63d0e81654c18f0f235631922d64d1109233fcfa
2017-12-13 20:27:02 +09:00
Akihiro Motoki
df0a18e7a3 quota: retrieve quota (limit) and usage at once
Previously tenant_quota_usages() uses list API operations
to count usages. It is not efficient. This commit changes
the limit APIs from nova and cinder to retrieve usages.

blueprint make-quotas-great-again
Change-Id: I2c9a479758a1dfe134e5fabf16ab02831338718d
2017-12-13 20:27:02 +09:00
Akihiro Motoki
34fb3e5b0e quota: Disable nova-network quotas completely
nova-network quotas are considered in usage/quotas.py previously.
This commit completely always disables nova-network quotas.

The nova API wrapper ensures nova-network quota fileds are not
included in responses from tenant_quota_get and default_quota_get.

Drop nova-network quota fields from the Admin Defaults panel and
the Identity Project quota form.

blueprint make-quotas-great-again
Change-Id: Ie69d3003f62d3a124d79a1fea003092f73372187
2017-12-13 20:27:02 +09:00
Abdallah Banishamsa
c999239fed Prevent non-admin users from detaching interfaces
Remove the option to detach_interface from running instances for
non-admin users.

Change-Id: Id641bde457e8723ace0bc1e49aab2c46b2227485
Closes-bug: #1690790
2017-12-13 03:01:47 -05:00