Ask Your Question
0

launch instance missing username

asked 2018-01-28 21:50:45 -0500

cbravo gravatar image

Hello,

I have installed centOS 7 with openstack Pike. Everything seems to be working fine (Dashboard, network, etc). But when I try to launch an instance I get an error on the instance.

Remote error: BadRequest Invalid input for field 'identity/password/user/password': None is not of type 'string' Failed validating 'type' in schema['properties']['identity']['properties']['password']['properties']['user']['properties']['password']: {

My nova-consoleauth.log shows the following:

2018-01-28 23:34:35.109 1822 ERROR nova.conductor.manager RemoteError: Remote error: BadRequest Invalid input for field 'identity/pas sword/user/password': None is not of type 'string' 2018-01-28 23:34:35.109 1822 ERROR nova.conductor.manager 2018-01-28 23:34:35.109 1822 ERROR nova.conductor.manager Failed validating 'type' in schema['properties']['identity']['properties'][ 'password']['properties']['user']['properties']['password']: 2018-01-28 23:34:35.109 1822 ERROR nova.conductor.manager {'type': 'string'} 2018-01-28 23:34:35.109 1822 ERROR nova.conductor.manager 2018-01-28 23:34:35.109 1822 ERROR nova.conductor.manager On instance['identity']['password']['user']['password']: 2018-01-28 23:34:35.109 1822 ERROR nova.conductor.manager None (HTTP 400) (Request-ID: req-65be0a9d-9a42-4aa3-8494-12ce2317dbca) 2018-01-28 23:34:35.109 1822 ERROR nova.conductor.manager [u'Traceback (most recent call last):\n', u' File "/usr/lib/python2.7/site -packages/oslo_messaging/rpc/server.py", line 160, in _process_incoming\n res = self.dispatcher.dispatch(message)\n', u' File "/u sr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 213, in dispatch\n return self._do_dispatch(endpoint, metho d, ctxt, args)\n', u' File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 183, in _do_dispatch\n resul t = func(ctxt, *new_args)\n', u' File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/server.py", line 232, in inner\n retu rn func(args, *kwargs)\n', u' File "/usr/lib/python2.7/site-packages/nova/scheduler/manager.py", line 124, in select_destinations\ n res = self.placement_client.get_allocation_candidates(resources)\n', u' File "/usr/lib/python2.7/site-packages/nova/scheduler/c lient/__init__.py", line 37, in __run_method\n return getattr(self.instance, __name)(args, *kwargs)\n', u' File "/usr/lib/pytho n2.7/site-packages/nova/scheduler/client/report.py", line 56, in wrapper\n return f(self, *a, *k)\n', u' File "/usr/lib/python2. 7/site-packages/nova/scheduler/client/report.py", line 336, in get_allocation_candidates\n resp = self.get(url, version=\'1.10\')\ n', u' File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 258, in get\n endpoint_filter=self.ks_filter , raise_exc=False, *kwargs)\n', u' File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 845, in get\n return s elf.request(url, \'GET\', *kwargs)\n', u' File "/usr/lib/python2.7/site-packages/positional/__init__.py", line 101, in inner\n r eturn wrapped(args, *kwargs)\n', u' File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 578, in request\n au th_headers = self.get_auth_headers(auth)\n', u' File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 905, in get_a uth_headers\n return auth.get_headers(self ...

(more)
edit retag flag offensive close merge delete

Comments

hello, have you have generated the key-pairs before creating instances.

TijoV gravatar imageTijoV ( 2018-01-29 01:40:20 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2018-01-29 15:15:45 -0500

cbravo gravatar image

I managed to fix the error. It was a missing password on the nova.conf file because I forgot to delete the # comment sign.

edit flag offensive delete link more

Comments

Oh, good to hear that, can you show which parameter was that in nova.conf file.

TijoV gravatar imageTijoV ( 2018-01-29 22:45:29 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2018-01-28 21:50:45 -0500

Seen: 161 times

Last updated: Jan 29 '18