10611 Commits

Author SHA1 Message Date
Gregory Hooks
af0d4dab78 Added a warning message if User Name is empty
Adding required=False to the user name form allows it to call
update_cell when it has been left empty.  I added logic to update_cell
to check if the form is empty or contains only whitespace and issue a
warning if true and only if the form in question is called 'name'.

Change-Id: Ieccb3f6d7be1acb4b7734e68d467a40cfc7eb99c
Closes-Bug: 1567398
2016-04-16 04:03:50 +00:00
Justin Pomeroy
4254165250 Support scheduler hints when launching instance
This adds the Scheduler Hints step to the angular Launch Instance
workflow and allows specifying arbitrary hints when launching an
instance. It also displays available hints from the glance metadata
definitions catalog OS::Nova::Server namespace that use the
"scheduler_hints" properties target.

Implements: blueprint add-scheduler-hints
Change-Id: Ic33c31e645f45b7a4cbdf13e9a115c96399d5e32
2016-04-15 22:47:57 +00:00
Jenkins
32e0fbba9e Merge "Angular vs. Django Table Danger Button Inconsistency" 2016-04-15 21:05:44 +00:00
Jenkins
f7bf13d69b Merge "Adding Edit Image Action to angular images panel" 2016-04-15 18:43:07 +00:00
Jenkins
d5e1f4b1e4 Merge "Fix explicit waiting if instance has error status" 2016-04-15 17:38:45 +00:00
Jenkins
2391bdee5d Merge "Fix longtime tests" 2016-04-15 17:26:38 +00:00
MikhialLaptev
84032cbede Added tests for check RC files from API Access page
test_download_rc_v2_file()
test_download_rc_v3_file()

Tests check that RC files are downloaded successfully and
some attributes of file's contents are correct.

Implements blueprint: horizon-integration-tests-coverage
Change-Id: Icef46863a6fb95600f7c98d5926cfb5b0dfa3d92
2016-04-15 16:10:05 +00:00
Rajat Vig
5b06cda113 Adding Edit Image Action to angular images panel
Adds the ability to edit an image from the table.

To test set DISABLED = False in _1051_project_ng_images_panel.py

Also, ensure in your local_settings.py that you set:
REST_API_REQUIRED_SETTINGS to include 'OPENSTACK_IMAGE_FORMATS'

Co-Authored-By: Rajat Vig<rajatv@thoughtworks.com>
Co-Authored-By: Nathan Zeplowitz<nzeplowi@thoughtworks.com>
Co-Authored-By: Matt Borland <matt.borland@hpe.com>
Co-Authored-By: Kyle Olivo<keolivo@thoughtworks.com>

Change-Id: I046eca486ebc0d2d980ee706105e202bf9b15ba8
Partially-Implements: blueprint angularize-images-table
2016-04-15 16:02:08 +00:00
Jenkins
e949063c67 Merge "Update JS dev dependencies" 2016-04-15 14:41:36 +00:00
Sergei Chipiga
65eb9e9b8c Fix explicit waiting if instance has error status
This patches includes:
- don't wait instance launching if instance in error status
- add missed assertTrue to validate notification messages
- check that message is present and is displayed

Change-Id: If731751fa4deabdeebe373748b169ac7ac617f8c
Closes-Bug: #1569941
2016-04-15 13:21:46 +00:00
Sergei Chipiga
755d07cbdf Fix longtime tests
The core problem is in usage `while True:` to wait element,
but implicit_wait delegates its to browser already.
Just we need to catch StaleElement exception, reload
chain of element parents and then to execute command again.

Change-Id: I9c94b8adb04489c9675644d1501919af35e5bf99
Closes-Bug: #1570803
2016-04-15 15:06:56 +03:00
YAMAMOTO Takashi
eb2c632eb8 Sync segmentation ID ranges with Neutron
There's no point to allow wider ranges than Neutron.

Closes-Bug: #1505500
Change-Id: I5a1ff8f64c9e005fed52d8d2be208d9318f13b80
2016-04-15 08:39:26 +09:00
YAMAMOTO Takashi
ed7c766854 Add Geneve support
Closes-Bug: #1461069
Change-Id: Ib8d150d36d617e0ff381a40115bde2183dace4f8
2016-04-15 08:39:26 +09:00
YAMAMOTO Takashi
a968f9a500 Add network types used by midonet
Don't enable them unless explicitly configured in local_settings.

Closes-Bug: #1504466
Related-Bug: #1486943
Change-Id: Ia1c059dfa80a55d10fb0318b1648f41ac24cea17
2016-04-15 08:39:21 +09:00
Jenkins
23d5b3aa32 Merge "Added update image metadata test" 2016-04-14 23:23:25 +00:00
Jenkins
1862f73da8 Merge "Change Registry Label for Server to Instance" 2016-04-14 21:23:06 +00:00
Jenkins
186b200735 Merge "Set description field as required for nova-network" 2016-04-14 20:04:26 +00:00
Jenkins
45f23ff461 Merge "Use InAnyOrder for role creation mocks" 2016-04-14 18:14:22 +00:00
Jenkins
c1960d2240 Merge "Make neutron provider network configuration more flexible" 2016-04-14 13:13:48 +00:00
guoshan
27854cc808 Create Subnet missing cancel button
In base template add cancel model if it is modal.
And fix the button spacing issue.

Change-Id: I93eed71428469e67e01d959a01de44fc2597017d
closes-bug:#1386370
2016-04-14 12:14:36 +00:00
Yury Tregubov
d44eebecfa Added update image metadata test
Updated forms.py with MetadataFormRegion.
Updated tables.py with method to bind anchor row column.
Added test for update image metadata.

Implements blueprint: horizon-integration-tests-coverage
Change-Id: Idd3651955b8f0e1a0c08dd43abd657aafa5a3bc2
2016-04-14 16:03:22 +04:00
AlexandraAllakhverdieva
a4f3615f8a Add test for volumes attach/detach
test_volumes.py has been reworked according to approach
from https://review.openstack.org/#/c/273467/

Implements blueprint: horizon-integration-tests-coverage
Change-Id: I5fa417d9847569cf7993c850a77ddcf776d79927
2016-04-14 04:50:36 -04:00
Jenkins
baee24dc21 Merge "Tests for images filtering are added" 2016-04-14 06:46:37 +00:00
Jenkins
b4934a21f5 Merge "Branding: Table Action dropdown hovers theme issue" 2016-04-13 18:26:50 +00:00
Jenkins
15f43c186a Merge "Added test for check launch volume as instance functionality" 2016-04-13 17:09:58 +00:00
Diana Whitten
8896835353 Angular vs. Django Table Danger Button Inconsistency
A button should have either btn-default OR btn-danger ... not both.

This also removes the flashing red change this  problem caused when
adding a 'disabled' class to the button after its already been
rendered on the page.

Closes-bug: #1557729
Closes-bug: #1549957

Change-Id: I6e035868be4df653438b4d31b462729c3fe06d9f
2016-04-13 09:13:34 -07:00
OpenStack Proposal Bot
718628f29b Updated from global requirements
Change-Id: I4f8f3d846024a9e2e4afd0448c4fdce50ed32807
2016-04-13 12:43:13 +00:00
Jenkins
4176613bed Merge "bump eslint version to 1.10.3" 2016-04-13 10:56:29 +00:00
Itxaka
b5673ecd47 Net topology: Show console link only when useful
Right now we are showing the "open console" link on the
network topology screen for instances on each instance,
even if they are on a status that we know its not
going to allow the console to connect.

This patch makes it so the "open console" link will
only appear if the instance object has console data.

It also changes the order of getting the instance
data in the django part as to make less calls if we
dont need the console link.

Provides a list with known statuses that wont connect
to the console used to get the console data or not.

Change-Id: I536fee5186ac933b92a7dc01a2a5b82a6db0ae4c
Closes-Bug: #1543316
2016-04-13 12:51:15 +02:00
Rob Cresswell
8da92fb400 Update JS dev dependencies
A lot of the JavaScript dev dependencies are quite outdated. This patch
updates them.

Closes-Bug: 1569783
Change-Id: I8b47e573a3a3160c824e21f6865b5e9af32c8d64
2016-04-13 10:32:33 +01:00
Thomas Bechtold
33b000a57d Fix doc build if git is absent
When building packages if git is absent, then we should not set
html_last_updated_fmt. It can still be set via the -D switch
when building with sphinx-build.

Change-Id: I905736fc5f998385128b306c75bc8191b2797dc6
Closes-Bug: #1552251
2016-04-13 09:46:35 +02:00
Travis Tripp
0d84df74ae Change Registry Label for Server to Instance
The registry has OS::Nova::Server registered with a label of Server.

This is not consistent with "instance" naming in horizon.
This impacts usage in the search panel.

Before:
http://pasteboard.co/8wghjVS.png

