juju-lint false positive for missing relations when agent not running

Bug #1903965 reported by Michał Ajduk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juju Lint
New
Low
Unassigned

Bug Description

Juju lint is reporting missing relations where in fact these relations are present. Details below. These are relations within a model however there is one or two agents not running for these applications.

2020-11-12-09:39:47 fce.openstack.juju-lint WARNING 2020-11-12 09:39:46 [INFO] juju-lint version 1.0.2.dev7+g39fd901 starting... * Config directory: /home/ubuntu/.config/juju-lint
        * Rules file: /snap/juju-lint/current/contrib/canonical-rules.yaml * Log level: info

2020-11-12 09:39:47 [ERROR] [/home/ubuntu/deploy/generated/openstack/juju_status.json] [manual/manual] -> telegraf [neutron-api, placement]
2020-11-12 09:39:47 [ERROR] [/home/ubuntu/deploy/generated/openstack/juju_status.json] [manual/manual] -> filebeat [neutron-api, placement]
2020-11-12 09:39:47 [ERROR] [/home/ubuntu/deploy/generated/openstack/juju_status.json] [manual/manual] -> nrpe [glance-simplestreams-sync, neutron-api, placement]

To validate I've tried adding these relations:
ubuntu@inf1az1cz202904rz:~/deploy$ juju add-relation telegraf neutron-api
cannot add relation "telegraf:juju-info neutron-api:juju-info": relation telegraf:juju-info neutron-api:juju-info already exists (already exists)
ubuntu@inf1az1cz202904rz:~/deploy$ juju add-relation telegraf placement
cannot add relation "telegraf:juju-info placement:juju-info": relation telegraf:juju-info placement:juju-info already exists (already exists)

ubuntu@inf1az1cz202904rz:~/deploy$ juju add-relation filebeat placement
cannot add relation "filebeat:beats-host placement:juju-info": relation filebeat:beats-host placement:juju-info already exists (already exists)
ubuntu@inf1az1cz202904rz:~/deploy$ juju add-relation filebeat neutron-api
cannot add relation "filebeat:beats-host neutron-api:juju-info": relation filebeat:beats-host neutron-api:juju-info already exists (already exists)

Revision history for this message
Michał Ajduk (majduk) wrote :
Andrea Ieri (aieri)
Changed in juju-lint:
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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