neutron-api charm should set the state to "blocked" when not related to rabbitmq-server

Bug #1726419 reported by Tytus Kurek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Neutron API Charm
Fix Released
Medium
Diko Parvanov

Bug Description

IMHO, neutron-api charm should set the state to "blocked" if not related to rabbitmq-server charm. Currently, the following sequence is sufficient to get the "active" state:

juju deploy neutron-api

juju add-relation neutron-api percona-cluster
juju add-relation neutron-api keystone

Obviously, the relation needs to be added to get the service working.

Tytus Kurek (tkurek)
description: updated
Frode Nordahl (fnordahl)
Changed in charm-neutron-api:
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
Ryan Beisner (1chb1n) wrote :

This bug is about feedback and visibility to the user/operator. I agree with Tytus. But since this bug has been around a while, please exercise a simple reproducer to confirm that this condition still exists.

Changed in charm-neutron-api:
assignee: nobody → Diko Parvanov (dparv)
milestone: none → 19.04
importance: Wishlist → Medium
Revision history for this message
Diko Parvanov (dparv) wrote :

Tested and reproduced, issue still exists. Attached screenshot from a simple deployment.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-neutron-api (master)

Fix proposed to branch: master
Review: https://review.openstack.org/647515

Changed in charm-neutron-api:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-neutron-api (master)

Reviewed: https://review.openstack.org/647515
Committed: https://git.openstack.org/cgit/openstack/charm-neutron-api/commit/?id=1ae9774e303fe856ffd1ffc1deba5085223c666f
Submitter: Zuul
Branch: master

commit 1ae9774e303fe856ffd1ffc1deba5085223c666f
Author: Diko Parvanov <email address hidden>
Date: Mon Mar 25 17:41:09 2019 +0200

    Fix charm status when missing amqp relation

    Set charm status to blocked if not related to amqp broker

    Check if context is available in NeutronAMQPContext for existing relation to a
    amqp broker. Modify the context only if it already exists - pointing to charm
    relation already set.

    Closes-Bug: #1726419

    Change-Id: I10dc05567a59bb187d537fb40628e422c77bb864

Changed in charm-neutron-api:
status: In Progress → Fix Committed
David Ames (thedac)
Changed in charm-neutron-api:
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.