[openstack-dev] [Rally] Deployment check fails
Sai Sindhur Malleni
smalleni at redhat.com
Fri Aug 31 15:47:12 UTC 2018
Hey Andrey,
Here is the output of what you asked for
(overcloud) (.rally-venv) [stack at undercloud browbeat]$ rally env show
--only-spec
{
"existing at openstack": {
"endpoint": null,
"region_name": "",
"https_insecure": false,
"profiler_hmac_key": null,
"admin": {
"username": "admin",
"project_name": "admin",
"user_domain_name": "Default",
"password": "kYbMNEdPwGfCBUrwDH4rdxZyJ",
"project_domain_name": "Default"
},
"https_cacert": "",
"endpoint_type": null,
"auth_url": "https://10.0.0.5:13000//v3",
"profiler_conn_str": null
}
}
(overcloud) (.rally-venv) [stack at undercloud browbeat]$ rally env info
2018-08-31 15:46:25.993 440110 ERROR rally.env.env_mgr [-] Plugin
existing at openstack.info() method is broken: AuthenticationFailed: Failed to
authenticate to https://10.0.0.5:13000//v3 for user 'admin' in project
'admin': SSLError: SSL exception connecting to https://10.0.0.5:13000//v3:
HTTPSConnectionPool(host='10.0.0.5', port=13000): Max retries exceeded with
url: //v3 (Caused by SSLError(SSLError("bad handshake: Error([('SSL
routines', 'tls_process_server_certificate', 'certificate verify
failed')],)",),))
2018-08-31 15:46:25.993 440110 ERROR rally.env.env_mgr Traceback (most
recent call last):
2018-08-31 15:46:25.993 440110 ERROR rally.env.env_mgr File
"/home/stack/browbeat/.rally-venv/lib/python2.7/site-packages/rally/env/env_mgr.py",
line 523, in get_info
2018-08-31 15:46:25.993 440110 ERROR rally.env.env_mgr info = p.info()
2018-08-31 15:46:25.993 440110 ERROR rally.env.env_mgr File
"/home/stack/browbeat/.rally-venv/lib/python2.7/site-packages/rally_openstack/platforms/existing.py",
line 183, in info
2018-08-31 15:46:25.993 440110 ERROR rally.env.env_mgr for stype, name
in osclients.Clients(active_user).services().items():
2018-08-31 15:46:25.993 440110 ERROR rally.env.env_mgr File
"/home/stack/browbeat/.rally-venv/lib/python2.7/site-packages/rally_openstack/osclients.py",
line 860, in services
2018-08-31 15:46:25.993 440110 ERROR rally.env.env_mgr
available_services = self.keystone.service_catalog.get_endpoints()
2018-08-31 15:46:25.993 440110 ERROR rally.env.env_mgr File
"/home/stack/browbeat/.rally-venv/lib/python2.7/site-packages/rally_openstack/osclients.py",
line 225, in service_catalog
2018-08-31 15:46:25.993 440110 ERROR rally.env.env_mgr return
self.auth_ref.service_catalog
2018-08-31 15:46:25.993 440110 ERROR rally.env.env_mgr File
"/home/stack/browbeat/.rally-venv/lib/python2.7/site-packages/rally_openstack/osclients.py",
line 245, in auth_ref
2018-08-31 15:46:25.993 440110 ERROR rally.env.env_mgr error=str(e))
2018-08-31 15:46:25.993 440110 ERROR rally.env.env_mgr
AuthenticationFailed: Failed to authenticate to https://10.0.0.5:13000//v3
for user 'admin' in project 'admin': SSLError: SSL exception connecting to
https://10.0.0.5:13000//v3: HTTPSConnectionPool(host='10.0.0.5',
port=13000): Max retries exceeded with url: //v3 (Caused by
SSLError(SSLError("bad handshake: Error([('SSL routines',
'tls_process_server_certificate', 'certificate verify failed')],)",),))
2018-08-31 15:46:25.993 440110 ERROR rally.env.env_mgr
Env `overcloud (87e6bdec-45c3-4194-9d7c-0451c0c030b5)'
+--------------------+------+---------------------------------------------------+
| platform | info | error
|
+--------------------+------+---------------------------------------------------+
| existing at openstack | null | Plugin existing at openstack.info() method is
broken |
+--------------------+------+---------------------------------------------------+
On Fri, Aug 31, 2018 at 10:13 AM Andrey Kurilin <andr.kurilin at gmail.com>
wrote:
> Hi!
>
> Sorry for such a not user-friendly error message. Several days ago, we
> merged a fix[*] for it and I'm planning to release a new version of
> rally-openstack package soon.
> While the fix is not released, please share the result of the 2 commands:
>
> - rally env show --only-spec # replace password and etc
> - rally env info
>
> [*] -
> https://github.com/openstack/rally-openstack/commit/5821f8b8714c532778f2eef142a5fdeb3a1e6f05
>
> пт, 31 авг. 2018 г. в 17:02, Sai Sindhur Malleni <smalleni at redhat.com>:
>
>> Hey all,
>>
>> rally deployment check fails saying, bad admin credentials but I'm able
>> to use the admin tenant to performance openstack operations like creating
>> VMs extra. rally deployment check fails without giving much information.
>> (.rally-venv) [stack at undercloud browbeat]$ rally deployment check
>>
>> --------------------------------------------------------------------------------
>> Platform openstack:
>>
>> --------------------------------------------------------------------------------
>>
>> Error while checking admin credentials:
>> AuthenticationFailed: Bad admin creds:
>> {
>> "auth_url": "https://10.0.0.5:13000//v3",
>> "domain_name": null,
>> "endpoint_type": null,
>> "https_cacert": "",
>> "https_insecure": false,
>> "password": "***",
>> "profiler_conn_str": null,
>> "profiler_hmac_key": null,
>> "project_domain_name": "Default",
>> "region_name": "",
>> "tenant_name": "admin",
>> "user_domain_name": "Default",
>> "username": "admin"
>> }
>>
>> I'm not sure that the reason is give I can source the adminrc and run
>> openstack commands normally.
>>
>> Here are the contents of the rc file:
>> for key in $( set | awk '{FS="="} /^OS_/ {print $1}' ); do unset $key ;
>> done
>> export OS_NO_CACHE=True
>> export COMPUTE_API_VERSION=1.1
>> export OS_USERNAME=admin
>> export no_proxy=,10.0.0.5,192.168.24.7
>> export OS_USER_DOMAIN_NAME=Default
>> export OS_VOLUME_API_VERSION=3
>> export OS_CLOUDNAME=overcloud
>> export OS_AUTH_URL=https://10.0.0.5:13000//v3
>> export NOVA_VERSION=1.1
>> export OS_IMAGE_API_VERSION=2
>> export OS_PASSWORD=kYbMNEdPwGfCBUrwDH4rdxZyJ
>> export OS_PROJECT_DOMAIN_NAME=Default
>> export OS_IDENTITY_API_VERSION=3
>> export OS_PROJECT_NAME=admin
>> export OS_AUTH_TYPE=password
>> export PYTHONWARNINGS="ignore:Certificate has no, ignore:A true
>> SSLContext object is not available"
>>
>> # Add OS_CLOUDNAME to PS1
>> if [ -z "${CLOUDPROMPT_ENABLED:-}" ]; then
>> export PS1=${PS1:-""}
>> export PS1=\${OS_CLOUDNAME:+"(\$OS_CLOUDNAME)"}\ $PS1
>> export CLOUDPROMPT_ENABLED=1
>> fi
>>
>>
>> Please let me know if there is a way to know more about what the issue is.
>> --
>> Sai Sindhur Malleni
>>
>> Software Engineer
>> Red Hat Inc.
>> 314 Littleton Road
>> Westford MA, USA
>>
>>
>
> --
> Best regards,
> Andrey Kurilin.
>
--
Sai Sindhur Malleni
Software Engineer
Red Hat Inc.
314 Littleton Road
Westford MA, USA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20180831/9f18d8f3/attachment.html>
More information about the OpenStack-dev
mailing list