ceph-deploy: non-zero return code on successful OSD deployment
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Fix Released
|
High
|
Rodion Tikunov |
Bug Description
A customer using Fuel 5.1 have issues in running ceph-deploy from shell scripts and in handling errors.
Message `Error in sys.exitfunc:` may be safely ignored if ceph-deploy was started manually, but not if external script manages ceph-deploy runs.
Steps to reproduce:
Deploy a new OSD with ceph-deploy.
Expected results:
Ceph-deploy process finishes successful OSD deployment without fake error messages.
Actual result:
Error message `Error in sys.exitfunc:` appears after successful OSD deployment by ceph-deploy.
Impact:
ceph-deploy automation.
Environment:
Fuel 5.1
CentOS 6.5
Custom packages:
- ceph 0.80.9 from MOS 6.1 [1]
- ceph-deploy 1.5.20 from MOS 6.1 [2]
[1] http://
Changed in mos: | |
milestone: | none → 6.1-updates |
assignee: | nobody → MOS Ceph (mos-ceph) |
description: | updated |
description: | updated |
description: | updated |
summary: |
- Include missing commit to ceph-deploy package + ceph-deploy: non-zero return code on successful OSD deployment |
Changed in mos: | |
status: | Incomplete → New |
Changed in mos: | |
assignee: | Alexei Sheplyakov (asheplyakov) → MOS Maintenance (mos-maintenance) |
Changed in mos: | |
assignee: | MOS Maintenance (mos-maintenance) → Rodion Tikunov (rtikunov) |
milestone: | 6.1-updates → 6.1-mu-7 |
Changed in mos: | |
status: | Fix Committed → Fix Released |
> Steps to reproduce:
> Deploy a new OSD with ceph-deploy
Adding OSDs with ceph-deploy works for me just fine. What I'm doing wrong?
> Mirantis-built ceph-deploy package has one commit missing.
Please describe the actual problem: what command have you (or the customer) run,
what error message you've got, etc. In general "we need this patch" reports are
counter-productive (it's "doctor, I've got a headeache" but not "doctor, I need aspirin")