Error 500 when add application to environnement Murano

Asked by Damien

Hello,

I have an error 500 when i add application in environnement murano

this log

<135>Apr 24 10:22:15 controller01 murano-api: 2017-04-24 10:22:15.452 25911 DEBUG eventlet.wsgi [-] (25911) accepted ('10.36.0.51', 33694) server /usr/lib/python2.7/dist-packages/eventlet/wsgi.py:867
<135>Apr 24 10:22:15 controller01 murano-api: 2017-04-24 10:22:15.470 25911 DEBUG murano.api.middleware.ssl [-] Default url_scheme: http. HTTP_X_FORWARDED_PROTO: None process_request /usr/lib/python2.7/dist-packages/murano/api/middleware/ssl.py:50
<135>Apr 24 10:22:15 controller01 murano-api: 2017-04-24 10:22:15.472 25911 DEBUG murano.api.middleware.version_negotiation [-] Determining version of request:GET /v1/catalog/packages/a8ff8e809a864d26bbbe2867cb266d68/ui Accept: */* process_request /usr/lib/python2.7/dist-packages/murano/api/middleware/version_negotiation.py:48
<135>Apr 24 10:22:15 controller01 murano-api: 2017-04-24 10:22:15.473 25911 DEBUG murano.api.middleware.version_negotiation [-] Using url versioning process_request /usr/lib/python2.7/dist-packages/murano/api/middleware/version_negotiation.py:49
<135>Apr 24 10:22:15 controller01 murano-api: 2017-04-24 10:22:15.474 25911 DEBUG murano.api.middleware.version_negotiation [-] Matched version: v1 process_request /usr/lib/python2.7/dist-packages/murano/api/middleware/version_negotiation.py:61
<135>Apr 24 10:22:15 controller01 murano-api: 2017-04-24 10:22:15.475 25911 DEBUG murano.api.middleware.version_negotiation [-] new path /v1/catalog/packages/a8ff8e809a864d26bbbe2867cb266d68/ui process_request /usr/lib/python2.7/dist-packages/murano/api/middleware/version_negotiation.py:62
<135>Apr 24 10:22:15 controller01 murano-api: 2017-04-24 10:22:15.488 25911 DEBUG murano.common.wsgi [req-1199bfc1-1fef-4c01-bfc4-a9b2f9e72ddd 43a48eb197e04562a0821d6a02cd4265 4bf1c9da11f64ce89b2c8f47ef5a971a - - -] GET http://185.100.29.11:8082/v1/catalog/packages/a8ff8e809a864d26bbbe2867cb266d68/ui
HEADERS: User-Agent: python-muranoclient, Connection: close, X-User-Id: 43a48eb197e04562a0821d6a02cd4265, X-Roles: _member_, X-Tenant-Id: 4bf1c9da11f64ce89b2c8f47ef5a971a, Host: 185.100.29.11:8082, Accept: */*, Content-Type: text/plain, Accept-Encoding: gzip, deflate __call__ /usr/lib/python2.7/dist-packages/murano/common/wsgi.py:414
<135>Apr 24 10:22:15 controller01 murano-api: 2017-04-24 10:22:15.489 25911 DEBUG murano.common.wsgi [req-1199bfc1-1fef-4c01-bfc4-a9b2f9e72ddd 43a48eb197e04562a0821d6a02cd4265 4bf1c9da11f64ce89b2c8f47ef5a971a - - -] Empty body provided in request deserialize_body /usr/lib/python2.7/dist-packages/murano/common/wsgi.py:760
<135>Apr 24 10:22:15 controller01 murano-api: 2017-04-24 10:22:15.494 25911 DEBUG glanceclient.common.http [req-1199bfc1-1fef-4c01-bfc4-a9b2f9e72ddd 43a48eb197e04562a0821d6a02cd4265 4bf1c9da11f64ce89b2c8f47ef5a971a - - -] curl -g -i -X GET -H 'Accept-Encoding: gzip, deflate' -H 'Accept: */*' -H 'User-Agent: python-glanceclient' -H 'Connection: keep-alive' -H 'X-Auth-Token: {SHA1}798771c4d78df62aefb254c1c9b4cae48a41d940' -H 'Content-Type: application/octet-stream' http://185.100.29.11:9494/v0.1/artifacts/murano/v1/a8ff8e809a864d26bbbe2867cb266d68/archive/download log_curl_request /usr/lib/python2.7/dist-packages/glanceclient/common/http.py:198
<135>Apr 24 10:22:20 controller01 murano-api: 2017-04-24 10:22:20.281 25911 DEBUG glanceclient.common.http [req-1199bfc1-1fef-4c01-bfc4-a9b2f9e72ddd 43a48eb197e04562a0821d6a02cd4265 4bf1c9da11f64ce89b2c8f47ef5a971a - - -] Request returned failure status 404. _handle_response /usr/lib/python2.7/dist-packages/glanceclient/common/http.py:96
<134>Apr 24 10:22:20 controller01 murano-api: 2017-04-24 10:22:20.287 25911 INFO eventlet.wsgi [req-1199bfc1-1fef-4c01-bfc4-a9b2f9e72ddd 43a48eb197e04562a0821d6a02cd4265 4bf1c9da11f64ce89b2c8f47ef5a971a - - -] 10.36.0.51 - - [24/Apr/2017 10:22:20] "GET /v1/catalog/packages/a8ff8e809a864d26bbbe2867cb266d68/ui HTTP/1.1" 500 4380 4.818396

problem with glance ?

Question information

Language:
English Edit question
Status:
Solved
For:
Murano Edit question
Assignee:
No assignee Edit question
Solved by:
Damien
Solved:
Last query:
Last reply:
Revision history for this message
Stan Lagun (slagun) said :
#1

I guess the problem is that murano is configured to use glare backend and glare was completely removed from the glance. So all glare endpoints return 404 now. Until there is a standalone glare service the only solution I aware of is to switch murano to the old API backend where all packages are stored in MySQL rather than glance (and which is missing some of glare functionality like proper package versioning).

Revision history for this message
Damien (dsx-a) said :
#2

thanks Stan,

Do you have a migration procedure?

Revision history for this message
Felipe Monteiro (fm577c) said :
#3

@Stan Lagun, the glareclient was recently added to global-requirements. See: http://lists.openstack.org/pipermail/openstack-dev/2017-April/115537.html

Revision history for this message
Stan Lagun (slagun) said :
#4

@Felipe, I'm not talking about glareclient, but on the glare service. The log above clearly shows that Murano API gets 404 upon access glare endpoint

@Damien,
there is no migration procedure that I know. You can just disable glare support in murano.conf file (comment out packages_service option), restart murano services and manually upload all the needed packages to the new backend (through murano UI or CLI)

Revision history for this message
Damien (dsx-a) said :
#5

It's ok with packages_service option comment

I have no more error 500

Thanks