Commit Graph

12356 Commits

Author SHA1 Message Date
OpenDev Sysadmins 52380b5dc1 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:36:38 +00:00
OpenStack Proposal Bot b0aa25fcab Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: I7b946684748f3a457620a1a337893829be23d4fe
2017-07-24 11:38:21 +00:00
OpenStack Proposal Bot 059da85459 Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: I87dab6d078434c1aa1e6adb174cce2fcff779f9d
2017-07-20 11:26:01 +00:00
Jenkins 0766ae0f80 Merge "Attribute "isServer" of images visibility filter should be true." into stable/ocata 2017-07-19 20:22:01 +00:00
Jenkins 79b0ebbd7e Merge "There is problem in UpdateRow of Horizon page." into stable/ocata 2017-07-19 20:21:53 +00:00
Jenkins e109003b78 Merge "Add correct policy for some actions" into stable/ocata 2017-07-19 12:52:08 +00:00
Jenkins 92f315fa00 Merge "Only show the image visibility option if it's allowed" into stable/ocata 2017-07-19 10:03:15 +00:00
qiaomin 088538914f Add correct policy for some actions
This patch correct the wrong policy for add allowed address pair
and add policy for delete allowed address pair.

Closes-Bug: #1702804
Change-Id: Idb47a924fbf659459c6537f32dc2ad378e436255
(cherry picked from commit 95c0109f2a)
2017-07-19 02:11:19 +00:00
Jenkins eb3a1a1ede Merge "Fix an incorrect policy rule in Admin > Instances" into stable/ocata 2017-07-18 16:24:47 +00:00
Keiichi Hikita 352be501fc There is problem in UpdateRow of Horizon page.
If we do some resource action(e.g. create/update/delete ...),
UpdateRow will be started.
And then resource status will be updated automatically in front-end.
But in case removing resource, number of resource that displayed
on both above and bottom of table will not be updated correctly.

I fixed update_footer_count function in horizon.tables.js.
This function only updates number of resource in footer field.
(tfoot span.table_count)
But we also need to update header field. (thead span.table_count)
So I add header update logic into this file.

Change-Id: Idc4330fe779b62607ada39a9db3637de82d014f7
Closes-Bug: #1694207
(cherry picked from commit 5b2fe409ed)
2017-07-15 19:05:33 +00:00
OpenStack Proposal Bot 37b949b18c Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: Ibee0129a9ae1152cb6b6db206dbb031e85c7646e
2017-07-14 11:58:12 +00:00
zhangdebo a9e68950de Attribute "isServer" of images visibility filter should be true.
I found an interesting bug in images panel.
In images panel, set filter to be "visibility: public", I got one
image listed in the table, then I changed language from "en" to
"zh_CN" and filter images again, I got none.

In the tab of browser developer tool, I saw a correct response
with one image data, but it was not appeared in the table. Later
I found the attribute "isServer" of visibility filter is false,
that caused the above bug.

Change-Id: I130d07727fe74ce65aba72d3e63fdfe0c8721795
Closes-Bug: #1691683
(cherry picked from commit 3724066224)
2017-07-14 06:50:00 +00:00
Rob Cresswell 9aa0915eb8 Fix an incorrect policy rule in Admin > Instances
Change-Id: I765ae0c36d19c88138fbea9545a2ca4791377ffb
Closes-Bug: #1703066
(cherry picked from commit 69c81b16e0)
2017-07-13 19:50:56 +00:00
OpenStack Proposal Bot 56810d347f Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: I35f93bd26cb0d7581a5f5ad2873db3ceb4c497db
2017-07-12 13:38:33 +00:00
Ying Zuo 21ce07a9ed Only show the image visibility option if it's allowed
The visibility field on create image modal and edit image
modal should be shown if it's allowed based on the
glance policy.

Change-Id: I36f1b1c6e93c5ce06873f6a5f6106d8759fac6d0
Closes-bug: #1698490
(cherry picked from commit 932511031f)
2017-07-06 07:49:09 +00:00
OpenStack Proposal Bot 784f080a59 Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: Iac0f4366feb0e187697409274b84d9ebb6a7ddb1
2017-06-28 11:41:20 +00:00
Jenkins f87d87a2fa Merge "Add config for default create volume option" into stable/ocata 2017-06-20 07:57:49 +00:00
OpenStack Proposal Bot 8eb4ff5d0f Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: I134abc8a2a52aa68433765510f69969626f46a6e
2017-06-19 10:28:10 +00:00
Jenkins da8513debb Merge "Reject result when createImage call has error" into stable/ocata 2017-06-15 12:46:38 +00:00
Jenkins 6cca25d274 Merge "keystone api: Fix a typo that broke the check for MULTIDOMAIN_SUPPORT" into stable/ocata 2017-06-15 12:12:18 +00:00
gugl fe27a47817 Reject result when createImage call has error
When there is an error from createImage, it still invokes
onCreateImage function which should be invoked only when
successful service call. Fixed onError function to throw
the error and the error will show up in the modal toast
message.

