[ Tacker ] Passing a shell script/parameters as a file in cloud config

Lokendra Rathour lokendrarathour at gmail.com
Tue Nov 16 18:25:03 UTC 2021


Thankyou so much for the input.
Will wait for the same.

-Lokendra

On Tue, 16 Nov 2021, 23:50 Yasufumi Ogawa, <yasufum.o at gmail.com> wrote:

> Hi Lokendra,
>
> My appologies overlooked your question. We'll confirm the issue soon.
>
> Thanks,
> Yasufumi
>
> On 2021/11/01 17:22, Lokendra Rathour wrote:
> > Hello EveryOne,
> > Any update on this, please.
> >
> >
> > -Lokendra
> >
> >
> > On Thu, Oct 28, 2021 at 2:43 PM Lokendra Rathour
> > <lokendrarathour at gmail.com <mailto:lokendrarathour at gmail.com>> wrote:
> >
> >     Hi,
> >     /In Tacker, while deploying VNFD can we pass a file ( parameter
> >     file) and keep it at a defined path using cloud-config way?/
> >
> >     Like in *generic hot template*s, we have the below-mentioned way to
> >     pass a file directly as below:
> >     parameters:
> >        foo:
> >          default: bar
> >
> >     resources:
> >
> >        the_server:
> >          type: OS::Nova::Server
> >          properties:
> >            # flavor, image etc
> >            user_data:
> >              str_replace:
> >                template: {get_file: the_server_boot.sh}
> >                params:
> >                  $FOO: {get_param: foo}
> >
> >
> >     *but when using this approach in Tacker BaseHOT it gives an error
> >     saying *
> >     "nstantiation wait failed for vnf
> >     77693e61-c80e-41e0-af9a-a0f702f3a9a7, error: VNF Create Resource
> >     CREATE failed: resources.obsvrnnu62mb:
> >     resources.CAS_0_group.Property error:
> >     resources.soft_script.properties.config: No content found in the
> >     "files" section for get_file path: Files/scripts/install.py
> >     2021-10-28 00:46:35.677 3853831 ERROR oslo_messaging.rpc.server
> >     "
> >     do we have a defined way to use the hot capability in TACKER?
> >
> >     Defined Folder Structure for CSAR:
> >     .
> >     ├── BaseHOT
> >     │   └── default
> >     │       ├── RIN_vnf_hot.yaml
> >     │       └── nested
> >     │           ├── RIN_0.yaml
> >     │           └── RIN_1.yaml
> >     ├── Definitions
> >     │   ├── RIN_df_default.yaml
> >     │   ├── RIN_top_vnfd.yaml
> >     │   ├── RIN_types.yaml
> >     │   ├── etsi_nfv_sol001_common_types.yaml
> >     │   └── etsi_nfv_sol001_vnfd_types.yaml
> >     ├── Files
> >     │   ├── images
> >     │   └── scripts
> >     │       └── install.py
> >     ├── Scripts
> >     ├── TOSCA-Metadata
> >     │   └── TOSCA.meta
> >     ├── UserData
> >     │   ├── __init__.py
> >     │   └── lcm_user_data.py
> >
> >     *Objective: *
> >     To pass a file at a defined path on the VDU after the VDU is
> >     instantiated/launched.
> >
> >     --
> >     ~ Lokendra
> >     skype: lokendrarathour
> >
> >
> >
> >
> > --
> > ~ Lokendra
> > www.inertiaspeaks.com <http://www.inertiaspeaks.com>
> > www.inertiagroups.com <http://www.inertiagroups.com>
> > skype: lokendrarathour
> >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20211116/780c4026/attachment.htm>


More information about the openstack-discuss mailing list