How to add openstack cloud to juju 2.1.2-xenial
Daniel Bidwell
drbidwell at gmail.com
Wed Apr 26 17:07:21 UTC 2017
Still facing issues, but have gotten past the simplestreams issue, I
think.
I am running "juju bootstrap acauits --metadata-source
/home/bidwell/simplestreams --debug"
Among everything else, it returns:
caused by: request (http://10.20.9.142:8774/v2.1/e69c1091bf744509a8853e
a8e336ae26/servers) returned unexpected status: 409; error info:
{"conflictingRequest": {"message": "Multiple possible networks found,
use a Network ID to be more specific.", "code": 409}}}])
nova net-list
+--------------------------------------+----------+------+
| ID | Label | CIDR |
+--------------------------------------+----------+------+
| 0395dae1-1e5e-47cd-bd0f-c058087e292c | maasnet | None |
| 42c432e8-3958-47b2-b84c-df4f0aa0fbe8 | ext_net | None |
| 54ecafdf-acec-44f7-9d78-3c9fdeff5807 | internal | None |
+--------------------------------------+----------+------+
neutron subnet-list
+---------------------+-----------------+----------------+---------------------+
| id | name | cidr | allocation_pools |
+---------------------+-----------------+----------------+---------------------+
| 7818b78f-07bc-4518 | ext_net_subnet | 143.207.0.0/22 | {"start": |
| -838d-0cecb178ffa8 | | | "143.207.3.10", |
| | | | "end": |
| | | | "143.207.3.254"} |
| 9c961866-7c94-4c53- | maassnet | 10.20.8.0/23 | {"start": |
| 96e5-55b328719e97 | | | "10.20.8.1", "end": |
| | | | "10.20.8.1"} |
| | | | {"start": |
| | | | "10.20.8.3", "end": |
| | | | "10.20.9.254"} |
| ced5bfb0-6bb6-41f8 | internal_subnet | 10.5.5.0/24 | {"start": |
| -b98a-bd9bf3b4003e | | | "10.5.5.2", "end": |
| | | | "10.5.5.254"} |
+---------------------+-----------------+----------------+---------------------+
When I start a vm from the dashboard it lands on the internet_subnet.
How do I tell "juju bootstrap" which network to use?
On Tue, 2017-04-18 at 00:15 +0500, Junaid Ali wrote:
> Hi Daniel,
> are you still facing the issue? I was able to give to try this today
> but I couldn't reproduce your issue. I think your issue might be due
> to image id in ~/simplestreams/images/streams/v1/<file-other-than-
> index.json>. Ensure you have correct image id by comparing it with
> the specific image in $openstack image list.
>
> You can also check if there is any issue on the nova-compute side
> (instance might be failing due to any nova issue causing bootstrap to
> fail).
>
>
> --
> Junaid
>
>
--
Daniel Bidwell <drbidwell at gmail.com>
More information about the Juju
mailing list