Skip to content

Create workflow must have at least one input parameter #3

@vyckou

Description

@vyckou

I have been walking round and round for few days, untill managed to understand, why the driver fails, while calling create workflow. As initially, I have created workflow, which returns IP_address and server_ID, but does not require any input parameters. with such scenario driver was failing with the following error:

C:\Cookbooks\db-windows-rbac>kitchen test
-----> Starting Kitchen (v1.14.2)
-----> Cleaning up any prior instances of
-----> Destroying ...
Finished destroying (0m0.00s).
-----> Testing
-----> Creating ...
Executing the create-server workflow...

------Exception-------
Class: Kitchen::ActionFailed
Message: 1 actions failed.
Failed to complete #create action: [undefined method `[]' for nil:NilClass] on default-windows-2012

Please see .kitchen/logs/kitchen.log for more details
Also try running kitchen diagnose --all for configuration

this type of error you will see, if create workflow does not requrie input parameters. Please, if you dont need any parameters, add dummy one etc.

For the issue, I would recommend to update the documentation, that "create workflow requires at least one parameter". That could save someone several hours in the future :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions