Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

ocata openstack project create --domain Default --description "Service Project" service

hello everyone, I have the same problem with CentOS7, Ocata.

[root@ocataControl ~]# export | grep OS_
declare -x OS_AUTH_URL="http://ocataControl:35357/v3"
declare -x OS_IDENTITY_API_VERSION="3"
declare -x OS_PASSWORD="adminpwd"
declare -x OS_PROJECT_DOMAIN_NAME="Default"
declare -x OS_PROJECT_NAME="admin"
declare -x OS_USERNAME="admin"
declare -x OS_USER_DOMAIN_NAME="Default"`

[root@ocataControl ~]# 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.
Internal Server Error (HTTP 500)

[root@ocataControl ~]# 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.
Internal Server Error (HTTP 500)

Error Log:

2017-05-29 17:14:50.008 14799 DEBUG keystoneauth.session [  admin] Request returned failure status: 500
2017-05-29 17:14:50.008 14799 WARNING keystoneauth.identity.generic.base [  admin] Discovering versions from the identity service failed when creating the password plugin. Attempting to determine version from URL.
2017-05-29 17:14:50.009 14799 DEBUG keystoneauth.identity.v3.base [  admin] Making authentication request to http://localhost:35357/v3/auth/tokens
2017-05-29 17:14:50.009 14799 INFO requests.packages.urllib3.connectionpool [  admin] Resetting dropped connection: localhost
2017-05-29 17:14:50.624 14799 DEBUG requests.packages.urllib3.connectionpool [  admin] "POST /v3/auth/tokens HTTP/1.1" 500 527
2017-05-29 17:14:50.625 14799 DEBUG keystoneauth.session [  admin] Request returned failure status: 500
2017-05-29 17:14:50.625 14799 ERROR openstack [  admin] Internal Server Error (HTTP 500)
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/cliff/app.py", line 393, in run_subcommand
self.prepare_to_run_command(cmd)
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 198, in prepare_to_run_command
return super(OpenStackShell, self).prepare_to_run_command(cmd)
File "/usr/lib/python2.7/site-packages/osc_lib/shell.py", line 457, in prepare_to_run_command
self.client_manager.auth_ref
File "/usr/lib/python2.7/site-packages/osc_lib/clientmanager.py", line 215, in auth_ref
self._auth_ref = self.auth.get_auth_ref(self.session)
File "/usr/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 "/usr/lib/python2.7/site-packages/keystoneauth1/identity/v3/base.py", line 167, in get_auth_ref
authenticated=False, log=False, **rkwargs)
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 766, in post
return self.request(url, 'POST', **kwargs)
File "/usr/lib/python2.7/site-packages/osc_lib/session.py", line 40, in request
resp = super(TimingSession, self).request(url, method, **kwargs)
File "/usr/lib/python2.7/site-packages/positional/__init__.py", line 101, in inner
return wrapped(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 655, in request
raise exceptions.from_response(resp, method, url)
InternalServerError: Internal Server Error (HTTP 500)
2017-05-29 17:14:50.662 14799 DEBUG osc_lib.shell [  admin] clean_up ListProject: Internal Server Error (HTTP 500)
2017-05-29 17:14:50.662 14799 ERROR osc_lib.shell [  admin] Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/osc_lib/shell.py", line 135, in run
ret_val = super(OpenStackShell, self).run(argv)
File "/usr/lib/python2.7/site-packages/cliff/app.py", line 279, in run
result = self.run_subcommand(remainder)
File "/usr/lib/python2.7/site-packages/osc_lib/shell.py", line 180, in run_subcommand
ret_value = super(OpenStackShell, self).run_subcommand(argv)
File "/usr/lib/python2.7/site-packages/cliff/app.py", line 393, in run_subcommand
self.prepare_to_run_command(cmd)
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 198, in prepare_to_run_command
return super(OpenStackShell, self).prepare_to_run_command(cmd)
File "/usr/lib/python2.7/site-packages/osc_lib/shell.py", line 457, in prepare_to_run_command
self.client_manager.auth_ref
File "/usr/lib/python2.7/site-packages/osc_lib/clientmanager.py", line 215, in auth_ref
self._auth_ref = self.auth.get_auth_ref(self.session)
File "/usr/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 "/usr/lib/python2.7/site-packages/keystoneauth1/identity/v3/base.py", line 167, in get_auth_ref
authenticated=False, log=False, **rkwargs)
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 766, in post
return self.request(url, 'POST', **kwargs)
File "/usr/lib/python2.7/site-packages/osc_lib/session.py", line 40, in request
resp = super(TimingSession, self).request(url, method, **kwargs)
File "/usr/lib/python2.7/site-packages/positional/__init__.py", line 101, in inner
return wrapped(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 655, in request
raise exceptions.from_response(resp, method, url)
InternalServerError: Internal Server Error (HTTP 500)

2017-05-29 17:14:50.662 14799 INFO osc_lib.shell [  admin] END return value: 1

any one can help? Thanks I install the ocata according to https://docs.openstack.org/ocata/install-guide-rdo/overview.html

ocata openstack project create --domain Default --description "Service Project" service

hello everyone, I have the same problem with CentOS7, Ocata.

[root@ocataControl ~]# export | grep OS_
declare -x OS_AUTH_URL="http://ocataControl:35357/v3"
declare -x OS_IDENTITY_API_VERSION="3"
declare -x OS_PASSWORD="adminpwd"
declare -x OS_PROJECT_DOMAIN_NAME="Default"
declare -x OS_PROJECT_NAME="admin"
declare -x OS_USERNAME="admin"
declare -x OS_USER_DOMAIN_NAME="Default"`

