14601 Commits

Author SHA1 Message Date
sapd
f8eb17c59b Get scope token of current project when switch Keystone Provider
Closes-Bug: #1806621

Change-Id: Ice5b56777967566770454bfbd6800bf3b8c57a37
2018-12-10 00:15:36 +07:00
Zuul
fb1a129ee2 Merge "Make update status dialog less confusing" 2018-12-03 14:53:32 +00:00
Zuul
681b6dde77 Merge "Ensures proper network name in subnet error message" 2018-12-03 14:51:45 +00:00
Zuul
119ce678da Merge "Support of rescue instance in Horizon" 2018-12-03 14:51:43 +00:00
Zuul
0c6989ad46 Merge "Fix wording for Cinder Volume QoS Create Extra Specs" 2018-12-03 14:41:41 +00:00
Zuul
9e50dfd32e Merge "Instance Action Log miss-translate some actions" 2018-12-03 14:35:26 +00:00
Zuul
4985710066 Merge "Document Django and Python support policy" 2018-12-03 14:35:24 +00:00
Zuul
f07c8e179a Merge "When creating a role, check if the role already exists" 2018-12-03 14:35:22 +00:00
Zuul
12d411b650 Merge "Modify the prompt of create routes and update routes." 2018-12-03 14:35:20 +00:00
Zuul
7e4abf0ef1 Merge "fix an issue with nova extension support checking" 2018-12-03 14:35:18 +00:00
Zuul
597e0791cd Merge "Get rid of keys() usage" 2018-11-30 18:14:43 +00:00
Zuul
e88240ffc5 Merge "Add Fix django.contrib.auth.middleware monkey patching for APITestCase" 2018-11-30 17:51:09 +00:00
Zuul
5e3ee4ae62 Merge "Update geckodriver to version 0.23.0" 2018-11-30 15:54:13 +00:00
Ivan Kolodyazhny
de69edd040 Add Fix django.contrib.auth.middleware monkey patching for APITestCase
This patch rollbacks changes in APITestCase introduced in the
0d163613265e036818fe567793a4fc88fe140d4a commit to unblock Horizon
plugins gates.

Change-Id: I6b2be31568e4aa4273990f9cfa76ca139620c84b
Closes-bug: #1806053
Closes-bug: #1805240
2018-11-30 17:33:21 +02:00
manchandavishal
c02b9fc2dd Get rid of keys() usage
for x in some_dict.keys() can be written as for x in some_dict

Change-Id: If5436647a30c02d0dab7daa23b2290456c66d654
2018-11-30 11:15:27 +00:00
OpenStack Proposal Bot
04a0fdafcc Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I6895516e57701d502c5b8109d10499cd25ac965d
2018-11-30 09:13:29 +00:00
Ivan Kolodyazhny
e3bfad6ade Update geckodriver to version 0.23.0
The latest selenium webdriver fails with old geckodriver.

This patch also fixes horizon-selenium-headless job.

Change-Id: I8dfdc7e80dfe680d6699fc7f1f8325b85a9f7c8f
2018-11-29 15:27:43 +00:00
Zuul
478c1b8ad1 Merge "Updating "Create an Encrypted Volume Type" Picture" 2018-11-29 08:37:42 +00:00
manchandavishal
a0b72d54c0 Updating "Create an Encrypted Volume Type" Picture
With reference to I038918e4beef2ea4d346127713855e0421e8b721.
The description for "Key Size" field is changed.
So picture for the same also need to be updated.
This patch updates the picture in the doc.

Change-Id: Idfed41249cd6e74ff0ad209798dfc5f921552ed9
Related-Bug: #1780457
2018-11-29 04:34:36 +00:00
Adrian Turjak
e2360f9fe5 fix an issue with nova extension support checking
This bug was introduced by 3acb28270a27837253d308f05d40240b04a6affa

Closes-Bug: #1805469
Change-Id: I0d5d98718e764c89451ab3829cb325a150f29724
2018-11-28 05:24:45 +13:00
Zuul
0e75e2fb80 Merge "Remove "Change Password" from users table for non-admin users" 2018-11-27 13:38:18 +00:00
Zuul
485dae11d9 Merge "Fix bug about snapshot pagination" 2018-11-27 11:54:41 +00:00
pengyuesheng
f520815d36 Modify the prompt of create routes and update routes.
The name is not required, so data["name"] may be empty,
but the router.name_or_id must have a value

