Skip to content

Multicast Counts on Devices Not Being Decremented #3331

@ben-malbeclabs

Description

@ben-malbeclabs

There is a bug with the counts for multicast users, where it looks like deletion or account closing is not decrementing the count properly:

Example:
root@279899615bad:~/doublezero# doublezero --env testnet device get --code nyc-dz001
 account                     | 6E1fuqbDBG5ejhYEGKHNkWG5mSTczjy4R77XCKEdUtpb
 code                        | nyc-dz001
 contributor                 | jump_
 location                    | nyc
 exchange                    | xnyc
 device_type                 | hybrid
 public_ip                   | 64.86.249.22
 dz_prefixes                 | 64.86.248.128/27
 metrics_publisher           | A7yxgJvkU5kaLmvKtL5Yz5tQB9td6DLxtbezhqZVfgsd
 mgmt_vrf                    |
 max_users                   | 128
 users_count                 | 100
 reference_count             | 58
 max_unicast_users           | 0
 unicast_users_count         | 94
 max_multicast_subscribers   | 0
 multicast_subscribers_count | 0
 max_multicast_publishers    | 0
 multicast_publishers_count  | 136
 reserved_seats              | 0
 desired_status              | pending
 status                      | activated
 health                      | pending
 owner                       | 66yfemxTAjCL686R4FFpGugx1myQ7X6m274MzWB82xBy

 name             | status    | interface_type | cyoa       | dia  | loopback | ip_net           | vlan_id | bandwidth | cir   | mtu  | routing | seg_idx | tunnel_endpoint
 Loopback255      | activated | loopback       | none       | none | vpnv4    | 172.16.0.33/32   | 0       | 0bps      | 0bps  | 1500 | static  | 11      | false
 Loopback256      | activated | loopback       | none       | none | ipv4     | 172.16.0.40/32   | 0       | 0bps      | 0bps  | 1500 | static  | 0       | false
 Switch1/1/1.1000 | activated | physical       | none       | none | none     | 172.16.0.10/31   | 1000    | 0bps      | 0bps  | 1500 | static  | 0       | false
 Switch1/1/1.1002 | activated | physical       | none       | none | none     | 172.16.0.3/31    | 1002    | 0bps      | 0bps  | 1500 | static  | 0       | false
 Loopback100      | activated | loopback       | none       | none | none     | 64.86.248.128/32 | 0       | 0bps      | 0bps  | 1500 | static  | 0       | true
 Switch1/12/3     | unlinked  | physical       | GREOverDIA | dia  | none     | 64.86.249.22/30  | 0       | 10Gbps    | 4Gbps | 1500 | bgp     | 0       | true
root@279899615bad:~/doublezero# doublezero --env testnet user list | grep -i nyc-dz001 | wc -l
104
root@279899615bad:~/doublezero# doublezero --env testnet user list | grep -i nyc-dz001 | grep -i multicast | wc -l
10

Metadata

Metadata

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions