Tuesday, 2025-01-28

M0weng[m]stephenfin: I just realized SetRegisteredLimit also had the `--region None` behavior; would a `--no-region` option be useful there, or should I just deprecate the behavior? I can imagine creating a registered limit with a region, and then wanting to set the region to none.16:51
stephenfinM0weng[m]: What happens if you call 'registered limit set' *without* a '--region' argument?16:54
stephenfinMy theory is that it will unset the region16:55
stephenfinActually, no, this is using keystoneclient. So it will currently do nothing since that filters out None values iirc16:56
stephenfinM0weng[m]: Assuming that's the case, a '--no-region' value would be useful, but only once we're using an SDK that doesn't strip None values (i.e. after your patch openstacksdk migrating us to SDK). Until then, we should just log about '--region None' being deprecated for removal16:57
M0weng[m]My devstack is moving at a turtle16:57
M0weng[m]'s pace16:57
M0weng[m]But yes I imagine it wouldn't change it16:57
stephenfinCheck your available disk space on the VM16:57
stephenfin(Just in case. I've seen DevStack filling up the disk. Didn't investigate further and just tore it down/rebuilt it)16:59
M0weng[m]I think it's network issues, my wifi's been a bit slow recently + using a VPN16:59
stephenfinah, fair16:59
M0weng[m]Yep it doesn't change the region if no --region switch is passed.16:59
M0weng[m]Hmm funnily enough, passing --region None doesn't change it to none either...?17:00
stephenfinYeah, it's a junk option. I'd nearly be inclined to just remove it outright but the potential complaints aren't worth it17:01
stephenfinhttps://xkcd.com/1172/17:01
*** priteau is now known as Guest726717:04
*** priteau2 is now known as priteau17:04
M0weng[m]Ok, I'll add the --no-region option and deprecate the other one :)17:04
M0weng[m](oops, I mean I'll add it to my SDK patch potentially)17:06
opendevreviewOria Weng proposed openstack/python-openstackclient master: Identity: Deprecate using `--region None`  https://review.opendev.org/c/openstack/python-openstackclient/+/94032117:11
opendevreviewOria Weng proposed openstack/python-openstackclient master: Identity: Deprecate `--region None` in limits/registered limits  https://review.opendev.org/c/openstack/python-openstackclient/+/94032117:19
opendevreviewOria Weng proposed openstack/python-openstackclient master: [DNM] Identity: Migrate 'limit' commands to SDK  https://review.opendev.org/c/openstack/python-openstackclient/+/93627917:20
opendevreviewOria Weng proposed openstack/python-openstackclient master: [DNM] Identity: Migrate 'limit' commands to SDK  https://review.opendev.org/c/openstack/python-openstackclient/+/93627917:31
opendevreviewOria Weng proposed openstack/python-openstackclient master: [DNM] Identity: Migrate 'limit' commands to SDK  https://review.opendev.org/c/openstack/python-openstackclient/+/93627921:12

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