*** jmlowe has joined #openstack-glance | 00:01 | |
brinzhang_ | dansmith: ack, I will try, thanks | 00:03 |
---|---|---|
*** brinzhang0 has joined #openstack-glance | 00:06 | |
*** brinzhang_ has quit IRC | 00:09 | |
*** brinzhang has joined #openstack-glance | 00:17 | |
*** brinzhang0 has quit IRC | 00:20 | |
*** jmlowe has quit IRC | 00:58 | |
*** jmlowe has joined #openstack-glance | 00:59 | |
*** gyee has quit IRC | 02:33 | |
*** gyee has joined #openstack-glance | 02:40 | |
*** brinzhang_ has joined #openstack-glance | 03:33 | |
*** brinzhang has quit IRC | 03:36 | |
*** gyee has quit IRC | 04:14 | |
*** udesale has joined #openstack-glance | 04:33 | |
*** baojg has quit IRC | 04:40 | |
*** baojg has joined #openstack-glance | 04:41 | |
*** baojg has quit IRC | 05:12 | |
*** ratailor has joined #openstack-glance | 05:14 | |
*** ralonsoh has joined #openstack-glance | 07:28 | |
*** amoralej|off is now known as amoralej | 07:31 | |
*** baojg has joined #openstack-glance | 07:50 | |
openstackgerrit | Abhishek Kekane proposed openstack/glance master: [Doc] Policy support to copy unowned images https://review.opendev.org/742810 | 07:52 |
abhishekk | dansmith, ^^^ | 07:52 |
*** baojg has quit IRC | 08:37 | |
*** baojg has joined #openstack-glance | 08:39 | |
*** ratailor_ has joined #openstack-glance | 09:06 | |
*** ratailor has quit IRC | 09:08 | |
openstackgerrit | Abhishek Kekane proposed openstack/glance master: Victoria milestone 2 release notes https://review.opendev.org/742835 | 09:26 |
openstackgerrit | Abhishek Kekane proposed openstack/glance master: Victoria milestone 2 release notes https://review.opendev.org/742835 | 09:45 |
*** k_mouza has joined #openstack-glance | 10:08 | |
abhishekk | dansmith, glance-cache-prefetcher needs to communicate to g-api as we have removed the registry dependency from glance | 10:14 |
*** k_mouza has quit IRC | 10:19 | |
*** brinzhang_ has quit IRC | 10:20 | |
*** k_mouza has joined #openstack-glance | 10:29 | |
*** k_mouza has quit IRC | 10:45 | |
*** baojg has quit IRC | 10:48 | |
*** baojg has joined #openstack-glance | 10:50 | |
*** baojg has quit IRC | 10:50 | |
*** k_mouza has joined #openstack-glance | 10:51 | |
*** baojg has joined #openstack-glance | 10:52 | |
*** k_mouza has quit IRC | 10:53 | |
*** k_mouza has joined #openstack-glance | 10:53 | |
*** baojg has quit IRC | 10:55 | |
*** baojg has joined #openstack-glance | 10:57 | |
*** baojg has quit IRC | 11:01 | |
*** k_mouza has quit IRC | 11:01 | |
*** baojg has joined #openstack-glance | 11:02 | |
*** baojg has quit IRC | 11:03 | |
*** baojg has joined #openstack-glance | 11:04 | |
*** baojg has quit IRC | 11:05 | |
*** baojg has joined #openstack-glance | 11:08 | |
*** udesale_ has joined #openstack-glance | 11:11 | |
*** k_mouza has joined #openstack-glance | 11:12 | |
*** udesale has quit IRC | 11:13 | |
*** k_mouza has quit IRC | 11:17 | |
*** baojg has quit IRC | 11:42 | |
*** baojg has joined #openstack-glance | 11:44 | |
*** baojg has quit IRC | 12:06 | |
*** k_mouza has joined #openstack-glance | 12:07 | |
*** baojg has joined #openstack-glance | 12:08 | |
*** k_mouza has quit IRC | 12:12 | |
*** k_mouza has joined #openstack-glance | 12:18 | |
*** k_mouza has quit IRC | 12:23 | |
*** k_mouza has joined #openstack-glance | 12:28 | |
*** k_mouza has quit IRC | 12:31 | |
*** k_mouza has joined #openstack-glance | 12:31 | |
*** ratailor_ has quit IRC | 12:34 | |
*** amoralej is now known as amoralej|lunch | 12:44 | |
*** zigo has quit IRC | 13:19 | |
*** baojg has quit IRC | 13:27 | |
*** amoralej|lunch is now known as amoralej | 13:28 | |
*** baojg has joined #openstack-glance | 13:29 | |
*** zigo has joined #openstack-glance | 13:31 | |
dansmith | rosmaita: you said you wanted to see tempest tests on the wsgi stack, | 13:38 |
dansmith | rosmaita: do you mean the regular set of tempest tests or the new unmerged ones for import? | 13:39 |
openstackgerrit | Dan Smith proposed openstack/glance master: DNM: Run tempest tests on WSGI stack https://review.opendev.org/742883 | 13:39 |
dansmith | this ^ will get the latter | 13:39 |
*** baojg has quit IRC | 13:39 | |
dansmith | the former is the tempest-integrated-storage-wsgi-import job | 13:40 |
*** baojg has joined #openstack-glance | 13:40 | |
rosmaita | dansmith: i mean the latter | 13:43 |
dansmith | okay | 13:45 |
*** njohnston has joined #openstack-glance | 13:55 | |
*** k_mouza has quit IRC | 14:00 | |
openstackgerrit | Merged openstack/glance stable/ussuri: Fix broken glance-cache-manage utility https://review.opendev.org/742742 | 14:01 |
dansmith | abhishekk: re: your poke earlier.. the prefetcher is the daemon thing right? why does it need to talk to the api? | 14:02 |
dansmith | abhishekk: I got the impression that the api stored the image queue requests in a sqlite db that the prefetcher could read just like the unified api's periodic task could | 14:02 |
abhishekk | dansmith, the earlier (when registry was available) the prefetcher daemon used to get the information related queued images from the sqllite db and then it was communicating with glance registry to pull those down in the cache | 14:06 |
abhishekk | since we removed registry now there is no way to do so rather than communicating with the g-api | 14:06 |
dansmith | okay I'm missing something | 14:07 |
abhishekk | dansmith, if you go through prefetcher tool from pike you will understand the flow | 14:08 |
dansmith | is there something that prevents that from working with the api running as wsgi? | 14:08 |
abhishekk | at the moment it fails to establish the sql connection with glance db | 14:09 |
dansmith | what does, the prefetcher daemon? and the main mysql db or the sqlite? | 14:09 |
openstackgerrit | Abhishek Kekane proposed openstack/glance stable/train: Fix broken glance-cache-manage utility https://review.opendev.org/742889 | 14:10 |
abhishekk | let me tell you step by step | 14:11 |
*** k_mouza has joined #openstack-glance | 14:11 | |
abhishekk | sqllite db is just used to store cache related information (like no of hits to cache, last hit time etc), it does not store image related info | 14:12 |
abhishekk | prefetcher used to poke registry with image-id to get location of the image | 14:13 |
abhishekk | using that location url later prefetcher was communicating with glance_store to pull the image data and store it in cache | 14:13 |
abhishekk | so second step where registry was used requires glance database to pull the actual image information | 14:14 |
dansmith | okay, that's the main glance db yeah? | 14:14 |
dansmith | and presumably the prefetcher, if it has a token, could look at the api to see the locations instead of the glance db, is that what you meant before? | 14:15 |
abhishekk | by saying glance db I am actually referring the db which is used by API (or registry before removing) | 14:16 |
dansmith | is that not the mysql db? | 14:17 |
dansmith | i.e. where all the image info is stored | 14:17 |
abhishekk | yes mysql db :) | 14:18 |
dansmith | right, okay, so ... either the prefetcher needs to be able to talk to the database to get the location info, | 14:21 |
dansmith | or to the API to get it right? | 14:21 |
abhishekk | yes | 14:22 |
openstackgerrit | Abhishek Kekane proposed openstack/glance master: Victoria milestone 2 release notes https://review.opendev.org/742835 | 14:26 |
*** baojg has quit IRC | 14:33 | |
openstackgerrit | Sean McGinnis proposed openstack/glance master: Fix release note formatting https://review.opendev.org/742893 | 14:34 |
*** baojg has joined #openstack-glance | 14:34 | |
dansmith | abhishekk: sorry I got pulled into something else that I need to resolve | 14:39 |
abhishekk | dansmith, no issues | 14:39 |
*** k_mouza has quit IRC | 14:43 | |
*** k_mouza has joined #openstack-glance | 14:53 | |
*** udesale_ has quit IRC | 14:55 | |
openstackgerrit | Dan Smith proposed openstack/glance master: DNM: Run tempest tests on WSGI stack https://review.opendev.org/742883 | 14:59 |
*** k_mouza has quit IRC | 15:03 | |
openstackgerrit | Abhishek Kekane proposed openstack/glance master: Victoria milestone 2 release notes https://review.opendev.org/742835 | 15:18 |
*** k_mouza has joined #openstack-glance | 15:19 | |
openstackgerrit | Abhishek Kekane proposed openstack/glance master: [Doc] Policy support to copy unowned images https://review.opendev.org/742810 | 15:21 |
-openstackstatus- NOTICE: We are renaming projects in Gerrit and review.opendev.org will experience a short outage. Thank you for your patience. | 15:22 | |
*** k_mouza has quit IRC | 15:23 | |
* abhishekk dinner break, back in 45 mins | 15:28 | |
*** k_mouza has joined #openstack-glance | 15:32 | |
*** k_mouza has quit IRC | 15:36 | |
*** k_mouza has joined #openstack-glance | 15:37 | |
*** gyee has joined #openstack-glance | 15:42 | |
*** k_mouza has quit IRC | 15:42 | |
*** k_mouza has joined #openstack-glance | 15:47 | |
*** k_mouza has quit IRC | 15:51 | |
*** k_mouza has joined #openstack-glance | 15:54 | |
*** k_mouza has quit IRC | 15:59 | |
*** k_mouza has joined #openstack-glance | 16:04 | |
*** k_mouza has quit IRC | 16:08 | |
*** amoralej is now known as amoralej|off | 16:08 | |
*** k_mouza has joined #openstack-glance | 16:15 | |
*** k_mouza has quit IRC | 16:17 | |
*** k_mouza has joined #openstack-glance | 16:18 | |
*** baojg has quit IRC | 16:26 | |
*** baojg has joined #openstack-glance | 16:28 | |
dansmith | jokke: async notification that I answered your questioj | 16:45 |
dansmith | *question | 16:45 |
dansmith | abhishekk: which doc do we mention the new [wsgi] stuff in? the httpd doc? I figure we need to revert the changes to that before we go add this as the instructions have been replaced with "don't do this" IIRC | 16:46 |
abhishekk | dansmith, let me check | 16:47 |
dansmith | abhishekk: btw I've noticed this test fails randomly sometimes: https://afe51b0fdebfaf851085-afdd1b8d1365a659d6bca493609e84c0.ssl.cf1.rackcdn.com/742883/2/check/openstack-tox-lower-constraints/5a8ef4e/testr_results.html | 16:48 |
dansmith | ah maybe I should change that mock if something is getting lost there | 16:49 |
abhishekk | I am seeing this failure first time | 16:49 |
dansmith | I think it's that mock, I'll update it after jokke has a chance to find other stuff | 16:53 |
abhishekk | dansmith, ack | 16:53 |
abhishekk | also I will revert my comment about doc change, but we need to address it once docs are reverted | 16:54 |
dansmith | yep agreed | 16:56 |
*** k_mouza has quit IRC | 16:59 | |
jokke | dansmith: cheers | 17:14 |
*** k_mouza has joined #openstack-glance | 17:17 | |
jokke | dansmith: great ... I wasn't exactly sure how that affected so just caught my eye there. Cheers for the clarification | 17:17 |
dansmith | I probably assumed it was too obvious that that should ever ever happen except if someone does something wrong but I'll update the docstring to indicate *why* that would happen | 17:18 |
dansmith | since I need to update that mock in test_images anyway | 17:18 |
jokke | It kind of was, more of a thing that we really don't have history of using asserts like that so I wasn't exactly sure if that assert would have been treated some other way than regular exception but same time it looked like "this should never happen so why is it here and is there a problem if it's not" :P | 17:20 |
*** k_mouza has quit IRC | 17:21 | |
*** k_mouza has joined #openstack-glance | 17:22 | |
dansmith | well yes a failed assert just raises AssertionError, which could be caught from the caller if desired | 17:23 |
dansmith | but yeah, in this case it's never caught because it should never happen :) | 17:24 |
jokke | makes sense | 17:25 |
*** baojg has quit IRC | 17:26 | |
dansmith | the benefit of using an assert is that, as you point out, they can be dropped like comments for runtime optimization | 17:26 |
*** k_mouza has quit IRC | 17:27 | |
*** baojg has joined #openstack-glance | 17:27 | |
jokke | dansmith: eyeballed it through couple of more times now. Nothing else really standing out. Personally I think bit more logging wouldn't hurt, but I'm more than happy to loo after that on follow up rather than having you going around and doing it. | 17:30 |
jokke | s/loo/look/ | 17:30 |
dansmith | jokke: I'm happy to be more verbose in logging | 17:31 |
dansmith | I have to update that mock, and the docstring so I might as well sprinkle some more logs in there now and then we can add more later if you want | 17:31 |
jokke | If you are respinning it anyways, the one thing in that change that would be great to have logged is the threadpool init. Just giving indication of the mode and pool size ... could help debugging | 17:32 |
dansmith | yep, was just typing there :) | 17:33 |
jokke | easy to confirm that under uwsgi it's indeed real threads and how many ;) | 17:33 |
jokke | and same with eventlet that we don't anywhere start suddenly threadpool with real threads if not actually intended. | 17:33 |
dansmith | sure | 17:34 |
openstackgerrit | Abhishek Kekane proposed openstack/glance stable/train: Fix broken glance-cache-manage utility https://review.opendev.org/742889 | 17:35 |
dansmith | gmann: This didn't get the import tests in tempest turned on, do I need to do something other than depend on your thing? https://review.opendev.org/#/c/742883/ | 17:47 |
gmann | dansmith: it should run as devstack enabling import is there in depends-on series | 17:49 |
gmann | checking. | 17:49 |
dansmith | yeah I thought so | 17:49 |
openstackgerrit | Dan Smith proposed openstack/glance master: Make glance-api able to do async tasks in WSGI mode https://review.opendev.org/742065 | 17:49 |
openstackgerrit | Dan Smith proposed openstack/glance master: Make image conversion use a proper python interpreter for prlimit https://review.opendev.org/742314 | 17:49 |
openstackgerrit | Dan Smith proposed openstack/glance master: Make wsgi_app support graceful shutdown https://review.opendev.org/742493 | 17:50 |
openstackgerrit | Dan Smith proposed openstack/glance master: DNM: Run tempest tests on WSGI stack https://review.opendev.org/742883 | 17:50 |
dansmith | jokke: ^ | 17:50 |
gmann | dansmith: they are running - https://a7278579f2a7b68e8a09-643409a283e79db7e81f738ea775c76a.ssl.cf5.rackcdn.com/742883/2/check/tempest-integrated-storage/a29c5d9/testr_results.html | 17:51 |
gmann | https://zuul.opendev.org/t/openstack/build/a29c5d9f2f77474683590202accbbc56/log/job-output.txt#26585 | 17:52 |
dansmith | gmann: oh sorry, I meant in the wsgi job | 17:53 |
gmann | ohk | 17:53 |
dansmith | tempest-integrated-storage-wsgi-import | 17:53 |
dansmith | oh I see | 17:54 |
dansmith | you only set it in standalone mode in the devstack patch | 17:54 |
gmann | dansmith: i see, i am setting the flag with standalone flag - https://zuul.opendev.org/t/openstack/build/e5c406666bf84d6a9ef20de3dbd961f3/log/controller/logs/tempest_conf.txt#56 | 17:55 |
dansmith | yeah, can I set $TEMPEST_CONF in local.conf? | 17:55 |
dansmith | er, "set things in $TEMPEST_CONF" | 17:55 |
dansmith | if so I can just override in that patch in .zuul | 17:55 |
gmann | let me change it with GLANCE_USE_IMPORT_WORKFLOW | 17:56 |
dansmith | ah okay that'd work | 17:56 |
gmann | you can do in zuul.yaml also | 17:56 |
dansmith | okay | 17:56 |
openstackgerrit | Dan Smith proposed openstack/glance master: DNM: Run tempest tests on WSGI stack https://review.opendev.org/742883 | 17:58 |
gmann | dansmith: done https://review.opendev.org/#/c/742574/ | 17:59 |
gmann | i will set that flag in tempest full job also | 17:59 |
dansmith | cool, thanks | 17:59 |
gmann | sorry for not considering the wsgi case :) | 18:00 |
* abhishekk signing out for the day, have a nice weekend all | 18:00 | |
*** k_mouza has joined #openstack-glance | 18:00 | |
dansmith | no problem.. the dependency graph here is crazy :) | 18:00 |
dansmith | abhishekk: o/ | 18:00 |
abhishekk | o/~ | 18:00 |
gmann | let me get devstack and tempet patches merge for easy dependencies | 18:01 |
dansmith | I just fixed rosmaita's comment on images_client.py | 18:04 |
dansmith | (I think) | 18:04 |
gmann | thanks, i did not check those | 18:04 |
*** k_mouza has quit IRC | 18:05 | |
gmann | we updated at same time and lost your changes, let me update on top of your. | 18:06 |
dansmith | oops, sorry | 18:06 |
openstackgerrit | Merged openstack/glance master: Fix release note formatting https://review.opendev.org/742893 | 18:09 |
gmann | dansmith: updated now, please recheck on 742883/ | 18:10 |
dansmith | I think I need a rebase | 18:13 |
*** gmann is now known as gmann_lunch | 18:13 | |
openstackgerrit | Dan Smith proposed openstack/glance master: Make glance-api able to do async tasks in WSGI mode https://review.opendev.org/742065 | 18:13 |
openstackgerrit | Dan Smith proposed openstack/glance master: Make image conversion use a proper python interpreter for prlimit https://review.opendev.org/742314 | 18:13 |
openstackgerrit | Dan Smith proposed openstack/glance master: Make wsgi_app support graceful shutdown https://review.opendev.org/742493 | 18:13 |
openstackgerrit | Dan Smith proposed openstack/glance master: DNM: Run tempest tests on WSGI stack https://review.opendev.org/742883 | 18:13 |
dansmith | gmann_lunch: thanks! | 18:13 |
jokke | dansmith: the first patch on the chain looks great ... looking forward to play around with those changes in my test env maybe over the weekend. | 18:17 |
dansmith | jokke: I think you should find something better to do with your weekend, but... as you wish :) | 18:18 |
jokke | dansmith: IKR ... yet I actually am quite exited to see all this working :D | 18:20 |
dansmith | well, you can look at the wsgi-import job to see that, but.. sure sure :) | 18:21 |
jokke | now I'm heading to the store 'though ... Need to keep the priorities in check and I'm short on beer :P | 18:22 |
jokke | I think I have nothing under 8.5%ABV in stock | 18:23 |
jokke | will poke my head in here once I'm back so just highlight if you need something from me before I call it a weekend. | 18:23 |
dansmith | enjoy :) | 18:24 |
*** gmann_lunch is now known as gmann | 19:19 | |
dansmith | rosmaita: https://storage.bhs.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_d8d/742883/5/check/tempest-integrated-storage-wsgi-import/d8dac4d/testr_results.html | 19:36 |
dansmith | smcginnis: just sayin' https://imgur.com/a/8j0Uu9C | 19:42 |
dansmith | there may or may be two more unfinished panels, but... :) | 19:43 |
rosmaita | dansmith: nice! | 19:52 |
smcginnis | dansmith: Not bad! | 19:56 |
*** ralonsoh has quit IRC | 19:57 | |
dansmith | rosmaita: the dependency graph for everything that is up right now is super crazy big so I'm waiting to land some of it before I start retooling the jobs to have some semblance of organization, | 19:58 |
dansmith | but that's definitely going to happen | 19:58 |
dansmith | we have like glance->tempest->devstack->glance->devstack at least going on right now | 19:58 |
dansmith | I also want to import my nova job to your tree, | 19:59 |
dansmith | so that you will get a nova-multistore, glance-multistore, ceph, import-enabled, image-converting copy-image test | 19:59 |
dansmith | which is currently running in nova right now (and working) | 20:00 |
jokke | dansmith: nice, ty ... you deserve something better than beer :D | 20:14 |
dansmith | I like cars. | 20:14 |
jokke | I think I found just the right thing if I can figure out delivery https://hotwheels.mattel.com/shop/en-us/hw/cars-vehicles/hot-wheels-monster-trucks-test-subject-gbv38 :P | 20:24 |
dansmith | heh | 20:33 |
*** baojg has quit IRC | 20:57 | |
*** baojg has joined #openstack-glance | 20:58 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!