Hello,

for those who were lead to this page by Google search. If you run into 
messages like

"Error in creating instance (Inner Exception: create() takes at least 4 
arguments (10 given))"}


or


Error in creating instance (Inner Exception: Missing imageRef attribute 
(HTTP 400))


Then it might help to fix python module shade/openstackcloud.py, around 
line 4950:


server = self.manager.submit_task(_tasks.ServerCreate(name=name, **kwargs))


add image="something":


server = self.manager.submit_task(_tasks.ServerCreate(name=name, 
image="put-your-image-id-here", **kwargs))


For some reason, image name is not propagated via kwargs.


Michal

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/90326d7f-b3b7-4e88-bdb5-2b59f1896c6c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to