8161 Commits

Author SHA1 Message Date
Pascal Boutin
0dc5a8230e Makes the xstatic files lookup dynamic in the tests
This change makes it so the tests will look for the actual
python folder where the xstatic files are located instead
of looking only for a python2.7/ folder.

Change-Id: Ib2a56475b79b002085922ab752038239635fb9a5
Closes-bug: #1706980
2017-07-27 10:01:33 -04:00
Jenkins
e5339c35d0 Merge "Imported Translations from Zanata" 2017-07-26 12:10:00 +00:00
OpenStack Proposal Bot
a267f37ab2 Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: I154c6cc9ee7a2bd3619fc23cc8cb2a43b5182061
2017-07-26 11:41:41 +00:00
Diana Whitten
958e522d40 Added SELECTABLE_THEMES setting
Currently themes machinery works in such way that if we rely on
default theme in our branded theme, we have to include them both into
AVAILABLE_THEMES setting, otherwise default theme assets will be
unavailable and the branded theme assets compilation will fail. On
the other hand, mentioning them both leads to theme picker being
shown - which we would like to avoid (per marketing wish).

SELECTABLE_THEMES setting was added to allow limiting the user facing
themes by configuration.

Closes-bug: #1564543
Co-Authored-By: Ivan Kolodyazhny <e0ne@e0ne.info>

Change-Id: Ic00a9201d2d352685b1089a37a25987b75d6636d
2017-07-26 11:52:35 +01:00
OpenStack Proposal Bot
08089b01c4 Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: I7d7da08e5cd39d4acf43248df3c396c9f6e06e3c
2017-07-25 11:41:47 +00:00
Jenkins
0f1c10d6b3 Merge "Add details to network_qos panel" 2017-07-25 10:56:07 +00:00
Jenkins
9cca6d0a50 Merge "Add support for virtio-forwarder VNIC type" 2017-07-24 14:33:14 +00:00
Jan Gutter
587c3de89b Add support for virtio-forwarder VNIC type
* This patch adds support for the virtio-forwarder VNIC type.
  * The virtio-forwarder VNIC type has been added as another option for
    setting the "binding:vnic_type" property on a port. This requests a
    low-latency virtio port inside the instance, likely backed by hardware
    acceleration.
  * The documentation for OPENSTACK_NEUTRON_NETWORK/supported_vnic_types
    has been updated to clarify the term "supported VNIC types".
    Unfortunately, the VNIC binding happens at scheduling and error
    reporting in core Nova and Neutron is not optimal in this case.
  * Corresponding python-openstackclient change:
    https://review.openstack.org/#/c/483532/
  * Corresponding neutron-lib change:
    https://review.openstack.org/#/c/483530/

Signed-off-by: Jan Gutter <jan.gutter@netronome.com>
Closes-Bug: 1705548
Depends-On: I28315fb12f62dc7d52d099c211086b2b81eca39a
Change-Id: I02dc3581de8f31c659e545e340cbdf6a1b2bb837
2017-07-24 13:40:54 +00:00
Beth Elwell
b81c5901cd Add details to network_qos panel
This patch adds details drawer summary to network_qos panel to show
policy descriptions and details page with further information and
associated rules.

Implements: blueprint network-bandwidth-limiting-qos

Change-Id: I1a8032206b576cf8dad5f75077bac7a093971973
2017-07-24 13:07:44 +01:00
Jenkins
b3af6afd4d Merge "plugin framework: allow operators to override embeded enabled files" 2017-07-24 11:55:16 +00:00
Akihiro Motoki
68c57474e1 plugin framework: allow operators to override embeded enabled files
At now, the horizon plugin framework does not allow to override default panel
settings by same filename. The embeded enabled files are always processed,
so this leads to make operators difficult to change the order of panels
from the default. In the original design of the plugin mechanism,
we allow to override embeded enabled files by local/enabled files.
For more detail, see bug 1700325.

This commit changes import_dashboard_config to override an embeded enabled
file by specifying a enabled file in local/enabled with the same filename.

Closes-Bug: #1700325
Change-Id: Id6b15848206a684eca850a8f510a8ba1608bb7bf
2017-07-24 09:37:57 +09:00
Jenkins
99cd5bb25c Merge "Support removing projects from flavor access list" 2017-07-24 00:28:27 +00:00
Jenkins
c42acdecaf Merge "Introduce DEFAULT_SERVICE_REGIONS" 2017-07-20 11:00:51 +00:00
Jenkins
299f4c3562 Merge "Fixes to allow us to use Django 1.11" 2017-07-19 14:35:02 +00:00
adrian-turjak
52150749a6 Fixes to allow us to use Django 1.11
Mostly the issue with Horizon was we were using some
undocumented widgets that were cut for version 1.11
django. This patch adds their code into our repo for
now, but we need to do a proper rewrite of our widgets
for Queens to use current widgets in Django.

Also edits some tests because the functionality changed
in Django 1.11

