Default behavior is not consistent while creating FWaaS-v2 group through Horizon Dashboard and through CLI command.

Bug #1833374 reported by varun kumar yadav
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Neutron FWaaS dashboard
Fix Released
Undecided
Adit Sarfaty

Bug Description

Description: Creating Firewall Group through openstack CLI command set the admin state to true please find the below command, but through Horizon Dashboard Admin state is set to "False" by default.

[root@vioshim-l42jp6xt7m-vioshim-84bb866c4d-lw6wj /]# openstack firewall group create --name F9
+-------------------+--------------------------------------+
| Field | Value |
+-------------------+--------------------------------------+
| Description | |
| Egress Policy ID | None |
| ID | b16bbdd5-ba11-475a-b74a-acf27b3667ac |
| Ingress Policy ID | None |
| Name | F9 |
| Ports | [] |
| Project | 52e5cd63615243cd9439952c5214d0f7 |
| Shared | False |
| State | UP |
| Status | INACTIVE |
| project_id | 52e5cd63615243cd9439952c5214d0f7 |
+-------------------+--------------------------------------+

Expected: Dafault behavior should be consistent whether the Firewall group created using Horizon or through the neutron cLi command.

affects: neutron → neutron-fwaas-dashboard
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron-fwaas-dashboard (master)

Fix proposed to branch: master
Review: https://review.opendev.org/677611

Changed in neutron-fwaas-dashboard:
assignee: nobody → Adit Sarfaty (asarfaty)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron-fwaas-dashboard (master)

Reviewed: https://review.opendev.org/677611
Committed: https://git.openstack.org/cgit/openstack/neutron-fwaas-dashboard/commit/?id=1be0cfb10ede071a11963c3180da07f898e022d3
Submitter: Zuul
Branch: master

commit 1be0cfb10ede071a11963c3180da07f898e022d3
Author: Adit Sarfaty <email address hidden>
Date: Wed Aug 21 08:46:27 2019 +0300

    Set FW group admin-state UP by default

    By default, the admin state of a new firwall group should be UP.
    This patch mark the checkbox.

    Change-Id: Id377c656788e0fbb13c4b8f90dd022e39c50adbf
    Closes-bug: #1833374

Changed in neutron-fwaas-dashboard:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron-fwaas-dashboard 2.1.0

This issue was fixed in the openstack/neutron-fwaas-dashboard 2.1.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron-fwaas-dashboard (stable/stein)

Fix proposed to branch: stable/stein
Review: https://review.opendev.org/682203

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron-fwaas-dashboard (stable/stein)

Reviewed: https://review.opendev.org/682203
Committed: https://git.openstack.org/cgit/openstack/neutron-fwaas-dashboard/commit/?id=585ea863b6a3660ea4564f030b4e979417451bcf
Submitter: Zuul
Branch: stable/stein

commit 585ea863b6a3660ea4564f030b4e979417451bcf
Author: Adit Sarfaty <email address hidden>
Date: Wed Aug 21 08:46:27 2019 +0300

    Set FW group admin-state UP by default

    By default, the admin state of a new firwall group should be UP.
    This patch mark the checkbox.

    Change-Id: Id377c656788e0fbb13c4b8f90dd022e39c50adbf
    Closes-bug: #1833374
    (cherry picked from commit 1be0cfb10ede071a11963c3180da07f898e022d3)

tags: added: in-stable-stein
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron-fwaas-dashboard 2.0.2

This issue was fixed in the openstack/neutron-fwaas-dashboard 2.0.2 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.