Re: [Openstack] tacker+devstack image configuration

2016-04-13 Thread HADDLETON, Robert W (Bob)

Hi Victor:
If you are using the Mitaka version and the TOSCA template format 
you can include the "key_name" property in the VDU declaration with the 
name of the key to use, it should be mapped to the OS::Nova::Compute 
object in the Heat template and available for use.


The legacy YAML format for Tacker VNFD templates does not support the 
key_name parameter.


Bob

On 4/13/2016 1:05 PM, EXT Victor Mehmeri wrote:


Hi all,

I’m trying to run a simple demo of Tacker with Devstack (I am new to 
this), but I’ve been stuck for hours here on a seemingly simple 
problem: my YAML file is pointing to an Openstack image which I 
created using an Ubuntu cloud image that I downloaded, and so after I 
run tacker vnfd-create and vnf-create commands and have my instance 
launched, I can’t ssh to it because at no point during this process I 
found how I could tell tacker to inject a ssh key pair into the VM. 
Or, alternatively, how to tell tacker to load a cloud-config user 
script so I can configure the instance at boot time.


I know it’s possible to do that by launching an instance directly from 
nova, but from what I gathered, vnf-create is – among other things – a 
wrapper to nova  and I suppose I should insert something inside that 
yaml file to indicate that an ssh key file must be used for that 
instance.


I didn’t find anything related to that in tacker documentation, in the 
sample yaml files, or searching the web. Is it not possible at all?


Am I missing something here? As I said, I’m new to all of this. Can 
someone please give me some guidance?


Thank you,

*Victor Mehmeri *

*Victor Mehmeri *

PhD student

Metro-Access and Short Range Systems

DTU Fotonik

*Technical University of Denmark*



http://www.dtu.dk/~/media/DTU_Generelt/Andet/DTU_email_logo_01.gif

Department of Photonics Engineering

Akademivej

Building 358

2800 Kgs. Lyngby

Denmark

Direct +45 45253636

v...@fotonik.dtu.dk 

www.fotonik.dtu.dk 



___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@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@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] [Openstack Tacker] Integrating an application in VNF

2016-02-10 Thread HADDLETON, Robert W (Bob)

Hi Basavaraj:

The most common way to install an application at deployment time is to 
run a shell script that uses wget/curl/apt-get/yum to retrieve the 
binary from a repository and then installs the software and 
configures/runs it.


We don't have any examples of this in the Tacker repo yet because we did 
not have support for the Heat SoftwareConfig/SoftwareDeployment 
resources.  There is a feature under development to integrate 
tosca-parser and heat-translator into Tacker, which will also provide 
the ability to use SoftwareConfig and SoftwareDeployment to simplify 
what you are trying to do.


In the mean time I would recommend something like this as a simple example:

user_data: |
  wget http://repo.url/mybinary
  ./mybinary

Hope this helps

Bob


On 2/10/2016 7:52 AM, EXT Basavaraj B wrote:

Hello All,

I just want to integrate my sample application which has to run 
automatically upon VNF instantaiation. And I am using Tacker service 
as well.


Can someone please give me pointers on it.

Regards,
Basavaraj


___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@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@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] [Openstack Tacker]: VNF instance not created

2016-02-09 Thread HADDLETON, Robert W (Bob)

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 > 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
mailto:dabar...@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
mailto:basavaraj...@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@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@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@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack