ceph charms error on rgw relation

Bug #1627718 reported by Edward Hope-Morley
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ceph (Juju Charms Collection)
Fix Released
Critical
Edward Hope-Morley
ceph-mon (Juju Charms Collection)
Fix Released
Critical
Edward Hope-Morley

Bug Description

All the ceph charms recently received an update tjhat breaks the radosgw relation due to required args not being provided to ceph.get_radosgw_key():

ceph/hooks/ceph_hooks.py: 'radosgw_key': ceph.get_radosgw_key(),
ceph/lib/ceph/__init__.py:def get_radosgw_key(pool_list):
ceph-mon/hooks/ceph_hooks.py: 'radosgw_key': ceph.get_radosgw_key(),
ceph-mon/lib/ceph/__init__.py:def get_radosgw_key(pool_list):
ceph-osd/lib/ceph/__init__.py:def get_radosgw_key(pool_list):
ceph-radosgw/hooks/ceph.py:def get_radosgw_key():

Error is like:

2016-09-26 11:27:34 INFO radosgw-relation-joined Traceback (most recent call last):
2016-09-26 11:27:34 INFO radosgw-relation-joined File "/var/lib/juju/agents/unit-ceph-0/charm/hooks/radosgw-relation-joined", line 606, in <module>
2016-09-26 11:27:34 INFO radosgw-relation-joined hooks.execute(sys.argv)
2016-09-26 11:27:34 INFO radosgw-relation-joined File "/var/lib/juju/agents/unit-ceph-0/charm/hooks/charmhelpers/core/hookenv.py", line 715, in execute
2016-09-26 11:27:34 INFO radosgw-relation-joined self._hooks[hook_name]()
2016-09-26 11:27:34 INFO radosgw-relation-joined File "/var/lib/juju/agents/unit-ceph-0/charm/hooks/radosgw-relation-joined", line 441, in radosgw_relation
2016-09-26 11:27:34 INFO radosgw-relation-joined 'radosgw_key': ceph.get_radosgw_key(),
2016-09-26 11:27:34 INFO radosgw-relation-joined TypeError: get_radosgw_key() takes exactly 1 argument (0 given)

NOTE: This issue is only the current master (development) branches.

Revision history for this message
Edward Hope-Morley (hopem) wrote :
no longer affects: ceph-radosgw (Juju Charms Collection)
Changed in ceph-mon (Juju Charms Collection):
milestone: none → 16.10
Changed in ceph-osd (Juju Charms Collection):
milestone: none → 16.10
Changed in ceph-mon (Juju Charms Collection):
importance: Undecided → Critical
Changed in ceph-osd (Juju Charms Collection):
importance: Undecided → Critical
description: updated
Changed in ceph (Juju Charms Collection):
assignee: nobody → Edward Hope-Morley (hopem)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-ceph (master)

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

Changed in ceph (Juju Charms Collection):
status: New → In Progress
Revision history for this message
Edward Hope-Morley (hopem) wrote :

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

no longer affects: ceph-osd (Juju Charms Collection)
Changed in ceph-mon (Juju Charms Collection):
assignee: nobody → Edward Hope-Morley (hopem)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-ceph-mon (master)

Reviewed: https://review.openstack.org/376459
Committed: https://git.openstack.org/cgit/openstack/charm-ceph-mon/commit/?id=8b5350e3b4b2a55df3b0e01011203d1678cb98c7
Submitter: Jenkins
Branch: master

commit 8b5350e3b4b2a55df3b0e01011203d1678cb98c7
Author: Edward Hope-Morley <email address hidden>
Date: Mon Sep 26 14:01:54 2016 +0100

    Fix radosgw relation broken by commit e5306f1

    Change-Id: Ia21a5eb9238e0d731a603911f77c69e13af35c8a
    Closes-Bug: 1627718

Changed in ceph-mon (Juju Charms Collection):
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-ceph (master)

Reviewed: https://review.openstack.org/376456
Committed: https://git.openstack.org/cgit/openstack/charm-ceph/commit/?id=3a845f6f892d3e09b64ba3741d0fcd8a8190bbc6
Submitter: Jenkins
Branch: master

commit 3a845f6f892d3e09b64ba3741d0fcd8a8190bbc6
Author: Edward Hope-Morley <email address hidden>
Date: Mon Sep 26 13:59:12 2016 +0100

    Fix radosgw relation broken by commit 57808f0

    Change-Id: I146fe1fe15515dbb90cd8f77d5ecaff4851bcb26
    Closes-Bug: 1627718

Changed in ceph (Juju Charms Collection):
status: In Progress → Fix Committed
Ryan Beisner (1chb1n)
tags: added: uosci
James Page (james-page)
Changed in ceph (Juju Charms Collection):
status: Fix Committed → Fix Released
Changed in ceph-mon (Juju Charms Collection):
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.