Closed as-ximi closed 2 years ago
@markgoddard If you have spare cycles would you mind taking a look at this?
From what I can see, the suggested fix looks appropriate. @as-ximi are you able to create a PR?
From what I can see, the suggested fix looks appropriate. @as-ximi are you able to create a PR?
Yes, sure I'll do it a little later
I think this would also be true when stopping and destroying arrays
tasks/arrays.yml
array_check.results[0].rc
Is used in multiple places in arrays.yml
I think this would also be true when stopping and destroying arrays tasks/arrays.yml
array_check.results[0].rc
Is used in multiple places in arrays.yml
yes, for the rest of the tasks, you also need to use index in result i will check it within a week
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Describe the bug cannot create more than 1 md device, found error in task
To Reproduce Steps to reproduce the behavior:
ok: [db] => (item={u'state': u'present', u'name': u'md3', u'level': u'10', u'mountpoint': u'/mnt/md3', u'filesystem': u'ext4', u'devices': [u'/dev/sdc', u'/dev/sdd', u'/dev/sde', u'/dev/sdf']}) => { ... "rc": 0, STDOUT:
md3 : active raid10 sdd[3] sdc[2] sda[0] sdb[1]
ok: [db] => (item={u'state': u'present', u'name': u'md4', u'level': u'10', u'mountpoint': u'/mnt/md4', u'filesystem': u'ext4', u'devices': [u'/dev/sdg', u'/dev/sdh', u'/dev/sdi', u'/dev/sdj']}) => { ... "rc": 1, MSG:
non-zero return code
Error found into file tasks/arrays.yml It was
Error found in line " array_check.results[0].rc != 0" for result index
FIX file tasks/arrays.yml
I am applying index of array mdadm_arrays for array_check.results.RC
Playing after FIX
on host