crm status misses resources

Bug #1820290 reported by Narinder Gupta
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Barbican Charm
Fix Released
Critical
David Ames

Bug Description

after deploying this bundle i find out that barbican unit does not contains resources. Found critical issues in nagios then trace back and find out no resources for vip in barbican. While juju status does not list any errors.

sudo crm status
Stack: corosync
Current DC: juju-e6f1b6-0-lxd-0 (version 1.1.18-2b07d5c5a9) - partition with quorum
Last updated: Fri Mar 15 14:00:55 2019
Last change: Thu Mar 14 06:27:56 2019 by root via cibadmin on juju-e6f1b6-0-lxd-0

3 nodes configured
0 resources configured

Online: [ juju-e6f1b6-0-lxd-0 juju-e6f1b6-1-lxd-0 juju-e6f1b6-2-lxd-0 ]

No resources

Details of bundle, log files and juju status can be find at

https://pastebin.canonical.com/p/V2XzVKXVNF/

tags: added: critical field
tags: added: field-critical
removed: critical field
tags: added: cpe-onl
tags: added: cpe-onsite
removed: cpe-onl
Revision history for this message
David Ames (thedac) wrote :

Barbican appears to be missing a call to configure_ha_resources. Testing a fix now.

Changed in charm-barbican:
status: New → Triaged
importance: Undecided → Critical
assignee: nobody → David Ames (thedac)
milestone: none → 19.04
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-barbican (master)

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

Changed in charm-barbican:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-barbican (stable/18.11)

Fix proposed to branch: stable/18.11
Review: https://review.openstack.org/643657

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-barbican (master)

Reviewed: https://review.openstack.org/643642
Committed: https://git.openstack.org/cgit/openstack/charm-barbican/commit/?id=e7f0a8ad65eecffad9c7a23ff7aac2bef1eea477
Submitter: Zuul
Branch: master

commit e7f0a8ad65eecffad9c7a23ff7aac2bef1eea477
Author: David Ames <email address hidden>
Date: Fri Mar 15 09:55:44 2019 -0700

    Ensure HA resources are configured

    The barbican charm was missing a configure_ha_resources call when the ha
    relation is connected. This led to HA deploys missing a VIP resources.

    This change enables barbican to run configure_ha_resources when the ha
    relation is connected as the other OpenStack reactive charms do.

    Change-Id: I92121af2621b9f7d9a7b2eb993abe522d4b0f1a5
    Closes-Bug: #1820290

Changed in charm-barbican:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-barbican (stable/18.11)

Reviewed: https://review.openstack.org/643657
Committed: https://git.openstack.org/cgit/openstack/charm-barbican/commit/?id=fb09655d9d82a8a705cfc74e5479dd3cff0011de
Submitter: Zuul
Branch: stable/18.11

commit fb09655d9d82a8a705cfc74e5479dd3cff0011de
Author: David Ames <email address hidden>
Date: Fri Mar 15 09:55:44 2019 -0700

    Ensure HA resources are configured

    The barbican charm was missing a configure_ha_resources call when the ha
    relation is connected. This led to HA deploys missing a VIP resources.

    This change enables barbican to run configure_ha_resources when the ha
    relation is connected as the other OpenStack reactive charms do.

    Change-Id: I92121af2621b9f7d9a7b2eb993abe522d4b0f1a5
    Closes-Bug: #1820290
    Depends-On: https://review.openstack.org/#/c/643669
    (cherry picked from commit e7f0a8ad65eecffad9c7a23ff7aac2bef1eea477)

Frode Nordahl (fnordahl)
Changed in charm-barbican:
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.