forked from sonata-nfv/tng-sdk-benchmark
-
Notifications
You must be signed in to change notification settings - Fork 6
Notes for frequently encountered problems
Bhuvan Sharma edited this page Jan 6, 2020
·
12 revisions
While editing VNF package in OSM, make sure no NS package is referencing to VNF package else it may produce errors and won't let you edit the file sometimes. --Harshita
On executing tango bench experiments, faced few configuration errors while connecting from local to Backflip1. Updating the ansible package helped in this case. --Suganthi
Unzip .tar.gz file:
tar zxvf FILE_NAME
Zip folder to .tar.gz file:
tar -czvf TAR_FILE_NAME.tar.gz FOLDER_NAME
--Bhuvan
Ways to have additional interfaces working:
- cloud-init script to get list of available ports (or if you know what would be the names of interfaces) and run dhclient INTERFACE: will make it temporarily up. Workaround: use bootcmd instead of runcmd in cloud-init file.
- cloud-init script to get list of available ports (or if you know what would be the names of interfaces) and add that interface in /etc/network/interfaces.d/50-cloud-init.cfg in image (preload) or in deployed VM (afterload). [USED IN OUR IMPLEMENTATION WITH AUTOMATION - https://github.com/CN-UPB/tng-sdk-benchmark/issues/9#issuecomment-539397032]
--Bhuvan
You might get some of these errors when importing the new tng bench code.
- If you find anything like “fatal-error”, below commands would help. • sudo apt install python-pip libcurl4-gnutls-dev libgnutls-dev • sudo yum install python-pip libcurl-devel gnutls-devel • sudo -H pip install python-magic
- If you still find errors, when u tried the above commands, like as below, “E: Package 'libgnutls-dev' has no installation candidate E: Package 'libgnutls-dev' has no installation candidate Package libgnutls-dev is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source”
- Try the below command for searching the lib, • apt search libgnutls
- If you find below errors, while installing tngbench “ERROR: Could not find a version that satisfies the requirement osmclient (from versions: none) ERROR: No matching distribution found for osmclient” Then, Clone the osmclient repo and install OSM client from the git repo. • git clone https://osm.etsi.org/gerrit/osm/osmclient • sudo -H pip install osmclient https://github.com/CN-UPB/pg-backflip/wiki/Infrastructure-Info
- When you try to test your tngbench connection using ansible, make sure that your hosts.yml is in the below format. -- vim-emu-nodes: hosts: fgcn-backflip1.cs.upb.de vars: ansible_user: tngbench ansible_password: ******** #optional
--Suganthi
tng-bench --generator osm