This may be due to misconfiguration in nova.conf on the compute node. You may 
have provided incorrect information how to contact Keystone. Double-check the 
[keystone_authtoken] section, in particular the URLs in there.
 
Also check the Nova compute log on the compute host for additional information.

 

From: Sashan Govender [mailto:sash...@gmail.com] 
Sent: Monday, January 15, 2018 2:19 PM
To: openstack@lists.openstack.org
Subject: [Openstack] Could not determine a suitable URL for the plugin

 

Hi

 

I've setup an openstack system based on the instructions here:

 

https://docs.openstack.org/newton/

 

I'm trying to launch an instance:

$ . demo-openrc 

$ openstack server create --flavor m1.nano --image cirros --nic 
net-id=da77f469-f594-42f6-ab18-8b907b3359e4 --security-group default --key-name 
mykey provider-instance

 

but get this error in the nova-conductor log file:

 

2018-01-15 15:46:48.938 2566 WARNING nova.scheduler.utils 
[req-5b47171a-f74e-4e8e-8659-89cce144f284 82858c289ca444bf90fcd41123d069ce 
61b0b2b23b08419596bd923f2c544956 - - -] [instance: 
e1cfc9a9-9c21-435f-a9dc-c7c692e06c29] Setting instance to ERROR state.

2018-01-15 16:09:51.026 2567 ERROR nova.scheduler.utils 
[req-afff24dc-1ee0-469f-9d99-2abcb4810c7a 82858c289ca444bf90fcd41123d069ce 
61b0b2b23b08419596bd923f2c544956 - - -] [instance: 
0ba01247-5513-4c58-bf04-18092fff2622] Error from last host: compute (node 
compute): [u'Traceback (most recent call last):\n', u'  File 
"/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1787, in 
_do_build_and_run_instance\n    filter_properties)\n', u'  File 
"/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1985, in 
_build_and_run_instance\n    instance_uuid=instance.uuid, 
reason=six.text_type(e))\n', u'RescheduledException: Build of instance 
0ba01247-5513-4c58-bf04-18092fff2622 was re-scheduled: Could 

not determine a suitable URL for the plugin\n']

2018-01-15 16:09:51.057 2567 WARNING nova.scheduler.utils 
[req-afff24dc-1ee0-469f-9d99-2abcb4810c7a 82858c289ca444bf90fcd41123d069ce 
61b0b2b23b08419596bd923f2c544956 - - -] Failed to compute_task_build_instances: 
No valid host was found. There are not enough hosts available.

Traceback (most recent call last):

 

  File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/server.py", line 
199, in inner

    return func(*args, **kwargs)

 

  File "/usr/lib/python2.7/site-packages/nova/scheduler/manager.py", line 104, 
in select_destinations

    dests = self.driver.select_destinations(ctxt, spec_obj)

 

  File "/usr/lib/python2.7/site-packages/nova/scheduler/filter_scheduler.py", 
line 74, in select_destinations

    raise exception.NoValidHost(reason=reason)

 

NoValidHost: No valid host was found. There are not enough hosts available.

 

2018-01-15 16:09:51.057 2567 WARNING nova.scheduler.utils 
[req-afff24dc-1ee0-469f-9d99-2abcb4810c7a 82858c289ca444bf90fcd41123d069ce 
61b0b2b23b08419596bd923f2c544956 - - -] [instance: 
0ba01247-5513-4c58-bf04-18092fff2622] Setting instance to ERROR state.

 

Any tips how to resolve this?

 

Thanks

 

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to