Monday, 2023-02-27

opendevreviewMerged openstack/os-api-ref master: remove unicode prefix from code  https://review.opendev.org/c/openstack/os-api-ref/+/85297012:20
opendevreviewMridula Joshi proposed openstack/openstacksdk master: Adds Support for ``glance cache-clear``  https://review.opendev.org/c/openstack/openstacksdk/+/87494013:48
opendevreviewMridula Joshi proposed openstack/openstacksdk master: Adding support for glance cache-queue Command  https://review.opendev.org/c/openstack/openstacksdk/+/87437214:05
opendevreviewMerged openstack/keystoneauth stable/2023.1: Update .gitreview for stable/2023.1  https://review.opendev.org/c/openstack/keystoneauth/+/87510414:58
opendevreviewMerged openstack/keystoneauth stable/2023.1: Update TOX_CONSTRAINTS_FILE for stable/2023.1  https://review.opendev.org/c/openstack/keystoneauth/+/87510515:10
ozzzo_workWhat am I doing wrong here? https://bpa.st/MD3K615:37
ozzzo_workI'm providing two arguments to update_server but the error says 3 were given15:38
ozzzo_workThe 'delete' part where I only pass a variable seems to work - it looks like I may not be passing the text argument correctly15:39
gtemaozzzo_work: you should be using function stop_server(serverID) [https://opendev.org/openstack/openstacksdk/src/branch/master/openstack/compute/v2/_proxy.py#L1092] instead15:40
gtemaalso - you cannot simply pass parameters as a string into the update. Only passing them as regular function parameters is supported15:41
opendevreviewLajos Katona proposed openstack/openstacksdk master: Add BGPVPN to SDK  https://review.opendev.org/c/openstack/openstacksdk/+/87553015:54
ozzzo_workgtema:  ty! I was looking at https://docs.openstack.org/openstacksdk/latest/user/proxies/compute.html but I see that it is missing some things15:58
ozzzo_workhow can I change a text argument into a regular function parameter?16:22
gtemaupdate method accepts same parameters as create call (not all of them are allowed to be changed though)16:44
ozzzo_workI tried "statusVar = "status=SHUTOFF"" and then: lambda serverID,statusVar: cloud.compute.update_server(serverID,statusVar)16:46
ozzzo_workbut I still get the "3 were given" error16:46
gtemaI repeat - you should use stop_server to shut it down, simply setting it's status is a very very wrong way16:47
ozzzo_workIs that because "status" can't be changed?16:47
gtemasecond, if you want to i.e. change server name you do conn.compute.update_server(MY_SERVER_ID, name='NEW_NAME')16:48
ozzzo_workI get that, but I still want to know how to set status16:48
gtemastatus is more or less a read only property set by service side and not by client16:48
ozzzo_workok I'll try it with name16:48
ozzzo_workok that works, ty!16:50
opendevreviewLajos Katona proposed openstack/openstacksdk master: Add BGPVPN to SDK  https://review.opendev.org/c/openstack/openstacksdk/+/87553019:47
-opendevstatus- NOTICE: The Gerrit service on review.opendev.org experienced severe performance degradation between 17:50 and 19:45 due to excessive API query activity; the addresses involved are now blocked but any changes missing job results from that timeframe should be rechecked19:55
ozzzo_workIs there a similar function for disabling a port? I'm looking here but I don't see it: https://opendev.org/openstack/openstacksdk/src/branch/master/openstack/network/v2/_proxy.py20:42
ozzzo_workoic i had to updaate admin_state_up20:49

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