Change-Id: I0b20d0ab5ff66e199faa58cb9146aa731552c698
2018-11-27 14:01:48 +08:00
Mohammed Naser
0630be639b Remove "Change Password" from users table for non-admin users
If you're a user without administrative permissions, you will
not be able to edit a password using the table inside the identity
section due to the fact that it uses a different edit API which
is not meant to be used for the user-side of things.

This patch adds a policy change in order to hide the change password
link for normal users, while keeping the functionality inside
the Settings panel still intact.

This change was first broken by I76eb9f95c7112bcbad75ee151f363f892298d081

Partial-Bug: 1788384
Change-Id: I7a64257ac274c9dac5705ba72a85833f8e7a1591
2018-11-27 05:14:05 +00:00
Zuul
7899b04888 Merge "[doc]Fix: Modify content of configure access and security for instance" 2018-11-26 21:33:47 +00:00
manchandavishal
8aea412a4f [doc]Fix: Modify content of configure access and security for instance
Step 7 of 'Add a key pair' instructs end users to respond to the prompt
 to download but Horizon now automatically download Key pair and no
prompt to download the key pair is displayed and moving a section of
code that should reside in 'Add a Key pair'.
This patch updates the doc correctly.

Change-Id: Ic96de6983c7d95c4eca19ae0b6e3d1c700aac9b5
Closes-Bug: #1804139
2018-11-26 15:20:54 +00:00
Zuul
269152feaa Merge "Fix: Help text for encrypted volume type has incorrect description" 2018-11-26 00:39:24 +00:00
Wangliangyu
9faf1cd109 Fix bug about snapshot pagination
Now, one page content will be changed after Clicking
"Next page" or "Prev page" to go back.

As we know, the order of the list could not be changed
at will, for one at the beginning or the end is a marker.
The marker is very importent for pagination.
So, this commit remove the sort of snapshots and reverse
the sort of the previous page ones.

Change-Id: I8d3d0cf4a1e6526bed3055b18741b1cf5d6166ff
Closes-Bug: #1804391
2018-11-23 17:12:46 +08:00
pengyuesheng
2a703b7a76 When creating a role, check if the role already exists
Change-Id: I0b8574ddbad36751b5f7246403d15cf5fd7cdfae
2018-11-23 09:28:08 +08:00
wangliangyu
a9d6c7886c Make update status dialog less confusing
Now, we give the init status of the volume when resetting status.
The first glance is the current status, instead of "Select an
new status", and we could do nothing with the status will confuse user.
The same with snapshot.

According to the above situation and Akihiro's suggestion:
 - Use "Select on new status" as the default label
 - List all possible values for status *including the current status*
 - Add "(current)" to the current value in the dropdown list

Change-Id: I61e642e2fd8ddd7498911272678e57b60b60a3b8
Closes-Bug: #1803475
2018-11-22 20:42:24 +09:00
manchandavishal
9d5a266631 Fix: Help text for encrypted volume type has incorrect description
Volume type encryption help text states that "The Key Size is the
size of the encryption key, in bits (e.g., 128, 256).
If the field is left empty, the provider default will be used."
This is not really correct, because 128 bit keys do not actually
work with LUKS as used by Cinder volumes.
It should only recommend 256 bit keys.
This patch fixes the issue.

Change-Id: I038918e4beef2ea4d346127713855e0421e8b721
Closes-Bug: #1780457
2018-11-22 10:09:46 +00:00
Zuul
25d72fa5c5 Merge "Clarify middleware public methods" 2018-11-21 22:01:58 +00:00
Zuul
f535687c9f Merge "fix the bug of checkSpinnerValue" 2018-11-21 22:01:02 +00:00
Zuul
605f1a2d3c Merge "Fix: Inconsistent use of btn-danger" 2018-11-21 15:54:39 +00:00
Wangliangyu
9a820c4881 Instance Action Log miss-translate some actions
Some actions of instance are missed in ACTION_DISPLAY_CHOICES,
like migrate/shelve/unshelve.

