deploy openstack-pike on Ubuntu error creating project

openstack project create --domain default --description "service project" service

An unexpected error prevented the server from fulfilling your request. (HTTP 500) (Request-ID: req-28482418-895a-4784-a942-0bf857d5cd7c)

  • post-author-pic
    Guillermo M
    01-17-2019

    Hi Amy Marrich,

    I am following you detalied course of deploying openstack-pike on ubuntu o my servers, and i am facing issue with keystone, as you see the error, may i have your support urgently please. Thanks

  • post-author-pic
    Amy M
    01-17-2019

    Can you re-run the command with the --debug parameter or check the logs for more information?

    openstack project create --debug --domain default --description "service project" service

    This will provide more information as to what is going on behind the scenes and will hopefully narrow down the error.  Also do you get the same error if you do


    openstack service list

  • post-author-pic
    Guillermo M
    01-19-2019

    Thanks a lot Amy, for your reply,
    kindly, find the output of both commands:

    root@controller:~# openstack project create --debug --domain default --description "service project" service

    START with options: [u'project', u'create', u'--debug', u'--domain', u'default', u'--description', u'service project', u'service']

    options: Namespace(access_key='', access_secret='***', access_token='***', access_token_endpoint='', access_token_type='', auth_type='', auth_url='', cacert=None, cert='', client_id='', client_secret='***', cloud='', code='', consumer_key='', consumer_secret='***', debug=True, default_domain='default', default_domain_id='', default_domain_name='', deferred_help=False, discovery_endpoint='', domain_id='', domain_name='', endpoint='', identity_provider='', identity_provider_url='', 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_project_id=None, os_project_name=None, os_volume_api_version='', passcode='', password='***', profile='', project_domain_id='', project_domain_name='', project_id='', project_name='', protocol='', redirect_uri='', region_name='', service_provider_endpoint='', service_provider_entity_id='', timing=False, token='***', trust_id='', url='', user_domain_id='', user_domain_name='', user_id='', username='', 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': u'1', u'database_api_version': u'1.0', u'metering_api_version': u'2', 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': '', 'api_timeout': None, u'baremetal_api_version': u'1', 'auth': {}, '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, u'application_catalog_api_version': u'1', 'cacert': None, u'key_manager_api_version': u'v1', u'workflow_api_version': u'2', 'deferred_help': False, u'identity_api_version': u'2.0', u'volume_api_version': u'2', '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', u'workflow_api_version': u'2', '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': u'1', u'database_api_version': u'1.0', u'metering_api_version': u'2', 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': '', 'api_timeout': None, u'baremetal_api_version': u'1', 'auth': {}, '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, u'application_catalog_api_version': u'1', 'cacert': None, u'key_manager_api_version': u'v1', u'workflow_api_version': u'2', 'deferred_help': False, u'identity_api_version': u'2.0', u'volume_api_version': u'2', '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

    neutronclient API version 2, cmd group openstack.neutronclient.v2

    Auth plugin password selected

    auth_config_hook(): {'auth_type': 'password', 'beta_command': False, u'compute_api_version': u'2', u'orchestration_api_version': u'1', u'database_api_version': u'1.0', u'metering_api_version': u'2', 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': '', 'api_timeout': None, u'baremetal_api_version': u'1', 'auth': {}, '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, u'application_catalog_api_version': u'1', 'cacert': None, u'key_manager_api_version': u'v1', u'workflow_api_version': u'2', 'deferred_help': False, u'identity_api_version': u'2.0', u'volume_api_version': u'2', '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': u'1', u'database_api_version': u'1.0', u'metering_api_version': u'2', 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': '', 'api_timeout': None, u'baremetal_api_version': u'1', 'auth': {}, '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, u'application_catalog_api_version': u'1', 'cacert': None, u'key_manager_api_version': u'v1', u'workflow_api_version': u'2', 'deferred_help': False, u'identity_api_version': u'2.0', u'volume_api_version': u'2', 'cert': None, u'secgroup_source': u'neutron', 'debug': True, u'interface': None, u'disable_vendor_agent': {}}

    Missing value auth-url required for auth plugin password

    Traceback (most recent call last):

    File "/usr/lib/python2.7/dist-packages/cliff/app.py", line 393, in run_subcommand

    self.prepare_to_run_command(cmd)

    File "/usr/lib/python2.7/dist-packages/openstackclient/shell.py", line 195, in prepare_to_run_command

    validate=validate,

    File "/usr/lib/python2.7/dist-packages/os_client_config/config.py", line 1073, in get_one_cloud

    config = self._validate_auth(config, loader)

    File "/usr/lib/python2.7/dist-packages/osc_lib/cli/client_config.py", line 215, in _validate_auth

    raise occ_exceptions.OpenStackConfigException('\n'.join(msgs))

    OpenStackConfigException: Missing value auth-url required for auth plugin password

    clean_up CreateProject: Missing value auth-url required for auth plugin password

    Traceback (most recent call last):

    File "/usr/lib/python2.7/dist-packages/osc_lib/shell.py", line 134, in run

    ret_val = super(OpenStackShell, self).run(argv)

    File "/usr/lib/python2.7/dist-packages/cliff/app.py", line 279, in run

    result = self.run_subcommand(remainder)

    File "/usr/lib/python2.7/dist-packages/osc_lib/shell.py", line 169, in run_subcommand

    ret_value = super(OpenStackShell, self).run_subcommand(argv)

    File "/usr/lib/python2.7/dist-packages/cliff/app.py", line 393, in run_subcommand

    self.prepare_to_run_command(cmd)

    File "/usr/lib/python2.7/dist-packages/openstackclient/shell.py", line 195, in prepare_to_run_command

    validate=validate,

    File "/usr/lib/python2.7/dist-packages/os_client_config/config.py", line 1073, in get_one_cloud

    config = self._validate_auth(config, loader)

    File "/usr/lib/python2.7/dist-packages/osc_lib/cli/client_config.py", line 215, in _validate_auth

    raise occ_exceptions.OpenStackConfigException('\n'.join(msgs))

    OpenStackConfigException: Missing value auth-url required for auth plugin password

    END return value: 1

    root@controller:~#

    root@controller:~# openstack service list

    Missing value auth-url required for auth plugin password



  • post-author-pic
    Guillermo M
    01-19-2019

    Note, i used export commands as you mentioned in the course:

    root@controller:~# export OS_USERNAME=admin

    root@controller:~# export OS_PASSWORD=openstack

    root@controller:~# export OS_PROJECT_NAME=admin

    root@controller:~# export OS_USER_DOMAIN_NAME=Default

    root@controller:~# export OS_PROJECT_DOMAIN_NAME=Default

    root@controller:~# export OS_AUTH_URL=http://controller:35357/v3

    root@controller:~# export OS_IDENTITY_API_VERSION=3


  • post-author-pic
    Guillermo M
    01-19-2019

    also, i tried to add the missing directly to command:

    root@controller:~# openstack project create --auth-url http://controller:35357/v3 --domain default --description "service project" service

    Missing value auth-url required for auth plugin password

    root@controller:~#

    root@controller:~# openstack project create --os-auth-url http://controller:35357/v3 --domain default --description "service project" service

    Password:

    Missing parameter(s):

    Set a username with --os-username, OS_USERNAME, or auth.username

    root@controller:~#

    root@controller:~# openstack project create --os-auth-url http://controller:35357/v3 --os-username admin --domain default --description "service project" service

    Password:

    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-089bc954-9174-4087-afa4-818b883c6d2c)

    root@controller:~#

    root@controller:~# openstack project create --os-auth-url http://controller:35357/v3 --os-username admin --os-user-domain-name default --description "service project" service

    Ignoring domain related config user_domain_name because identity API version is 2.0

    Ignoring domain related config user_domain_name because identity API version is 2.0

    Ignoring domain related config user_domain_name because identity API version is 2.0

    Ignoring domain related config user_domain_name because identity API version is 2.0

    Password:

    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-02aba6f7-69d9-4b49-975b-e607882a11a2)

    root@controller:~#

    root@controller:~#

    root@controller:~#

    root@controller:~#

    root@controller:~#

    root@controller:~# openstack project create --os-auth-url http://controller:35357/v3 --os-username admin --os-user-domain-name Default --description "service project" service

    Ignoring domain related config user_domain_name because identity API version is 2.0

    Ignoring domain related config user_domain_name because identity API version is 2.0

    Ignoring domain related config user_domain_name because identity API version is 2.0

    Ignoring domain related config user_domain_name because identity API version is 2.0

    Password:

    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-dd1a9027-e0e4-4352-a10e-b8fa5fdad4ad)


  • post-author-pic
    Guillermo M
    01-21-2019

    Hi Amy,

    Any ideas how to overtake that error? Thanks a lot;

  • post-author-pic
    Amy M
    01-21-2019

    Ignoring domain related config user_domain_name because identity API version is 2.0

    I think that's the key issue here. Are you able to do 'openstack endpoint list'? to verify your endpoint is correct?

  • post-author-pic
    Guillermo M
    01-22-2019

    it shows same behavior:

    root@controller:~# openstack endpoint list

    Missing value auth-url required for auth plugin password

    root@controller:~# openstack endpoint list --os-auth-url http://controller:35357/v3/

    Password:

    Missing parameter(s):

    Set a username with --os-username, OS_USERNAME, or auth.username

Looking For Team Training?

Learn More