[Openstack] [Openstack Tacker]: VNF instance not created
Basavaraj B
basavaraja.b at gmail.com
Tue Feb 9 15:50:43 UTC 2016
Hi Robert,
Please find the VNFD content:
====================================================
template_name: hello-vnfd
description: own-example
service_properties:
Id: sample-vnfd
vendor: tacker
version: 1
type:
- simple-program
vdus:
vdu1:
id: vdu1
vm_image: cirros-0.3.4-x86_64-uec
instance_type: m1.tiny
user_data_format: RAW
user_data: |
sh sample.sh | tee /dev/console
network_interfaces:
management:
network: net_mgmt
management: true
pkt_in:
network: net0
pkt_out:
network: net1
placement_policy:
availability_zone: nova
auto-scaling: noop
monitoring_policy:
ping:
monitoring_params:
monitoring_delay: 45
count: 3
interval: .5
timeout: 2
actions:
failure: respawn
config:
param0: key0
param1: key1
=============================================
The image path /opt/devstack/files/images/cirros-0.3.4-x86_64-uec contains
hello(binary) and a sample.sh
sample.sh content:
#!/usr/bin/sh
./hello
If I run sample.sh on shell, I get output of 'hello' program on screen.
Regards,
Basavaraj
On Tue, Feb 9, 2016 at 9:07 PM, HADDLETON, Robert W (Bob) <
bob.haddleton at nokia.com> wrote:
> Hi Basavaraj:
> A couple of questions:
>
> Does your image contain a copy of the "hello" program you are looking for?
>
> 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?
>
> It would be helpful to see the VNFD template you are using.
>
> Bob
>
>
> On 2/9/2016 4:41 AM, Basavaraj B wrote:
>
> Hello,
>
> Got the instance console.
> But I don't see my sample program running.
>
> Please find attached snapshot.
> Can you please let me know how I can check the output of my program?
>
> Regards,
> Basavaraj
>
> On Tue, Feb 9, 2016 at 3:50 PM, Basavaraj B <basavaraja.b at gmail.com>
> wrote:
>
>> Hello Eduardo,
>>
>> Thanks for the reply. I am trying to instantiate VNF through dashboard.
>> So I did not get a chance to source tacker user credentials.
>> The dashboard credentials are admin/devstack.
>>
>> I see the instance under Admin->System->Instances.
>>
>> I could even go to Console, but the console screen is empty!
>> The console log is captured in the attached snapshot.
>>
>> Please let me know if you need more details.
>>
>> Regards,
>> Basavaraj
>>
>> On Tue, Feb 9, 2016 at 3:27 PM, Eduardo Gonzalez < <dabarren at gmail.com>
>> dabarren at gmail.com> wrote:
>>
>>> Hello Basavaraj.
>>>
>>> Instances are created under tacker user.
>>> Source tacker user credentials and check if the VNF is properly launched.
>>>
>>> Regards
>>>
>>> On Tue, Feb 9, 2016, 10:53 AM Basavaraj B < <basavaraja.b at gmail.com>
>>> basavaraja.b at gmail.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> I am using Tacker with Openstack liberty verson.
>>>> 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.
>>>>
>>>> Background:
>>>> 1. To check the Tacker functionality, I compiled a simple C program
>>>> that prints "Hello world" in an infinite loop.
>>>> 2. Image name "hello" appears in System->Images
>>>> 3. The VNF in NFV->VNF Manager is showed as ACTIVE
>>>> 4. In Project->Instances, I don't see my instance "hello".
>>>>
>>>> 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?
>>>>
>>>> Regards,
>>>> Basavaraj
>>>> _______________________________________________
>>>> Mailing list:
>>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>>> Post to : openstack at lists.openstack.org
>>>> Unsubscribe :
>>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>>>
>>>
>>
>
>
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160209/e538c094/attachment.html>
More information about the Openstack
mailing list