The Yardstick HA testcases are not setup for k8s OpenStack.   I think the 
original k8s support was designed for running VNFs in containers and not 
necessarily to control OpenStack containers.

It may be possible to implement HA testcases that use the node context to ssh 
into the k8s master and kill the pods as Bryan has mentioned.

You might check with the HA testcase project team.

--
Ross

From: SULLIVAN, BRYAN L (BRYAN L) [mailto:[email protected]]
Sent: Friday, February 23, 2018 6:17 AM
To: 龙雨 <[email protected]>; Brattain, Ross B <[email protected]>
Cc: Narinder Gupta <[email protected]>; Trevor Tao 
<[email protected]>; TECH-DISCUSS OPNFV <[email protected]>
Subject: RE: [opnfv-tech-discuss] [release] [k8s] test support for 
Kubernetesscenarios

The test script just needs to use the kubernetes API or SSH into the k8s master 
and kill the pods via kubectl. I can give concrete examples if you need. I 
haven’t developed these tests yet, but that is the approach I will use for the 
Models/VES tests that verify resilience/recovery of cloud-native stacks under 
closed-loop control scenarios such as control plane component failure, detected 
by VES and responded to by ONAP/DCAE+Policy-Microservices. The failure will be 
triggered by either the k8s API or SSH and kubectl.

Thanks,
Bryan Sullivan | AT&T

From: 
[email protected]<mailto:[email protected]>
 [mailto:[email protected]] On Behalf Of ??
Sent: Thursday, February 22, 2018 7:39 PM
To: Brattain, Ross B 
<[email protected]<mailto:[email protected]>>
Cc: Narinder Gupta 
<[email protected]<mailto:[email protected]>>; Trevor Tao 
<[email protected]<mailto:[email protected]>>; TECH-DISCUSS OPNFV 
<[email protected]<mailto:[email protected]>>
Subject: Re: [opnfv-tech-discuss] [release] [k8s] test support for 
Kubernetesscenarios


Hi,Ross,

I am more concerned with yardstick HA test cases on Kubernetes 
scenarios,especially those testcases that though kill openstack service to 
implement HA test,such as
yardstick TC019(Nova),TC045(Neutron), TC046(Keystone), TC047(glance), 
TC048(Cinder), TC049(Swift). As far as I know in Kubernetes scenarios openstack 
service dispersed in one or more docker containers,and usually these docker 
containers cann't be directly login,that is to say yardstick cann't though ssh 
login containers to kill the specified progress such nova,neutron.  I have met 
this problem before ,so now does yardstick HA test support k8s scenarios or 
does yardstick have solution to deal with this problem?


Louie


------------------ Original ------------------
From:  "David 
McBride"<[email protected]<mailto:[email protected]>>;
Date:  Wed, Feb 21, 2018 02:27 AM
To:  "Narinder 
Gupta"<[email protected]<mailto:[email protected]>>; "Tim 
Rozet"<[email protected]<mailto:[email protected]>>; "Guo, 
Ruijing"<[email protected]<mailto:[email protected]>>; "Trevor 
Tao"<[email protected]<mailto:[email protected]>>; "Stuart 
Mackie"<[email protected]<mailto:[email protected]>>; 
"Wang,Shane"<[email protected]<mailto:[email protected]>>; "Chigang 
(Justin)"<[email protected]<mailto:[email protected]>>; "Trinath 
Somanchi"<[email protected]<mailto:[email protected]>>;
Cc:  "Brattain, Ross 
B"<[email protected]<mailto:[email protected]>>; "TECH-DISCUSS 
OPNFV"<[email protected]<mailto:[email protected]>>;
Subject:  [opnfv-tech-discuss] [release] [k8s] test support for 
Kubernetesscenarios

Team,

We now have support for testing Kubernetes scenarios in both Functest and 
Yardstick.  If you are deploying a Kubernetes scenario, please make sure that 
you are taking advantage of these test frameworks.  We should not have any 
Kubernetes scenarios that are not tested in CI by one, or both, of these 
frameworks.

If you have questions, Cedric Ollivier (Functest) or Ross Brattain (Yardstick) 
will be happy to provide you guidance.

David

--
David McBride
Release Manager, OPNFV
Mobile: +1.805.276.8018
Email/Google Talk: 
[email protected]<mailto:[email protected]>
Skype: davidjmcbride1
IRC: dmcbride
_______________________________________________
opnfv-tech-discuss mailing list
[email protected]
https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss

Reply via email to