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

[email protected] <mailto:[email protected]>

www.fotonik.dtu.dk <http://www.fotonik.dtu.dk>



_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : [email protected]
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

<<attachment: bob_haddleton.vcf>>

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : [email protected]
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to