After:
http://pasteboard.co/8whGcA1.png

Change-Id: I41e24b56afea127fdc6fc4f66d9d3b119807b649
Closes-Bug: 1569493
2016-04-13 03:34:07 +00:00
Jenkins
6ffb2f0216 Merge "Use Chrome for JS unit tests" 2016-04-12 22:53:15 +00:00
Jenkins
5a00558cdb Merge "Added router set/clear gateway test." 2016-04-12 21:54:42 +00:00
Jenkins
6ee4b78b5b Merge "Documentation on translation support in horizon plugins" 2016-04-12 21:01:33 +00:00
Jenkins
a15a1be4da Merge "Add test for check router create, edit, delete from Admin page" 2016-04-12 20:40:00 +00:00
Jenkins
97ee839af6 Merge "Reduced the left padding value on alert message" 2016-04-12 20:35:11 +00:00
Rob Cresswell
dbd4731048 Use Chrome for JS unit tests
PhantomJS has setup issues and is slowing down the gate with false
failures. We should change to Chrome until Phantom is more
reliable, at which point this patch can be reverted.

Change-Id: I4bf1c1e8e26ac708bd35145aff98562f30b3a050
Closes-Bug: 1568325
2016-04-12 15:19:56 +00:00
Jenkins
147a4ec70d Merge "Guard against instance row being displayed slowly in i9n tests" 2016-04-11 23:55:20 +00:00
Jenkins
57808b97d7 Merge "Make i9n tests correctly recognize the deletion of a last row in a table" 2016-04-11 23:41:56 +00:00
Ying Zuo
b6e466f31e Set description field as required for nova-network
Project -> Access & Security Panel

Description field is required for creating a
new security group if nova-network is used.

Change-Id: Ie780ed2e2882f14ea937f90c5a8b518d4c44ca46
Closes-bug: #1513944
2016-04-11 11:16:48 -07:00
Jenkins
dc8c01c929 Merge "Update URLs to Django 1.8+ style" 2016-04-11 18:10:51 +00:00
Elena S
38a97f1a91 Added router set/clear gateway test.
Change-Id: Ia6369b43a0fa9e9b9c42b1b93c8455e87563c06d
2016-04-11 20:34:17 +03:00
Ekaterina Shutova
5b118a2299 Add test for check router create, edit, delete from Admin page
Create both test for router create/edit/delete(Admin->System->Routers)
and router Page Object. Also decapitalize routers table name for
Admin page so it could be referenced in integration tests like any
other table.

Implements blueprint: horizon-integration-tests-coverage
Change-Id: Ifb3dbfdade0071fc25417985bead3656044ac0a2
2016-04-11 12:48:35 +00:00
Jenkins
4bb099858b Merge "Add help text to image creation fields in Horizon" 2016-04-11 11:24:14 +00:00
Akihiro Motoki
5fc69c9764 Make neutron provider network configuration more flexible
Previously only the predefined provider network types
can be used in supported_provider_types.
Neutron support various network back-ends and some of
them use different provider network types.
Operators who use such back-ends cannot specify extra
provider network types not defined in Horizon.

This commit reorganizes the logic around neutron provider
network and allows to specify extra provider network types.

Co-Authored-By: YAMAMOTO Takashi <yamamoto@midokura.com>
Related-Bug: #1504466
Change-Id: Ia5e3f91b7c5964a5253a67a42c7d63e35619d1c2
2016-04-11 19:12:30 +09:00
Jenkins
fd28028f69 Merge "Add event broadcast to table row expansion" 2016-04-11 09:58:50 +00:00
Bo Wang
3bf6e50eb6 Default SESSION_ENGINE is not Local memory storage
Value of SESSION_ENGINE in settings.py had been changed from "cache" to
"signed_cookies" in patch: https://review.openstack.org/#/c/6473/12.

According info in deployment.rst is out of sync, fix it.

Closes-Bug: 1568747
Change-Id: Iaa104479dcf0e094e5c6e9c63c3a518064f6fb6e
2016-04-11 16:55:18 +08:00
Akihiro Motoki
e4216cb27a Documentation on translation support in horizon plugins
Change-Id: I53350baf95be18f0d759f0fc687e889f1f9c2b80
2016-04-11 16:16:25 +09:00
Andy Hsiang
d76fb60fd7 Reduced the left padding value on alert message
Closes-Bug: 1566405

Change-Id: I8592a5ce11a8501d28140eae75963364ffc2f286
2016-04-10 19:09:11 -04:00