remove-cache-tier action failing @mitaka

Bug #1571050 reported by Ryan Beisner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ceph (Juju Charms Collection)
Fix Released
Medium
Chris Holcombe
ceph-mon (Juju Charms Collection)
Fix Released
Medium
Chris Holcombe

Bug Description

Trusty-Mitaka cache tier amulet tests are failing @master/next charms.

01:48:35.614 2016-04-15 15:34:06,746 test_403_cache_tier_actions DEBUG: Testing cache tiering
01:48:35.614 2016-04-15 15:34:10,194 run_action INFO: Running command: juju action do --format=json ceph-mon/0 create-cache-tier cache-mode=writeback cache-pool=hot backer-pool=cold
01:48:35.614
01:48:35.614 2016-04-15 15:34:20,880 run_action INFO: Running command: juju action do --format=json ceph-mon/0 remove-cache-tier cache-pool=hot backer-pool=cold
01:48:35.614
01:48:35.614
01:48:35.614 juju-test.conductor.019-basic-trusty-mitaka DEBUG : Got exit code: 1
01:48:35.614 juju-test.conductor.019-basic-trusty-mitaka RESULT : FAIL
01:48:35.614 juju-test.conductor INFO : Breaking here as requested by --set-e
01:48:35.614 juju-test INFO : Results: 4 passed, 1 failed, 0 errored
01:48:35.627 make: *** [functional_test] Error 1
01:48:35.627 ERROR:root:Make target returned non-zero.
01:48:35.652 Returned: 1
01:48:35.652 ! Amulet test failed.

...

2016-04-15 15:33:47 INFO remove-cache-tier 2016-04-15 15:33:47.729794 7efc13979700 -1 Errors while parsing config file!
2016-04-15 15:33:47 INFO remove-cache-tier 2016-04-15 15:33:47.729797 7efc13979700 -1 read_conf: ignoring line 30 because it doesn't end with a newline! Please end the config file with a newline.
2016-04-15 15:33:47 INFO remove-cache-tier Error EPERM: 'forward' is not a well-supported cache mode and may corrupt your data. pass --yes-i-really-mean-it to force.
2016-04-15 15:33:47 INFO worker.uniter.jujuc server.go:172 running hook tool "juju-log" ["Removing the cache tier failed with message: "]
2016-04-15 15:33:47 DEBUG worker.uniter.jujuc server.go:173 hook context id "ceph-mon/0-remove-cache-tier-3990087660024766415"; dir "/var/lib/juju/agents/unit-ceph-mon-0/charm"
2016-04-15 15:33:47 INFO juju-log Removing the cache tier failed with message:
2016-04-15 15:33:47 INFO worker.uniter.jujuc server.go:172 running hook tool "action-fail" ["remove-cache-tier failed. Removing the cache tier failed with message: "]

Tags: uosci

Related branches

Revision history for this message
Chris Holcombe (xfactor973) wrote :

Looks like ceph jewel has added a mandatory flag to setting the cache tier to forwarding mode which breaks out juju action.

Changed in ceph (Juju Charms Collection):
assignee: nobody → Chris Holcombe (xfactor973)
Changed in ceph-mon (Juju Charms Collection):
assignee: nobody → Chris Holcombe (xfactor973)
Ryan Beisner (1chb1n)
Changed in ceph (Juju Charms Collection):
milestone: none → 16.04
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/306631

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

Reviewed: https://review.openstack.org/306631
Committed: https://git.openstack.org/cgit/openstack/charm-ceph/commit/?id=691c2212813cab9cfef22f349332d0edc14799c6
Submitter: Jenkins
Branch: master

commit 691c2212813cab9cfef22f349332d0edc14799c6
Author: Chris Holcombe <email address hidden>
Date: Fri Apr 15 14:11:02 2016 -0700

    Resync charmhelpers

    Ceph jewel introduced a new mandatory flag that needs to be set
    when setting the cache tier to forwarding mode.

    Closes-Bug: 1571050

    Change-Id: Iea2fbe92cb69c622d5968cf79426123ba15a48b4

Changed in ceph (Juju Charms Collection):
status: In Progress → Fix Committed
James Page (james-page)
Changed in ceph (Juju Charms Collection):
status: Fix Committed → Fix Released
Revision history for this message
James Page (james-page) wrote :

Marking final task as fix released (sync of CH will have fixed this).

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