-
Notifications
You must be signed in to change notification settings - Fork 6
Hackerfest Example
osm ns-create --ns_name hf_basic --nsd_name hackfest_basic-ns \
--vim_account OS-DS-BF9 \
--ssh_keys /home/avi/.ssh/id_rsa.pub \
--config '{vld: [ {name: mgmtnet, vim-network-name: mgmt } ] }'
Found out that the problem with charm VNF not deploying correctly using OSM is because the VNFs do not have a public IP. When OSM or charm tries to SSH into the VNF, it is timing out since there is no direct connection.
I configured the SSH client in fgcn-backflip3 (OSM server) (/etc/ssh/ssh_config
) to utilize ProxyJump
so that when a user calls ssh user@vnf_floating_ip
, SSH will use a jump server automatically (openstack server - backflip9).
This did not solve the problem with charms not being able to SSH into the deployed VNFs to complete the deployment. After several hours of debugging, I found the problem is with the LXC containers that are running JUJU inside backflip3. It might also be inside the docker containers that run the OSM RO and other services.
This is the flow of how charm is deployed (image source: OSM-ETSI)
-
Floating IPs are not getting assigned automatically by OSM?
- It turns out that they do get the public IPs, but the deployment is not completing because of an SSH timeout.
-
How to enable SSH to NS-hosts from outside network?
- This is solved now when using SSH from backflip3, it is now configured to use SSH Jump server automatically.
tng-bench --generator osm