Yes, it’s an error, thanks for reporting that. I made the fix, waiting for 
approval: https://gerrit.onap.org/r/#/c/demo/+/95575/

However, that’s not what is impacting your execution. Honeycomb on the vDNS 
side is not used at this time, so it’s absence is not an issue. Still worth to 
fix it though.

Marco

From: <[email protected]> on behalf of Aniello Paolo Malinconico 
<[email protected]>
Reply-To: "[email protected]" <[email protected]>, 
"[email protected]" <[email protected]>
Date: Thursday, September 12, 2019 at 8:47 AM
To: "PLATANIA, MARCO (MARCO)" <[email protected]>, 
"[email protected]" <[email protected]>
Subject: Re: [onap-discuss] [Dublin] VF Module Scale Out Use Case - demo 
scripts version

Hi Marco,
maybe I have found the issue:

When the vDNS vm starts, the v_dns_install.sh is executed.
However, it fails at line 3 :
DEMO_ARTIFACTS_VERSION=$(cat /opt/config/demo_artifacts_version.txt)

because the file demo_artifacts_version.txt does not exists.

In fact, into the vDNS template (downloaded 
here<https://urldefense.proofpoint.com/v2/url?u=https-3A__docs.onap.org_en_dublin_submodules_integration.git_docs_docs-5Fscaleout.html&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=KgFIQiUJzSC0gUhJaQxg8eC3w16GC3sKgWIcs4iIee0&m=Ak_3-SLQylnOeSo1grY1QczObeaXLHBmXttA1hrVETk&s=JZJVAlEMQ7eNls8y2KwB8Vpo_hbmw_UhfWmDws9PHmQ&e=>
 ) there is no command to write the file :

            # Create configuration files
            mkdir /opt/config
            echo "__lb_oam_int__" > /opt/config/lb_oam_int.txt
            echo "__lb_private_ipaddr__" > /opt/config/lb_private_ipaddr.txt
            echo "__lb_to_pktgen_if__" > /opt/config/lb_to_pktgen_if.txt
            echo "__local_private_ipaddr__" > 
/opt/config/local_private_ipaddr.txt
            echo "__oam_private_ipaddr__" > /opt/config/oam_private_ipaddr.txt
            echo "__nb_api_version__" > /opt/config/nb_api_version.txt
            echo "__install_script_version__" > 
/opt/config/install_script_version.txt
            echo "__vlb_private_net_cidr__" > 
/opt/config/vlb_private_net_cidr.txt
            echo "__onap_private_net_cidr__" > 
/opt/config/onap_private_net_cidr.txt
            echo "__cloud_env__" > /opt/config/cloud_env.txt
            echo "__nexus_artifact_repo__" > /opt/config/nexus_artifact_repo.txt

In the vlb template there is the right command:

    mkdir /opt/config
            echo "__dcae_collector_ip__" > /opt/config/dcae_collector_ip.txt
            echo "__dcae_collector_port__" > /opt/config/dcae_collector_port.txt
            echo "__ip_to_dns_net__" > /opt/config/ip_to_dns_net.txt
            echo "__ip_to_pktgen_net__" > /opt/config/ip_to_pktgen_net.txt
            echo "__oam_vpktgen_ip__" > /opt/config/oam_vpktgen_ip.txt
            echo "__oam_vdns_ip__" > /opt/config/oam_vdns_ip.txt
            echo "__vip__" > /opt/config/vip.txt
            echo "__gre_ipaddr__" > /opt/config/gre_ipaddr.txt
            echo "__pktgen_ipaddr__" > /opt/config/pktgen_ipaddr.txt
            echo "__vdns_ipaddr__" > /opt/config/vdns_ipaddr.txt
            echo "__oam_private_ipaddr__" > /opt/config/oam_private_ipaddr.txt
            echo "__demo_artifacts_version__" > 
/opt/config/demo_artifacts_version.txt
            echo "__nb_api_version__" > /opt/config/nb_api_version.txt
            echo "__install_script_version__" > 
/opt/config/install_script_version.txt
            echo "__vlb_private_net_cidr__" > 
/opt/config/vlb_private_net_cidr.txt
            echo "__pktgen_private_net_cidr__" > 
/opt/config/pktgen_private_net_cidr.txt
            echo "__onap_private_net_cidr__" > 
/opt/config/onap_private_net_cidr.txt
            echo "__pktgen_mac__" > /opt/config/pktgen_mac.txt
            echo "__cloud_env__" > /opt/config/cloud_env.txt
            echo "__nexus_artifact_repo__" > /opt/config/nexus_artifact_repo.txt

So we need to change the vDNS template adding the right command to write the 
demo_artifact_version file.
Do u agree with me?
Thanks,
Aniello Paolo Malinconico


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

View/Reply Online (#18931): https://lists.onap.org/g/onap-discuss/message/18931
Mute This Topic: https://lists.onap.org/mt/34102960/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to