Previously deleting a network shows an unclear error message
and it is not easy for a user to identify the reason:
Error: Failed to delete network <network_name>
With this fix it will now show proper error message including
the error reason when neutron returns 409 (Conflict) response.
NOTE: This is a fix for the https://review.openstack.org/#/c/140614/
patch, which I couldn't restore.
Change-Id: I5779725f1095d59a012d8e6cf6e47bbd11dda36a
Closes-Bug: #1400667
In Nova Compute API microversion 2.19, you can specify a “description”
attribute when creating, rebuilding, or updating a server instance. This
description can be retrieved by getting server details, or list details
for servers, this patch adds support for this attribute for instance in
horizon.
Change-Id: Ic9217234021d236aee8295915f1a9c3c544396b0
Implement-blueprint: support-description-for-instance
If the 'network_availability_zone'-extension is enabled, this patch adds a
field to the Create Network-workflow named 'Availability Zone Hints'.
Change-Id: Ic4206d5765c2d01afedf0e64f9aa50ffce76b661
Closes-Bug: #1725617
When creating a router, or when setting a gateway on a router - a checkbox
is displayed, which can be unchecked to disable SNAT.
Change-Id: I8bc040018645fe2bde534b7d48e14c17984cc9c4
Closes-bug: #1673076
This patch changes mox to mock for the following test module:
* openstack_dashboard/dashboards/project/volumes/tests.py
The next patch in this series will finish migration to mock in this
moudle with tests refactoring making code cleaner and more supportable.
Change-Id: Icb40ee4d844f34f37839c0e74de29a47c3d3f228
Partially-Implements: blueprint mock-framework-in-unit-tests
If the 'network_availability_zone'-extension is enabled, this patch adds a
column in the Networks-table named 'Availability Zones'.
Change-Id: Iea2bac351b922a0d267c4a55e0d74f6c2639d967
Partial-Bug: #1725617
This patch adds a try/except around all api.neutron-calls that are not already
covered by exception handling.
Change-Id: I5da17414ea932def6f2a21b2a8dca981e755cca6
At the moment, when a user attaches an interface to
an instance, only a network can be specified.
But actually in nova, it is supported to specify a
fixed IP address or a port.
This patch will support these ways.
Change-Id: I3535024a4f6ffd26b508f5e9afb25232202e1e02
Closes-Bug: #1595913
This patch support operation for operators and project users to
associate security groups to a port. The feature is mentioned at
the neutron user feedback session in Barcelona summit [1].
This function UI is same as the function of security groups
association per instance. To realize this, the way of implementation
for 'Edit port' is changed, which move from a single modal to a
workflow base.
[1] https://etherpad.openstack.org/p/ocata-neutron-end-user-operator-feedback (L.35+)
Also we need to display how security groups is associated at a port.
At the moment, there is not way to be able to see it (only this function).
It should be done as an another patch.
Change-Id: I96e0fafdffbf05b8167ec1b85f7430176fdaab90
Closes-Bug: #1637444
Co-Authored-By: Akihiro Motoki <amotoki@gmail.com>
A floating IP can only be associated with an IPv4 address, so we should
not show IPv6 addresses in the list of ports when assigning floating IP
addresses.
Change-Id: I7b39a263445204a9efbc8fe113cc79146d9bee8c
Closes-Bug: #1703360
Closes-Bug: #1724393
When 'availability_zone'-extension is enabled, we present the user with
a drop-down menu containing a list of available availability zones.
This sets the 'availability_zone_hints' parameter on router creation.
Change-Id: I96293202ddd855823e89c4c7ba0b1f6a6423aab2
Partial-bug: #1716638
When 'availability_zone'-extension is enabled, we present the user with
a column showing the availability zones for which the router is
scheduled in.
Change-Id: I87f6bfcee1f129a77e6bf9efa973a79bfa2afe14
Partial-bug: #1716638
The function get_object wasn't used anywhere, so there is no purpose
to have it there.
Change-Id: I9fa93683ff2d2cffeec9426698d7b95c8841ed23
Closes-Bug: #1689010
Currently create subnet, update subnet, and delete subnet actions
for a shared network are restricted to admin users only.
This patches removed this requirement so that the actions are
enabled based on the neutron policy.
Closes-bug: #1710700
Change-Id: Ia5b903c3678e26a3270bbe30402ae348942b9f50
Django 1.11+ doesn't have RenderMixin class for widgets, so we have to
implement render method for ThemableCheckboxSelectMultiple to get it
rendered in a correct way with all supported Django versions until we
find a better solution for our widgets implementation.
Change-Id: I656afb162e130f2b77853368945b74330bedf747
Closes-Bug: #1715066
The text "Import Key Pair" is not accurate technically, using "Import
Public Key" to make more sense.
Change-Id: Ifd313c150cb0ee07c86e5f3834aaee43a0fb801b
It fixes an issue when pool name is not
displayed for floating ip in a case when any
floating ip is not associated with an instance.
Change-Id: Ic20ec3709fa7c5313f59a16aa32b975eb004f753
Closes-Bug: #1716431
Subnet pool ID 'prefix_delegation' is a special subnet pool in Neutron
and there is no real subnet pool with ID 'prefix_delegation',
so we need to skip subnetpool_get() call
if a subnet has 'prefix_delegation' subnet pool.
This commit also adds unit tests which covers subnet pool operations
in the subnet detail view.
Change-Id: I3227a92084ee79b60d2b10262ed94a034e396306
Closes-Bug: #1702466
This patch is going to remove the quota check for "Launch Instance" button,
because:
1. For some reasons, the quota check/allowed of the launch instance button
will be called 2 times, which takes about 0.14 seconds based on our prod
env (prod API with local horizon)
2. The launch instance form will do the quota check again, so user will
not be able to create instance and don't have to wait resp from nova if
the quota has been exceeded. See https://ibb.co/kor5Tw and
https://ibb.co/kKm8Fb
Partial-Bug: #1662347
Change-Id: I0c4aaf6da29145856f4ab307e40a91c4b47b2135
This patch adds Angularized details view for Key Pair.
Also, added new filter 'mediumDate' that format date as follow:
e.g) Feb 3, 2001 4:05:06 PM
Change-Id: I1eaead66a582c15442b28ae83fb1c573a46b0f43
Partial-Implements: blueprint ng-keypairs
Filters like "image_name", "flavor_name" and "project" in instance
panels are keys not supported in Nova List-Servers API directly, so they
should be converted to "image", "flavor" and "project_id", respectively,
before Horizon calling Nova List-Servers API.
That used to work, but was broken in commit
df194c8b4c25c6128f03a98fd0e628ba14b743ff because the code change messed
up the order. This commit fixes it by converting those filters first and
then calling Nova API with modified filters.
Change-Id: I504caaab2b6f256e7eb8c2605acaec39c004e80f
Closes-Bug: #1718725