[root@ocataControl ~]# 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.
Internal Server Error (HTTP 500)

[root@ocataControl ~]# 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.
Internal Server Error (HTTP 500)

openstack project list --log-file openstack.log --debug

Error Log:

2017-05-29 17:14:50.008 14799 DEBUG keystoneauth.session [  admin] Request returned failure status: 500
2017-05-29 17:14:50.008 14799 WARNING keystoneauth.identity.generic.base [  admin] Discovering versions from the identity service failed when creating the password plugin. Attempting to determine version from URL.
2017-05-29 17:14:50.009 14799 DEBUG keystoneauth.identity.v3.base [  admin] Making authentication request to http://localhost:35357/v3/auth/tokens
2017-05-29 17:14:50.009 14799 INFO requests.packages.urllib3.connectionpool [  admin] Resetting dropped connection: localhost
2017-05-29 17:14:50.624 14799 DEBUG requests.packages.urllib3.connectionpool [  admin] "POST /v3/auth/tokens HTTP/1.1" 500 527
2017-05-29 17:14:50.625 14799 DEBUG keystoneauth.session [  admin] Request returned failure status: 500
2017-05-29 17:14:50.625 14799 ERROR openstack [  admin] Internal Server Error (HTTP 500)
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/cliff/app.py", line 393, in run_subcommand
self.prepare_to_run_command(cmd)
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 198, in prepare_to_run_command
return super(OpenStackShell, self).prepare_to_run_command(cmd)
File "/usr/lib/python2.7/site-packages/osc_lib/shell.py", line 457, in prepare_to_run_command
self.client_manager.auth_ref
File "/usr/lib/python2.7/site-packages/osc_lib/clientmanager.py", line 215, in auth_ref
self._auth_ref = self.auth.get_auth_ref(self.session)
File "/usr/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 "/usr/lib/python2.7/site-packages/keystoneauth1/identity/v3/base.py", line 167, in get_auth_ref
authenticated=False, log=False, **rkwargs)
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 766, in post
return self.request(url, 'POST', **kwargs)
File "/usr/lib/python2.7/site-packages/osc_lib/session.py", line 40, in request
resp = super(TimingSession, self).request(url, method, **kwargs)
File "/usr/lib/python2.7/site-packages/positional/__init__.py", line 101, in inner
return wrapped(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 655, in request
raise exceptions.from_response(resp, method, url)
InternalServerError: Internal Server Error (HTTP 500)
2017-05-29 17:14:50.662 14799 DEBUG osc_lib.shell [  admin] clean_up ListProject: Internal Server Error (HTTP 500)
2017-05-29 17:14:50.662 14799 ERROR osc_lib.shell [  admin] Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/osc_lib/shell.py", line 135, in run
ret_val = super(OpenStackShell, self).run(argv)
File "/usr/lib/python2.7/site-packages/cliff/app.py", line 279, in run
result = self.run_subcommand(remainder)
File "/usr/lib/python2.7/site-packages/osc_lib/shell.py", line 180, in run_subcommand
ret_value = super(OpenStackShell, self).run_subcommand(argv)
File "/usr/lib/python2.7/site-packages/cliff/app.py", line 393, in run_subcommand
self.prepare_to_run_command(cmd)
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 198, in prepare_to_run_command
return super(OpenStackShell, self).prepare_to_run_command(cmd)
File "/usr/lib/python2.7/site-packages/osc_lib/shell.py", line 457, in prepare_to_run_command
self.client_manager.auth_ref
File "/usr/lib/python2.7/site-packages/osc_lib/clientmanager.py", line 215, in auth_ref
self._auth_ref = self.auth.get_auth_ref(self.session)
File "/usr/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 "/usr/lib/python2.7/site-packages/keystoneauth1/identity/v3/base.py", line 167, in get_auth_ref
authenticated=False, log=False, **rkwargs)
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 766, in post
return self.request(url, 'POST', **kwargs)
File "/usr/lib/python2.7/site-packages/osc_lib/session.py", line 40, in request
resp = super(TimingSession, self).request(url, method, **kwargs)
File "/usr/lib/python2.7/site-packages/positional/__init__.py", line 101, in inner
return wrapped(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 655, in request
raise exceptions.from_response(resp, method, url)
InternalServerError: Internal Server Error (HTTP 500)

2017-05-29 17:14:50.662 14799 INFO osc_lib.shell [  admin] END return value: 1

any one can help? Thanks I install the ocata according to https://docs.openstack.org/ocata/install-guide-rdo/overview.html

ocata openstack project create --domain Default --description "Service Project" service

hello everyone, I have the same problem with CentOS7, Ocata.

[root@ocataControl ~]# export | grep OS_
declare -x OS_AUTH_URL="http://ocataControl:35357/v3"
declare -x OS_IDENTITY_API_VERSION="3"
declare -x OS_PASSWORD="adminpwd"
declare -x OS_PROJECT_DOMAIN_NAME="Default"
declare -x OS_PROJECT_NAME="admin"
declare -x OS_USERNAME="admin"
declare -x OS_USER_DOMAIN_NAME="Default"`

[root@ocataControl ~]# 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.
Internal Server Error (HTTP 500)

[root@ocataControl ~]# 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.
Internal Server Error (HTTP 500)

It seems like there's something wrong

keystone-manage --log-file /home/stack/keystonmanage.log  --debug bootstrap \
--bootstrap-password adminpwd  \
--bootstrap-admin-url http://localhost:35357/v3/  \
--bootstrap-internal-url http://localhost:5000/v3/  \
--bootstrap-public-url http://localhost:5000/v3/  \
--bootstrap-region-id RegionTwo 

2017-05-29 19:31:45.690 20451 DEBUG oslo_db.sqlalchemy.engines [-] MySQL server mode set to STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION _check_effective_sql_mode /usr/lib/python2.7/site-packages/oslo_db/sqlalchemy/engines.py:261
2017-05-29 19:31:45.722 20451 WARNING py.warnings [-] /usr/lib/python2.7/site-packages/pycadf/identifier.py:60: UserWarning: Invalid uuid. To ensure interoperability, identifiers should be a valid uuid.
warnings.warn('Invalid uuid. To ensure interoperability, identifiers '

2017-05-29 19:31:45.862 20451 INFO keystone.cmd.cli [-] Created domain default

openstack project list --log-file openstack.log --debug

Error Log:

2017-05-29 17:14:50.008 14799 DEBUG keystoneauth.session [  admin] Request returned failure status: 500
2017-05-29 17:14:50.008 14799 WARNING keystoneauth.identity.generic.base [  admin] Discovering versions from the identity service failed when creating the password plugin. Attempting to determine version from URL.
2017-05-29 17:14:50.009 14799 DEBUG keystoneauth.identity.v3.base [  admin] Making authentication request to http://localhost:35357/v3/auth/tokens
2017-05-29 17:14:50.009 14799 INFO requests.packages.urllib3.connectionpool [  admin] Resetting dropped connection: localhost
2017-05-29 17:14:50.624 14799 DEBUG requests.packages.urllib3.connectionpool [  admin] "POST /v3/auth/tokens HTTP/1.1" 500 527
2017-05-29 17:14:50.625 14799 DEBUG keystoneauth.session [  admin] Request returned failure status: 500
2017-05-29 17:14:50.625 14799 ERROR openstack [  admin] Internal Server Error (HTTP 500)
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/cliff/app.py", line 393, in run_subcommand
self.prepare_to_run_command(cmd)
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 198, in prepare_to_run_command
return super(OpenStackShell, self).prepare_to_run_command(cmd)
File "/usr/lib/python2.7/site-packages/osc_lib/shell.py", line 457, in prepare_to_run_command
self.client_manager.auth_ref
File "/usr/lib/python2.7/site-packages/osc_lib/clientmanager.py", line 215, in auth_ref
self._auth_ref = self.auth.get_auth_ref(self.session)
File "/usr/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 "/usr/lib/python2.7/site-packages/keystoneauth1/identity/v3/base.py", line 167, in get_auth_ref
authenticated=False, log=False, **rkwargs)
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 766, in post
return self.request(url, 'POST', **kwargs)
File "/usr/lib/python2.7/site-packages/osc_lib/session.py", line 40, in request
resp = super(TimingSession, self).request(url, method, **kwargs)
File "/usr/lib/python2.7/site-packages/positional/__init__.py", line 101, in inner
return wrapped(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 655, in request
raise exceptions.from_response(resp, method, url)
InternalServerError: Internal Server Error (HTTP 500)
2017-05-29 17:14:50.662 14799 DEBUG osc_lib.shell [  admin] clean_up ListProject: Internal Server Error (HTTP 500)
2017-05-29 17:14:50.662 14799 ERROR osc_lib.shell [  admin] Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/osc_lib/shell.py", line 135, in run
ret_val = super(OpenStackShell, self).run(argv)
File "/usr/lib/python2.7/site-packages/cliff/app.py", line 279, in run
result = self.run_subcommand(remainder)
File "/usr/lib/python2.7/site-packages/osc_lib/shell.py", line 180, in run_subcommand
ret_value = super(OpenStackShell, self).run_subcommand(argv)
File "/usr/lib/python2.7/site-packages/cliff/app.py", line 393, in run_subcommand
self.prepare_to_run_command(cmd)
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 198, in prepare_to_run_command
return super(OpenStackShell, self).prepare_to_run_command(cmd)
File "/usr/lib/python2.7/site-packages/osc_lib/shell.py", line 457, in prepare_to_run_command
self.client_manager.auth_ref
File "/usr/lib/python2.7/site-packages/osc_lib/clientmanager.py", line 215, in auth_ref
self._auth_ref = self.auth.get_auth_ref(self.session)
File "/usr/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 "/usr/lib/python2.7/site-packages/keystoneauth1/identity/v3/base.py", line 167, in get_auth_ref
authenticated=False, log=False, **rkwargs)
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 766, in post
return self.request(url, 'POST', **kwargs)
File "/usr/lib/python2.7/site-packages/osc_lib/session.py", line 40, in request
resp = super(TimingSession, self).request(url, method, **kwargs)
File "/usr/lib/python2.7/site-packages/positional/__init__.py", line 101, in inner
return wrapped(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 655, in request
raise exceptions.from_response(resp, method, url)
InternalServerError: Internal Server Error (HTTP 500)

2017-05-29 17:14:50.662 14799 INFO osc_lib.shell [  admin] END return value: 1

any one can help? Thanks I install the ocata according to https://docs.openstack.org/ocata/install-guide-rdo/overview.html