Hi, 

can you share your openstack version? 


I guess, This is version compatibility (opnfv and openstack version) issue . 
Refer the document. 

Example: 
https://wiki.opnfv.org/display/SWREL/Hunter#Hunter-OpenStackVersion 

Thank 
Suresh. 


From: "via Lists.Opnfv.Org" <malavika.k=thinkpalm....@lists.opnfv.org> 
To: "Achute Sharma" <achute.sha...@keysight.com>, "opnfv-tech-discuss" 
<opnfv-tech-discuss@lists.opnfv.org> 
Cc: "opnfv-tech-discuss" <opnfv-tech-discuss@lists.opnfv.org> 
Sent: Friday, August 2, 2019 12:39:21 PM 
Subject: Re: [opnfv-tech-discuss] [Yardstick]Authorization failed error 

Hi, 
Thank you for your reply. I have provided the credentials. I think the error 
was specific to the docker version. Initialy I used opnfv/yardstick:stable 
version, then this error came. When I tried with opnfv/yardstick:opnfv-5.1.0 
with the same credentials and steps, there was no error . 

Thank you. 

Regards, 
Malavika Krishna 

From: Achute Sharma <achute.sha...@keysight.com> 
Sent: Friday, August 2, 2019 12:27 PM 
To: Malavika Krishna <malavik...@thinkpalm.com>; 
opnfv-tech-discuss@lists.opnfv.org <opnfv-tech-discuss@lists.opnfv.org> 
Subject: RE: [opnfv-tech-discuss] [Yardstick]Authorization failed error 


Hi, 

Please see if you have provided the correct credentials. 
>From the log I can see : 

2019-07-30 06:10:51,227 [ERROR] yardstick.orchestrator.heat heat.py:643 
Authorization failed. 

Thanks, 

Achute 




From: opnfv-tech-discuss@lists.opnfv.org <opnfv-tech-discuss@lists.opnfv.org> 
On Behalf Of via Lists.Opnfv.Org 
Sent: Tuesday, July 30, 2019 12:51 PM 
To: opnfv-tech-discuss@lists.opnfv.org 
Cc: opnfv-tech-discuss@lists.opnfv.org 
Subject: [opnfv-tech-discuss] [Yardstick]Authorization failed error 




[EXTERNAL] 


Hi all, 





I am trying to run sample test ping.yaml according to the instructions given in 
userguide bu encountered an error which is as follows. Please help me to 
rectify it. 











root@ea7103d6d143:/home/opnfv/repos/yardstick/samples# yardstick task start 
ping.yaml 


No handlers could be found for logger "yardstick.common.utils" 


/usr/local/lib/python2.7/dist-packages/flask/exthook.py:71: 
ExtDeprecationWarning: Importing flask.ext.restful is deprecated, use 
flask_restful instead. 


.format(x=modname), ExtDeprecationWarning 


2019-07-30 06:10:46,355 [INFO] yardstick.cmd.commands.task task.py:52 Task 
START 


2019-07-30 06:10:46,369 [INFO] yardstick.benchmark.core.task task.py:547 
Parsing task config: ping.yaml 


2019-07-30 06:10:46,961 [WARNING] yardstick.benchmark.contexts.heat heat.py:114 
No pod file specified. NVFi metrics will be disabled 


2019-07-30 06:10:46,962 [INFO] yardstick.benchmark.contexts.heat heat.py:336 
Deploying context 'demo-7d1412b4' START 


Writing 
/home/opnfv/repos/yardstick/yardstick/resources/files/yardstick_key-demo-7d1412b4
 ... 


2019-07-30 06:10:47,119 [INFO] yardstick.orchestrator.heat heat.py:630 Creating 
stack 'demo-7d1412b4' START 


2019-07-30 06:10:51,227 [ERROR] yardstick.orchestrator.heat heat.py:643 
Authorization failed. 


