Thursday, 2017-11-02

mtreinishbhagyashris: you can't use the uwsgi endpoint directly as it's configured. It's setup to have a proxy in front of it00:00
mtreinishbhagyashris: so you'll have to add a proxy to apache to point something like IP/glance-trusted to localhost:900100:01
mtreinishthen tell nova to use IP/glance-trusted00:01
mtreinishbhagyashris: this should be documented here: https://docs.openstack.org/glance/latest/admin/apache-httpd.html00:02
*** markvoelker_ has quit IRC00:07
*** markvoelker has joined #openstack-glance00:08
*** markvoelker has quit IRC00:12
*** markvoelker has joined #openstack-glance00:18
*** zhurong has joined #openstack-glance00:38
*** openstackgerrit has joined #openstack-glance00:39
openstackgerritMatthew Treinish proposed openstack/glance master: Update http deploy docs to be a bit more explicit  https://review.openstack.org/51195900:39
*** nicolasbock has quit IRC00:57
*** markvoelker has quit IRC01:03
*** markvoelker has joined #openstack-glance01:03
*** markvoelker has quit IRC01:08
*** zhurong has quit IRC01:46
*** nikhil has quit IRC01:59
*** zhurong has joined #openstack-glance02:00
*** dalgaaf has quit IRC02:54
*** dalgaaf has joined #openstack-glance02:57
*** udesale has joined #openstack-glance03:16
*** jistr has quit IRC03:42
*** jistr has joined #openstack-glance03:43
*** AlexeyAbashkin has joined #openstack-glance04:18
*** AlexeyAbashkin has quit IRC04:22
*** abhishekk has joined #openstack-glance04:33
*** abhishekk has quit IRC04:36
*** pdeore has joined #openstack-glance04:37
*** abhishekk has joined #openstack-glance04:52
openstackgerritMatthew Treinish proposed openstack/glance master: Update http deploy docs to be a bit more explicit  https://review.openstack.org/51195905:20
*** tshefi has joined #openstack-glance05:36
*** ratailor has joined #openstack-glance05:41
*** pcaruana has joined #openstack-glance05:58
*** namnh has joined #openstack-glance06:19
bhagyashrismtreinish: Thank you :)06:27
bhagyashrismtreinish: i have tried this and issue is resolved now06:28
bhagyashrismtreinish: i just wanted to ask as i am deploying the two glance api services one is g-api and g-api-trusted but for both services the glance-api.conf used is from the /etc/glance/glance-api.conf but i want that for glance-api-trusted service this should be used from /etc/glance_1/glance-api.conf that i have created06:30
bhagyashrismtreinish: but in the code https://github.com/openstack/glance/blob/master/glance/common/wsgi_app.py#L33 the /etc/glance dir is loaded so how can i do this?06:32
bhagyashrismtreinish: i have tried on approach that is added ExecStart= --config-file=/etc/glance_1/glance-api.conf in /etc/systemd/system/devstack@g-api-trusted.service but that fail to start the g-api-trusted service06:36
*** ratailor is now known as ratailor|afk06:40
*** ratailor|afk is now known as ratailor06:45
mtreinishbhagyashris: you use the env variable defined there06:50
mtreinishto set the glance conf dir to /etc/glance_106:50
mtreinishbhagyashris: just add 'Environment=OS_GLANCE_CONFIG_DIR=/etc/glance_1' to the service section in the unit file you're creating for g-api-trusted06:52
mtreinishyou'll also have to make sure you have both the glance-api-paste.ini and glance-api.conf files in /etc/glance_1 for that to work06:56
bhagyashrismtreinish: yup checking..06:56
bhagyashrismtreinish: working :) thank you very much :)07:01
mtreinishsure, np07:02
*** hoonetorg has quit IRC07:05
*** zhurong has quit IRC07:20
*** hoonetorg has joined #openstack-glance07:21
*** rcernin has quit IRC07:27
*** tshefi has quit IRC07:47
*** trungnv has quit IRC07:52
*** trungnv has joined #openstack-glance07:52
*** AlexeyAbashkin has joined #openstack-glance07:58
*** zhurong has joined #openstack-glance07:58
*** tesseract has joined #openstack-glance08:10
*** alexchadin has joined #openstack-glance08:21
*** kuzko has joined #openstack-glance08:23
*** rcernin has joined #openstack-glance08:26
*** tshefi has joined #openstack-glance08:36
*** spectr has joined #openstack-glance08:36
*** trungnv has quit IRC09:09
*** trungnv has joined #openstack-glance09:09
*** arcolife has joined #openstack-glance09:32
*** pdeore has quit IRC09:32
*** pdeore has joined #openstack-glance09:38
*** links has quit IRC09:44
*** zhurong has quit IRC09:48
*** e0ne has joined #openstack-glance09:48
*** alexchadin has quit IRC10:05
*** alexchadin has joined #openstack-glance10:06
*** nicolasbock has joined #openstack-glance10:16
*** mvk has quit IRC10:22
*** dpawlik has quit IRC10:24
*** gabor_antal has joined #openstack-glance10:25
*** mvk has joined #openstack-glance10:30
*** dpawlik has joined #openstack-glance10:32
*** trungnv has quit IRC10:36
*** trungnv has joined #openstack-glance10:36
*** e0ne has quit IRC10:41
*** e0ne has joined #openstack-glance10:42
*** pdeore has quit IRC10:47
*** namnh has quit IRC10:51
*** zhurong has joined #openstack-glance11:14
*** alexchadin has quit IRC11:32
*** alexchadin has joined #openstack-glance11:48
*** rosmaita has joined #openstack-glance11:54
*** rcernin has quit IRC11:56
*** arcolife has quit IRC12:05
*** ratailor has quit IRC12:15
*** dalgaaf has quit IRC12:21
*** udesale has quit IRC12:33
*** dalgaaf has joined #openstack-glance12:33
*** catintheroof has joined #openstack-glance12:34
*** aarefiev is now known as aarefiev_afk12:34
*** dalgaaf has quit IRC12:41
*** alexchadin has quit IRC12:41
*** alexchadin has joined #openstack-glance12:42
*** dalgaaf has joined #openstack-glance12:44
*** markvoelker has joined #openstack-glance12:49
*** markvoelker_ has joined #openstack-glance12:50
*** zhurong has quit IRC12:51
*** e0ne_ has joined #openstack-glance12:52
*** markvoelker has quit IRC12:53
*** dalgaaf has quit IRC12:55
*** e0ne has quit IRC12:55
*** dalgaaf has joined #openstack-glance12:59
*** dalgaaf has quit IRC13:01
*** dalgaaf has joined #openstack-glance13:05
*** AlexeyAbashkin has quit IRC13:23
*** lbragstad has joined #openstack-glance13:34
*** abhishekk_ has joined #openstack-glance13:35
*** markvoel_ has joined #openstack-glance13:41
*** markvoelker_ has quit IRC13:42
*** AlexeyAbashkin has joined #openstack-glance13:45
*** markvoel_ has quit IRC13:47
*** fxpester has joined #openstack-glance13:50
fxpesterhi13:50
fxpesterwhy you remove newton branch from github ? newton is still supported release13:51
fxpesteroh damn EOLed already... ok13:53
*** McClymontS has joined #openstack-glance13:55
*** Linkmark has joined #openstack-glance13:56
rosmaitafxpester: yeah, time marches on13:58
rosmaitaCourtesy meeting reminder on #openstack-meeting-4: ativelkov, cpallares, flaper87, flwang1, hemanthm, jokke_, kragniz, lakshmiS, mclaren, mfedosin, nikhil_k, Nikolay_St, Olena, pennerc, rosmaita, sigmavirus24, sabari, TravT, ajayaa, GB21, bpoulos, harshs, abhishekk, bunting, dshakhray, wxy, dhellmann, kairat, alex_bash, smcginnis, arcolife13:58
*** abhishekk has quit IRC14:11
*** abhishekk_ is now known as abhishekk14:11
*** msno has joined #openstack-glance14:18
msnoglance image creation is fialing in openstack mtaka based install14:19
msnoits going in queue state14:19
msnoerror message: http://paste.openstack.org/show/625356/14:19
msnoany pointers please14:19
msno bd38bca1-1efe-42b5-8a5c-824183faa79a | test-cirros            |             |                  | 13287936   | queued14:19
*** nikhil has joined #openstack-glance14:29
*** spectr-RH has joined #openstack-glance14:30
*** spectr has quit IRC14:33
msnoany help..!!14:44
*** tshefi has quit IRC14:47
*** prometheanfire has left #openstack-glance14:53
rosmaitamsno: we are in the glance meeting, it ends at 150014:58
*** mosulica has joined #openstack-glance14:59
msnorosmaita, thank you14:59
*** abhishekk has quit IRC15:00
rosmaitamsno not sure why you are getting the broken pipe.  i dont' think it's a certificate problem because i don't think you're getting that far.  you could try using the --insecure option and not including the cacert and see what happens15:07
rosmaitaat least we'd know for sure it's not a cert problem15:07
msnorosmaita, right.. it doent even getting to the part where it tries to write anything about that image's UUID in glance logs15:09
msnoits breaking much ealier15:09
rosmaitawhat happens if you do: curl -k -X GET https://10.6.10.25:9292/versions15:11
rosmaita(i think you can make that call without a token)15:11
msnorosmaita, let me check15:21
msnorosmaita, its success .. see here http://paste.openstack.org/show/625361/15:23
*** dpawlik has quit IRC15:28
rosmaitamsno ok try this one: curl -k -X GET https://10.6.10.25:9292/v1/15:29
rosmaita(you should get a 401, but that's ok)15:29
msnorosmaita, yes.. it worked with a 401 .. http://paste.openstack.org/show/625362/15:30
rosmaitamsno so that makes me think it is a cert problem, the -k is the "insecure" setting for curl15:31
rosmaitatry your image upload using the client with --insecure and don't include the cert bundle15:32
msnorosmaita, ok.. let me chk15:32
msnorosmaita, when you say dont include cert bundle .. i should unset this env15:35
msnoexport OS_CACERT=/etc/haproxy/ssl/hlm/certs/ca.crt15:35
msnoright?15:35
rosmaitayes15:35
msnok15:36
rosmaitaand don't include it as part of the command (it was there in your paste)15:36
msnook15:36
*** alexchadin has quit IRC15:39
*** spectr has joined #openstack-glance15:41
*** spectr-RH has quit IRC15:44
msnorosmaita, its not a cert issue .. http://paste.openstack.org/show/625363/15:44
*** McClymontS has quit IRC15:52
*** AlexeyAbashkin has quit IRC15:53
*** spectr has quit IRC15:55
rosmaitamsno hmmm15:58
rosmaitawhat happens when you do this: curl -k -X POST https://10.6.10.25:9292/v1/images15:58
msnorosmaita, 401 Unauthorized<16:00
msnowith cert and without cert its giving the same O/p16:00
rosmaitado you know how to get a token?16:03
msnorosmaita, yes16:03
rosmaitaok, try doing the GET call with a token and see what happens16:04
msnook.. let me try16:04
msnocurl -k -X GET  -H "Authorization: OAuth 42ebb65143ed4a73a02b07e03d305058" https://10.6.10.25:9292/images16:09
msnoi used this command iand it worked16:09
msnosays .. supported16:09
*** links has joined #openstack-glance16:10
msnorosmaita, http://paste.openstack.org/show/625366/16:11
rosmaitatry it with the url: https://10.6.10.25:9292/v1/images16:12
msnohttp://paste.openstack.org/show/625367/16:12
msno401 error16:12
msno401 unauthorized16:12
msnoso is it a keystone issue .. though i got a token .. the curl command is not passing . i guess16:13
rosmaitalooks like it ... don't know why you're seeing that broken pipe, though16:14
*** mosulica has quit IRC16:15
msnorosmaita, ok.. i guess something is frozen .. because in netstat o/p i see lots of sockets of glance in TIME_WAIT16:15
*** catintheroof has quit IRC16:26
*** catintheroof has joined #openstack-glance16:30
*** McClymontS has joined #openstack-glance16:33
*** links has quit IRC16:35
*** msno has quit IRC16:39
*** lbragstad has quit IRC16:46
*** McClymontS has quit IRC16:47
*** mvk has quit IRC16:59
*** e0ne_ has quit IRC17:02
*** rosmaita has quit IRC17:04
*** markvoelker_ has joined #openstack-glance17:07
*** nikhil has quit IRC17:09
*** markvoelker_ has quit IRC17:11
*** markvoelker has joined #openstack-glance17:12
*** bhagyashris has quit IRC17:12
*** markvoelker has quit IRC17:13
*** rosmaita has joined #openstack-glance17:13
*** markvoelker has joined #openstack-glance17:18
*** markvoelker_ has joined #openstack-glance17:21
*** markvoelker has quit IRC17:23
*** markvoelker has joined #openstack-glance17:24
*** markvoelker_ has quit IRC17:26
*** markvoelker_ has joined #openstack-glance17:28
*** markvoelker has quit IRC17:29
*** lbragstad has joined #openstack-glance17:29
*** AlexeyAbashkin has joined #openstack-glance17:31
*** markvoelker_ has quit IRC17:34
*** AlexeyAbashkin has quit IRC17:35
*** gyee has joined #openstack-glance17:37
*** AlexeyAbashkin has joined #openstack-glance18:09
*** pcaruana has quit IRC18:10
*** AlexeyAbashkin has quit IRC18:14
*** tesseract has quit IRC18:25
*** e0ne has joined #openstack-glance18:34
*** bkopilov has quit IRC18:51
*** e0ne has quit IRC19:20
*** gyee has quit IRC20:18
*** gyee has joined #openstack-glance20:36
*** McClymontS has joined #openstack-glance20:40
*** McClymontS has quit IRC20:42
*** gyee has quit IRC20:54
*** AlexeyAbashkin has joined #openstack-glance21:08
*** AlexeyAbashkin has quit IRC21:13
*** Linkmark has quit IRC21:29
*** rosmaita has quit IRC21:32
*** d0ugal has quit IRC21:40
*** mvk has joined #openstack-glance21:44
*** d0ugal has joined #openstack-glance21:46
*** catintheroof has quit IRC21:53
*** rcernin has joined #openstack-glance22:01
*** AlexeyAbashkin has joined #openstack-glance22:08
*** AlexeyAbashkin has quit IRC22:13
*** lbragstad has quit IRC22:24
*** rcernin has quit IRC23:17
*** nikhil has joined #openstack-glance23:41
*** links has joined #openstack-glance23:44

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