Atif, It seems like, you didn't export your admin parameters. Here [1] you can find similar issue described. If it's not the answer, you can try to export admin_token [2] and retry step of creating services.
Dariusz [1] https://ask.openstack.org/en/question/98041/missing-value-auth-url-required-for-auth-plugin-password/ [2] http://docs.openstack.org/developer/keystone/configuration.html#admin-token 2016-12-18 22:41 GMT-06:00 Atif Munir <ati...@gmail.com>: > > Hi Dariusz, I have used the procedure suggested by your and below is the > output. Thank you for your kind reply and support. > > > > root@ubuntu:~# openstack --debug project create --domain default > --description > START with options: [u'--debug', u'project', u'create', u'--domain', > u'default', u'--description'] > 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, old_profile=None, openid_scope='', > os_baremetal_api_version='1.9', os_beta_command=False, > os_compute_api_version='', os_dns_api_version='2', > os_identity_api_version='', os_image_api_version='', > os_key_manager_api_version='1', 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='***', profile=None, project_domain_id='', > project_domain_name='', project_id='', project_name='', protocol='', > redirect_uri='', region_name='', 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': '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': '2', u'object_store_api_version': u'1', u'status': > u'active', 'verbose_level': 3, 'region_name': '', 'api_timeout': None, > u'baremetal_api_version': '1.9', '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, 'cacert': > None, u'key_manager_api_version': '1', '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': {}} > Deferring keystone exception: argument of type 'OSC_Config' is not iterable > 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'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'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', > 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': '2', u'object_store_api_version': u'1', u'status': > u'active', 'verbose_level': 3, 'region_name': '', 'api_timeout': None, > u'baremetal_api_version': '1.9', '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, 'cacert': > None, u'key_manager_api_version': '1', '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 > baremetal API version 1.9, cmd group openstack.baremetal.v1 > orchestration API version 1, cmd group openstack.orchestration.v1 > dns API version 2, cmd group openstack.dns.v2 > key_manager API version 1, cmd group openstack.key_manager.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', > 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': '2', u'object_store_api_version': u'1', u'status': > u'active', 'verbose_level': 3, 'region_name': '', 'api_timeout': None, > u'baremetal_api_version': '1.9', '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, 'cacert': > None, u'key_manager_api_version': '1', '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': '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': '2', u'object_store_api_version': u'1', u'status': > u'active', 'verbose_level': 3, 'region_name': '', 'api_timeout': None, > u'baremetal_api_version': '1.9', '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, 'cacert': > None, u'key_manager_api_version': '1', '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': {}} > Deferring keystone exception: Missing value auth-url required for auth > plugin password > command: project create -> > openstackclient.identity.v2_0.project.CreateProject > Missing value auth-url required for auth plugin password > Traceback (most recent call last): > File "/usr/local/lib/python2.7/dist-packages/cliff/app.py", line 393, in > run_subcommand > self.prepare_to_run_command(cmd) > File "/usr/local/lib/python2.7/dist-packages/openstackclient/shell.py", > line 198, in prepare_to_run_command > return super(OpenStackShell, self).prepare_to_run_command(cmd) > File "/usr/local/lib/python2.7/dist-packages/osc_lib/shell.py", line 429, > in prepare_to_run_command > self.client_manager.setup_auth() > File > "/usr/local/lib/python2.7/dist-packages/openstackclient/common/clientmanager.py", > line 78, in setup_auth > self._cli_options.config, > File > "/usr/local/lib/python2.7/dist-packages/openstackclient/common/client_config.py", > line 195, in load_auth_plugin > config = self._validate_auth(config, loader) > File > "/usr/local/lib/python2.7/dist-packages/openstackclient/common/client_config.py", > line 257, 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/local/lib/python2.7/dist-packages/osc_lib/shell.py", line 135, > in run > ret_val = super(OpenStackShell, self).run(argv) > File "/usr/local/lib/python2.7/dist-packages/cliff/app.py", line 279, in > run > result = self.run_subcommand(remainder) > File "/usr/local/lib/python2.7/dist-packages/osc_lib/shell.py", line 180, > in run_subcommand > ret_value = super(OpenStackShell, self).run_subcommand(argv) > File "/usr/local/lib/python2.7/dist-packages/cliff/app.py", line 393, in > run_subcommand > self.prepare_to_run_command(cmd) > File "/usr/local/lib/python2.7/dist-packages/openstackclient/shell.py", > line 198, in prepare_to_run_command > return super(OpenStackShell, self).prepare_to_run_command(cmd) > File "/usr/local/lib/python2.7/dist-packages/osc_lib/shell.py", line 429, > in prepare_to_run_command > self.client_manager.setup_auth() > File > "/usr/local/lib/python2.7/dist-packages/openstackclient/common/clientmanager.py", > line 78, in setup_auth > self._cli_options.config, > File > "/usr/local/lib/python2.7/dist-packages/openstackclient/common/client_config.py", > line 195, in load_auth_plugin > config = self._validate_auth(config, loader) > File > "/usr/local/lib/python2.7/dist-packages/openstackclient/common/client_config.py", > line 257, 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@ubuntu:~# > > > On Fri, Dec 16, 2016 at 7:36 PM, Dariusz Śmigiel <smigiel.dari...@gmail.com> > wrote: >> >> Hey Atif, >> According to what you've sent, you could have some kind of >> misconfiguration. It's possible, that your keystone doesn't work. >> Everything depends on, how did you setup your environment, but you can >> try to verify what's wrong by using debug command: >> openstack --debug project create --domain default --description >> "Service Project" service >> >> or diving directly to logs and looking there for some tips, what could >> go wrong (in /opt/stack/logs or /var/log/keystone). >> >> Then we can try to see, what could go wrong. >> >> Good luck, >> Dariusz >> >> 2016-12-16 4:53 GMT-06:00 Atif Munir <ati...@gmail.com>: >> > >> > Hi Folks, >> > >> > While doing my installation, I am getting this error, can anyone help on >> > this. Thanks a lot. >> > >> > >> > root@ubuntu:~# openstack project create --domain default \ >> >> --description "Service Project" service >> > Discovering versions from the identity service failed when creating the >> > password plugin. Attempting to determine version from URL. >> > Service Unavailable (HTTP 503) >> > root@ubuntu:~# >> > >> > >> > Regards, >> > Atif Munir >> > >> > _______________________________________________ >> > 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 >> > >> >> >> >> -- >> Darek "dasm" Śmigiel >> >> -------------------------------------------- >> Q: Why is this email five sentences or less? >> A: http://five.sentenc.es > > -- Darek "dasm" Śmigiel -------------------------------------------- Q: Why is this email five sentences or less? A: http://five.sentenc.es _______________________________________________ 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