Implements: blueprint dj111
Co-Authored-By: Rob Cresswell <robert.cresswell@outlook.com>
Change-Id: I444d45f274662f4f33701c16cce4ae80cb546654
2017-07-20 01:08:56 +12:00
Jenkins
713c9e909d Merge "Get rid of redundant cinder api calls" 2017-07-19 13:03:30 +00:00
OpenStack Proposal Bot
ffbbd04af3 Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: I8df96711470469de887ead4c4b75621fcfe37a6d
2017-07-19 12:13:42 +00:00
OpenStack Proposal Bot
f10609e8c5 Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: Iafbc59053872b11d64de070e2ad1d42050d0ce53
2017-07-18 11:38:47 +00:00
zhangdebo1987
ddd486f67b Support removing projects from flavor access list
When we remove one or more projects from a flavor access list,
it doesn't work, now I fix it.

Change-Id: I92f4fd83a958ff7a7249d0848f9fd128fc73e13f
Closes-bug: #1703760
2017-07-17 16:55:46 +08:00
Jenkins
b88dfb785b Merge "Add correct policy for some actions" 2017-07-17 04:07:46 +00:00
Jenkins
469bee038d Merge "Drop FWaaS related policies from neutron_policy.json" 2017-07-15 11:21:14 +00:00
Akihiro Motoki
07ce7bd6b1 Drop FWaaS related policies from neutron_policy.json
This is the final cleanup related to FWaaS dashboard split out.

Note that 'insert_rule' and 'remove_rule' in neutron_policy.json are
kept as the current policy.json in neutron still has it. They are
specific to neutron-fwaas and theoretically it should be moved from
neutron to neutron-fwaas, but it should happen in neutron side.
As horizon, we keep them until policy.json in the neutron repo has them.
(Related to neutron bug 1703347)

Implement blueprint split-out-neutron-xaas-dashboards

Change-Id: I99b63628365b90f51dc8f76be7b3d63b195916b0
2017-07-15 10:45:22 +00:00
Mykhailo Dovgal
d132c2eb11 Get rid of redundant cinder api calls
During executing tenant_limit_usages quotas function we get
information about cinder volumes/snapshots/gigabites usage
that we've already had after tenant_absolute_limits call.
Getting this information we make more api calls that slow down
our application.

This patch fixes this issue.

Closes-Bug: #1703584
Change-Id: Ia6d2dbb8f18ce93f71668d6ebd2689b851586ca9
2017-07-14 16:29:06 +03:00
OpenStack Proposal Bot
0670b50841 Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: I1790811acc6d9eb36e88ea27821fcc61bbd4753b
2017-07-14 11:49:03 +00:00
Jenkins
b12422c3f5 Merge "Attribute "isServer" of images visibility filter should be true." 2017-07-14 03:41:04 +00:00
Jenkins
2b0147fad9 Merge "Correct the create volume snapshot description and used of quota" 2017-07-14 03:32:08 +00:00
Rob Cresswell
69c81b16e0 Fix an incorrect policy rule in Admin > Instances
Change-Id: I765ae0c36d19c88138fbea9545a2ca4791377ffb
Closes-Bug: #1703066
2017-07-13 19:27:22 +01:00
Jenkins
146229c176 Merge "Partially implements expiration date alert message" 2017-07-13 14:00:32 +00:00
wei.ying
b5e2cd8182 Correct the create volume snapshot description and used of quota
Create volume snapshot form should show its own description and
used of quota not volumes.

