Bug 1316105

Summary: /setup/agent/ points to "localhost" as the master in the minion config
Product: [Red Hat Storage] Red Hat Storage Console Reporter: Alfredo Deza <adeza>
Component: ceph-installerAssignee: Alfredo Deza <adeza>
Status: CLOSED ERRATA QA Contact: ceph-qe-bugs <ceph-qe-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2CC: adeza, ceph-eng-bugs, ceph-qe-bugs, gmeno, hnallurv, japplewh, kdreyer, mkudlej, nthomas, sankarshan, yweinste
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: Environment:
Last Closed: 2016-08-23 19:48:07 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:

Description Alfredo Deza 2016-03-09 12:30:23 UTC
Description of problem: When trying to bootstrap the agent with the /setup/agent/ endpoint, it creates a /etc/salt/minion.d/ceph_agent.conf  file pointing to "localhost" as the master, which is wrong.


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


How reproducible: 100%


Steps to Reproduce:
1. curl http://<ceph-installer-host>:8181/setup/agent/ | sudo bash
2. wait for the installation process to complete


Actual results:


Expected results: /etc/salt/minion.d/ceph_agent.conf  should have the address/hostname of the host for the ceph-installer, not "localhost"


Additional info:

Comment 2 Alfredo Deza 2016-03-09 20:07:25 UTC
Pull Request opened https://github.com/ceph/ceph-installer/pull/115

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

Comment 13 Martin Kudlej 2016-06-21 09:43:31 UTC
Checked with ceph-installer-1.0.11-1.el7scon.noarch and it works. -> Verified

Comment 15 errata-xmlrpc 2016-08-23 19:48:07 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