13576 Commits

Author SHA1 Message Date
Akihiro Motoki
8373701bdf Avoid Unhashable warning in api.rest.nova
A list object is not hashable. We need to pass a tuple object
which is hashable.

Change-Id: Iaccd527da65218e46ff8cad8963fd336d0138c25
Closes-Bug: #1738537
2017-12-31 06:40:31 +00:00
Zuul
40b31c82db Merge "Add more actions to admin." 2017-12-28 16:46:30 +00:00
OpenStack Proposal Bot
7396d476ff Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I587ec00d613e58ca6699b1aed84a8783dff0a43e
2017-12-28 06:10:34 +00:00
Akihiro Motoki
6c45c47e4b Drop unnecessary executable flags
This patch also adds checks for executable files in
pep8 job.

nose ignores executable files by default, so it is important
to ensure executable flag is not set for test files [1].
openstack_dashboard/test/test_plugins/panel_tests.py was not
tested actually and it was broken. This commit fixes it too.
[1] http://nose.readthedocs.io/en/latest/usage.html#cmdoption-exe

Co-Authored-By: Ivan Kolodyazhny <e0ne@e0ne.info>
Change-Id: I3a124fa2f9f0676b2b43a094e32e3d8b18fa6005
2017-12-27 21:32:48 +00:00
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
Ahmed Zaid
7d7de3b37f Add more actions to admin.
Admin can Rebulid and Shut off instance from instances in admin panel
for all project-member.

Change-Id: Ieab146b49a92f3527e34aacb0a9077a704151e3e
Closes-Bug: 1704833
2017-12-21 06:52:04 +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