Hi,

                We are facing issue in running yardstick test cases,
                                i.e error: failed to deploy stack: '<type 
'NoneType'> can't be decoded'
                Please find the attached file for more details about test case 
execution.
                have exported EXTERNAL_NETWORK and keystone 
credentials(admin-openrc),
heat service is working fine with manual commands ( i.e heat stack-create -f 
<template file> stack1)

when debugged and modified orchestrator heat.py code as below, it worked, is 
this known issue?

     def _get_heat_client(self):
         """returns a heat client instance"""
+      creds = op_utils.get_credentials()

         if self._heat_client is None:
             sess = op_utils.get_session()
             heat_endpoint = op_utils.get_endpoint(service_type='orchestration')
             self._heat_client = heatclient.client.Client(
                 op_utils.get_heat_api_version(),
                endpoint=heat_endpoint, session=sess,
+                token = sess.get_token().encode("utf-8"),
+                username=creds['username'], password = creds['password'])
         return self._heat_client

Thanks and Regards,
Divya.
The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. WARNING: Computer viruses can be transmitted via email. The 
recipient should check this email and any attachments for the presence of 
viruses. The company accepts no liability for any damage caused by any virus 
transmitted by this email. www.wipro.com

Attachment: yardstick run.rtf
Description: yardstick run.rtf

_______________________________________________
opnfv-tech-discuss mailing list
[email protected]
https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss

Reply via email to