*** iOsX has quit IRC | 00:04 | |
*** tianhui has joined #murano | 01:23 | |
*** fragatina has quit IRC | 01:31 | |
*** yamamoto has joined #murano | 03:05 | |
*** fragatina has joined #murano | 04:55 | |
*** fragatina has quit IRC | 05:15 | |
*** fragatina has joined #murano | 05:15 | |
*** armaan has joined #murano | 05:30 | |
*** fragatina has quit IRC | 06:26 | |
*** Be-El has joined #murano | 07:15 | |
*** zhurong has joined #murano | 07:50 | |
*** armaan has quit IRC | 07:53 | |
*** zhurong has quit IRC | 08:01 | |
*** armaan has joined #murano | 08:31 | |
*** yamamoto has quit IRC | 09:23 | |
*** yamamoto has joined #murano | 09:36 | |
*** iOsX has joined #murano | 10:03 | |
iOsX | Hi there, | 10:07 |
---|---|---|
iOsX | I have some problem which I cannot resolve | 10:07 |
iOsX | [root@rdo-poc (keystone_iosx)] # murano environment-create --join-net-id ict-internal-0 --join-subnet-id ict-sub-internal-0 app_env { "explanation": "The server has either erred or is incapable of performing the requested operation.", "code": 500, "error": {"message": "'NoneType' object has no attribute 'replace'", "traceback": "Traceback (most recent call last):\n ... File \"/usr/lib/pytho | 10:07 |
iOsX | sorry | 10:08 |
iOsX | output of error: | 10:08 |
iOsX | File \"/usr/lib/python2.7/site-packages/murano/common/auth_utils.py\", line 100, in get_token_client_session\n auth_url = auth_uri.replace('v2.0', 'v3')\n | 10:08 |
iOsX | AttributeError: 'NoneType' object has no attribute 'replace'\n", "type": "AttributeError"}, "title": "Internal Server Error"} (HTTP 500) | 10:08 |
iOsX | thats is all | 10:08 |
iOsX | Unfortunately, I don't know Python :( | 10:09 |
Be-El | iOsX: not an expert, but auth_uri seems to be none -> calling replace on it results in the error | 10:10 |
Be-El | iOsX: did you setup the keystone endpoint in murano.conf? | 10:10 |
iOsX | Yes | 10:11 |
iOsX | [root@rdo-poc (keystone_kripton)] # openstack endpoint list | grep murano | 10:11 |
iOsX | | 30cad4567cf24b9c9e33a95770dcaae6 | RegionOne | murano | application-catalog | True | public | http://10.189.128.95:8082 | 10:11 |
iOsX | and the same for internal and admin | 10:12 |
iOsX | services murano-api.service and murano-engine.service are running as well | 10:13 |
Be-El | no, i'm talking about the URL murano uses to contact keystone | 10:13 |
iOsX | oh | 10:14 |
Be-El | [keystone_authtoken] | 10:14 |
Be-El | auth_uri=https://<your controller ip>:5000/ | 10:14 |
iOsX | let me check | 10:14 |
Be-El | in /etc/murano/murano.conf | 10:14 |
iOsX | # grep http /etc/murano/murano.conf | 10:15 |
iOsX | auth_url = http://10.189.128.95:5000/v2.0 | 10:15 |
iOsX | auth_protocol = http | 10:15 |
iOsX | url = http://10.189.128.95:8082 | 10:15 |
iOsX | seems like ok | 10:15 |
iOsX | however, I use v3 in user auth keystone file | 10:15 |
Be-El | that's what the replace function should fix....convert v2.0 to v3 if necessary | 10:16 |
Be-El | but for some reason the auth_uri variable is not defined | 10:17 |
Be-El | does this happen for every murano related call? | 10:17 |
Be-El | e.g. murano package-list | 10:17 |
iOsX | you say auth_uri | 10:17 |
iOsX | maybe I need to define auth_uri, not auth_url | 10:17 |
iOsX | no, murano package-list works perfect | 10:18 |
Be-El | yes, try changing it to auth_uri....that's what we use in your setup (newton) | 10:19 |
iOsX | I have a Pike release | 10:19 |
Be-El | that part should probably be the same in newer releases | 10:21 |
iOsX | nope. I have added the line "auth_uri = http://10.189.128.95:5000/v2.0" to [keystone] section and restarted api and engine services, but the same | 10:21 |
iOsX | :( | 10:21 |
Be-El | there's also an identity_uri entry you might want to check....otherwise I've no clue what's going wrong | 10:24 |
iOsX | :) | 10:29 |
iOsX | # murano environment-create --join-net-id ict-internal-0 --join-subnet-id ict-sub-internal-0 app_env | 10:30 |
iOsX | +----------------------------------+---------+--------+---------------------+---------------------+ | 10:30 |
iOsX | | ID | Name | Status | Created | Updated | | 10:30 |
iOsX | +----------------------------------+---------+--------+---------------------+---------------------+ | 10:30 |
iOsX | | e7e24e38bffd43f0918fe4563aea2bd9 | app_env | ready | 2017-11-10T15:32:12 | 2017-11-10T15:32:12 | | 10:30 |
iOsX | +----------------------------------+---------+--------+---------------------+---------------------+ | 10:30 |
iOsX | you were right, identity_uri was not defined at all | 10:31 |
iOsX | Thanks a lot | 10:31 |
*** openstack has joined #murano | 21:52 | |
*** ChanServ sets mode: +o openstack | 21:52 | |
*** Zer0Byte has quit IRC | 23:29 | |
*** Zer0Byte has joined #murano | 23:50 | |
*** Zer0Byte has quit IRC | 23:55 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!