Friday, 2017-11-10

*** iOsX has quit IRC00:04
*** tianhui has joined #murano01:23
*** fragatina has quit IRC01:31
*** yamamoto has joined #murano03:05
*** fragatina has joined #murano04:55
*** fragatina has quit IRC05:15
*** fragatina has joined #murano05:15
*** armaan has joined #murano05:30
*** fragatina has quit IRC06:26
*** Be-El has joined #murano07:15
*** zhurong has joined #murano07:50
*** armaan has quit IRC07:53
*** zhurong has quit IRC08:01
*** armaan has joined #murano08:31
*** yamamoto has quit IRC09:23
*** yamamoto has joined #murano09:36
*** iOsX has joined #murano10:03
iOsXHi there,10:07
iOsXI have some problem which I cannot resolve10: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/pytho10:07
iOsXsorry10:08
iOsXoutput of error:10:08
iOsXFile \"/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')\n10:08
iOsXAttributeError: 'NoneType' object has no attribute 'replace'\n", "type": "AttributeError"}, "title": "Internal Server Error"} (HTTP 500)10:08
iOsXthats is all10:08
iOsXUnfortunately, I don't know Python :(10:09
Be-EliOsX: not an expert, but auth_uri seems to be none -> calling replace on it results in the error10:10
Be-EliOsX: did you setup the keystone endpoint in murano.conf?10:10
iOsXYes10:11
iOsX[root@rdo-poc (keystone_kripton)] # openstack endpoint list | grep murano10:11
iOsX| 30cad4567cf24b9c9e33a95770dcaae6 | RegionOne | murano       | application-catalog | True    | public    | http://10.189.128.95:808210:11
iOsXand the same for internal and admin10:12
iOsXservices murano-api.service and murano-engine.service are running as well10:13
Be-Elno, i'm talking about the URL murano uses to contact keystone10:13
iOsXoh10:14
Be-El[keystone_authtoken]10:14
Be-Elauth_uri=https://<your controller ip>:5000/10:14
iOsXlet me check10:14
Be-Elin /etc/murano/murano.conf10:14
iOsX# grep http /etc/murano/murano.conf10:15
iOsXauth_url = http://10.189.128.95:5000/v2.010:15
iOsXauth_protocol = http10:15
iOsXurl = http://10.189.128.95:808210:15
iOsXseems like ok10:15
iOsXhowever, I use v3 in user auth keystone file10:15
Be-Elthat's what the replace function should fix....convert v2.0 to v3 if necessary10:16
Be-Elbut for some reason the auth_uri variable is not defined10:17
Be-Eldoes this happen for every murano related call?10:17
Be-Ele.g. murano package-list10:17
iOsXyou say auth_uri10:17
iOsXmaybe I need to define auth_uri, not auth_url10:17
iOsXno, murano package-list works perfect10:18
Be-Elyes, try changing it to auth_uri....that's what we use in your setup (newton)10:19
iOsXI have a Pike release10:19
Be-Elthat part should probably be the same in newer releases10:21
iOsXnope. 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 same10:21
iOsX:(10:21
Be-Elthere's also an identity_uri entry you might want to check....otherwise I've no clue what's going wrong10:24
iOsX:)10:29
iOsX# murano environment-create --join-net-id ict-internal-0 --join-subnet-id ict-sub-internal-0 app_env10: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
iOsXyou were right, identity_uri was not defined at all10:31
iOsXThanks a lot10:31
*** openstack has joined #murano21:52
*** ChanServ sets mode: +o openstack21:52
*** Zer0Byte has quit IRC23:29
*** Zer0Byte has joined #murano23:50
*** Zer0Byte has quit IRC23:55

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!