You have domains in your octta openstack ? Or you didn't configure domains ?

________________________________
From: [email protected] on behalf of Arvind1 Sharma
Sent: Friday, May 05, 2017 6:37:50 AM
To: [email protected]
Subject: [onap-discuss] Onap installation on Openstack Ocata

Hi,

I'm trying to install ONAP on vanilla openstack. I'm using Ocata version of 
openstack. I'm getting following error. Pls help;

$ openstack stack create -t onap_openstack.yaml -e onap_opestack.env ONAP 
--debug
START with options: [u'stack', u'create', u'-t', u'onap_openstack.yaml', u'-e', 
u'onap_opestack.env', u'ONAP', u'--debug']
options: Namespace(access_token='***', access_token_endpoint='', 
access_token_type='', auth_type='', auth_url='http://192.168.100.26:5000/v3', 
cacert=None, cert='', client_id='', client_secret='***', cloud='', code='', 
debug=True, default_domain='default', default_domain_id='', 
default_domain_name='', deferred_help=False, discovery_endpoint='', 
domain_id='', domain_name='', endpoint='', identity_provider='', insecure=None, 
interface='', key='', log_file=None, openid_scope='', os_beta_command=False, 
os_compute_api_version='', os_identity_api_version='', os_image_api_version='', 
os_network_api_version='', os_object_api_version='', 
os_orchestration_api_version='1', os_project_id=None, os_project_name=None, 
os_volume_api_version='', passcode='', password='***', project_domain_id='', 
project_domain_name='', project_id='33cc5e873a47414bbccc9ee32eb34278', 
project_name='', protocol='', redirect_uri='', region_name='RegionOne', 
timing=False, token='***', trust_id='', url='', user_domain_id='', 
user_domain_name='', user_id='', username='admin', verbose_level=3, verify=None)
Auth plugin password selected
auth_config_hook(): {'auth_type': 'password', 'beta_command': False, 
u'compute_api_version': u'2', u'orchestration_api_version': '1', 
u'database_api_version': u'1.0', u'metering_api_version': u'2', 'auth_url': 
'http://192.168.100.26:5000/v3', u'network_api_version': u'2', u'message': u'', 
u'image_format': u'qcow2', 'networks': [], u'image_api_version': u'2', 
'verify': True, u'dns_api_version': u'2', u'object_store_api_version': u'1', 
u'status': u'active', u'container_infra_api_version': u'1', 'verbose_level': 3, 
'region_name': 'RegionOne', 'api_timeout': None, u'baremetal_api_version': 
u'1', 'auth': {'project_id': '33cc5e873a47414bbccc9ee32eb34278'}, 
'default_domain': 'default', u'container_api_version': u'1', 
u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', 'key': None, 
'timing': False, 'password': '***', u'application_catalog_api_version': u'1', 
'cacert': None, u'key_manager_api_version': u'v1', 'deferred_help': False, 
u'identity_api_version': u'2.0', u'volume_api_version': u'2', 'username': 
'admin', 'cert': None, u'secgroup_source': u'neutron', 'debug': True, 
u'interface': None, u'disable_vendor_agent': {}}
defaults: {u'auth_type': 'password', u'status': u'active', 
u'compute_api_version': u'2', 'key': None, u'database_api_version': u'1.0', 
'api_timeout': None, u'baremetal_api_version': u'1', u'image_api_version': 
u'2', u'container_infra_api_version': u'1', u'metering_api_version': u'2', 
u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', 
u'orchestration_api_version': u'1', 'cacert': None, u'network_api_version': 
u'2', u'message': u'', u'image_format': u'qcow2', 
u'application_catalog_api_version': u'1', u'key_manager_api_version': u'v1', 
'verify': True, u'identity_api_version': u'2.0', u'volume_api_version': u'2', 
'cert': None, u'secgroup_source': u'neutron', u'container_api_version': u'1', 
u'dns_api_version': u'2', u'object_store_api_version': u'1', u'interface': 
None, u'disable_vendor_agent': {}}
cloud cfg: {'auth_type': 'password', 'beta_command': False, 
u'compute_api_version': u'2', u'orchestration_api_version': '1', 
u'database_api_version': u'1.0', u'metering_api_version': u'2', 'auth_url': 
'http://192.168.100.26:5000/v3', u'network_api_version': u'2', u'message': u'', 
u'image_format': u'qcow2', 'networks': [], u'image_api_version': u'2', 
'verify': True, u'dns_api_version': u'2', u'object_store_api_version': u'1', 
u'status': u'active', u'container_infra_api_version': u'1', 'verbose_level': 3, 
'region_name': 'RegionOne', 'api_timeout': None, u'baremetal_api_version': 
u'1', 'auth': {'project_id': '33cc5e873a47414bbccc9ee32eb34278'}, 
'default_domain': 'default', u'container_api_version': u'1', 
u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', 'key': None, 
'timing': False, 'password': '***', u'application_catalog_api_version': u'1', 
'cacert': None, u'key_manager_api_version': u'v1', 'deferred_help': False, 
u'identity_api_version': u'2.0', u'volume_api_version': u'2', 'username': 
'admin', 'cert': None, u'secgroup_source': u'neutron', 'debug': True, 
u'interface': None, u'disable_vendor_agent': {}}
compute API version 2, cmd group openstack.compute.v2
network API version 2, cmd group openstack.network.v2
image API version 2, cmd group openstack.image.v2
volume API version 2, cmd group openstack.volume.v2
identity API version 2.0, cmd group openstack.identity.v2
object_store API version 1, cmd group openstack.object_store.v1
orchestration API version 1, cmd group openstack.orchestration.v1
Auth plugin password selected
auth_config_hook(): {'auth_type': 'password', 'beta_command': False, 
u'compute_api_version': u'2', u'orchestration_api_version': '1', 
u'database_api_version': u'1.0', u'metering_api_version': u'2', 'auth_url': 
'http://192.168.100.26:5000/v3', u'network_api_version': u'2', u'message': u'', 
u'image_format': u'qcow2', 'networks': [], u'image_api_version': u'2', 
'verify': True, u'dns_api_version': u'2', u'object_store_api_version': u'1', 
u'status': u'active', u'container_infra_api_version': u'1', 'verbose_level': 3, 
'region_name': 'RegionOne', 'api_timeout': None, u'baremetal_api_version': 
u'1', 'auth': {'project_id': '33cc5e873a47414bbccc9ee32eb34278'}, 
'default_domain': 'default', u'container_api_version': u'1', 
u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', 'key': None, 
'timing': False, 'password': '***', u'application_catalog_api_version': u'1', 
'cacert': None, u'key_manager_api_version': u'v1', 'deferred_help': False, 
u'identity_api_version': u'2.0', u'volume_api_version': u'2', 'username': 
'admin', 'cert': None, u'secgroup_source': u'neutron', 'debug': True, 
u'interface': None, u'disable_vendor_agent': {}}
Auth plugin password selected
auth_config_hook(): {'auth_type': 'password', 'beta_command': False, 
u'compute_api_version': u'2', u'orchestration_api_version': '1', 
u'database_api_version': u'1.0', u'metering_api_version': u'2', 'auth_url': 
'http://192.168.100.26:5000/v3', u'network_api_version': u'2', u'message': u'', 
u'image_format': u'qcow2', 'networks': [], u'image_api_version': u'2', 
'verify': True, u'dns_api_version': u'2', u'object_store_api_version': u'1', 
u'status': u'active', u'container_infra_api_version': u'1', 'verbose_level': 3, 
'region_name': 'RegionOne', 'api_timeout': None, u'baremetal_api_version': 
u'1', 'auth': {'project_id': '33cc5e873a47414bbccc9ee32eb34278'}, 
'default_domain': 'default', u'container_api_version': u'1', 
u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', 'key': None, 
'timing': False, 'password': '***', u'application_catalog_api_version': u'1', 
'cacert': None, u'key_manager_api_version': u'v1', 'deferred_help': False, 
u'identity_api_version': u'2.0', u'volume_api_version': u'2', 'username': 
'admin', 'cert': None, u'secgroup_source': u'neutron', 'debug': True, 
u'interface': None, u'disable_vendor_agent': {}}
command: stack create -> heatclient.osc.v1.stack.CreateStack
Auth plugin password selected
auth_config_hook(): {'auth_type': 'password', 'beta_command': False, 
u'compute_api_version': u'2', u'orchestration_api_version': '1', 
u'database_api_version': u'1.0', u'metering_api_version': u'2', 'auth_url': 
'http://192.168.100.26:5000/v3', u'network_api_version': u'2', u'message': u'', 
u'image_format': u'qcow2', 'networks': [], u'image_api_version': u'2', 
'verify': True, u'dns_api_version': u'2', u'object_store_api_version': u'1', 
u'status': u'active', u'container_infra_api_version': u'1', 'verbose_level': 3, 
'region_name': 'RegionOne', 'api_timeout': None, u'baremetal_api_version': 
u'1', 'auth': {'project_id': '33cc5e873a47414bbccc9ee32eb34278'}, 
'default_domain': 'default', u'container_api_version': u'1', 
u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', 'key': None, 
'timing': False, 'password': '***', u'application_catalog_api_version': u'1', 
'cacert': None, u'key_manager_api_version': u'v1', 'deferred_help': False, 
u'identity_api_version': u'2.0', u'volume_api_version': u'2', 'username': 
'admin', 'cert': None, u'secgroup_source': u'neutron', 'debug': True, 
u'interface': None, u'disable_vendor_agent': {}}
Using auth plugin: password
Using parameters {'username': 'admin', 'password': '***', 'project_id': 
'33cc5e873a47414bbccc9ee32eb34278', 'auth_url': 'http://192.168.100.26:5000/v3'}
Get auth_ref
REQ: curl -g -i -X GET http://192.168.100.26:5000/v3 -H "Accept: 
application/json" -H "User-Agent: osc-lib/1.5.0 keystoneauth1/2.19.0 
python-requests/2.12.5 CPython/2.7.12"
Starting new HTTP connection (1): 192.168.100.26
http://192.168.100.26:5000 "GET /v3 HTTP/1.1" 200 257
RESP: [200] Date: Fri, 05 May 2017 06:36:58 GMT Server: Apache/2.4.18 (Ubuntu) 
Vary: X-Auth-Token x-openstack-request-id: 
req-34f6da28-449f-41f9-bb0d-a03e8b026c94 Content-Length: 257 Keep-Alive: 
timeout=5, max=100 Connection: Keep-Alive Content-Type: application/json
RESP BODY: {"version": {"status": "stable", "updated": "2017-02-22T00:00:00Z", 
"media-types": [{"base": "application/json", "type": 
"application/vnd.openstack.identity-v3+json"}], "id": "v3.8", "links": 
[{"href": "http://192.168.100.26/identity/v3/";, "rel": "self"}]}}

