| Summary: | Calamari must push events to salt event bus based on the config file. | ||
|---|---|---|---|
| Product: | Red Hat Ceph Storage | Reporter: | Darshan <dnarayan> |
| Component: | Calamari | Assignee: | Christina Meno <gmeno> |
| Calamari sub component: | Back-end | QA Contact: | Harish NV Rao <hnallurv> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | medium | ||
| Priority: | unspecified | CC: | ceph-eng-bugs, flucifre, hnallurv, vakulkar |
| Version: | 1.3.1 | ||
| Target Milestone: | rc | ||
| Target Release: | 2.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | calamari-server-1.4.0-rc10 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-08-23 19:31:54 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: | |
| Bug Depends On: | |||
| Bug Blocks: | 1291304 | ||
|
Description
Darshan
2016-03-01 11:04:48 UTC
curl https://chacra.ceph.com/r/calamari/1.4/centos/7/x86_64/calamari-server-1.4.0-rc8_3_g87c85f0.el7.centos.x86_64.rpm -O cd /etc/yum.repos.d && sudo curl \ http://puddle.ceph.redhat.com/puddles/rhscon/2/latest/RHSCON-2.repo -O sudo yum install supervisor python-zmq python-msgpack sudo rpm -ivh --nodeps calamari-server-1.4.0-rc8_3_g87c85f0.el7.centos.x86_64.rpm sudo calamari-ctl initialize # expected to emit an ERROR, ignore for now # edit /etc/calamari/calamari.conf to enable the salt events emit_events_to_salt_event_bus = True sudo supervisorctl restart all now if you've connected the salt-minion to the master you should be able to see events happen by running this: sudo salt-run state.event pretty=True on the salt-master # you may need to allow the firewall to open up ports 4505 and 4506 on the salt-master node The fix works as expected. Tried bringing down few osds and monitors in the ceph cluster down and calamari pushed events about these state changes to salt bus. These events were available at salt master. Moving it to verified state. 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/RHBA-2016:1755 |