Missing relation with nova-cloud-controller doesn't result in blocked charm

Bug #1634106 reported by Alex Kavanagh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Neutron Gateway Charm
Fix Released
Medium
Unassigned
neutron-gateway (Juju Charms Collection)
Invalid
Medium
Unassigned

Bug Description

If you miss/forget to add a relation between nova-cloud-controller and neutron-gateway then the neutron-gateway charm doesn't show a blocked status. However, the neutron-gateway no longer functions correctly as the metadata server has no keystone auth credentials and can't function.

Fix required: ensure that the charm stays in the blocked state until the nova-cloud-controller relation (via the quantum-network-service interface) is connected.

Tags: bitesized
Revision history for this message
James Page (james-page) wrote :

# The interface is said to be satisfied if anyone of the interfaces in the
# list has a complete context.
REQUIRED_INTERFACES = {
    'messaging': ['amqp', 'zeromq-configuration'],
    'neutron-plugin-api': ['neutron-plugin-api'],
}

Changed in neutron-gateway (Juju Charms Collection):
status: New → Confirmed
importance: Undecided → Medium
status: Confirmed → Triaged
tags: added: bitesized
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-neutron-gateway (master)

Reviewed: https://review.openstack.org/431597
Committed: https://git.openstack.org/cgit/openstack/charm-neutron-gateway/commit/?id=bf6b4332b3f2c14176c7f700f41fa578362472f9
Submitter: Jenkins
Branch: master

commit bf6b4332b3f2c14176c7f700f41fa578362472f9
Author: Liam Young <email address hidden>
Date: Thu Feb 9 15:17:34 2017 +0000

    Add quantum-network-service as a mandatory service

    The quantum-network-service relation with nova-cc needs to
    be present otherwise metadata server has no keystone auth
    credentials. This change adds it to REQUIRED_INTERFACES
    so that its absence is reported in workload status. Also
    the quantum-network-service-relation-broken symlink has
    been added to trigger an assess status call when the
    relation is removed.

    Change-Id: I9859d532e1ef3c18c8c24308a115624035ef6d0f
    Closes-Bug: 1634106

Changed in neutron-gateway (Juju Charms Collection):
status: Triaged → Fix Committed
James Page (james-page)
Changed in charm-neutron-gateway:
importance: Undecided → Medium
status: New → Fix Committed
Changed in neutron-gateway (Juju Charms Collection):
status: Fix Committed → Invalid
James Page (james-page)
Changed in charm-neutron-gateway:
milestone: none → 17.02
James Page (james-page)
Changed in charm-neutron-gateway:
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.