Creating instance with user data via rest API

asked 2018-05-31 13:52:20 -0500

I'm trying to create Revirbed with init-config. On setting the hostname, the Riverbed prompt is changed to this name. When I create an instance via horizon, I set config-drive to true, set user-data and the instance creates well with my configuration. The prompt was changed. Also, when I config it by the Openstack CLI command (nova boot...), the instance also creates well with the correct prompt.

My problem is with the rest API. The instance creates with prompt string 'file' (which is not the default). The configuration did not take affect.

I run the CLI with the - - debug flag, and saw that my json is exactly as needed.

What am I missing? Or is it a bug in Openstack?

I'm working with Newton.

edit retag flag offensive close merge delete