*** bauzas_ is now known as bauzas | 00:32 | |
*** bauzas_ is now known as bauzas | 01:42 | |
*** bauzas_ is now known as bauzas | 03:45 | |
*** bauzas_ is now known as bauzas | 04:01 | |
*** bauzas- is now known as bauzas | 04:34 | |
*** bauzas_ is now known as bauzas | 05:34 | |
ralonsoh | stephenfin, hello! quick question: I was playing with devstack master but using branch=2024.1 | 05:46 |
---|---|---|
ralonsoh | and this came out: https://review.opendev.org/c/openstack/devstack/+/902758 | 05:46 |
ralonsoh | because Nova patch is in master, nova-api was failing | 05:46 |
ralonsoh | is that ok? shouldn't devstack 2024.2 (in some months) be able to spawn a 2024.1 environment? just asking | 05:47 |
*** bauzas_ is now known as bauzas | 05:59 | |
*** bauzas_ is now known as bauzas | 06:15 | |
frickler | ralonsoh: no, devstack isn't supposed to be backwards compatible, you always need to use the matching stable branch for what you want to deploy | 06:24 |
ralonsoh | understood, so we are good then | 06:24 |
sean-k-mooney | master 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 something | 06:26 |
sean-k-mooney | just overridieng TARGET_BRANCH has never worked reliably so i dont even try since that is not tested | 06:27 |
*** bauzas_ is now known as bauzas | 06:31 | |
*** bauzas_ is now known as bauzas | 07:00 | |
*** bauzas_ is now known as bauzas | 07:41 | |
*** bauzas_ is now known as bauzas | 08:24 | |
*** bauzas_ is now known as bauzas | 08:55 | |
*** bauzas_ is now known as bauzas | 09:23 | |
opendevreview | Stephen Finucane proposed openstack/placement master: tox: Simplify functional testenv definitions https://review.opendev.org/c/openstack/placement/+/919578 | 09:54 |
opendevreview | Stephen Finucane proposed openstack/placement master: Integrate pre-commit https://review.opendev.org/c/openstack/placement/+/919579 | 09:54 |
opendevreview | Stephen Finucane proposed openstack/placement master: pre-commit: Add sphinx-lint https://review.opendev.org/c/openstack/placement/+/919580 | 09:54 |
opendevreview | Merged openstack/osc-placement master: Replace simplejson by built-in json https://review.opendev.org/c/openstack/osc-placement/+/919999 | 10:47 |
*** tosky_ is now known as tosky | 12:28 | |
ozzzo_work | Can anyone help with my "openstack server list" question? | 13:12 |
sean-k-mooney | proably ask away | 13:12 |
ozzzo_work | I'm using this stupid web client so I have no history; I'll email it to work from my home computer | 13:15 |
sean-k-mooney | oh i see | 13:16 |
sean-k-mooney | openstack server list --limit -1 | 13:16 |
sean-k-mooney | you want to list all vms | 13:16 |
sean-k-mooney | https://paste.openstack.org/show/bYNdWz8brEgB2ovSGiUF/ | 13:16 |
ozzzo_work | yes | 13:17 |
sean-k-mooney | i 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 now | 13:17 |
ozzzo_work | In 5.5.0 the limit is 1000 | 13:18 |
ozzzo_work | let me test in 6.6.0 real quick | 13:18 |
sean-k-mooney | if you have more vms then the api limit | 13:19 |
sean-k-mooney | you need to use https://docs.openstack.org/python-openstackclient/latest/cli/command-objects/server.html#cmdoption-openstack-server-list-marker | 13:19 |
sean-k-mooney | passing the last server uuid as the marker | 13:19 |
sean-k-mooney | and make mulitple requests | 13:19 |
sean-k-mooney | but assuming you dont hit the api limit and if you dont pass --limit i would expelct it to list htem all | 13:20 |
ozzzo_work | we have >1000 VMs in some regions | 13:20 |
sean-k-mooney | i am not sure if osc handeles automatic pagination if you dont pass a limit | 13:20 |
ozzzo_work | Theoretically 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 difference | 13:24 |
sean-k-mooney | no 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 pagination | 13:26 |
sean-k-mooney | you could try using 2.1 | 13:26 |
sean-k-mooney | but i think pagination for servers predates microverions | 13:26 |
ozzzo_work | 2.1 doesn't change the behavioor | 13:28 |
sean-k-mooney | then ya server list supported pagination before micorverions so there is no way to turn it off | 13:30 |
sean-k-mooney | which means it has to be done client side | 13:30 |
ozzzo_work | ok ty sean | 13:36 |
opendevreview | Sahid Orentino Ferdjaoui proposed openstack/nova master: scheduler: fix _get_sharing_providers to support unlimited aggr https://review.opendev.org/c/openstack/nova/+/921665 | 13:36 |
ozzzo_work | aha it looks like I can delay rewriting my script by using "nova list" with -1 | 13:39 |
sean-k-mooney | yes 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 project | 13:49 |
sean-k-mooney | but eventually it will go away | 13:50 |
*** bauzas_ is now known as bauzas | 17:07 | |
*** bauzas_ is now known as bauzas | 18:29 | |
*** bauzas_ is now known as bauzas | 18:46 | |
*** bauzas_ is now known as bauzas | 19:51 | |
*** bauzas_ is now known as bauzas | 20:21 | |
*** bauzas_ is now known as bauzas | 20:42 | |
*** haleyb is now known as haleyb|out | 20:56 | |
*** bauzas_ is now known as bauzas | 22:52 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!