Project

General

Profile

Feature #12957

ansible: debian 8 support

Added by Andrew Schoen over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
ansible
% Done:

0%

Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:

Description

Add support for debian 8 to ceph-cm-ansible.

History

#1 Updated by Loïc Dachary over 8 years ago

I've made some progress in this direction with https://github.com/ceph/ceph-cm-ansible/pull/126

But got blocked because of bugs.debian.org/cgi-bin/bugreport.cgi?bug=793927 and figured you may have an idea about how to deal with this ?

{'target161123.teuthology': {'group': 'root', 'uid': 0, 'failed': True, 'state': 'file', 'gid': 0, 'mode': '0644', 'msg': 'chgrp failed: failed to look up group fuse', 'invocation': {'module_name': 'template', 'module_args': ''}, 'owner': 'root', 'path': '/etc/fuse.conf', 'size': 433}} 

For the record, I'm testing this pull request with

teuthology-openstack --throttle 2 --verbose --key-name myself --key-filename ~/Downloads/myself --suite-branch wip-jessie-loic --ceph infernalis --suite dummy distros/all/debian_8.0.yaml debug/remove-me-ansible-jessie.yaml

where debug/remove-me-ansible-jessie.yaml is
overrides:
  ansible.cephlab:
    repo: https://github.com/dachary/ceph-cm-ansible.git
    branch: wip-jessie

#2 Updated by Andrew Schoen over 8 years ago

  • Status changed from In Progress to Fix Under Review

I've just pushed a PR for this as well. https://github.com/ceph/ceph-cm-ansible/pull/127

Loic, the missing fuse group, I suspect, was created by one of the packages that we install on debian 7, but isn't available on debian 8. Simply creating the group before that step resolved the issue for me.

I was testing this by running the testnodes role directly against a debian 8 vpm node in the sepia lab.

#3 Updated by Loïc Dachary over 8 years ago

Note that if I read correctly http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=793927 it is suggested that testing the fuse group is not the right way to do thing. I don't mind as long as it works though and I can't see any drawback in testing the fuse group, even though it's going to succeed regardless if we're doing it regardless of what's actually available.

#4 Updated by Andrew Schoen over 8 years ago

Yeah, I didn't have the full context on why the fuse group was even needed but I felt it best to keep it as similar here as debian 7 as we could. There could potentially be workunits looking for that group or using it in some way so I didn't want to remove it, but I'm unsure.

Also available in: Atom PDF