Incorrect nrpe checks: ext-port, os-charm-phy-nic-mtu

Bug #1464193 reported by Alvaro Uria
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
neutron-gateway (Juju Charms Collection)
Fix Released
Medium
Unassigned

Bug Description

Hi,

* ext-port and os-charm-phy-nic-mtu configuration files (stored in charm templates directory) are copied in /etc/init/:
- http://bazaar.launchpad.net/~openstack-charmers/charms/trusty/neutron-gateway/trunk/files/head:/templates/
- http://bazaar.launchpad.net/~openstack-charmers/charms/trusty/neutron-gateway/trunk/view/head:/hooks/neutron_utils.py#L274

* When nrpe-external-master relation is added to quantum-gateway, all checks in /etc/init use check_upstart_job.py:
- http://bazaar.launchpad.net/~openstack-charmers/charms/precise/quantum-gateway/trunk/view/head:/hooks/quantum_hooks.py#L281
- http://bazaar.launchpad.net/~openstack-charmers/charm-helpers/stable/view/head:/charmhelpers/contrib/charmsupport/nrpe.py#L292

However, ext-port and os-charm-phy-nic-mtu are task scripts run at boot time (to fix mtu value) and check_upstart_job (and initctl list) show both services as "stopped/waiting".

Shouldn't those 2 /etc/init scripts be moved in /etc/network/interfaces.d and nrpe-check if "ip link show $DEV" is in state UP?

Please let me know if I can help you more.

Cheers,
-Alvaro.

PS: bug moved from quantum-gateway to neutron-gateway project
I see,
http://bazaar.launchpad.net/~openstack-charmers/charms/trusty/neutron-gateway/trunk/view/head:/hooks/neutron_utils.py#L523
This bug should probably be closed.

Haw Loeung (hloeung)
Changed in quantum-gateway (Juju Charms Collection):
status: New → Confirmed
Revision history for this message
Alvaro Uria (aluria) wrote :
Alvaro Uria (aluria)
affects: quantum-gateway (Juju Charms Collection) → neutron-gateway (Juju Charms Collection)
Alvaro Uria (aluria)
description: updated
Changed in neutron-gateway (Juju Charms Collection):
status: Confirmed → New
Revision history for this message
Liam Young (gnuoy) wrote :

I'm going to mark this as fix committed since the nrpe workaround has landed and the upstart scripts are being dropped for xenial+

Changed in neutron-gateway (Juju Charms Collection):
status: New → Fix Released
importance: Undecided → Medium
milestone: none → 16.01
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.