I'll post the whole thing.  The diagnosis was just my guess based on the
log output.

On Wed, Aug 30, 2017 at 4:52 AM, Ran Ziv <[email protected]> wrote:

> I can't really make sense of this error message.
> Could you copy paste the full execution logs when running with "-vvv"?
>
> The "openstack_config" property/input should have nothing to do with the
> image/flavor assignment - The former only affects the Openstack client
> configuration, while the latter is set for a specific API call.
>
>
>
> On Wed, Aug 30, 2017 at 2:38 AM, DeWayne Filppi <[email protected]>
> wrote:
>
> > Here's the latest issue.  Got through all the networking config in my
> > template, but the server instance doesn't start.  Not sure if this is an
> > Openstack plugin issue, or Aria..  From the error message, it appears
> that
> > the image id and flavor don't even get into the call.  Note that I had to
> > explicitly set "openstack_config" in the operation inputs:
> >
> > 23:32:42 | E | nova_plugin.server.create | {u'args': OrderedDict(),
> > u'openstack_config': {'username': 'dewayne', 'tenant_name':
> > 'dewayne-tenant', 'password': 'xxxxxx', 'auth_url': '
> > https://rackspace-api.gigaspaces.com:5000/v3'}} | vm_1 Standard.create
> > failed
> >         |Traceback (most recent call last):
> >         |  File
> > "/home/vagrant/incubator-ariatosca/aria/orchestrator/
> > workflows/executor/process.py",
> > line 342, in _main
> >         |    task_func(ctx=ctx, **operation_arguments)
> >         |  File
> > "/home/vagrant/venv/lib/python2.7/site-packages/
> > adapters/context_adapter.py",
> > line 434, in wrapper
> >         |    ctx.task.retry(str(e), retry_interval=e.retry_after)
> >         |  File "/usr/lib64/python2.7/contextlib.py", line 36, in
> __exit__
> >         |    raise RuntimeError("generator didn't stop after throw()")
> >         |RuntimeError: generator didn't stop after throw()
> >
> > The node template:
> >
> >     vm:
> >       type: aria.openstack.nodes.Server
> >       properties:
> >         image: { get_input: image }
> >         flavor: { get_input: flavor }
> >         create_if_missing: true
> >         resource_id: aria_helloworld_vm
> >         management_network_name: aria_helloworld_network
> >       requirements:
> >         - key_pair: keypair
> >         - port: port
> >       interfaces:
> >         Standard:
> >           create:
> >             inputs:
> >               openstack_config: { get_input: openstack_config }
> >
>

Reply via email to