Bug 1305259

Summary: create installer API endpoints that will install Calamari-lite on Monitors
Product: [Red Hat Storage] Red Hat Storage Console Reporter: Christina Meno <gmeno>
Component: ceph-installerAssignee: Christina Meno <gmeno>
Status: CLOSED ERRATA QA Contact: ceph-qe-bugs <ceph-qe-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2CC: adeza, aschoen, ceph-eng-bugs, ceph-qe-bugs, flucifre, gmeno, hnallurv, kdreyer, mkudlej, nthomas, sankarshan, vakulkar
Target Milestone: ---   
Target Release: 2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-installer-1.0.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1316258 (view as bug list) Environment:
Last Closed: 2016-08-23 19:46:28 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: 1316258    

Description Christina Meno 2016-02-06 13:53:47 UTC
Description of problem:

Calamari-lite runs on ceph Monitor nodes to provide a REST API for ceph

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 3 Christina Meno 2016-02-06 13:58:51 UTC
API is documented here https://github.com/ceph/mariner-installer/#calamari

Comment 4 Andrew Schoen 2016-02-08 16:58:14 UTC
Is this the same calamari that will handle registering nodes with USM during bootstrapping? I believe there was a requirement to have an agent installed on newly provisioned nodes that would register them with USM.

Comment 5 Christina Meno 2016-02-09 20:32:26 UTC
*** Bug 1213082 has been marked as a duplicate of this bug. ***

Comment 6 Andrew Schoen 2016-02-09 21:41:38 UTC
I believe this is something we'll need to add to ceph-ansible. Are there docs somewhere for installing calamari-lite? Where will we get packages for calamari-lite? Do we need to configure calamari-lite in any way to get it to talk with USM?

Comment 7 Alfredo Deza 2016-02-11 16:16:25 UTC
Greg, in order to continue with this one we need a bit more of information.

"calamari-lite" (now known as the "agent") needs to be installed in the target nodes but:

* what are those packages named? both for Ubuntu and RHEL
* are the requirements for configuration the same as `ceph-deploy calamari connect` ? If so, the installer needs to know where is the master
* if the configuration for the agent is any different from `ceph-deploy calamari connect` we need to know what parts are so we can address them

Comment 8 Christina Meno 2016-02-11 19:56:35 UTC
the rhscon-agent will be configured as calamari was in ceph-deploy
assume that the ceph-installer and USM will be hosted on the same FQDN for now

Comment 9 Alfredo Deza 2016-02-17 12:56:43 UTC
Pull Request that implements the API endpoint: https://github.com/ceph/ceph-installer/pull/42

Comment 10 Alfredo Deza 2016-03-09 20:24:53 UTC
Pull request in ceph-ansible that allows installing and initializing calamari-server on a monitor: https://github.com/ceph/ceph-ansible/pull/614

Comment 11 Mike McCune 2016-03-28 22:39:30 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions

Comment 19 Martin Kudlej 2016-06-21 10:32:29 UTC
Checked with ceph-installer-1.0.11-1.el7scon.noarch and it works. Calamari runs only on one monitor. ->Verifed

Comment 21 errata-xmlrpc 2016-08-23 19:46:28 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2016:1754