Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 1301482

Summary: Server now managed event is not emitted when a osd node is added to a cluster.
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Darshan <dnarayan>
Component: CalamariAssignee: Christina Meno <gmeno>
Calamari sub component: Back-end QA Contact: ceph-qe-bugs <ceph-qe-bugs>
Status: CLOSED WONTFIX Docs Contact:
Severity: high    
Priority: unspecified CC: ceph-eng-bugs, dnarayan, flucifre, sankarshan
Version: 1.3.1   
Target Milestone: rc   
Target Release: 2.0   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-19 18:34:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1291304    

Description Darshan 2016-01-25 08:36:07 UTC
Description of problem:
Event will not be emitted when a osd node is added to the cluster. However when a new monitor node is added to a cluster an event is emitted by calamari. 

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. add a osd node to an existing cluster
2. add a mon node to an existing cluster
3.

Actual results:
An event is emitted by calamari indicating addition of only mon node to the cluster.

Expected results:
Event has to be emitted even when a osd node is added to a cluster.

Additional info:

Comment 3 Christina Meno 2016-01-29 17:48:49 UTC
This bug is going to require a different approcach that calamari previously could take. We won't be able to give "OSD now managed" the best we can offer is "ceph knows about OSD.N"

The reason is because calamari isn't running on the OSDs previously when our salt-minion agent connected to the master we could emit an event like this.

Now this is responsibility for rhs-controler-agent to offer a generic host managed and calamari could observe and correlate to OSD

So this is either Won't fix or depends on getting a generic event for rhs-controller-agent and mapping it

Comment 4 Dusmant 2016-02-02 09:06:59 UTC
Did the earlier Calamari code had this capability, which was sitting on an OSD? If so, we can plan using the similar capability in RHS Controller agent.

Comment 5 Darshan 2016-02-03 10:03:07 UTC
Okay, we can get this information as part of osd and mon add/removed events . I raised this bug as this seemed to be working before (in calamari master branch). Now in calamari-lite if its not possible to track this its fine.

Comment 6 Federico Lucifredi 2016-02-19 18:34:08 UTC
Calamari does not know about this, hence it cannot event.