2019-07-30 06:10:51,237 [ERROR] yardstick.orchestrator.heat heat.py:644 
{'description': '\nStack built by the yardstick framework for root on host 
ea7103d6d143 2019-07-30 06:10:47.\nAll referred generated resources are 
prefixed with the template\nname (i.e. demo-7d1412b4).\n', 


'heat_template_version': '2013-05-23', 


'outputs': {u'ares.demo-7d1412b4': {'description': 'VM UUID', 


'value': {'get_resource': u'ares.demo-7d1412b4'}}, 


'ares.demo-7d1412b4-test-port': {'description': 'Address for interface 
ares.demo-7d1412b4-test-port', 


'value': {'get_attr': ['ares.demo-7d1412b4-test-port', 


'fixed_ips', 


0, 


'ip_address']}}, 


'ares.demo-7d1412b4-test-port-device_id': {'description': 'Device ID for 
interface ares.demo-7d1412b4-test-port', 


'value': {'get_attr': ['ares.demo-7d1412b4-test-port', 


'device_id']}}, 


'ares.demo-7d1412b4-test-port-mac_address': {'description': 'MAC Address for 
interface ares.demo-7d1412b4-test-port', 


'value': {'get_attr': ['ares.demo-7d1412b4-test-port', 


'mac_address']}}, 


'ares.demo-7d1412b4-test-port-network_id': {'description': 'Network ID for 
interface ares.demo-7d1412b4-test-port', 


'value': {'get_attr': ['ares.demo-7d1412b4-test-port', 


'network_id']}}, 


'ares.demo-7d1412b4-test-port-subnet_id': {'description': 'Address for 
interface ares.demo-7d1412b4-test-port', 


'value': {'get_attr': ['ares.demo-7d1412b4-test-port', 


'fixed_ips', 


0, 


'subnet_id']}}, 


u'athena.demo-7d1412b4': {'description': 'VM UUID', 


'value': {'get_resource': u'athena.demo-7d1412b4'}}, 


u'athena.demo-7d1412b4-fip': {'description': u'floating ip 
athena.demo-7d1412b4-fip', 


'value': {'get_attr': [u'athena.demo-7d1412b4-fip', 


'ip']}}, 


'athena.demo-7d1412b4-test-port': {'description': 'Address for interface 
athena.demo-7d1412b4-test-port', 


'value': {'get_attr': ['athena.demo-7d1412b4-test-port', 


'fixed_ips', 


0, 


'ip_address']}}, 


'athena.demo-7d1412b4-test-port-device_id': {'description': 'Device ID for 
interface athena.demo-7d1412b4-test-port', 


'value': {'get_attr': ['athena.demo-7d1412b4-test-port', 


'device_id']}}, 


'athena.demo-7d1412b4-test-port-mac_address': {'description': 'MAC Address for 
interface athena.demo-7d1412b4-test-port', 


'value': {'get_attr': ['athena.demo-7d1412b4-test-port', 


'mac_address']}}, 


'athena.demo-7d1412b4-test-port-network_id': {'description': 'Network ID for 
interface athena.demo-7d1412b4-test-port', 


'value': {'get_attr': ['athena.demo-7d1412b4-test-port', 


'network_id']}}, 


'athena.demo-7d1412b4-test-port-subnet_id': {'description': 'Address for 
interface athena.demo-7d1412b4-test-port', 


'value': {'get_attr': ['athena.demo-7d1412b4-test-port', 


'fixed_ips', 


0, 


'subnet_id']}}, 


'demo-7d1412b4-secgroup': {'description': 'ID of Security Group', 


'value': {'get_resource': 'demo-7d1412b4-secgroup'}}, 


u'demo-7d1412b4-test-subnet': {'description': u'subnet 
demo-7d1412b4-test-subnet ID', 


'value': {'get_resource': u'demo-7d1412b4-test-subnet'}}, 


u'demo-7d1412b4-test-subnet-cidr': {'description': u'subnet 
demo-7d1412b4-test-subnet cidr', 


'value': {'get_attr': [u'demo-7d1412b4-test-subnet', 


'cidr']}}, 


u'demo-7d1412b4-test-subnet-gateway_ip': {'description': u'subnet 
demo-7d1412b4-test-subnet gateway_ip', 


'value': {'get_attr': [u'demo-7d1412b4-test-subnet', 


'gateway_ip']}}}, 


'resources': {u'ares.demo-7d1412b4': {'depends_on': ['demo-7d1412b4-key', 


'ares.demo-7d1412b4-test-port'], 


'properties': {'admin_user': u'ubuntu', 


'config_drive': True, 


'flavor': u'yardstick-flavor', 


'image': u'yardstick-image', 


'key_name': {'get_resource': 'demo-7d1412b4-key'}, 


'name': u'ares.demo-7d1412b4', 


'networks': [{'port': {'get_resource': 'ares.demo-7d1412b4-test-port'}}]}, 


'type': 'OS::Nova::Server'}, 


'ares.demo-7d1412b4-test-port': {'depends_on': [u'demo-7d1412b4-test-subnet', 


'demo-7d1412b4-secgroup'], 


'properties': {'binding:vnic_type': 'normal', 


'fixed_ips': [{'subnet': {'get_resource': u'demo-7d1412b4-test-subnet'}}], 


'name': 'ares.demo-7d1412b4-test-port', 


'network': {'get_resource': u'demo-7d1412b4-test'}, 


'security_groups': ['demo-7d1412b4-secgroup']}, 


'type': 'OS::Neutron::Port'}, 


u'athena.demo-7d1412b4': {'depends_on': ['demo-7d1412b4-key', 


'athena.demo-7d1412b4-test-port'], 


'properties': {'admin_user': u'ubuntu', 


'config_drive': True, 


'flavor': u'yardstick-flavor', 


'image': u'yardstick-image', 


'key_name': {'get_resource': 'demo-7d1412b4-key'}, 


'name': u'athena.demo-7d1412b4', 


'networks': [{'port': {'get_resource': 'athena.demo-7d1412b4-test-port'}}], 


'scheduler_hints': {'different_host': {'get_resource': 
u'ares.demo-7d1412b4'}}}, 


'type': 'OS::Nova::Server'}, 


u'athena.demo-7d1412b4-fip': {'depends_on': ['athena.demo-7d1412b4-test-port', 


u'demo-7d1412b4-test-router-if0', 


'demo-7d1412b4-secgroup'], 


'properties': {'pool': 'net04_ext'}, 


'type': 'OS::Nova::FloatingIP'}, 


u'athena.demo-7d1412b4-fip-assoc': {'depends_on': 
['athena.demo-7d1412b4-test-port'], 


'properties': {'floatingip_id': {'get_resource': u'athena.demo-7d1412b4-fip'}, 


'port_id': {'get_resource': 'athena.demo-7d1412b4-test-port'}}, 


'type': 'OS::Neutron::FloatingIPAssociation'}, 


'athena.demo-7d1412b4-test-port': {'depends_on': [u'demo-7d1412b4-test-subnet', 


'demo-7d1412b4-secgroup'], 


'properties': {'binding:vnic_type': 'normal', 


'fixed_ips': [{'subnet': {'get_resource': u'demo-7d1412b4-test-subnet'}}], 


'name': 'athena.demo-7d1412b4-test-port', 


'network': {'get_resource': u'demo-7d1412b4-test'}, 


'security_groups': ['demo-7d1412b4-secgroup']}, 


'type': 'OS::Neutron::Port'}, 


'demo-7d1412b4-key': {'properties': {'name': 'demo-7d1412b4-key', 


'public_key': u'ssh-rsa 
AAAAB3NzaC1yc2EAAAADAQABAAABAQDn3lR+XqBMnzxbVMQEYQSoOXnY6ONXZ+KJNVsVXegjD0Im05LzALLoMuJ0A/7+opJD8rdmbxaIPvlLecaaSeLQ0ajEL/QEQ1rPSCX+oTtcsgNYwv4a+s9zB51T7kVqKOKtPEhTOKUKppm9nbrxSO4DRXs8h23qsVMyDHQ+eYyZ+Lg9BIOuZU2EIqpXat1TTx/dRbI5F0Wk328hIpUQjuqS7HKrGbFmLBmBWPKJM4mQO+14Qoq6+/bgpToczZsNZ51SO3cYNWBTJGYGXHViLWD0mY4SVXGe2cUh7jUZIXnPUImYdKY3KYJlwbtL/4ddlSIXMmSB7GSMWpSL4JcTGal3\n'},
 


'type': 'OS::Nova::KeyPair'}, 


'demo-7d1412b4-secgroup': {'properties': {'description': 'Group allowing IPv4 
and IPv6 for icmp and upd/tcp onall ports', 


'name': 'demo-7d1412b4-secgroup', 


'rules': [{'port_range_max': '65535', 


'port_range_min': '1', 


'protocol': 'tcp', 


'remote_ip_prefix': '0.0.0.0/0'}, 


{'port_range_max': '65535', 


'port_range_min': '1', 


'protocol': 'udp', 


'remote_ip_prefix': '0.0.0.0/0'}, 


{'protocol': 'icmp', 


'remote_ip_prefix': '0.0.0.0/0'}, 


{'ethertype': 'IPv6', 


'port_range_max': '65535', 


'port_range_min': '1', 


'protocol': 'tcp', 


'remote_ip_prefix': '::/0'}, 


{'ethertype': 'IPv6', 


'port_range_max': '65535', 


'port_range_min': '1', 


'protocol': 'udp', 


'remote_ip_prefix': '::/0'}, 


{'ethertype': 'IPv6', 


'protocol': 'ipv6-icmp', 


'remote_ip_prefix': '::/0'}, 


{'direction': 'egress', 


'port_range_max': '65535', 


'port_range_min': '1', 


'protocol': 'tcp', 


'remote_ip_prefix': '0.0.0.0/0'}, 


{'direction': 'egress', 


'port_range_max': '65535', 


'port_range_min': '1', 


'protocol': 'udp', 


'remote_ip_prefix': '0.0.0.0/0'}, 


{'direction': 'egress', 


'protocol': 'icmp', 


'remote_ip_prefix': '0.0.0.0/0'}, 


{'direction': 'egress', 


'ethertype': 'IPv6', 


'port_range_max': '65535', 


'port_range_min': '1', 


'protocol': 'tcp', 


'remote_ip_prefix': '::/0'}, 


{'direction': 'egress', 


'ethertype': 'IPv6', 


'port_range_max': '65535', 


'port_range_min': '1', 


'protocol': 'udp', 


'remote_ip_prefix': '::/0'}, 


{'direction': 'egress', 


'ethertype': 'IPv6', 


'protocol': 'ipv6-icmp', 


'remote_ip_prefix': '::/0'}]}, 


'type': 'OS::Neutron::SecurityGroup'}, 


u'demo-7d1412b4-test': {'properties': {'name': u'demo-7d1412b4-test'}, 


'type': 'OS::Neutron::Net'}, 


u'demo-7d1412b4-test-router': {'depends_on': [u'demo-7d1412b4-test-subnet'], 


'properties': {'external_gateway_info': {'network': 'net04_ext'}, 


'name': u'demo-7d1412b4-test-router'}, 


'type': 'OS::Neutron::Router'}, 


u'demo-7d1412b4-test-router-if0': {'depends_on': [u'demo-7d1412b4-test-router', 


u'demo-7d1412b4-test-subnet'], 


'properties': {'router_id': {'get_resource': u'demo-7d1412b4-test-router'}, 


'subnet_id': {'get_resource': u'demo-7d1412b4-test-subnet'}}, 


'type': 'OS::Neutron::RouterInterface'}, 


u'demo-7d1412b4-test-subnet': {'depends_on': u'demo-7d1412b4-test', 


'properties': {'cidr': u'10.0.1.0/24', 


'enable_dhcp': 'true', 


'name': u'demo-7d1412b4-test-subnet', 


'network_id': {'get_resource': u'demo-7d1412b4-test'}}, 


'type': 'OS::Neutron::Subnet'}}} 


2019-07-30 06:10:51,238 [ERROR] yardstick.benchmark.contexts.heat heat.py:322 
stack failed 


Traceback (most recent call last): 


File "/home/opnfv/repos/yardstick/yardstick/benchmark/contexts/heat.py", line 
318, in _create_new_stack 


timeout=self.heat_timeout) 


File "/home/opnfv/repos/yardstick/yardstick/orchestrator/heat.py", line 645, in 
create 


raise exceptions.HeatTemplateError(stack_name=self.name) 


HeatTemplateError: Error in Heat during the creation of the OpenStack stack 
"demo-7d1412b4" 


2019-07-30 06:10:51,271 [ERROR] yardstick.benchmark.core.task task.py:124 
Testcase: "ping" FAILED!!! 


Traceback (most recent call last): 


File "/home/opnfv/repos/yardstick/yardstick/benchmark/core/task.py", line 119, 
in start 


output_config) 


File "/home/opnfv/repos/yardstick/yardstick/benchmark/core/task.py", line 247, 
in _run 


context.deploy() 


File "/home/opnfv/repos/yardstick/yardstick/benchmark/contexts/heat.py", line 
363, in deploy 


self.stack = self._create_new_stack(heat_template) 


File "/home/opnfv/repos/yardstick/yardstick/benchmark/contexts/heat.py", line 
318, in _create_new_stack 


timeout=self.heat_timeout) 


File "/home/opnfv/repos/yardstick/yardstick/orchestrator/heat.py", line 645, in 
create 


raise exceptions.HeatTemplateError(stack_name=self.name) 


HeatTemplateError: Error in Heat during the creation of the OpenStack stack 
"demo-7d1412b4" 