GET call to None for http://192.168.100.26:5000/v3 used request id 
req-34f6da28-449f-41f9-bb0d-a03e8b026c94
Making authentication request to http://192.168.100.26/identity/v3/auth/tokens
Starting new HTTP connection (1): 192.168.100.26
http://192.168.100.26:80 "POST /identity/v3/auth/tokens HTTP/1.1" 400 232
Request returned failure status: 400
Expecting to find domain in user. The server could not comply with the request 
since it is either malformed or otherwise incorrect. The client is assumed to 
be in error. (HTTP 400) (Request-ID: req-56ed32e8-5b68-464b-907e-a6d6e98953f4)
Traceback (most recent call last):
  File 
"/home/arvind/.virtualenvs/onap/local/lib/python2.7/site-packages/cliff/app.py",
 line 393, in run_subcommand
    self.prepare_to_run_command(cmd)
  File 
"/home/arvind/.virtualenvs/onap/local/lib/python2.7/site-packages/openstackclient/shell.py",
 line 200, in prepare_to_run_command
    return super(OpenStackShell, self).prepare_to_run_command(cmd)
  File 
"/home/arvind/.virtualenvs/onap/local/lib/python2.7/site-packages/osc_lib/shell.py",
 line 452, in prepare_to_run_command
    self.client_manager.auth_ref
  File 
