*** tosky has quit IRC | 00:00 | |
openstackgerrit | Lingxian Kong proposed openstack/trove master: About Trove datastore image https://review.opendev.org/699530 | 02:06 |
---|---|---|
openstackgerrit | Merged openstack/trove master: About Trove datastore image https://review.opendev.org/699530 | 02:42 |
openstackgerrit | Lingxian Kong proposed openstack/trove master: Fix the log related tests https://review.opendev.org/699386 | 02:48 |
*** jamesmcarthur has joined #openstack-trove | 03:29 | |
*** jamesmcarthur has quit IRC | 03:44 | |
*** goldyfruit has quit IRC | 04:16 | |
*** pcaruana has joined #openstack-trove | 05:24 | |
*** jamesmcarthur has joined #openstack-trove | 06:46 | |
*** jamesmcarthur has quit IRC | 06:51 | |
*** rcernin has quit IRC | 06:56 | |
*** trungnv has joined #openstack-trove | 07:38 | |
trungnv | lxkong: I hit an error with trove cluster-list with msg: ERROR: Gateway Timeout (HTTP 504) -- I also tried debug then trove still return cluster list, but trove client raise error before | 07:47 |
trungnv | Should I change something in config file? | 07:47 |
*** damien_r has joined #openstack-trove | 08:02 | |
*** damien_r has quit IRC | 08:03 | |
*** damien_r has joined #openstack-trove | 08:03 | |
*** damien_r has quit IRC | 08:15 | |
*** damien_r has joined #openstack-trove | 08:15 | |
*** tosky has joined #openstack-trove | 08:18 | |
*** tosky has quit IRC | 08:32 | |
lxkong | trungnv: which version are you using? Have you tried openstack CLI? I have no problem in my devstack environment(master) | 08:47 |
lxkong | trungnv: `trove cluster-list` also works | 08:48 |
trungnv | I am using stein version | 08:55 |
trungnv | sometime cluster-show also hit same error | 08:55 |
lxkong | trungnv: any reason you are not using stable/train? | 08:56 |
lxkong | trungnv: as far as i can tell, trove is in good shape since stable/train | 08:57 |
lxkong | a lot of improvements, both on server side and client side | 08:57 |
trungnv | oki. I should upgrade into train for testing | 08:58 |
lxkong | trungnv: cool beans | 08:58 |
trungnv | thanks lxkong | 08:58 |
lxkong | np | 08:58 |
trungnv | I also tried with --timeout arg but it's not effected with trove command | 08:59 |
trungnv | lxkong: still timeout with openstack cli and stable/train | 09:04 |
lxkong | trungnv: have you tried to send HTTP request directly? | 09:05 |
lxkong | trungnv: is it possible that your API server not responding? | 09:05 |
trungnv | no. I still get instances from openstack database instance list or trove list | 09:08 |
lxkong | have you tried to send HTTP request directly? | 09:08 |
lxkong | s it possible that your API server not responding? | 09:08 |
trungnv | Same error with HTTPS request. API server is working and have responding with other requests, such as instances list, flavor list | 09:13 |
lxkong | trungnv: log? | 09:14 |
trungnv | I saw trove-api.service still load instances | 09:14 |
*** tosky has joined #openstack-trove | 09:16 | |
trungnv | lxkong: some logs from trove-api http://paste.ubuntu.com/p/mRv3YqpVYh/ | 09:23 |
lxkong | trungnv: you are using devstack, right? | 09:29 |
lxkong | trungnv: I didn't see the request like `GET /v1.0/2afa58fd5db34fd8b7b659d997a5341f/clusters` in the api log. | 09:29 |
lxkong | in my devstack environment, i can see reqeusts like `GET /v1.0/2afa58fd5db34fd8b7b659d997a5341f/clusters` in `/var/log/apache2/trove-api-access.log` | 09:30 |
trungnv | lxkong: I am not using devstack. Just is a missing in copy. It's still have in the log | 09:35 |
trungnv | DEBUG (session:375) REQ: curl -g -i -X GET https://<host_name>:8779/v1.0/da773a3dc279454e80bbcc7bf49f8f9b/clusters -H "X-Auth-Token: {SHA1}12221196faeb0eb735cf83c686c997479a3e6ce2" -H "User-Agent: trove keystoneauth1/3.1.0 python-requests/2.18.1 CPython/3.5.2" -H "Accept: application/json" | 09:35 |
trungnv | http://paste.ubuntu.com/p/ykHDKgGMTn/ | 09:36 |
lxkong | trungnv: how did you send http request? | 09:38 |
lxkong | trungnv: what i am suggesting is, sending http request instead of using troveclient, and see what the api log says. | 09:38 |
trungnv | get token via openstack token issue, then GET with above request --> same error | 09:39 |
lxkong | no error in api log? | 09:40 |
lxkong | could you show api log related to the http request | 09:40 |
lxkong | what happened after api receives the cluster list request? | 09:40 |
trungnv | http://paste.ubuntu.com/p/pShqjNx7sY/ lifeless | 09:45 |
trungnv | http://paste.ubuntu.com/p/pShqjNx7sY/ lxkong | 09:45 |
lxkong | trungnv: hmm...weird, i didn't see any log related to clusters | 09:48 |
trungnv | hmm. I am not sure. This is full API log after I run http request | 09:49 |
lxkong | trungnv: if you enable log debug, after sending the request, you should see logs start with `Showing a list of clusters for Tenant ` | 09:49 |
lxkong | if not, it should be the haproxy/apache/nginx issue | 09:49 |
lxkong | because on the server side, trove just does query from database and return the result | 09:50 |
lxkong | nothing special | 09:50 |
trungnv | 2019-12-18 16:51:44.872 44 INFO eventlet.wsgi [-] 192.168.10.20 - - [18/Dec/2019 16:51:44] "GET /v1.0/da773a3dc279454e80bbcc7bf49f8f9b/clusters/41de25bd-f117-47d9-aaa3-6bb080cb30cc HTTP/1.1" 200 0 62.796674 | 09:53 |
trungnv | Sorry, this log just appear | 09:53 |
trungnv | perhaps, cluster list will list instances first then cluster | 09:58 |
trungnv | I also saw error of eventlet after get cluster http://paste.ubuntu.com/p/KWY4tgzjPm/ | 10:02 |
*** tosky has quit IRC | 10:02 | |
*** tosky has joined #openstack-trove | 10:03 | |
*** jamesmcarthur has joined #openstack-trove | 13:05 | |
*** jamesmcarthur has quit IRC | 13:12 | |
*** jamesmcarthur has joined #openstack-trove | 13:13 | |
*** jamesmcarthur has quit IRC | 13:29 | |
openstackgerrit | Merged openstack/trove master: Fix the log related tests https://review.opendev.org/699386 | 13:48 |
*** jamesmcarthur has joined #openstack-trove | 13:55 | |
*** jamesmcarthur has quit IRC | 13:59 | |
*** goldyfruit has joined #openstack-trove | 14:01 | |
*** jamesmcarthur has joined #openstack-trove | 14:03 | |
*** damien_r has quit IRC | 16:44 | |
*** tosky has quit IRC | 18:23 | |
*** openstackgerrit has quit IRC | 18:43 | |
*** jamesmcarthur has quit IRC | 19:03 | |
*** jamesmcarthur has joined #openstack-trove | 19:26 | |
*** jamesmcarthur has quit IRC | 19:38 | |
*** jamesmcarthur has joined #openstack-trove | 20:09 | |
*** openstackgerrit has joined #openstack-trove | 20:45 | |
openstackgerrit | Lingxian Kong proposed openstack/trove stable/train: Fix the log related tests https://review.opendev.org/699868 | 20:45 |
openstackgerrit | Lingxian Kong proposed openstack/trove stable/train: Rename devstack variable TROVE_DISABLE_IMAGE_SETUP https://review.opendev.org/699870 | 20:56 |
openstackgerrit | Lingxian Kong proposed openstack/trove stable/train: Support incremental backup for MariaDB https://review.opendev.org/699873 | 21:11 |
openstackgerrit | Lingxian Kong proposed openstack/trove stable/train: Use dedicated service credential config https://review.opendev.org/699874 | 21:32 |
*** dkehn has quit IRC | 21:50 | |
*** pcaruana has quit IRC | 21:54 | |
*** jamesmcarthur has quit IRC | 22:04 | |
openstackgerrit | Lingxian Kong proposed openstack/trove master: Support PostgreSQL 12 https://review.opendev.org/699100 | 22:13 |
openstackgerrit | Lingxian Kong proposed openstack/trove master: Show service_status_updated in instance API https://review.opendev.org/699061 | 22:13 |
openstackgerrit | Lingxian Kong proposed openstack/trove stable/train: Support to build dev datastore image in CI job https://review.opendev.org/699883 | 22:49 |
openstackgerrit | Lingxian Kong proposed openstack/trove stable/train: Support to build dev datastore image in CI job https://review.opendev.org/699883 | 23:00 |
*** rcernin has joined #openstack-trove | 23:10 | |
*** goldyfruit_ has joined #openstack-trove | 23:23 | |
*** goldyfruit has quit IRC | 23:24 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!