Public bug reported:

Not possible to add rule into policy for Network QoS.

Project -> network -> network QoS
Create policy (works well)
Add rule (does not work at all), popup error messages:
Error: Unable to add the bandwidthrule .
Error: Unable to add the minimum_bandwidth_rule .
etc.

>From CLI works without any issues:

stack@jjasek-devstack-qos-enabled:~/horizon$ openstack network qos policy list
+--------------------------------------+--------+--------+---------+----------------------------------+
| ID                                   | Name   | Shared | Default | Project    
                      |
+--------------------------------------+--------+--------+---------+----------------------------------+
| dc5d6b3d-60e4-4d59-94f2-e4699d7559a1 | sdsdsd | False  | False   | 
3badafdbc5be48e4afbb8d525807f65a |
+--------------------------------------+--------+--------+---------+----------------------------------+
stack@jjasek-devstack-qos-enabled:~/horizon$ openstack network qos rule list 
dc5d6b3d-60e4-4d59-94f2-e4699d7559a1

stack@jjasek-devstack-qos-enabled:~/horizon$ openstack network qos rule create 
--type minimum-bandwidth --min-kbps 20000 --ingress 
dc5d6b3d-60e4-4d59-94f2-e4699d7559a1
+-----------+--------------------------------------+
| Field     | Value                                |
+-----------+--------------------------------------+
| direction | ingress                              |
| id        | 47af57d7-1d79-4567-a735-a84fba4bee90 |
| min_kbps  | 20000                                |
| name      | None                                 |
+-----------+--------------------------------------+
stack@jjasek-devstack-qos-enabled:~/horizon$ openstack network qos rule list 
dc5d6b3d-60e4-4d59-94f2-e4699d7559a1
+--------------------------------------+--------------------------------------+-------------------+----------+-----------------+----------+----------+-----------+-----------+
| ID                                   | QoS Policy ID                        | 
Type              | Max Kbps | Max Burst Kbits | Min Kbps | Min Kpps | DSCP 
mark | Direction |
+--------------------------------------+--------------------------------------+-------------------+----------+-----------------+----------+----------+-----------+-----------+
| 47af57d7-1d79-4567-a735-a84fba4bee90 | dc5d6b3d-60e4-4d59-94f2-e4699d7559a1 | 
minimum_bandwidth |          |                 |    20000 |          |          
 | ingress   |
+--------------------------------------+--------------------------------------+-------------------+----------+-----------------+----------+----------+-----------+-----------+

** Affects: horizon
     Importance: Undecided
         Status: New

** Attachment added: "Screenshot From 2025-04-25 15-40-38.png"
   
https://bugs.launchpad.net/bugs/2109352/+attachment/5874218/+files/Screenshot%20From%202025-04-25%2015-40-38.png

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/2109352

Title:
  Network QoS add rule does not work from Horizon UI, works from CLI.

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Not possible to add rule into policy for Network QoS.

  Project -> network -> network QoS
  Create policy (works well)
  Add rule (does not work at all), popup error messages:
  Error: Unable to add the bandwidthrule .
  Error: Unable to add the minimum_bandwidth_rule .
  etc.

  From CLI works without any issues:

  stack@jjasek-devstack-qos-enabled:~/horizon$ openstack network qos policy list
  
+--------------------------------------+--------+--------+---------+----------------------------------+
  | ID                                   | Name   | Shared | Default | Project  
                        |
  
+--------------------------------------+--------+--------+---------+----------------------------------+
  | dc5d6b3d-60e4-4d59-94f2-e4699d7559a1 | sdsdsd | False  | False   | 
3badafdbc5be48e4afbb8d525807f65a |
  
+--------------------------------------+--------+--------+---------+----------------------------------+
  stack@jjasek-devstack-qos-enabled:~/horizon$ openstack network qos rule list 
dc5d6b3d-60e4-4d59-94f2-e4699d7559a1

  stack@jjasek-devstack-qos-enabled:~/horizon$ openstack network qos rule 
create --type minimum-bandwidth --min-kbps 20000 --ingress 
dc5d6b3d-60e4-4d59-94f2-e4699d7559a1
  +-----------+--------------------------------------+
  | Field     | Value                                |
  +-----------+--------------------------------------+
  | direction | ingress                              |
  | id        | 47af57d7-1d79-4567-a735-a84fba4bee90 |
  | min_kbps  | 20000                                |
  | name      | None                                 |
  +-----------+--------------------------------------+
  stack@jjasek-devstack-qos-enabled:~/horizon$ openstack network qos rule list 
dc5d6b3d-60e4-4d59-94f2-e4699d7559a1
  
+--------------------------------------+--------------------------------------+-------------------+----------+-----------------+----------+----------+-----------+-----------+
  | ID                                   | QoS Policy ID                        
| Type              | Max Kbps | Max Burst Kbits | Min Kbps | Min Kpps | DSCP 
mark | Direction |
  
+--------------------------------------+--------------------------------------+-------------------+----------+-----------------+----------+----------+-----------+-----------+
  | 47af57d7-1d79-4567-a735-a84fba4bee90 | dc5d6b3d-60e4-4d59-94f2-e4699d7559a1 
| minimum_bandwidth |          |                 |    20000 |          |        
   | ingress   |
  
+--------------------------------------+--------------------------------------+-------------------+----------+-----------------+----------+----------+-----------+-----------+

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/2109352/+subscriptions


-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to