Change-Id: I5e5b1eb085d7d0c3fe446983128d07f73d113c8c
Closes-Bug: #1682987
2017-07-13 17:18:23 +08:00
Jenkins
2c4d00c0cc Merge "Capitalize shared|community visibility for images" 2017-07-11 13:02:09 +00:00
Jenkins
3d18b3f174 Merge "Prevent getServerGroups if the policy disallows it" 2017-07-11 12:44:14 +00:00
Alok Kumar
c9f541ec1c Capitalize shared|community visibility for images
Added new visibility type `shared` and `community` to be
displayed in capital case as `Shared` or `Community` in
image listing page.
Similar to
`public` ==> `Public`
`private` ==> `Private`
`

Closes Bug: #1700546

Change-Id: Ia82bcd026412ad14a98dd5dca5b83eee14113e59
2017-07-11 17:37:24 +05:30
OpenStack Proposal Bot
73480118dc Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: Ia38c5008de2b1a4b43da2ef6dd0b05aad83a5516
2017-07-11 11:38:13 +00:00
Timur Sufiev
d8f95c64d6 Introduce DEFAULT_SERVICE_REGIONS
It should be together with related change in django-openstack-auth, if
specified it will change the default service region calculation: it
will be taken from this setting (on a per-endpont basis) instead of a
value stored in cookies.  This value is still checked for sanity,
i.e. it should be present in Keystone service catalog.

Change-Id: I7e36f766870793f3e8fc391a06f0ee49deaa7add
Related-Bug: #1506825
Closes-Bug: #1703390
2017-07-10 16:19:15 +02:00
Jenkins
3765a5827a Merge "Removed default value for 'Physical Network'" 2017-07-10 12:18:42 +00:00
OpenStack Proposal Bot
b91f54f326 Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: I7579248fde94c02c7b83ca58fec09aebab3353e7
2017-07-10 11:25:25 +00:00
Beth Elwell
449aa1a48c Removed default value for 'Physical Network'
When creating a network there is currently a default value of 'default'
which causes the network creation to fail. It is nonsensical to have
a default value here as it will change depending on the provider
network type and needs to be set according to custom settings if the
user is not creating a simple local network which then does not require
the physical network value at all.

Change-Id: I448713d986f17ea1c00cd4dd22487291545cfe2a
Closes-Bug: #1417305
2017-07-10 11:05:34 +01:00
zhurong
c6f060a12a Remove the extra Networks url in ports details page's breadcrumb
There are two Networks url in ports details page's breadcrumb,
This patch remove the extra one.

Change-Id: I8ce37da8f999eb18e925eecda22664490db2381a
2017-07-09 20:27:35 +08:00
Pascal Boutin
f93c546c14 Prevent getServerGroups if the policy disallows it
The old implementation did not wait for the
promise to resolve before doing the call, thus
ignoring the policy.

Change-Id: I2a7a55ddf287e660371dd6b268953a75afa2a380
Closes-Bug: #1702925
2017-07-07 19:09:04 -04:00
Jenkins
a8927dcf39 Merge "Cleanup ngdetails" 2017-07-07 16:43:58 +00:00
Akihiro Motoki
f50cce4c1c Fix KeyError for HORIZON_CONFIG['plugins'] in plugin UT
HORIZON_CONFIG['plugins'] does not always exist.
It breaks unit tests of some horizon plugins like designate-dashboard.

Change-Id: I23aae10a7e63494c1c9f656b47becd2f067c9058
Closes-Bug: #1702889
2017-07-07 11:33:40 +00:00
qiaomin
95c0109f2a 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
2017-07-07 11:01:50 +08:00
OpenStack Proposal Bot
e9e1605c3d Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: I01b5ed89025a88c9eb2566758e6cb869ff7db943
2017-07-06 11:38:15 +00:00
Jenkins
72d1bcdd0f Merge "Only show the image visibility option if it's allowed" 2017-07-06 07:34:38 +00:00
Ying Zuo
932511031f 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
2017-07-05 19:58:15 -07:00
Akihiro Motoki
6f54390df7 doc: Move openstack_auth settings to DOA docs
At now, most django_openstack_auth (DOA) settings are documented
in the horizon documentation. It is better to have documentation
in a same place for better maintenance.

This commit drops openstack_auth specific settings from
the horizon configuration guide.

Also update the wrong name of openstack_auth setting in
local_settings.py. The correct name is TOKEN_DELETION_DISABLED.

Change-Id: Ia5518278c1bc70bb1b3faf44917094de56f344af
2017-07-05 21:58:30 +09:00
OpenStack Proposal Bot
f772b4db0b Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: Ieed51ecae2060e1c940f237c7a25389ff8aa6ef2
2017-07-05 11:48:25 +00:00
Colleen Murphy
f5924e6785 Add config settings for login domain dropdown
On clouds that use domain-specific Identity configuration[1], a user
must provide both their username and domain in order to log into
horizon. Without this patch, users must be aware of their domain's name
and enter it into a text box at login. This is sensible on public
clouds, because supplying potential domains to an unauthenticated user
exposes too much information about other customers and makes potential
attacks easier. On private clouds, however, it is a hinderance to
usability. For example, when migrating from a single-domain
configuration to a multi-domain configuration, users must now guess or
be informed of their domain in order to enter it in the text box. As
another example, when keystone domains are mapped to Active Directory
domains, the user may not be used to having to know their AD domains and
would prefer to select a likely one based on their geographical location
or department from a dropdown menu.

This patch adds the config file examples and documentation for new
config options, "OPENSTACK_KEYSTONE_DOMAIN_DROPDOWN" for enabling a
dropdown menu instead of a textbox when MULTIDOMAIN_SUPPORT is enabled,
and "OPENSTACK_KEYSTONE_DOMAIN_CHOICES" for providing domains to choose
from. The behavior changes corresponding to these new options are
implemented in django_openstack_auth in a corresponding patch.

[1] https://docs.openstack.org/developer/keystone/configuration.html#domain-specific-drivers

Change-Id: I71d64182524d1f54745d9e42347b3a605fa2a920
Depends-On: Ie0a7e36b9975342fab81ddebb87880608d3ef187
2017-07-04 13:50:25 +00:00
Jenkins
6553416c12 Merge "Imported Translations from Zanata" 2017-07-04 13:29:52 +00:00
Jenkins
1bf8b84825 Merge "Removed cursor styling for spinners" 2017-07-04 13:29:02 +00:00