Bug 1359537 - [ceph-ansible] : ubuntu - purge-cluster fails in task 'check for anything running ceph' with error - stderr: grep: write error:
Summary: [ceph-ansible] : ubuntu - purge-cluster fails in task 'check for anything ru...
Keywords:
Status: CLOSED DUPLICATE of bug 1339576
Alias: None
Product: Red Hat Storage Console
Classification: Red Hat Storage
Component: ceph-ansible
Version: 2
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: 2
Assignee: Christina Meno
QA Contact: ceph-qe-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-07-24 19:43 UTC by Rachana Patel
Modified: 2016-07-25 14:16 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-25 14:16:29 UTC
Embargoed:


Attachments (Terms of Use)

Description Rachana Patel 2016-07-24 19:43:06 UTC
Description of problem:
=======================
On ubuntu cluster purge-cluster fails with error - stderr: grep: write error: 



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



How reproducible:
================
always


Steps to Reproduce:
===================
1. created ubuntu cluster with one MON and 3 OSD node
2. Did some I/O using rgw and rados
3. purge cluster using below command:-

oot@magna044 ceph-ansible]#  ansible-playbook purge-cluster.yml -vv -i  /etc/ansible/ubuntu  --extra-vars '{"ceph_stable": true, "ceph_stable_rh_storage_cdn_install": true , "ceph_stable_rh_storage": true, "monitor_interface": "eth0", "journal_collocation": true, "devices": ["/dev/sdb", "/dev/sdc", "/dev/sdd"], "journal_size": 100, "public_network": "x.x.x.x/21","cephx": true, "fetch_directory": "~/ubu",  "calamari":true, "radosgw_civetweb_port": "8080" }' -u ubuntu

Actual results:
===============

TASK: [check for anything running ceph] *************************************** 
<magna028> REMOTE_MODULE command -  #USE_SHELL
failed: [magna028] => {"changed": true, "cmd": "ps awux | grep -v grep | grep -q -- ceph-", "delta": "0:00:00.024376", "end": "2016-07-16 14:41:32.131136", "failed": true, "failed_when_result": true, "rc": 0, "start": "2016-07-16 14:41:32.106760", "stdout_lines": [], "warnings": []}
stderr: grep: write error: 

FATAL: all hosts have already failed -- aborting



Additional info:

Comment 3 Rachana Patel 2016-07-24 19:48:43 UTC


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

ceph-ansible-1.0.5-24.el7scon.noarch

Comment 4 Alfredo Deza 2016-07-25 14:16:29 UTC

*** This bug has been marked as a duplicate of bug 1339576 ***


Note You need to log in before you can comment on or make changes to this bug.