Unable to launch an instance

asked 2018-06-01 05:36:57 -0500

Abhi1988 gravatar image

Failing while creating an instance as below

2018-06-01 12:07:11.218 6800 ERROR nova.scheduler.utils [req-d7decb2e-b75f-4f73-8666-799badbb0e41 15f5b7bee619432880240dbbd5a42c89 98c2bf7cd43f4f108de86b6eee207ecd - - -] [instance: 334b80c0-ab52-4bfe-9947-63ca02b0897f] Error from last host: http://slabnode1210.netact.nsn-rdnet.net (node http://slabnode1210.netact.nsn-rdnet.net): [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 334b80c0-ab52-4bfe-9947-63ca02b0897f was re-scheduled: The request you have made requires authentication. (HTTP 401) (Request-ID: req-a1969249-59f9-4173-b377-72e74cb5f813)\n']

Any idea on what kind of authentication it is asking for? There is already password-less authentication between all the compute nodes and the controller node back and fro.

edit retag flag offensive close merge delete

Comments

There should be more information in the compute log file on the compute host slabnode1210.netact.nsn-rdnet.net. In any case, this has nothing to do with ssh, but OpenStack authentication.

My guess: Incorrect config in nova.conf, section keystone_authtoken, on that compute host.

Bernd Bausch gravatar imageBernd Bausch ( 2018-06-01 05:57:54 -0500 )edit

For an example of how this should be configured, see https://docs.openstack.org/nova/queen....

Bernd Bausch gravatar imageBernd Bausch ( 2018-06-01 05:58:14 -0500 )edit

Tried adding configuration details to nova.conf under keystone_authtoken section on that compute host. But still didn't help!

Abhi1988 gravatar imageAbhi1988 ( 2018-06-04 04:16:01 -0500 )edit

Are you sure your authentication data is correct? Check the compute log for more info.

Bernd Bausch gravatar imageBernd Bausch ( 2018-06-04 10:01:04 -0500 )edit

There is no problem in the authentication data. I double checked it.

Abhi1988 gravatar imageAbhi1988 ( 2018-06-06 02:29:50 -0500 )edit