network-get sometimes returns duplicate entries

Bug #1864072 reported by Dmitrii Shcherbakov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Achilleas Anagnostopoulos

Bug Description

JAAS controller + AWS instance:

juju run --unit percona-cluster/0 'printenv JUJU_VERSION'
2.6.10

Multiple identical entries are present in bind-addresses and ingress-addresses.

juju run --unit percona-cluster/0 'network-get cluster'
bind-addresses:
- macaddress: 02:f3:f8:4e:26:ba
  interfacename: ens5
  addresses:
  - hostname: ""
    address: 172.31.10.139
    cidr: 172.31.0.0/20
  - hostname: ""
    address: 172.31.10.139
    cidr: 172.31.0.0/20
- macaddress: 36:87:3d:0c:73:9a
  interfacename: fan-252
  addresses:
  - hostname: ""
    address: 252.10.139.1
    cidr: 252.0.0.0/12
egress-subnets:
- 172.31.10.139/32
ingress-addresses:
- 172.31.10.139
- 172.31.10.139
- 252.10.139.1

juju run --unit percona-cluster/0 'printenv JUJU_VERSION'
2.6.10
➜ cpython git:(3.7) ✗ juju status
Model Controller Cloud/Region Version SLA Timestamp
awstest jaas aws/eu-central-1 2.6.10 unsupported 19:38:00+03:00

App Version Status Scale Charm Store Rev OS Notes
percona-cluster 5.7.20 active 1 percona-cluster jujucharms 283 ubuntu

Unit Workload Agent Machine Public address Ports Message
percona-cluster/0* active idle 0 3.123.129.31 3306/tcp Unit is ready

Machine State DNS Inst id Series AZ Message
0 started 3.123.129.31 i-0b70c06cd422e33f4 bionic eu-central-1a running

description: updated
Tim Penhey (thumper)
Changed in juju:
status: New → Triaged
importance: Undecided → High
milestone: none → 2.8-beta1
tags: added: network network-get
Ian Booth (wallyworld)
Changed in juju:
milestone: 2.8-beta1 → 2.8-rc1
Changed in juju:
assignee: nobody → Achilleas Anagnostopoulos (achilleasa)
Changed in juju:
status: Triaged → In Progress
Revision history for this message
Achilleas Anagnostopoulos (achilleasa) wrote :

PR https://github.com/juju/juju/pull/11535 includes a fix for develop.

Changed in juju:
status: In Progress → Fix Committed
Harry Pidcock (hpidcock)
Changed in juju:
status: Fix Committed → Fix Released
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.