Bug 1765652 - upgrade is broken when no mds is present in inventory
Summary: upgrade is broken when no mds is present in inventory
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Ansible
Version: 3.3
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: z2
: 3.3
Assignee: Guillaume Abrioux
QA Contact: Ameena Suhani S H
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-10-25 16:35 UTC by Guillaume Abrioux
Modified: 2019-12-19 17:59 UTC (History)
9 users (show)

Fixed In Version: RHEL: ceph-ansible-3.2.34-1.el7cp Ubuntu: ceph-ansible_3.2.34-2redhat1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-12-19 17:58:49 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph-ansible pull 4658 0 'None' 'closed' 'update: skip mds deactivation when no mds in inventory (bp #4655)' 2019-11-25 13:56:45 UTC
Red Hat Product Errata RHSA-2019:4353 0 None None None 2019-12-19 17:59:02 UTC

Description Guillaume Abrioux 2019-10-25 16:35:46 UTC
Description of problem:

When no MDS is present in inventory, the upgrade is broken.


Version-Release number of selected component (if applicable):
ceph-ansible v3.2.32

How reproducible:
100%


Steps to Reproduce:
1. Deploy a cluster without any MDS nodes in the inventory
2. Upgrade the cluster using ceph-ansible v3.2.32


Actual results:
Upgrade process stops and throws the following error:

Thursday 24 October 2019  14:42:00 +0200 (0:00:00.055)       0:07:36.457 ****** 
fatal: [cephtest-mon1]: FAILED! => changed=false 
  cmd:
  - ceph
  - --cluster
  - upgrade-test
  - fs
  - set
  - cephfs
  - max_mds
  - '1'
  delta: '0:00:00.319383'
  end: '2019-10-24 14:42:01.906311'
  msg: non-zero return code
  rc: 2
  start: '2019-10-24 14:42:01.586928'
  stderr: 'Error ENOENT: Not found: ''cephfs'''
  stderr_lines: <omitted>
  stdout: ''
  stdout_lines: <omitted>


Expected results:

Upgrade should complete

Comment 1 RHEL Program Management 2019-10-25 16:35:54 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.

Comment 8 errata-xmlrpc 2019-12-19 17:58:49 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/RHSA-2019:4353


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