"/home/arvind/.virtualenvs/onap/local/lib/python2.7/site-packages/osc_lib/clientmanager.py",
 line 231, in auth_ref
    self._auth_ref = self.auth.get_auth_ref(self.session)
  File 
"/home/arvind/.virtualenvs/onap/local/lib/python2.7/site-packages/keystoneauth1/identity/generic/base.py",
 line 198, in get_auth_ref
    return self._plugin.get_auth_ref(session, **kwargs)
  File 
"/home/arvind/.virtualenvs/onap/local/lib/python2.7/site-packages/keystoneauth1/identity/v3/base.py",
 line 167, in get_auth_ref
    authenticated=False, log=False, **rkwargs)
  File 
"/home/arvind/.virtualenvs/onap/local/lib/python2.7/site-packages/keystoneauth1/session.py",
 line 766, in post
    return self.request(url, 'POST', **kwargs)
  File 
"/home/arvind/.virtualenvs/onap/local/lib/python2.7/site-packages/osc_lib/session.py",
 line 40, in request
    resp = super(TimingSession, self).request(url, method, **kwargs)
  File 
"/home/arvind/.virtualenvs/onap/local/lib/python2.7/site-packages/positional/__init__.py",
 line 101, in inner
    return wrapped(*args, **kwargs)
  File 
