Hi Volodymyr, 

Thanks for the response. 

By the way i made it working with some workarounds. 


1) 

My use case is more on functional test cases. such as verifying LBAAS. (setting 
up the LBAAS stack, from client instance, http query LBAAS VIP IP, apply some 
Security group in VIP Port, and http query again) some thing like this. 

I may be wrong, but my current understanding is, 
yardstick context is not supporting all the OpenStack resources(example LBAAS 
resource). So i need to create my stack manually using HOT Template. 


2) 
Regarding key pair issue , 


>“key_name: yardstick” in "ping-hot.yaml" is referring to OpenStack key-pairs 
>name which should be created by OS API. 

Yes. I understand this part. Yes. I also used some existing key available in 
Open Stack. The stack is created/deployed successfully. 




But when the Ping test runs, it is trying to use some autogenerated private key 
name and fails to ssh to the VM. 

So i guess, no configuration in the yardstick template for specifying the 
external key file . something like below. 

context: 
name: demo 
user: ubuntu 

keyfile: /tmy/yardstick.pem 




Currently, i patched the code, to use my key file. 




yes. It seems [ https://gerrit.opnfv.org/gerrit/#/c/62953/ | 
https://gerrit.opnfv.org/gerrit/#/c/62953 ] solve this issue 







3) 

Also i observe the "config_drive" us hard coded to True in heat 
file(https://github.com/opnfv/yardstick/blob/master/yardstick/orchestrator/heat.py).
 

In our environment we use only metadata. 





server_properties[ ' config_drive ' ] = True 




it will be nice, if this parameter also configurable by the user. 






Thanks 
Suresh. 


From: "Mytnyk, VolodymyrX" <[email protected]> 
To: "sureshkumar s" <[email protected]>, "opnfv-users" 
<[email protected]>, "opnfv-tech-discuss" 
<[email protected]> 
Sent: Wednesday, March 13, 2019 11:03:41 PM 
Subject: Re: [opnfv-users] HOT Template test case 



Hi Suresh, 



Yardstick generates HOT automatically (and create the required topology, keys 
etc.) when test case is running in heat context. So, I before answering your 
question, I would like to clarify more details: 



1. What test case scenario are you going to perform (Ping, NSPerf etc.)? 

2. Why automatically generated HOT by Yardstick is not suitable for you ? 



AFAIK, the “key_name: yardstick” in "ping-hot.yaml" is referring to OpenStack 
key-pairs name which should be created by OS API. 



Also, recently the feature to specify the external key file for HOT has been 
added to Yardstick in [ https://gerrit.opnfv.org/gerrit/#/c/62953/ | 
https://gerrit.opnfv.org/gerrit/#/c/62953/ ] review which is merged in master 
already. So, you can try to use it too, since it works only in case the 
external HOT is provided in TC. 



Regards, 

Volodymyr 




From: [email protected] 
[mailto:[email protected]] On Behalf Of Suresh Kumar S via 
Lists.Opnfv.Org 
Sent: Tuesday, March 12, 2019 7:31 AM 
To: opnfv-users <[email protected]>; opnfv-tech-discuss 
<[email protected]> 
Cc: [email protected] 
Subject: [opnfv-tech-discuss] [yardstick] HOT Template test case 





Hi, 





Regarding yardstick test cases, 





I am trying to write a test case using HOT Template. I refer the 
"ping-hot.yaml" as a reference file. 





In the "ping-hot.yaml" file key file is specified as "key_name: yardstick". 
where is this key file exists in the repo?. 





Also, if i want to use a custom keypair, where do i place file? 





Thanks 


Suresh 









_._,_._,_ 

Links: 

You receive all messages sent to this group. 

[ https://lists.opnfv.org/g/opnfv-users/message/1227 | View/Reply Online 
(#1227) ] | [ 
mailto:?subject=Private:%20Re:%20Re%3A%20%5Bopnfv-users%5D%20HOT%20Template%20test%20case
 | Reply To Sender ] | [ 
mailto:[email protected]?subject=Re:%20Re%3A%20%5Bopnfv-users%5D%20HOT%20Template%20test%20case
 | Reply To Group ] | [ https://lists.opnfv.org/mt/30421325/1732301 | Mute This 
Topic ] | [ https://lists.opnfv.org/g/opnfv-users/post | New Topic ] 

[ https://lists.opnfv.org/g/opnfv-users/editsub/1732301 | Your Subscription ] | 
[ mailto:[email protected] | Contact Group Owner ] | [ 
https://lists.opnfv.org/g/opnfv-users/unsub | Unsubscribe ] 
[[email protected]] 
_._,_._,_ 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#22916): 
https://lists.opnfv.org/g/opnfv-tech-discuss/message/22916
Mute This Topic: https://lists.opnfv.org/mt/30424727/21656
Group Owner: [email protected]
Unsubscribe: https://lists.opnfv.org/g/opnfv-tech-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to