You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ariatosca.apache.org by DeWayne Filppi <de...@cloudify.co> on 2017/09/06 00:07:12 UTC

error after adding "userdata" or "user_data" to plugin.yaml

After adding the highlighted content to the ARIA openstack plugin.yaml,

  aria.openstack.datatypes.Server:
    description: >-
      openstack Server args.
    properties:
      server:
        type: map
        required: false
        entry_schema:
          type: string

I get the following error trying to use user_data in a template:

RuntimeError: Re-definition of yaml-1.1 in specification_url

Usage looks like:

              openstack_config: { get_input: openstack_config }
              args:
                server:
                  user_data: |
                    #!/bin/sh
                    echo TEST > /tmp/out

Re: error after adding "userdata" or "user_data" to plugin.yaml

Posted by Ran Ziv <ra...@cloudify.co>.
DeWayne, highlighting doesn't work too well with the mailing list - we only
see simple text.

The error doesn't ring a bell here.


On Wed, Sep 6, 2017 at 8:43 AM, DeWayne Filppi <de...@cloudify.co> wrote:

> I have no idea if its a bug.  Just seeing if it looked familiar to anyone.
> Thought that error message might ring a bell.
>
> On Sep 5, 2017 10:33 PM, "Tal Liron" <ta...@cloudify.co> wrote:
>
> > Are you reporting a bug here? It would really help to get a complete
> > example with instructions to reproduce.
> >
> > On Tue, Sep 5, 2017 at 7:07 PM, DeWayne Filppi <de...@cloudify.co>
> > wrote:
> >
> > > After adding the highlighted content to the ARIA openstack plugin.yaml,
> > >
> > >   aria.openstack.datatypes.Server:
> > >     description: >-
> > >       openstack Server args.
> > >     properties:
> > >       server:
> > >         type: map
> > >         required: false
> > >         entry_schema:
> > >           type: string
> > >
> > > I get the following error trying to use user_data in a template:
> > >
> > > RuntimeError: Re-definition of yaml-1.1 in specification_url
> > >
> > > Usage looks like:
> > >
> > >               openstack_config: { get_input: openstack_config }
> > >               args:
> > >                 server:
> > >                   user_data: |
> > >                     #!/bin/sh
> > >                     echo TEST > /tmp/out
> > >
> >
>

Re: error after adding "userdata" or "user_data" to plugin.yaml

Posted by DeWayne Filppi <de...@cloudify.co>.
I have no idea if its a bug.  Just seeing if it looked familiar to anyone.
Thought that error message might ring a bell.

On Sep 5, 2017 10:33 PM, "Tal Liron" <ta...@cloudify.co> wrote:

> Are you reporting a bug here? It would really help to get a complete
> example with instructions to reproduce.
>
> On Tue, Sep 5, 2017 at 7:07 PM, DeWayne Filppi <de...@cloudify.co>
> wrote:
>
> > After adding the highlighted content to the ARIA openstack plugin.yaml,
> >
> >   aria.openstack.datatypes.Server:
> >     description: >-
> >       openstack Server args.
> >     properties:
> >       server:
> >         type: map
> >         required: false
> >         entry_schema:
> >           type: string
> >
> > I get the following error trying to use user_data in a template:
> >
> > RuntimeError: Re-definition of yaml-1.1 in specification_url
> >
> > Usage looks like:
> >
> >               openstack_config: { get_input: openstack_config }
> >               args:
> >                 server:
> >                   user_data: |
> >                     #!/bin/sh
> >                     echo TEST > /tmp/out
> >
>

Re: error after adding "userdata" or "user_data" to plugin.yaml

Posted by Tal Liron <ta...@cloudify.co>.
Are you reporting a bug here? It would really help to get a complete
example with instructions to reproduce.

On Tue, Sep 5, 2017 at 7:07 PM, DeWayne Filppi <de...@cloudify.co> wrote:

> After adding the highlighted content to the ARIA openstack plugin.yaml,
>
>   aria.openstack.datatypes.Server:
>     description: >-
>       openstack Server args.
>     properties:
>       server:
>         type: map
>         required: false
>         entry_schema:
>           type: string
>
> I get the following error trying to use user_data in a template:
>
> RuntimeError: Re-definition of yaml-1.1 in specification_url
>
> Usage looks like:
>
>               openstack_config: { get_input: openstack_config }
>               args:
>                 server:
>                   user_data: |
>                     #!/bin/sh
>                     echo TEST > /tmp/out
>