Change-Id: Ia1e40ae35b2fd31c146dc1f074b30822812fa051
Closes-Bug: #1804376
2018-11-21 16:34:49 +08:00
Ernest Millan
3a3cb681c9 Ensures proper network name in subnet error message
We need to pass network object to _create_subnet()
to show proper network name in subnet error message.
The network itself has been retrieved in the view code, so what
we need to do is to make it available in the workflow code.
This commit makes 'network' information available in the workflow
context_seed dict and CreateSubnet handle() method can use it.

Also removes the unnecessary network_get in the admin subnet create
form. we can retrieve a network object from context_seed['network']
as we do in the project side code now.

Change-Id: Ib2162814cbc7263fc03a9da0319c0b2b38732cc5
Closes-bug: #1505414
Co-Authored-By: Akihiro Motoki <amotoki@gmail.com>
2018-11-20 23:02:09 +09:00
Simon Dodsley
e480773184 Fix wording for Cinder Volume QoS Create Extra Specs
Update wording to make more generic and give additonal examples
for front-end keys and change current examples to be referenced
as back-end keys.

Change-Id: I248c4f7b55f84a6e4cb054124d988292db455cab
Closes-Bug: 1800494
2018-11-20 07:47:31 -05:00
Zuul
c4515d1bf3 Merge "add the assertWorkflowErrors" 2018-11-20 12:35:54 +00:00
Akihiro Motoki
b21add6e2d Document Django and Python support policy
As discussed in the Stein PTG at Denver,
we support maintained LTS versions of Django and other maintained
Django versions are optional. For example, upcoming LTS version of
Django 2.2 will be supported. Django 2.1 support will be best-effort.

The policy for Python supported version is documented.
Python 3.6 is now covered by unit tests, so it can be considered
as experimental. Python 3.7 support will be added along with
the community goal.

Change-Id: I1d844b0333b2701adbae7a51033091bff1458313
2018-11-20 20:33:39 +09:00
Zuul
e09c11ac84 Merge "Update the HTTP links to HTTPS." 2018-11-20 11:07:59 +00:00
pengyuesheng
ffa8b5404e Support of rescue instance in Horizon
Change-Id: Ie195befde8fe10ce419583ead06fdb759dd3813c
Implements: blueprint instance-rescue-horizon-support
2018-11-20 10:25:37 +00:00
pengyuesheng
6216715e7d add the assertWorkflowErrors
some of the action pages use workflow,
but the check is using assertFormErrors,
which is unreasonable,
assertFormErrors only checks one step, not all

Change-Id: I764be4a243fb9c4790c195610514663d71e18373
2018-11-16 09:58:00 +08:00
Zuul
11fbb9dbd1 Merge "Make API calls in Volumes view parallel" 2018-11-15 14:28:34 +00:00
Mateusz Kowalski
9810711e75 Make API calls in Volumes view parallel
In order to increase rendering speed, make
api.cinder.volume_list_paged, api.nova.server_list
and api.cinder.volume_snapshot_list parallel.
For admin panel also api.keystone.tenant_list is
parallelized.

Closes-bug: #1660025
Partial-implements: blueprint fetch-resources-in-parallel

Change-Id: Ic789ff98a59ba792d77103e7778883562e7977d2
2018-11-15 14:50:01 +02:00
zhouxinyong
23313c7ec3 Update the HTTP links to HTTPS.
Change-Id: I7c45f9a54be390df2d965e181c581b26f17e70d5
2018-11-15 09:57:17 +00:00
manchandavishal
55835c7305 Fix: Inconsistent use of btn-danger
The color of delete image button is inconsistent with other
destructive buttons.
This patch fixes the issue.

Change-Id: Id7acd54e5535912eff4e69cbfd360ef02e7d8786
Closes-Bug: #1792778
2018-11-15 07:52:47 +00:00
Zuul
b402b2daf2 Merge "Imported Translations from Zanata" 2018-11-14 13:20:29 +00:00
Zuul
6cc2a5c053 Merge "Correct the word spell of "corporate firewall"" 2018-11-14 09:19:48 +00:00
Zuul
b30331224f Merge "Bump hacking to 1.1.0" 2018-11-14 09:19:47 +00:00
OpenStack Proposal Bot
127de2412e Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I9e2e45423de5b933b119abb3abc80346b338e1b2
2018-11-14 07:58:15 +00:00