Thursday, 2024-06-13

*** bauzas_ is now known as bauzas00:32
*** bauzas_ is now known as bauzas01:42
*** bauzas_ is now known as bauzas03:45
*** bauzas_ is now known as bauzas04:01
*** bauzas- is now known as bauzas04:34
*** bauzas_ is now known as bauzas05:34
ralonsohstephenfin, hello! quick question: I was playing with devstack master but using branch=2024.105:46
ralonsohand this came out: https://review.opendev.org/c/openstack/devstack/+/90275805:46
ralonsohbecause Nova patch is in master, nova-api was failing05:46
ralonsohis that ok? shouldn't devstack 2024.2 (in some months) be able to spawn a 2024.1 environment? just asking05:47
*** bauzas_ is now known as bauzas05:59
*** bauzas_ is now known as bauzas06:15
fricklerralonsoh: no, devstack isn't supposed to be backwards compatible, you always need to use the matching stable branch for what you want to deploy06:24
ralonsohunderstood, so we are good then06:24
sean-k-mooneymaster does sometimes work with older release but wihtout pinning all the versions in stack rc its proably not going to deploy what you think it is. so ya i always checkout the relevent branch before trying to use it to deploy something06:26
sean-k-mooneyjust overridieng TARGET_BRANCH has never worked reliably so i dont even try since that is not tested06:27
*** bauzas_ is now known as bauzas06:31
*** bauzas_ is now known as bauzas07:00
*** bauzas_ is now known as bauzas07:41
*** bauzas_ is now known as bauzas08:24
*** bauzas_ is now known as bauzas08:55
*** bauzas_ is now known as bauzas09:23
opendevreviewStephen Finucane proposed openstack/placement master: tox: Simplify functional testenv definitions  https://review.opendev.org/c/openstack/placement/+/91957809:54
opendevreviewStephen Finucane proposed openstack/placement master: Integrate pre-commit  https://review.opendev.org/c/openstack/placement/+/91957909:54
opendevreviewStephen Finucane proposed openstack/placement master: pre-commit: Add sphinx-lint  https://review.opendev.org/c/openstack/placement/+/91958009:54
opendevreviewMerged openstack/osc-placement master: Replace simplejson by built-in json  https://review.opendev.org/c/openstack/osc-placement/+/91999910:47
*** tosky_ is now known as tosky12:28
ozzzo_workCan anyone help with my "openstack server list" question?13:12
sean-k-mooneyproably ask away13:12
ozzzo_workI'm using this stupid web client so I have no history; I'll email it to work from my home computer13:15
sean-k-mooneyoh i see 13:16
sean-k-mooneyopenstack server list --limit -113:16
sean-k-mooneyyou want to list all vms13:16
sean-k-mooneyhttps://paste.openstack.org/show/bYNdWz8brEgB2ovSGiUF/13:16
ozzzo_workyes13:17
sean-k-mooneyi think "openstack server list --all-projects"  will list all vms if you jsut dont have limit unless that changed with the sdk and its alwasy using pagination now13:17
ozzzo_workIn 5.5.0 the limit is 100013:18
ozzzo_worklet me test in 6.6.0 real quick13:18
sean-k-mooneyif you have more vms then the api limit13:19
sean-k-mooneyyou need to use https://docs.openstack.org/python-openstackclient/latest/cli/command-objects/server.html#cmdoption-openstack-server-list-marker13:19
sean-k-mooneypassing the last server uuid as the marker13:19
sean-k-mooneyand make mulitple requests13:19
sean-k-mooneybut assuming you dont hit the api limit and if you dont pass --limit i would expelct it to list htem all13:20
ozzzo_workwe have >1000 VMs in some regions13:20
sean-k-mooneyi am not sure if osc handeles automatic pagination if you dont pass a limit13:20
ozzzo_workTheoretically I could rewrite my scripts to use pagination, but "--limit -1" was nice because it was simple. Is there anything I can do to make it work in 6.6.0? I tried setting a different api version but that didn't seem to make a difference13:24
sean-k-mooneyno i dont think so. i belive this behaivor changed bcause osc is not using nova clinet anymore and the sdk does not supprot -1 for automatic client side pagination13:26
sean-k-mooneyyou could try using 2.113:26
sean-k-mooneybut i think pagination for servers predates microverions13:26
ozzzo_work2.1 doesn't change the behavioor13:28
sean-k-mooneythen ya server list supported pagination before micorverions so there is no way to turn it off13:30
sean-k-mooneywhich means it has to be done client side13:30
ozzzo_workok ty sean13:36
opendevreviewSahid Orentino Ferdjaoui proposed openstack/nova master: scheduler: fix _get_sharing_providers to support unlimited aggr  https://review.opendev.org/c/openstack/nova/+/92166513:36
ozzzo_workaha it looks like I can delay rewriting my script by using "nova list" with -113:39
sean-k-mooneyyes although nova client is deprecated. we proably wont delete it for another release or 3 becasue the python binding are still used in some other project13:49
sean-k-mooneybut eventually it will go away13:50
*** bauzas_ is now known as bauzas17:07
*** bauzas_ is now known as bauzas18:29
*** bauzas_ is now known as bauzas18:46
*** bauzas_ is now known as bauzas19:51
*** bauzas_ is now known as bauzas20:21
*** bauzas_ is now known as bauzas20:42
*** haleyb is now known as haleyb|out20:56
*** bauzas_ is now known as bauzas22:52

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