"/home/arvind/.virtualenvs/onap/local/lib/python2.7/site-packages/keystoneauth1/session.py",
 line 655, in request
    raise exceptions.from_response(resp, method, url)
BadRequest: Expecting to find domain in user. The server could not comply with 
the request since it is either malformed or otherwise incorrect. The client is 
assumed to be in error. (HTTP 400) (Request-ID: 
req-56ed32e8-5b68-464b-907e-a6d6e98953f4)
clean_up CreateStack: Expecting to find domain in user. The server could not 
comply with the request since it is either malformed or otherwise incorrect. 
The client is assumed to be in error. (HTTP 400) (Request-ID: 
req-56ed32e8-5b68-464b-907e-a6d6e98953f4)
Traceback (most recent call last):
  File 
"/home/arvind/.virtualenvs/onap/local/lib/python2.7/site-packages/osc_lib/shell.py",
 line 135, in run
    ret_val = super(OpenStackShell, self).run(argv)
  File 
"/home/arvind/.virtualenvs/onap/local/lib/python2.7/site-packages/cliff/app.py",
 line 279, in run
    result = self.run_subcommand(remainder)
  File 
"/home/arvind/.virtualenvs/onap/local/lib/python2.7/site-packages/osc_lib/shell.py",
 line 180, in run_subcommand
    ret_value = super(OpenStackShell, self).run_subcommand(argv)
  File 
"/home/arvind/.virtualenvs/onap/local/lib/python2.7/site-packages/cliff/app.py",
 line 393, in run_subcommand
    self.prepare_to_run_command(cmd)
  File 
"/home/arvind/.virtualenvs/onap/local/lib/python2.7/site-packages/openstackclient/shell.py",
 line 200, in prepare_to_run_command
    return super(OpenStackShell, self).prepare_to_run_command(cmd)
  File 
"/home/arvind/.virtualenvs/onap/local/lib/python2.7/site-packages/osc_lib/shell.py",
 line 452, in prepare_to_run_command
    self.client_manager.auth_ref
  File 
"/home/arvind/.virtualenvs/onap/local/lib/python2.7/site-packages/osc_lib/clientmanager.py",
 line 231, in auth_ref
    self._auth_ref = self.auth.get_auth_ref(self.session)
  File 
"/home/arvind/.virtualenvs/onap/local/lib/python2.7/site-packages/keystoneauth1/identity/generic/base.py",
 line 198, in get_auth_ref
    return self._plugin.get_auth_ref(session, **kwargs)
  File 
"/home/arvind/.virtualenvs/onap/local/lib/python2.7/site-packages/keystoneauth1/identity/v3/base.py",
 line 167, in get_auth_ref
    authenticated=False, log=False, **rkwargs)
  File 
"/home/arvind/.virtualenvs/onap/local/lib/python2.7/site-packages/keystoneauth1/session.py",
 line 766, in post
    return self.request(url, 'POST', **kwargs)
  File 
"/home/arvind/.virtualenvs/onap/local/lib/python2.7/site-packages/osc_lib/session.py",
 line 40, in request
    resp = super(TimingSession, self).request(url, method, **kwargs)
  File 
"/home/arvind/.virtualenvs/onap/local/lib/python2.7/site-packages/positional/__init__.py",
 line 101, in inner
    return wrapped(*args, **kwargs)
  File 
"/home/arvind/.virtualenvs/onap/local/lib/python2.7/site-packages/keystoneauth1/session.py",
 line 655, in request
    raise exceptions.from_response(resp, method, url)
BadRequest: Expecting to find domain in user. The server could not comply with 
the request since it is either malformed or otherwise incorrect. The client is 
assumed to be in error. (HTTP 400) (Request-ID: 
req-56ed32e8-5b68-464b-907e-a6d6e98953f4)

END return value: 1



Best Regards
Arvind Kumar Sharma
Tata Consultancy Services
Cell:- +91-99-7170-1428
Mailto: [email protected]<mailto:[email protected]>
Website: http://www.tcs.com
____________________________________________
Experience certainty. IT Services
Business Solutions
Consulting
____________________________________________

=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
This message and the information contained herein is proprietary and 
confidential and subject to the Amdocs policy statement,

you may review at https://www.amdocs.com/about/email-disclaimer 
<https://www.amdocs.com/about/email-disclaimer>
_______________________________________________
onap-discuss mailing list
[email protected]
https://lists.onap.org/mailman/listinfo/onap-discuss

Reply via email to