Unable to launch a Bash script through the Python nova.servers.create function
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-novaclient |
Expired
|
Undecided
|
Unassigned |
Bug Description
I try to launch a Bash script through the "userdata" parameter of the nova.servers.create function in the python nova client but doesn't succeed.
I can execute a string with Bash commands inside like described in http://
Each time I try to execute an executable Bash script called test_sh, I get the same error messages:
[ 17.812080] cloud-init[873]: 2016-08-25 17:36:49,652 - util.py[WARNING]: Failed fetching metadata from url http://
[ 18.002758] cloud-init[873]: 2016-08-25 17:36:49,843 - __init_
The same Bash script runs perfectly fine through the nova boot command with the --user-data option.
Changed in python-novaclient: | |
assignee: | nobody → tamil vanan (tamilhce) |
Changed in python-novaclient: | |
assignee: | tamil vanan (tamilhce) → nobody |
Changed in python-novaclient: | |
status: | New → Incomplete |
Hi
Could you please share the complete code that you are using to launch the instance So that i can try and check the validity of the issue.
Also, I want to reproduce this issue