Hi, I started to investigate NFVBench for use as benchmarking software, and I got some errors.
I attached the output and config file. I tried to use it in External Chain mode. Could you please give some recommended settings or could you provide me any information which help to fix. Br, Peter Balint Test Architect MN Cloud Core NOKIA Nokia Solutions and Networks Kft. H-1082 Budapest, Hungary, Bókay János u. 36-42. Mobile: +36 70 501 89 01 peter.bal...@nokia.com<mailto:peter.bal...@nokia.com> https://networks.nokia.com/
ubuntu@ubuntuserv:~$ sudo docker exec -it fafb1a162329 nfvbench -c /tmp/nfvbench/my_nfvbench.cfg --rate 10kpps -sc EXT 2018-01-10 14:14:08,414 INFO Loading configuration file: /tmp/nfvbench/my_nfvbench.cfg 2018-01-10 14:14:08,418 INFO -c /tmp/nfvbench/my_nfvbench.cfg --rate 10kpps -sc EXT 2018-01-10 14:14:08,421 INFO ServiceChain initialized. 2018-01-10 14:14:08,421 INFO ChainRunner initialized. 2018-01-10 14:14:08,422 INFO Connecting to TRex... 2018-01-10 14:14:08,451 INFO Starting EXT chain... 2018-01-10 14:14:08,451 INFO Dry run: False 2018-01-10 14:14:08,490 INFO Cleaning up... 2018-01-10 14:14:08,508 ERROR {'status': 'ERROR', 'error_message': 'Traceback (most recent call last):\n File "/nfvbench/nfvbench/nfvbench.py", line 560, in main\n raise Exception(result[\'error_message\'])\nException: Traceback (most recent call last):\n File "/nfvbench/nfvbench/nfvbench.py", line 104, in run\n "service_chain": self.chain_runner.run(),\n File "/nfvbench/nfvbench/chain_runner.py", line 54, in run\n return self.chain.run()\n File "/nfvbench/nfvbench/service_chain.py", line 121, in run\n self.__set_helpers()\n File "/nfvbench/nfvbench/service_chain.py", line 41, in __set_helpers\n self.stage_manager = StageManager(self.config, self.cred, self.factory)\n File "/nfvbench/nfvbench/chain_managers.py", line 35, in __init__\n self.client.setup()\n File "/nfvbench/nfvbench/chain_clients.py", line 448, in setup\n net = self._lookup_network(net_name)\n File "/nfvbench/nfvbench/chain_clients.py", line 85, in _lookup_network\n networks = self.neutron.list_networks(name=network_name)\n File "/usr/local/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 102, in with_params\n ret = self.function(instance, *args, **kwargs)\n File "/usr/local/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 561, in list_networks\n **_params)\n File "/usr/local/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 307, in list\n for r in self._pagination(collection, path, **params):\n File "/usr/local/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 320, in _pagination\n res = self.get(path, params=params)\n File "/usr/local/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 293, in get\n headers=headers, params=params)\n File "/usr/local/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 270, in retry_request\n headers=headers, params=params)\n File "/usr/local/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 200, in do_request\n content_type=self.content_type())\n File "/usr/local/lib/python2.7/dist-packages/neutronclient/client.py", line 305, in do_request\n self._check_uri_length(url)\n File "/usr/local/lib/python2.7/dist-packages/neutronclient/client.py", line 298, in _check_uri_length\n uri_len = len(self.endpoint_url) + len(url)\n File "/usr/local/lib/python2.7/dist-packages/neutronclient/client.py", line 312, in endpoint_url\n return self.get_endpoint()\n File "/usr/local/lib/python2.7/dist-packages/keystoneclient/adapter.py", line 133, in get_endpoint\n return self.session.get_endpoint(auth or self.auth, **kwargs)\n File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/session.py", line 942, in get_endpoint\n return auth.get_endpoint(self, **kwargs)\n File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/identity/base.py", line 379, in get_endpoint\n allow_version_hack=allow_version_hack, **kwargs)\n File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/identity/base.py", line 270, in get_endpoint_data\n service_catalog = self.get_access(session).service_catalog\n File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/identity/base.py", line 134, in get_access\n self.auth_ref = self.get_auth_ref(session)\n File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/identity/v2.py", line 51, in get_auth_ref\n url = self.auth_url.rstrip(\'/\') + \'/tokens\'\nAttributeError: \'NoneType\' object has no attribute \'rstrip\'\n\n'} Traceback (most recent call last): File "/nfvbench/nfvbench/nfvbench.py", line 104, in run "service_chain": self.chain_runner.run(), File "/nfvbench/nfvbench/chain_runner.py", line 54, in run return self.chain.run() File "/nfvbench/nfvbench/service_chain.py", line 121, in run self.__set_helpers() File "/nfvbench/nfvbench/service_chain.py", line 41, in __set_helpers self.stage_manager = StageManager(self.config, self.cred, self.factory) File "/nfvbench/nfvbench/chain_managers.py", line 35, in __init__ self.client.setup() File "/nfvbench/nfvbench/chain_clients.py", line 448, in setup net = self._lookup_network(net_name) File "/nfvbench/nfvbench/chain_clients.py", line 85, in _lookup_network networks = self.neutron.list_networks(name=network_name) File "/usr/local/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 102, in with_params ret = self.function(instance, *args, **kwargs) File "/usr/local/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 561, in list_networks **_params) File "/usr/local/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 307, in list for r in self._pagination(collection, path, **params): File "/usr/local/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 320, in _pagination res = self.get(path, params=params) File "/usr/local/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 293, in get headers=headers, params=params) File "/usr/local/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 270, in retry_request headers=headers, params=params) File "/usr/local/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 200, in do_request content_type=self.content_type()) File "/usr/local/lib/python2.7/dist-packages/neutronclient/client.py", line 305, in do_request self._check_uri_length(url) File "/usr/local/lib/python2.7/dist-packages/neutronclient/client.py", line 298, in _check_uri_length uri_len = len(self.endpoint_url) + len(url) File "/usr/local/lib/python2.7/dist-packages/neutronclient/client.py", line 312, in endpoint_url return self.get_endpoint() File "/usr/local/lib/python2.7/dist-packages/keystoneclient/adapter.py", line 133, in get_endpoint return self.session.get_endpoint(auth or self.auth, **kwargs) File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/session.py", line 942, in get_endpoint return auth.get_endpoint(self, **kwargs) File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/identity/base.py", line 379, in get_endpoint allow_version_hack=allow_version_hack, **kwargs) File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/identity/base.py", line 270, in get_endpoint_data service_catalog = self.get_access(session).service_catalog File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/identity/base.py", line 134, in get_access self.auth_ref = self.get_auth_ref(session) File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/identity/v2.py", line 51, in get_auth_ref url = self.auth_url.rstrip('/') + '/tokens' AttributeError: 'NoneType' object has no attribute 'rstrip'
ubuntu@ubuntuserv:~$ sudo docker exec -it fafb1a162329 nfvbench -c /tmp/nfvbench/my_nfvbench.cfg --rate 10kpps -sc EXT --show-config 2018-01-10 14:20:56,432 INFO Loading configuration file: /tmp/nfvbench/my_nfvbench.cfg { "availability_zone": null, "check_traffic_time_sec": 200, "compute_nodes": null, "debug": true, "duration_sec": 60, "external_networks": { "left": "nfvbench-net0", "right": "nfvbench-net1" }, "factory_class": "BasicFactory", "factory_module": "nfvbench.factory", "flavor": { "disk": 0, "extra_specs": { "hw:cpu_policy": "dedicated", "hw:mem_page_size": "large" }, "ram": 4096, "vcpus": 2 }, "flavor_type": "nfvbench.medium", "flow_count": 10000, "fluentd": [ { "ip": "127.0.0.1", "logging_tag": null, "port": 24224, "result_tag": null } ], "generator_profile": null, "generic_poll_sec": 2, "generic_retry_count": 100, "inter_node": false, "internal_networks": { "left": { "cidr": "192.168.1.0/24", "name": "nfvbench-net0", "network_type": "vlan", "physical_network": null, "segmentation_id": null, "subnet": "nfvbench-subnet0" }, "middle": { "cidr": "192.168.3.0/24", "name": "nfvbench-net2", "network_type": "vlan", "physical_network": null, "segmentation_id": null, "subnet": "nfvbench-subnet2" }, "right": { "cidr": "192.168.2.0/24", "name": "nfvbench-net1", "network_type": "vlan", "physical_network": null, "segmentation_id": null, "subnet": "nfvbench-subnet1" } }, "interval_sec": 10, "json": null, "log_file": null, "loop_vm_name": "nfvbench-loop-vm", "measurement": { "NDR": 0.001, "PDR": 0.1, "load_epsilon": 0.1 }, "name": "my_nfvbench.cfg", "no_arp": false, "no_cleanup": false, "no_int_config": false, "no_reset": false, "no_tor_access": false, "no_traffic": false, "no_vswitch_access": false, "openrc_file": "/tmp/nfvbench/openrc", "rate": "ndr_pdr", "service_chain": "EXT", "service_chain_count": 1, "sriov": false, "std_json": null, "tor": { "switches": [ { "host": null, "password": null, "port": null, "username": null } ], "type": null }, "traffic": { "bidirectional": true, "profile": "traffic_profile_64B" }, "traffic_generator": { "default_profile": "trex-local", "gateway_ip_addrs": [ "192.168.121.1", "192.168.122.1" ], "gateway_ip_addrs_step": "0.0.0.1", "generator_profile": [ { "cores": 1, "interfaces": [ { "pci": "00:04.0", "port": 1, "switch_port": null }, { "pci": "00:03.0", "port": 0, "switch_port": null } ], "intf_speed": "10Gbps", "ip": "127.0.0.1", "name": "trex-local", "software_mode": "false,", "tool": "trex" } ], "host_name": "nfvbench_tg", "ip_addrs": [ "16.0.0.0/24", "48.0.0.0/24" ], "ip_addrs_step": "0.0.0.1", "tg_gateway_ip_addrs": [ "192.168.121.10", "192.168.122.7" ], "tg_gateway_ip_addrs_step": "0.0.0.1", "udp_dst_port": null, "udp_src_port": null }, "traffic_profile": [ { "l2frame_size": [ "64" ], "name": "traffic_profile_64B" }, { "l2frame_size": [ "IMIX" ], "name": "traffic_profile_IMIX" }, { "l2frame_size": [ "1518" ], "name": "traffic_profile_1518B" }, { "l2frame_size": [ "64", "IMIX", "1518" ], "name": "traffic_profile_3sizes" } ], "unidir_reverse_traffic_pps": 1, "use_sriov_middle_net": false, "user_label": null, "vlan_tagging": true, "vlans": [], "vm_forwarder": "testpmd", "vm_image_file": null }
_______________________________________________ opnfv-tech-discuss mailing list opnfv-tech-discuss@lists.opnfv.org https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss