canonical / juju-lint

GNU General Public License v3.0
0 stars 3 forks source link

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

Open zxhdaze opened 2 months ago

zxhdaze commented 2 months ago

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

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)


Imported from Launchpad using lp2gh.

zxhdaze commented 2 months ago

(by majduk)