2019-07-30 06:10:51,278 [INFO] yardstick.benchmark.core.task task.py:148 Task 
ping.yaml finished in 4 secs 


2019-07-30 06:10:51,282 [INFO] yardstick.benchmark.core.task task.py:169 Report 
can be found in '/tmp/report.html' 


2019-07-30 06:10:51,282 [INFO] yardstick.benchmark.core.task task.py:157 Total 
finished in 4 secs 


2019-07-30 06:10:51,282 [INFO] yardstick.benchmark.core.task task.py:160 To 
generate report, execute command "yardstick report generate 
7d1412b4-025b-484e-b83c-08b0d70542c0 <YAML_NAME>" 


2019-07-30 06:10:51,282 [INFO] yardstick.benchmark.core.task task.py:161 Task 
ALL DONE, exiting 


2019-07-30 06:10:51,282 [INFO] yardstick.cmd.commands.task task.py:63 Task 
FAILED 














Thank you 


Regards, 


Malavika Krishna 



Confidentiality Notice: This e-mail is strictly confidential and intended only 
for the person or entity to which it is addressed. It may contain information 
that is privileged, confidential or otherwise protected from disclosure. If you 
are not the intended recipient, you must not copy, disclose, distribute or take 
any action in reliance on information contained in this e-mail. If you have 
received this e-mail in error, please notify the sender by return e-mail and 
destroy the original message and all copies thereof. 

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

View/Reply Online (#23429): 
https://lists.opnfv.org/g/opnfv-tech-discuss/message/23429 
Mute This Topic: https://lists.opnfv.org/mt/32684475/1732301 
Group Owner: opnfv-tech-discuss+ow...@lists.opnfv.org 
Unsubscribe: https://lists.opnfv.org/g/opnfv-tech-discuss/unsub 
[sureshkuma...@altencalsoftlabs.com] 
-=-=-=-=-=-=-=-=-=-=-=- 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#23430): 
https://lists.opnfv.org/g/opnfv-tech-discuss/message/23430
Mute This Topic: https://lists.opnfv.org/mt/32684475/21656
Group Owner: opnfv-tech-discuss+ow...@lists.opnfv.org
Unsubscribe: https://lists.opnfv.org/g/opnfv-tech-discuss/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to