<div dir="ltr">Hi Robert,<div><br></div><div>Please find the VNFD content:</div><div>====================================================</div><div><div>template_name: hello-vnfd</div><div>description: own-example</div><div><br></div><div>service_properties:</div><div> Id: sample-vnfd</div><div> vendor: tacker</div><div> version: 1</div><div> type:</div><div> - simple-program</div><div><br></div><div>vdus:</div><div> vdu1:</div><div> id: vdu1</div><div> vm_image: cirros-0.3.4-x86_64-uec</div><div> instance_type: m1.tiny</div><div> user_data_format: RAW</div><div> user_data: |</div><div> sh sample.sh | tee /dev/console</div><div><br></div><div> network_interfaces:</div><div> management:</div><div> network: net_mgmt</div><div> management: true</div><div> pkt_in:</div><div> network: net0</div><div> pkt_out:</div><div> network: net1</div><div><br></div><div> placement_policy:</div><div> availability_zone: nova</div><div><br></div><div> auto-scaling: noop</div></div><div> monitoring_policy:</div><div> ping:</div><div> monitoring_params:</div><div> monitoring_delay: 45</div><div> count: 3</div><div> interval: .5</div><div> timeout: 2</div><div> actions:</div><div> failure: respawn</div><div><br></div><div> config:</div><div> param0: key0</div><div> param1: key1</div><div>=============================================</div><div><br></div><div>The image path /opt/devstack/files/images/cirros-0.3.4-x86_64-uec contains hello(binary) and a sample.sh</div><div><br></div><div>sample.sh content:</div><div><div>#!/usr/bin/sh</div><div>./hello</div></div><div><br></div><div>If I run sample.sh on shell, I get output of 'hello' program on screen.</div><div><br></div><div>Regards,</div><div>Basavaraj</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 9, 2016 at 9:07 PM, HADDLETON, Robert W (Bob) <span dir="ltr"><<a href="mailto:bob.haddleton@nokia.com" target="_blank">bob.haddleton@nokia.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Hi Basavaraj:<br>
A couple of questions:<br>
<br>
Does your image contain a copy of the "hello" program you are
looking for?<br>
<br>
Is the image configured to run the program automatically at boot
time? Or did you use the "user_data" section of the template to
run the program after the VM is deployed?<br>
<br>
It would be helpful to see the VNFD template you are using.<span class="HOEnZb"><font color="#888888"><br>
<br>
Bob</font></span><div><div class="h5"><br>
<br>
On 2/9/2016 4:41 AM, Basavaraj B wrote:<br>
</div></div></div><div><div class="h5">
<blockquote type="cite">
<div dir="ltr">Hello,
<div><br>
</div>
<div>Got the instance console.</div>
<div>But I don't see my sample program running.</div>
<div><br>
</div>
<div>Please find attached snapshot.</div>
<div>Can you please let me know how I can check the output of my
program?</div>
<div><br>
</div>
<div>Regards,</div>
<div>Basavaraj</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Feb 9, 2016 at 3:50 PM,
Basavaraj B <span dir="ltr"><<a href="mailto:basavaraja.b@gmail.com" target="_blank">basavaraja.b@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hello <span style="font-size:12.8px;white-space:nowrap">Eduardo,</span>
<div><span style="font-size:12.8px;white-space:nowrap"><br>
</span></div>
<div><span style="font-size:12.8px;white-space:nowrap">Thanks
for the reply. I am trying to instantiate VNF through
dashboard. So I did not get a chance to source tacker
user credentials.</span></div>
<div><span style="font-size:12.8px;white-space:nowrap">The
dashboard credentials are admin/devstack.</span></div>
<div><span style="font-size:12.8px;white-space:nowrap"><br>
</span></div>
<div><span style="font-size:12.8px;white-space:nowrap">I
see the instance under Admin->System->Instances.</span></div>
<div><span style="font-size:12.8px;white-space:nowrap"><br>
</span></div>
<div><span style="font-size:12.8px;white-space:nowrap">I
could even go to Console, but the console screen is
empty! </span></div>
<div><span style="font-size:12.8px;white-space:nowrap">The
console log is captured in the attached snapshot.</span></div>
<div><span style="font-size:12.8px;white-space:nowrap"><br>
</span></div>
<div><span style="font-size:12.8px;white-space:nowrap">Please
let me know if you need more details.</span></div>
<div><span style="font-size:12.8px;white-space:nowrap"><br>
</span></div>
<div><span style="font-size:12.8px;white-space:nowrap">Regards,</span></div>
<div><span style="font-size:12.8px;white-space:nowrap">Basavaraj</span></div>
</div>
<div>
<div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Feb 9, 2016 at 3:27
PM, Eduardo Gonzalez <span dir="ltr"><<a href="mailto:dabarren@gmail.com" target="_blank"></a><a href="mailto:dabarren@gmail.com" target="_blank">dabarren@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<p dir="ltr">Hello Basavaraj.</p>
<p dir="ltr">Instances are created under tacker
user.<br>
Source tacker user credentials and check if the
VNF is properly launched.</p>
<p dir="ltr">Regards</p>
<br>
<div class="gmail_quote">
<div>
<div>
<div dir="ltr">On Tue, Feb 9, 2016, 10:53
AM Basavaraj B <<a href="mailto:basavaraja.b@gmail.com" target="_blank"></a><a href="mailto:basavaraja.b@gmail.com" target="_blank">basavaraja.b@gmail.com</a>>
wrote:<br>
</div>
</div>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div>
<div dir="ltr"><span style="font-size:12.8px">Hi,</span>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">I am using
Tacker with Openstack liberty verson.</div>
<div style="font-size:12.8px">I followed
the demo that you have presented to
instantiate a VNF, but in my case VNF
instance is not getting created. But
again, the VNF manager shows the
status of it as ACTIVE.</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">Background:</div>
<div style="font-size:12.8px">1. To
check the Tacker functionality, I
compiled a simple C program that
prints "Hello world" in an infinite
loop. </div>
<div style="font-size:12.8px">2. Image
name "hello" appears in
System->Images</div>
<div style="font-size:12.8px">3. The VNF
in NFV->VNF Manager is showed as
ACTIVE</div>
<div style="font-size:12.8px">4. In
Project->Instances, I don't see my
instance "hello".</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">I want to
see my hello image running on one of
VNF. Can you please help me out as how
to get the instance created and check
my sample program run?</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">Regards,</div>
<div style="font-size:12.8px">Basavaraj</div>
</div>
</div>
</div>
_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
</blockquote>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a>
Post to : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a>
</pre>
</blockquote>
<br>
</div></div></div>
</blockquote></div><br></div>