JUJU BOOTSTRAP TO OPENSTACK FAILS

Navin Sridharan navinsridharan at ymail.com
Tue Nov 28 00:27:05 UTC 2017


Hi Heather,
Thank you for the response. Earlier I used Opencontrail SDN while deploying JUJU, so I am guessing the issue was to do with the port binding as the script I was using to deploy was not compatible with the OpenContrail SDN. I tried re-deploying with "nosdn", but JUJU now throws the following error message:
nova.SecurityGroupName{Name:"juju-0fa027ff-0141-420f-8ec9-f27860520823-4325eb8d-2171-427b-82cb-8beada255496-0"}}, Networks:[]nova.ServerNetworks{}, AvailabilityZone:"nova", Metadata:map[string]string{"juju-is-controller":"true", "juju-model-uuid":"4325eb8d-2171-427b-82cb-8beada255496", "juju-controller-uuid":"0fa027ff-0141-420f-8ec9-f27860520823"}, ConfigDrive:false}caused by: request (http://192.168.122.190:8774/v2.1/850ecb27752344278c8816a39e26b6cd/servers) returned unexpected status: 409; error info: {"conflictingRequest": {"message": "Multiple possible networks found, use a Network ID to be more specific.", "code": 409}}
Also, I am able to boot up an instance manually in the OpenStack cloud using m1.medium and the status of the instance reads "Active".  Any insights on the above error please?

I see my error related to this post - https://bugs.launchpad.net/juju/+bug/1570219

Regards,Navin S 

   

 On Monday, 27 November 2017 6:55 PM, Heather Lanigan <heather.lanigan at canonical.com> wrote:
 

 Navin,
>From your email, it appears that juju is finding the network specified correctly.  Is there more information leading to believe that is the problem?
Are you able to boot an instance within the OpenStack Cloud specifying the same network, using the m1.medium flavor?  I'd recommend checking the nova logs to see what more info can be found on the cause of the No Valid Host error.
-Heather
On Mon, Nov 27, 2017 at 5:22 PM, Navin Sridharan <navinsridharan at ymail.com> wrote:

Hi all,
I am fairly new to JUJU and am currently working on deploying OAI (Open Air Interface) on OPNFV using JOID installer. 
H/W used : HP- Proliant DL380G6 G6 bare metal box OS              : Ubuntu 16.04 Xenial
I have spun up 3 VM's using MAAS (Metal as a Service) that's been deployed in the bare metal box. JUJU has been installed in the bare metal and I am trying to bootstrap it to Openstack cloud whose control and compute nodes are hosted on these VM's. Ultimate objective is to deploy OAI model using JUJU in the Openstack cloud.
During bootsrapping using the below command, it throws an error "failed to bootstrap model: cannot start bootstrap instance: cannot run instance: No valid host was found."  I believe the issue is with the Openstack's network UUID that's passed on as a parameter while bootstrapping. juju bootstrap openstack --debug --config image-metadata-url=$SWIFT_URL/ simplestreams/images --config use-floating-ip=true --config network=private Below given is the snippet from the error log:  10:36:16 DEBUG juju.provider.openstack provider.go:1022 using network id "383fd64b-4c4c-497d-809d- 3bcf8ed72e1c"10:36:20 INFO  juju.provider.openstack provider.go:1146 trying to build instance in availability zone "nova"10:36:33 INFO  juju.provider.openstack provider.go:1126 Instance "78df0280-a1f0-4993-8416- c0be69050a11" in ERROR state with fault "No valid host was found. "10:36:33 INFO  juju.provider.openstack provider.go:1127 Deleting instance "78df0280-a1f0-4993-8416- c0be69050a11" in ERROR state10:36:33 INFO  juju.provider.openstack provider.go:1155 failed to build instance in availability zone "nova"10:36:33 ERROR juju.cmd.juju. commands bootstrap.go:496 failed to bootstrap model: cannot start bootstrap instance: cannot run instance: No valid host was found.  
>From the error log I see that it uses network id "383fd64b-4c4c-497d-809d- 3bcf8ed72e1c" which is the network id of private subnet and I confirmed that from the Openstack GUI (PFA screenshot), but then fails to bootstrap. I am stuck at this point in time and any response would be considered more than a help. Thank you all!!



Regards,Navin S
--
Juju mailing list
Juju at lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/ mailman/listinfo/juju





   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20171128/7ed4ce45/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: datauri-file.jpeg
Type: image/jpeg
Size: 141857 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/juju/attachments/20171128/7ed4ce45/attachment.jpeg>


More information about the Juju mailing list