Re: using more ceph-ansible task in teuthology qa tests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I like the idea to use some abstract «install» task instead of hardcoded ceph or ceph-ansible, 
which can be redefined via override or similar, so it can be configured based on roles or assign 
installation methods according to the node roles. This is very important for interoperability testing.

-Kyr

> On Jun 4, 2018, at 10:05 PM, Gregory Farnum <gfarnum@xxxxxxxxxx> wrote:
> 
> This is definitely something I'd like to see us do long-term (although
> it would be good to rely, not on ceph-ansible directly, but on some
> abstracted "ceph installer" so that it works with DeepSea, Rook, etc).
> But I'm not sure this list covers a lot of the issues, although maybe
> that's on purpose since you talk about getting up to 50%.
> 
> Specific issues I remember/can think of
> * installing Ceph and other packages. ceph-ansible does install for
> Ceph as well, right? But many tests rely on non-Ceph pieces getting
> installed, including many/most of the FS and rbd suites.
> * daemon helper — as you say, some stuff can be fixed around it, but
> we've got a lot of raw manipulation going on in eg the thrasher tasks.
> We can work out fixes for those if we have a better abstraction layer
> to work with, though!
> 
> Okay, that's actually all I've got off the top of my head. Just, don't
> assume that if the smoke suite passes we can switch most of the other
> suites as well. :)
> -Greg
> 
> On Fri, Jun 1, 2018 at 9:44 AM, Vasu Kulkarni <vakulkar@xxxxxxxxxx> wrote:
>> Hi Folks,
>> 
>> In the qa suites, We have been relying on Ceph task for long time and
>> quite frankly it has done excellent job of setting up cluster for
>> various upper layer tests which don't care how the cluster
>> is setup.
>> 
>> I am now proposing where possible we start taking out Ceph Task and
>> replace this with Ceph-Ansible Task and fix the roles to properly work
>> with ceph-ansible task, this will help
>> us test more like customer scenario's, make it easy to consume new
>> features(eg: ceph-volume, vdo etc) there are few things to fix in
>> role's for each cluster that is setup using ceph-ansible
>> 
>> a) multiple mon's or multiple mds cannot exist in same node and should
>> be put on different node), also look into how active/standy mds are setup
>> using ceph-ansible and use them appropriately in config.
>> 
>> b) Daemon helper was another thing that was holding use of
>> Ceph-Ansible task, but I have tested a fix in my personal branch and
>> it seems to be working as long as we fix the roles
>> 
>> c) for Dual Cluster setup we can continue to use old style Ceph Task,
>> we recommend not to use different cluster names in ceph-deploy or
>> ceph-ansible due to systemd issues.
>> 
>> d) upgrades can also use the ceph-ansible task with cluster role fix.
>> ( the inital cluster is setup using ceph-ansible but then later on we
>> can still rely on old style apt-get update/yum update to
>> update individual nodes, behind the scenes systemd will handle the daemons)
>> 
>> I will update the Smoke suite to use ceph-ansible by default for all
>> tests and see how the trial runs work, Ideally we could move 50 to 60%
>> of the tests that can use ceph-ansible and rest can still rely on old
>> style so that we have good mix of overall deployment tests.
>> 
>> Feedback welcome
>> 
>> Thanks
>> Vasu
>> --
>> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
>> the body of a message to majordomo@xxxxxxxxxxxxxxx
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux