Monday, 2020-11-30

sorrisonlxkong: thanks for the local.conf. I used that (except didn't set HOST_IP and use master trove) and still get the same issue. my local.conf is http://paste.openstack.org/show/800526/00:03
sorrisonI just rebuilt it and the trove guest image doesn't have ping anymore which I'm trying to figure out00:03
lxkongyou are using a vm for devstack host?00:04
sorrisonyeah00:08
sorrisonmy trove instances only have the trove-mgmt interface00:08
sorrisonmaybe it's assuming it has a user interface too and that is how it's getting out to the controller?00:09
lxkonghave you checked the console log of the vm and the trove task manager log?00:09
sorrisonyeah once I change the controller IP in the trove.conf etc. I can get it upto trying to talk to docker registry00:09
sorrisonso I'm guessing it needs the users network attached to actually work and the trove-mgmt port isn't enough?00:10
sorrisonas it doesn't even have a default route00:10
lxkongso you are not specifying a user network?00:11
lxkongwhat's your command to create the instance?00:11
sorrisonno I didn't specify one00:11
sorrisonopenstack database instance create --flavor d2 --size 1 sam100:11
sorrisonI assumed the trove-mgmt interface was for talking to the controller etc.?00:12
sorrisonok with using the `private` network it gets further but I thinks registry is localhost `404 Client Error: Not Found for url: http+docker://localhost/v1.40/containers/database/json`00:22
*** congnt96 has quit IRC00:24
sorrisonI'm guessing https://review.opendev.org/c/openstack/trove/+/764260 removed ping and other handy tools from the guest images too, be good to get those back, they take up no room and can he very handy for operators when debugging issues00:25
sorrisonI can't see any config option to be able to set the container registry to something other than localhost too, maybe I'm missing something00:28
*** tosky has quit IRC00:39
lxkongback00:41
lxkongby default, the user network is supposed to be the first nic of the vm and its gateway is served as the default network gateway, so the docker pull is going through that interface (could be modified by cloud admin). Mgmt network should be used to talk to the controller.00:41
lxkongthe set up in devstack is special and is just for testing00:41
sorrisonyeah ok, so looks like the trove-mgmt network is not used by devstack at all00:42
lxkongthe cloud operator has full control over the networking by e.g. providing cloud-init config or config in the infra layer00:42
lxkongin our case, we did something in our infra router for the mgmt traffic00:43
* lxkong goes to a meeting00:44
sorrisonyeah makes sense. So do you know why it's using localhost for container registry?00:44
sorrisonah ok, chat later00:44
openstackgerritMerged openstack/trove master: Use nested virt node for trove functional test  https://review.opendev.org/c/openstack/trove/+/76363001:48
*** congnt95 has quit IRC03:52
*** congnt95 has joined #openstack-trove03:54
*** congnt95 has quit IRC03:57
*** congnt95 has joined #openstack-trove03:59
sorrisonlxkong: Just wondering if you're around. I can't seem to figure out why it's using the URL `http+docker://localhost/v1.40/containers/database/json` to get a container04:41
sorrisonit them looks for `404 Client Error for http+docker://localhost/v1.40/images/mysql:5.7.29/json`04:41
openstackgerritSam Morrison proposed openstack/trove-tempest-plugin master: [WIP] reinstate removed api tests  https://review.opendev.org/c/openstack/trove-tempest-plugin/+/76147205:25
openstackgerritSam Morrison proposed openstack/trove-tempest-plugin master: [WIP] reinstate removed api tests  https://review.opendev.org/c/openstack/trove-tempest-plugin/+/76147205:31
*** tosky has joined #openstack-trove08:37
*** damien_r has quit IRC08:48
*** damien_r has joined #openstack-trove09:01
openstackgerritCong Nguyen Thanh proposed openstack/trove stable/victoria: Get slave_pos to choose latest replica  https://review.opendev.org/c/openstack/trove/+/76450709:02
lxkongsorrison: are you able to access the dockerhub inside the guest instance? Anything suspicious in `/etc/hosts`? I've several devstack installations in different VMs but never seen this before.09:03
openstackgerritMerged openstack/trove master: Get slave_pos to choose latest replica  https://review.opendev.org/c/openstack/trove/+/76349809:39
openstackgerritLingxian Kong proposed openstack/trove stable/victoria: Get slave_pos to choose latest replica  https://review.opendev.org/c/openstack/trove/+/76450709:57
*** e0ne has joined #openstack-trove11:01
*** tosky has quit IRC12:24
*** tosky has joined #openstack-trove12:25
*** e0ne has quit IRC13:00
*** e0ne has joined #openstack-trove13:56
*** e0ne has quit IRC14:21
*** e0ne has joined #openstack-trove14:59
*** e0ne has quit IRC15:38
*** dkehn has quit IRC15:44
-openstackstatus- NOTICE: The Gerrit service on review.opendev.org is being restarted quickly to troubleshoot high load and poor query caching performance, downtime should be less than 5 minutes16:22
*** e0ne has joined #openstack-trove16:45
*** e0ne has quit IRC16:51
*** e0ne has joined #openstack-trove17:21
*** hoonetorg has joined #openstack-trove17:23
*** e0ne has quit IRC17:25
*** e0ne has joined #openstack-trove17:29
*** e0ne has quit IRC17:42
*** hoonetorg has quit IRC19:25
*** hoonetorg has joined #openstack-trove19:26
*** tosky has quit IRC19:45
*** tosky has joined #openstack-trove20:48
sorrisonkxkong: Yeah I can do a `curl https://hub.docker.com/` ok21:52
sorrisonnothing of interest in /etc/hosts21:52
sorrisonalso see a `requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: http+docker://localhost/v1.40/images/create?tag=5.7.29&fromImage=mysql`22:04
-openstackstatus- NOTICE: The Gerrit service on review.opendev.org is being restarted quickly to make further query caching and Git garbage collection adjustments, downtime should be less than 5 minutes22:37
openstackgerritMerged openstack/trove stable/victoria: Get slave_pos to choose latest replica  https://review.opendev.org/c/openstack/trove/+/76450722:40
lxkongsorrison: the error happened when you do 'docker pull'?22:43
sorrisonno it's in the logs22:45
lxkongsorrison: can you paste me the trove-guestagent log?22:45
sorrisonhttp://paste.openstack.org/show/800576/22:46
sorrisonI'm thinking localhost in the log errors is wrong as it's getting a 404 and a 500 and there is no webservice running on localhost?22:46
lxkongthe same error if you try 'docker pull mysql:5.7.29'?22:48
sorrisonthat works22:48
sorrisonas root, should it be done as a different user22:49
lxkongthe guest image was built by devstack or manually?22:49
sorrisondevstack built it22:49
lxkongyeah, you can try to use the ubuntu user22:49
sorrisonyeah works as the ubuntu users too22:50
lxkonginside the instance, can you try https://dpaste.com/AKP9YJF8H?22:54
*** rcernin has joined #openstack-trove23:03
lxkongsorrison: did you mention that you don't have user port attached to the guest instance? Is that going to be the problem?23:22
sorrisonNo this is with a user port23:22
sorrisonthat snippet you sent worked23:23
sorrisonok I just tied again and it worked. I'm guessing there were some docker hub issues23:30
sorrisongoing by those 500 errors that docker hub was giving me. the logs say localhost but it must be dockerhub returning the 500s23:31
sorrisonanother question (sorry I have so many :-) ) with the tempest plugin I see it creates it's own network/subnet/router etc. Just wondering why it does this as opposed to using the network that tempest creates for each job?23:32
sorrisontried again and it failed. seems dockerhub is very flakey23:50

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!