Change-Id: I20725f894835714d8245ec8b192937110cf11ab5
Closes-bug: #1630833
(cherry picked from commit 9d2c4b0485)
2017-06-15 00:26:29 +00:00
Jenkins ef571a7532 Merge "Fix styles for error page template" into stable/ocata 2017-06-13 16:21:21 +00:00
Jenkins 186d14f491 Merge "Make UpdateDefaultQuotas handling more robust to missing form fields" into stable/ocata 2017-06-13 15:11:39 +00:00
Jenkins 19598e41a0 Merge "Fix instance launch dialog under MSIE11" into stable/ocata 2017-06-13 15:09:32 +00:00
Jenkins a1d1615459 Merge "Make the "Select Boot Source" order deterministic" into stable/ocata 2017-06-13 15:09:24 +00:00
Jenkins 173f35d313 Merge "Change checking cinder v1 to check v2 in panels" into stable/ocata 2017-06-13 08:12:00 +00:00
Rob Cresswell 32b9d5c748 Make the "Select Boot Source" order deterministic
This patch makes the "Select Boot Source" dropdown in the Source step of
the new Launch Instance have a deterministic order.

The slight downside to this is that the order needs to be recalculated
as new possible boot sources are loaded. However, given that this is the
second step of the workflow, this is unlikely to ever be noticed by a
user.

Change-Id: Iaa2e37bae02c9ce5ab654ac8a3327c0834e7b49e
Closes-Bug: 1640493
(cherry picked from commit b0099bbb87)
2017-06-12 12:49:47 +00:00
Mohammed Naser 6c0ec31de0 Add config for default create volume option
This patch adds the ability to configure the default "create volume"
value when launching an instance with Cinder enabled.

Co-Authored-By: Rob Cresswell <robert.cresswell@outlook.com>

Closes-Bug: 1678109
Change-Id: I272f7f1b20cc1276976c464a82d1776de92d17e7
(cherry picked from commit d734f482ec)
2017-06-09 23:56:18 +02:00
Lucas H. Xu 7c2cd41ca2 Change checking cinder v1 to check v2 in panels
In general, in the case where there is no cinder v1 endpoint created
(or deleted - use openstack service delete cinder to reproduce) certain
volume related menu entries are not displayed

This patch add a a new function to check cinder v2/v3 endpoints instead
of only checking the v1 endpoint in instance launch model.

Also, in the image panel, instead of checking v1 endpoint,
it should check v2 and v3 as well.

Change-Id: I642b2f62bb9502f958593c9fcad76e21ee1c80ad
Closes-Bug: #1670789
(cherry picked from commit 5ced2f87ef)
2017-06-08 18:22:12 +09:00
Ivan Kolodyazhny bfe58d2a89 Fix styles for error page template
500.html template has incorrect styles for OpenStack logo. This patch
fixes margins and background image size to fit into the container.

Change-Id: Icc2af2731eb8a842c12c073474f3865709b6de2b
Closes-Bug: #1696437
(cherry picked from commit 2b3c7bdbcb)
2017-06-08 07:30:25 +00:00
Radomir Dopieralski afb31d55ad Fix instance launch dialog under MSIE11
The novaAPI.getFlavors() call takes only a single parameter, which
should be an object with params. But it is being called with two
parameters here, both "true", which makes IE11 fail with TypeError
later on, when it tries to iterate over keys of params.

Change-Id: I0dcfcdca3dda2d94509d7a574184e7f82f21ca22
Closes-Bug: #1694574
2017-06-07 19:29:56 +02:00
Radomir Dopieralski a689d69e68 Make UpdateDefaultQuotas handling more robust to missing form fields
Prevent raising of KeyError when one or more fields are missing in
the form data.

Change-Id: Icf795651773289ecc3b4ef5f22626947bdb5ccd2
Closes-bug: #1688577
2017-06-07 13:32:45 +02:00
andrewbogott aa1ea288c6 keystone api: Fix a typo that broke the check for MULTIDOMAIN_SUPPORT
Change-Id: I3937bfc0e4a244daea2e26cc998e86d51bd07d91
(cherry picked from commit 0c775b73b3)
2017-06-04 17:05:49 +00:00
Jenkins 3bc399f3ae Merge "Use BooleanField for admin_state_up form" into stable/ocata 2017-05-24 15:45:37 +00:00
Jenkins 53e8d0744d Merge "Clarify message if key file has wrong permissions" into stable/ocata 2017-05-19 09:44:49 +00:00
Jenkins 0122591ab8 Merge "Enable breadcrumbs for AngularIndexView" into stable/ocata 2017-05-19 09:44:41 +00:00
Jenkins 7af2d6c605 Merge "Update the access_and_security url" into stable/ocata 2017-05-19 09:44:33 +00:00
Jenkins d31026f341 Merge "Softreboot can be done when the instance not in active status" into stable/ocata 2017-05-19 09:38:59 +00:00
Akihiro Motoki a7ec524d4a Use BooleanField for admin_state_up form
admin_state_up is a boolean value but the network and port edit forms
expected a string version of True/False. As a result, True/False string
was shown as the default value in these forms. The field is implemented
as ChoiceField, but there is no special reason not to use BooleanField
for a boolean field and admin_state(_up) fields are the only exceptions
in horizon. This commit replaces all admin_state(_up) fields to
use BooleanField.

