mtreinish | bhagyashris: you can't use the uwsgi endpoint directly as it's configured. It's setup to have a proxy in front of it | 00:00 |
---|---|---|
mtreinish | bhagyashris: so you'll have to add a proxy to apache to point something like IP/glance-trusted to localhost:9001 | 00:01 |
mtreinish | then tell nova to use IP/glance-trusted | 00:01 |
mtreinish | bhagyashris: this should be documented here: https://docs.openstack.org/glance/latest/admin/apache-httpd.html | 00:02 |
*** markvoelker_ has quit IRC | 00:07 | |
*** markvoelker has joined #openstack-glance | 00:08 | |
*** markvoelker has quit IRC | 00:12 | |
*** markvoelker has joined #openstack-glance | 00:18 | |
*** zhurong has joined #openstack-glance | 00:38 | |
*** openstackgerrit has joined #openstack-glance | 00:39 | |
openstackgerrit | Matthew Treinish proposed openstack/glance master: Update http deploy docs to be a bit more explicit https://review.openstack.org/511959 | 00:39 |
*** nicolasbock has quit IRC | 00:57 | |
*** markvoelker has quit IRC | 01:03 | |
*** markvoelker has joined #openstack-glance | 01:03 | |
*** markvoelker has quit IRC | 01:08 | |
*** zhurong has quit IRC | 01:46 | |
*** nikhil has quit IRC | 01:59 | |
*** zhurong has joined #openstack-glance | 02:00 | |
*** dalgaaf has quit IRC | 02:54 | |
*** dalgaaf has joined #openstack-glance | 02:57 | |
*** udesale has joined #openstack-glance | 03:16 | |
*** jistr has quit IRC | 03:42 | |
*** jistr has joined #openstack-glance | 03:43 | |
*** AlexeyAbashkin has joined #openstack-glance | 04:18 | |
*** AlexeyAbashkin has quit IRC | 04:22 | |
*** abhishekk has joined #openstack-glance | 04:33 | |
*** abhishekk has quit IRC | 04:36 | |
*** pdeore has joined #openstack-glance | 04:37 | |
*** abhishekk has joined #openstack-glance | 04:52 | |
openstackgerrit | Matthew Treinish proposed openstack/glance master: Update http deploy docs to be a bit more explicit https://review.openstack.org/511959 | 05:20 |
*** tshefi has joined #openstack-glance | 05:36 | |
*** ratailor has joined #openstack-glance | 05:41 | |
*** pcaruana has joined #openstack-glance | 05:58 | |
*** namnh has joined #openstack-glance | 06:19 | |
bhagyashris | mtreinish: Thank you :) | 06:27 |
bhagyashris | mtreinish: i have tried this and issue is resolved now | 06:28 |
bhagyashris | mtreinish: 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 created | 06:30 |
bhagyashris | mtreinish: 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 |
bhagyashris | mtreinish: 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 service | 06:36 |
*** ratailor is now known as ratailor|afk | 06:40 | |
*** ratailor|afk is now known as ratailor | 06:45 | |
mtreinish | bhagyashris: you use the env variable defined there | 06:50 |
mtreinish | to set the glance conf dir to /etc/glance_1 | 06:50 |
mtreinish | bhagyashris: just add 'Environment=OS_GLANCE_CONFIG_DIR=/etc/glance_1' to the service section in the unit file you're creating for g-api-trusted | 06:52 |
mtreinish | you'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 work | 06:56 |
bhagyashris | mtreinish: yup checking.. | 06:56 |
bhagyashris | mtreinish: working :) thank you very much :) | 07:01 |
mtreinish | sure, np | 07:02 |
*** hoonetorg has quit IRC | 07:05 | |
*** zhurong has quit IRC | 07:20 | |
*** hoonetorg has joined #openstack-glance | 07:21 | |
*** rcernin has quit IRC | 07:27 | |
*** tshefi has quit IRC | 07:47 | |
*** trungnv has quit IRC | 07:52 | |
*** trungnv has joined #openstack-glance | 07:52 | |
*** AlexeyAbashkin has joined #openstack-glance | 07:58 | |
*** zhurong has joined #openstack-glance | 07:58 | |
*** tesseract has joined #openstack-glance | 08:10 | |
*** alexchadin has joined #openstack-glance | 08:21 | |
*** kuzko has joined #openstack-glance | 08:23 | |
*** rcernin has joined #openstack-glance | 08:26 | |
*** tshefi has joined #openstack-glance | 08:36 | |
*** spectr has joined #openstack-glance | 08:36 | |
*** trungnv has quit IRC | 09:09 | |
*** trungnv has joined #openstack-glance | 09:09 | |
*** arcolife has joined #openstack-glance | 09:32 | |
*** pdeore has quit IRC | 09:32 | |
*** pdeore has joined #openstack-glance | 09:38 | |
*** links has quit IRC | 09:44 | |
*** zhurong has quit IRC | 09:48 | |
*** e0ne has joined #openstack-glance | 09:48 | |
*** alexchadin has quit IRC | 10:05 | |
*** alexchadin has joined #openstack-glance | 10:06 | |
*** nicolasbock has joined #openstack-glance | 10:16 | |
*** mvk has quit IRC | 10:22 | |
*** dpawlik has quit IRC | 10:24 | |
*** gabor_antal has joined #openstack-glance | 10:25 | |
*** mvk has joined #openstack-glance | 10:30 | |
*** dpawlik has joined #openstack-glance | 10:32 | |
*** trungnv has quit IRC | 10:36 | |
*** trungnv has joined #openstack-glance | 10:36 | |
*** e0ne has quit IRC | 10:41 | |
*** e0ne has joined #openstack-glance | 10:42 | |
*** pdeore has quit IRC | 10:47 | |
*** namnh has quit IRC | 10:51 | |
*** zhurong has joined #openstack-glance | 11:14 | |
*** alexchadin has quit IRC | 11:32 | |
*** alexchadin has joined #openstack-glance | 11:48 | |
*** rosmaita has joined #openstack-glance | 11:54 | |
*** rcernin has quit IRC | 11:56 | |
*** arcolife has quit IRC | 12:05 | |
*** ratailor has quit IRC | 12:15 | |
*** dalgaaf has quit IRC | 12:21 | |
*** udesale has quit IRC | 12:33 | |
*** dalgaaf has joined #openstack-glance | 12:33 | |
*** catintheroof has joined #openstack-glance | 12:34 | |
*** aarefiev is now known as aarefiev_afk | 12:34 | |
*** dalgaaf has quit IRC | 12:41 | |
*** alexchadin has quit IRC | 12:41 | |
*** alexchadin has joined #openstack-glance | 12:42 | |
*** dalgaaf has joined #openstack-glance | 12:44 | |
*** markvoelker has joined #openstack-glance | 12:49 | |
*** markvoelker_ has joined #openstack-glance | 12:50 | |
*** zhurong has quit IRC | 12:51 | |
*** e0ne_ has joined #openstack-glance | 12:52 | |
*** markvoelker has quit IRC | 12:53 | |
*** dalgaaf has quit IRC | 12:55 | |
*** e0ne has quit IRC | 12:55 | |
*** dalgaaf has joined #openstack-glance | 12:59 | |
*** dalgaaf has quit IRC | 13:01 | |
*** dalgaaf has joined #openstack-glance | 13:05 | |
*** AlexeyAbashkin has quit IRC | 13:23 | |
*** lbragstad has joined #openstack-glance | 13:34 | |
*** abhishekk_ has joined #openstack-glance | 13:35 | |
*** markvoel_ has joined #openstack-glance | 13:41 | |
*** markvoelker_ has quit IRC | 13:42 | |
*** AlexeyAbashkin has joined #openstack-glance | 13:45 | |
*** markvoel_ has quit IRC | 13:47 | |
*** fxpester has joined #openstack-glance | 13:50 | |
fxpester | hi | 13:50 |
fxpester | why you remove newton branch from github ? newton is still supported release | 13:51 |
fxpester | oh damn EOLed already... ok | 13:53 |
*** McClymontS has joined #openstack-glance | 13:55 | |
*** Linkmark has joined #openstack-glance | 13:56 | |
rosmaita | fxpester: yeah, time marches on | 13:58 |
rosmaita | Courtesy 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, arcolife | 13:58 |
*** abhishekk has quit IRC | 14:11 | |
*** abhishekk_ is now known as abhishekk | 14:11 | |
*** msno has joined #openstack-glance | 14:18 | |
msno | glance image creation is fialing in openstack mtaka based install | 14:19 |
msno | its going in queue state | 14:19 |
msno | error message: http://paste.openstack.org/show/625356/ | 14:19 |
msno | any pointers please | 14:19 |
msno | bd38bca1-1efe-42b5-8a5c-824183faa79a | test-cirros | | | 13287936 | queued | 14:19 |
*** nikhil has joined #openstack-glance | 14:29 | |
*** spectr-RH has joined #openstack-glance | 14:30 | |
*** spectr has quit IRC | 14:33 | |
msno | any help..!! | 14:44 |
*** tshefi has quit IRC | 14:47 | |
*** prometheanfire has left #openstack-glance | 14:53 | |
rosmaita | msno: we are in the glance meeting, it ends at 1500 | 14:58 |
*** mosulica has joined #openstack-glance | 14:59 | |
msno | rosmaita, thank you | 14:59 |
*** abhishekk has quit IRC | 15:00 | |
rosmaita | msno 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 happens | 15:07 |
rosmaita | at least we'd know for sure it's not a cert problem | 15:07 |
msno | rosmaita, right.. it doent even getting to the part where it tries to write anything about that image's UUID in glance logs | 15:09 |
msno | its breaking much ealier | 15:09 |
rosmaita | what happens if you do: curl -k -X GET https://10.6.10.25:9292/versions | 15:11 |
rosmaita | (i think you can make that call without a token) | 15:11 |
msno | rosmaita, let me check | 15:21 |
msno | rosmaita, its success .. see here http://paste.openstack.org/show/625361/ | 15:23 |
*** dpawlik has quit IRC | 15:28 | |
rosmaita | msno 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 |
msno | rosmaita, yes.. it worked with a 401 .. http://paste.openstack.org/show/625362/ | 15:30 |
rosmaita | msno so that makes me think it is a cert problem, the -k is the "insecure" setting for curl | 15:31 |
rosmaita | try your image upload using the client with --insecure and don't include the cert bundle | 15:32 |
msno | rosmaita, ok.. let me chk | 15:32 |
msno | rosmaita, when you say dont include cert bundle .. i should unset this env | 15:35 |
msno | export OS_CACERT=/etc/haproxy/ssl/hlm/certs/ca.crt | 15:35 |
msno | right? | 15:35 |
rosmaita | yes | 15:35 |
msno | k | 15:36 |
rosmaita | and don't include it as part of the command (it was there in your paste) | 15:36 |
msno | ok | 15:36 |
*** alexchadin has quit IRC | 15:39 | |
*** spectr has joined #openstack-glance | 15:41 | |
*** spectr-RH has quit IRC | 15:44 | |
msno | rosmaita, its not a cert issue .. http://paste.openstack.org/show/625363/ | 15:44 |
*** McClymontS has quit IRC | 15:52 | |
*** AlexeyAbashkin has quit IRC | 15:53 | |
*** spectr has quit IRC | 15:55 | |
rosmaita | msno hmmm | 15:58 |
rosmaita | what happens when you do this: curl -k -X POST https://10.6.10.25:9292/v1/images | 15:58 |
msno | rosmaita, 401 Unauthorized< | 16:00 |
msno | with cert and without cert its giving the same O/p | 16:00 |
rosmaita | do you know how to get a token? | 16:03 |
msno | rosmaita, yes | 16:03 |
rosmaita | ok, try doing the GET call with a token and see what happens | 16:04 |
msno | ok.. let me try | 16:04 |
msno | curl -k -X GET -H "Authorization: OAuth 42ebb65143ed4a73a02b07e03d305058" https://10.6.10.25:9292/images | 16:09 |
msno | i used this command iand it worked | 16:09 |
msno | says .. supported | 16:09 |
*** links has joined #openstack-glance | 16:10 | |
msno | rosmaita, http://paste.openstack.org/show/625366/ | 16:11 |
rosmaita | try it with the url: https://10.6.10.25:9292/v1/images | 16:12 |
msno | http://paste.openstack.org/show/625367/ | 16:12 |
msno | 401 error | 16:12 |
msno | 401 unauthorized | 16:12 |
msno | so is it a keystone issue .. though i got a token .. the curl command is not passing . i guess | 16:13 |
rosmaita | looks like it ... don't know why you're seeing that broken pipe, though | 16:14 |
*** mosulica has quit IRC | 16:15 | |
msno | rosmaita, ok.. i guess something is frozen .. because in netstat o/p i see lots of sockets of glance in TIME_WAIT | 16:15 |
*** catintheroof has quit IRC | 16:26 | |
*** catintheroof has joined #openstack-glance | 16:30 | |
*** McClymontS has joined #openstack-glance | 16:33 | |
*** links has quit IRC | 16:35 | |
*** msno has quit IRC | 16:39 | |
*** lbragstad has quit IRC | 16:46 | |
*** McClymontS has quit IRC | 16:47 | |
*** mvk has quit IRC | 16:59 | |
*** e0ne_ has quit IRC | 17:02 | |
*** rosmaita has quit IRC | 17:04 | |
*** markvoelker_ has joined #openstack-glance | 17:07 | |
*** nikhil has quit IRC | 17:09 | |
*** markvoelker_ has quit IRC | 17:11 | |
*** markvoelker has joined #openstack-glance | 17:12 | |
*** bhagyashris has quit IRC | 17:12 | |
*** markvoelker has quit IRC | 17:13 | |
*** rosmaita has joined #openstack-glance | 17:13 | |
*** markvoelker has joined #openstack-glance | 17:18 | |
*** markvoelker_ has joined #openstack-glance | 17:21 | |
*** markvoelker has quit IRC | 17:23 | |
*** markvoelker has joined #openstack-glance | 17:24 | |
*** markvoelker_ has quit IRC | 17:26 | |
*** markvoelker_ has joined #openstack-glance | 17:28 | |
*** markvoelker has quit IRC | 17:29 | |
*** lbragstad has joined #openstack-glance | 17:29 | |
*** AlexeyAbashkin has joined #openstack-glance | 17:31 | |
*** markvoelker_ has quit IRC | 17:34 | |
*** AlexeyAbashkin has quit IRC | 17:35 | |
*** gyee has joined #openstack-glance | 17:37 | |
*** AlexeyAbashkin has joined #openstack-glance | 18:09 | |
*** pcaruana has quit IRC | 18:10 | |
*** AlexeyAbashkin has quit IRC | 18:14 | |
*** tesseract has quit IRC | 18:25 | |
*** e0ne has joined #openstack-glance | 18:34 | |
*** bkopilov has quit IRC | 18:51 | |
*** e0ne has quit IRC | 19:20 | |
*** gyee has quit IRC | 20:18 | |
*** gyee has joined #openstack-glance | 20:36 | |
*** McClymontS has joined #openstack-glance | 20:40 | |
*** McClymontS has quit IRC | 20:42 | |
*** gyee has quit IRC | 20:54 | |
*** AlexeyAbashkin has joined #openstack-glance | 21:08 | |
*** AlexeyAbashkin has quit IRC | 21:13 | |
*** Linkmark has quit IRC | 21:29 | |
*** rosmaita has quit IRC | 21:32 | |
*** d0ugal has quit IRC | 21:40 | |
*** mvk has joined #openstack-glance | 21:44 | |
*** d0ugal has joined #openstack-glance | 21:46 | |
*** catintheroof has quit IRC | 21:53 | |
*** rcernin has joined #openstack-glance | 22:01 | |
*** AlexeyAbashkin has joined #openstack-glance | 22:08 | |
*** AlexeyAbashkin has quit IRC | 22:13 | |
*** lbragstad has quit IRC | 22:24 | |
*** rcernin has quit IRC | 23:17 | |
*** nikhil has joined #openstack-glance | 23:41 | |
*** links has joined #openstack-glance | 23:44 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!