Launch instances using boto [closed]
Hi,
I am trying to launch instances using boto on an openstack setup with multiple networks configured.
It through an error like this.
EC2ResponseError: EC2ResponseError: 400 Bad Request
<?xml version="1.0"?>
<Response><Errors><Error><Code>NetworkAmbiguous</Code><Message>Multiple possible networks found, use a Network ID to be more specific.</Message></Error></Errors><RequestID>req-28b5a4e8-3838-4111-95db-337c5048716d</RequestID></Response>
Using boto.ec2.connection.EC2Connection.run_instances
method as mentioned here.
Where do I specific network-id there?
How can I fix it?
I think the answer is on this question: https://ask.openstack.org/en/question/10085/help-multiple-possible-networks-found-use-a-network-id-to-be-more-specific/