As far as I checked, this pattern is used only in the networking
related panels and this patch clean them up.

Conflicts:
	openstack_dashboard/dashboards/project/networks/ports/forms.py
	openstack_dashboard/dashboards/project/networks/workflows.py

Closes-Bug: #1672213
Change-Id: I9286f6c29d67fec7a88b74661bc8eca945fd9061
(cherry picked from commit c8cd03189a)
2017-05-18 21:58:09 +09:00
Jenkins fb3a90acb7 Merge "Update documentation for Theme Preview panel" into stable/ocata 2017-05-18 08:01:46 +00:00
Jenkins 5b7ede3c4d Merge "Image list function should normalize owner filter" into stable/ocata 2017-05-18 07:31:42 +00:00
Jenkins 315f71663c Merge "operation_log: Honor settings parameters" into stable/ocata 2017-05-18 07:31:33 +00:00
Ying Zuo 4bcbd2c3e9 Update documentation for Theme Preview panel
The enabled files for the Developer dashboard and Theme Preview
panel have been moved to contrib.

Added the step for copying enabled files to the local folder.

Change-Id: I3182aafd86e1ed1ba610d4b11bed81f8a65eb0e3
Closes-bug: #1691291
(cherry picked from commit 3cb953e1c7)
2017-05-17 14:06:14 +00:00
OpenStack Proposal Bot 9a9dc361b6 Updated from global requirements
Change-Id: Ie34954a71d200e2ea7ad16b07e73d5616ab589a2
2017-05-15 23:30:57 +00:00
Mark Mielke aab378b627 Image list function should normalize owner filter
The api.glance.image_list_detailed() function accepts a list of
filters which it then translates into a form that is acceptable for
Glance v1 or Glance v2. These translations included support for
mapping 'is_public' to 'visibility', but did not include support for
mapping 'property-owner_id' to 'owner'.

This changes adds support for mapping 'property-owner_id' to 'owner'
for Glance v2, and mapping 'owner' to 'property-owner_id' for Glance
v1.

Before this fix, "rebuild instance" from the instances page did not
properly list project-specific images as options.  After this fix,
"rebuild instance" is working as expected.

Change-Id: Ica750f8b36bdbadd02a81aed41fd250864a49a66
Closes-Bug: 1671693
(cherry picked from commit 445117eb1f)
2017-05-08 13:58:37 +00:00
Ying Zuo 2684552f09 Remove the invalid example of floating IPs tab from doc
The floating IPs tab on access and security panel was moved to
its own panel in Ocata.

Replaced the example of disabling floating IPs tab with an example
to disable the orchestration services tab.

Change-Id: Ibba5834b17a116f16b761c495732928b103b7324
Closes-bug: #1688147
(cherry picked from commit 78ccc9a68a)
2017-05-05 16:13:26 +00:00
Shu Muto 2bf987214f Enable breadcrumbs for AngularIndexView
This patch enables breadcrumb navigation for panels using
horizon.browsers.views.AngularIndexView.

Closes-Bug: #1664374
Change-Id: If6d100472e61c1cb00e18c56e25300b45d8a7098
(cherry picked from commit 21e3d07644)
2017-05-03 20:26:58 +00:00
Akihiro Motoki 03aec78ae8 operation_log: Honor settings parameters
Previously 'format' and 'mask_fields' in OPERATION_LOG_OPTIONS
were completely ignored. OPERATION_LOG_OPTIONS is a dict, but
the logic tried to get attributes, so these options were ignored.

Change-Id: Ide4826ebf74218873a81b67aaa0dd817c4798702
Closes-Bug: #1675176
(cherry picked from commit fdb21222b6)
2017-05-03 17:04:01 +00:00
zhurong 7d6d606d89 Update the access_and_security url
Since this bp reorganise-access-and-security,
move access_and_security to separate panel,
there are some places url need to change too.

Closes-Bug: #1679895

Change-Id: I59560c479ad77d2452484b2138065a003451f376
(cherry picked from commit b1a9078404)
(cherry picked from commit a1de2b5447)
2017-04-25 22:55:14 +09:00
Jenkins 86abb8adc6 Merge "Fix issues with updating project/domain members" into stable/ocata 2017-04-11 09:25:20 +00:00