openstackgerrit | Monty Taylor proposed openstack/osc-lib master: Remove commandmanager subclass https://review.opendev.org/734000 | 00:10 |
---|---|---|
*** lbragstad has joined #openstack-sdks | 01:18 | |
openstackgerrit | Merged openstack/python-openstackclient stable/ussuri: Client should parse string to boolean for value 'is_domain' https://review.opendev.org/732397 | 02:37 |
*** ricolin has joined #openstack-sdks | 02:39 | |
*** lbragstad has quit IRC | 03:36 | |
*** evrardjp has quit IRC | 04:33 | |
*** evrardjp has joined #openstack-sdks | 04:33 | |
*** dustinc has quit IRC | 06:35 | |
*** rpittau|afk is now known as rpittau | 07:18 | |
*** ttsiouts has joined #openstack-sdks | 07:19 | |
*** ralonsoh has joined #openstack-sdks | 07:21 | |
*** jawad_axd has joined #openstack-sdks | 07:21 | |
*** ttsiouts has quit IRC | 07:22 | |
*** sshnaidm|afk is now known as sshnaidm | 07:23 | |
*** ttsiouts has joined #openstack-sdks | 07:24 | |
*** tosky has joined #openstack-sdks | 07:38 | |
*** factor has quit IRC | 07:46 | |
*** factor has joined #openstack-sdks | 07:47 | |
*** jpena|off is now known as jpena | 07:57 | |
*** jpich has joined #openstack-sdks | 08:06 | |
*** slaweq has quit IRC | 08:15 | |
*** slaweq has joined #openstack-sdks | 08:20 | |
openstackgerrit | Sagi Shnaidman proposed openstack/ansible-collections-openstack master: Add note about py3 in readme https://review.opendev.org/735081 | 08:51 |
*** rpittau is now known as rpittau|bbl | 09:15 | |
*** factor has quit IRC | 09:16 | |
*** factor has joined #openstack-sdks | 09:16 | |
*** slaweq has quit IRC | 09:19 | |
*** stingrayza has joined #openstack-sdks | 09:28 | |
*** also_stingrayza has quit IRC | 09:31 | |
openstackgerrit | Dirk Mueller proposed openstack/osc-lib stable/ussuri: Replace assertItemsEqual with assertCountEqual https://review.opendev.org/735090 | 09:45 |
openstackgerrit | Dirk Mueller proposed openstack/python-openstackclient stable/ussuri: Replace assertItemsEqual with assertCountEqual https://review.opendev.org/735091 | 09:48 |
openstackgerrit | Sagi Shnaidman proposed openstack/ansible-collections-openstack master: Fix ansible-devel sanity tests for deprecations https://review.opendev.org/735095 | 09:55 |
*** slaweq has joined #openstack-sdks | 09:57 | |
*** slaweq has quit IRC | 10:20 | |
*** slaweq has joined #openstack-sdks | 10:26 | |
*** slaweq has quit IRC | 10:30 | |
*** efried has quit IRC | 10:32 | |
*** ttsiouts has quit IRC | 10:39 | |
*** ricolin has quit IRC | 10:47 | |
*** purplerbot has joined #openstack-sdks | 10:58 | |
*** ttsiouts has joined #openstack-sdks | 11:03 | |
*** ttsiouts has quit IRC | 11:18 | |
*** nightmare_unreal has joined #openstack-sdks | 11:23 | |
*** slaweq has joined #openstack-sdks | 11:24 | |
*** ttsiouts has joined #openstack-sdks | 11:31 | |
*** jpich has quit IRC | 11:36 | |
*** jpich has joined #openstack-sdks | 11:37 | |
*** jpena is now known as jpena|lunch | 11:40 | |
*** ttsiouts has quit IRC | 11:46 | |
*** jpich has quit IRC | 11:50 | |
*** jpich has joined #openstack-sdks | 11:51 | |
*** rpittau|bbl is now known as rpittau | 11:54 | |
*** slaweq has quit IRC | 12:13 | |
*** slaweq has joined #openstack-sdks | 12:13 | |
*** ttsiouts has joined #openstack-sdks | 12:17 | |
mordred | dtroyer, mnaser, dtantsur|afk, frickler: with the move of the group code to cliff, the osc-lib patch is now green: https://review.opendev.org/#/c/734000/ | 12:18 |
*** slaweq has quit IRC | 12:18 | |
*** tkajinam has quit IRC | 12:25 | |
*** ttsiouts has quit IRC | 12:32 | |
*** fyx has quit IRC | 12:32 | |
*** vkmc has quit IRC | 12:32 | |
*** fyx has joined #openstack-sdks | 12:32 | |
*** mnaser has quit IRC | 12:32 | |
*** gmann has quit IRC | 12:33 | |
*** vkmc has joined #openstack-sdks | 12:33 | |
*** gmann has joined #openstack-sdks | 12:33 | |
*** mnaser has joined #openstack-sdks | 12:33 | |
openstackgerrit | Sagi Shnaidman proposed openstack/ansible-collections-openstack master: Add note about py3 in readme https://review.opendev.org/735081 | 12:34 |
*** ttsiouts has joined #openstack-sdks | 12:35 | |
*** slaweq has joined #openstack-sdks | 12:43 | |
*** jpena|lunch is now known as jpena | 12:46 | |
*** slaweq has quit IRC | 12:47 | |
sshnaidm | hmm.. I've got a weird error while trying to use conn.compute.wait_for_server() - AttributeError: 'Munch' object has no attribute 'fetch' | 12:48 |
sshnaidm | anybody knows what is the issue? ^ | 12:48 |
openstackgerrit | jayaditya gupta proposed openstack/cliff master: Fix json output for security_groups property in "openstack server show -f json" command https://review.opendev.org/735128 | 12:49 |
nightmare_unreal | frickler mordred , This is how I am thinking to fix the json properties issue. This i probably not the right way so please comment on it when anyone gets time :) Thanks | 12:50 |
nightmare_unreal | Patch : https://review.opendev.org/735128 | 12:50 |
mordred | sshnaidm: sounds like you're using wait_for_server on something that's returning just the munch and not the Server resource - we haven't finished reworking the shade api to completely use the underlying sdk resource layer yet | 12:57 |
mordred | sshnaidm: so there are places still where the shade layer is still making direct rest calls | 12:57 |
*** gtema has joined #openstack-sdks | 12:57 | |
jawad_axd | Hi all, Is it to possible to allocate cidr(subnet) automatically when creating network? I came acorss with get-me-network, but I dont really need router creation, just network with automatic cidr. Any pointers? | 12:58 |
sshnaidm | mordred, hmm.. maybe I don't understand something, but where is "resource" reinitialization in the loop? https://opendev.org/openstack/openstacksdk/src/branch/master/openstack/resource.py#L2035 | 13:00 |
sshnaidm | does it just repeat "resource = resource.fetch(session)" ? | 13:01 |
mordred | yes. iterate_timeout is a loop-until-timeout function | 13:01 |
mordred | sshnaidm: where are you calling that? | 13:01 |
mordred | sshnaidm: (I can almost certaily tell you how to do things in your code differently so it works, but what would be great is to take this as an opportunity to fix whatever gave you a server that doesn't work there) | 13:02 |
sshnaidm | mordred, I'm calling from ansible module: self.conn.compute.wait_for_server(os_server,status=_action_map[self.params['action']],wait=self.params['timeout']) | 13:03 |
mordred | sshnaidm: nod - and what did you call to get teh os_server object? | 13:03 |
sshnaidm | mordred, self.conn.get_server(self.params['server']) | 13:04 |
mordred | sshnaidm: wow | 13:04 |
mordred | oh - wait | 13:05 |
mordred | no, that's expected | 13:05 |
mordred | and we should fix it - but for now | 13:05 |
mordred | use self.conn.wait_for_server if you use self.conn.get_server | 13:05 |
mordred | (although that's not going to let you pass in a status) | 13:06 |
* mordred tries to decide which thing to fix here | 13:06 | |
sshnaidm | yeah, server is <class 'munch.Munch'> | 13:06 |
mordred | sshnaidm: actually - for this case ... | 13:06 |
mordred | sshnaidm: try using self.conn.compute.get_server(self.params['server']) | 13:06 |
frickler | jawad_axd: with subnetpools creating a subnet is pretty simple, but still a dedicated action, I don't think there's a way around that | 13:06 |
mordred | sshnaidm: we need to finish https://review.opendev.org/#/c/630912 to fix the other thing, and that's important, but probably not a thing you want to wait on | 13:08 |
jawad_axd | @frickler Thanks. | 13:08 |
*** gtema has quit IRC | 13:08 | |
sshnaidm | mordred, hmm, it didn't find server with self.conn.compute.get_server(self.params['server']) | 13:09 |
sshnaidm | and w/o compute: TypeError: wait_for_server() got an unexpected keyword argument 'status' | 13:11 |
sshnaidm | I think I'll wait a little to introduce this function.. | 13:11 |
mordred | sshnaidm: yeah - there's no status parameter for self.conn.wait_for_server | 13:11 |
mordred | sshnaidm: one more thign to try (sorry, still on first coffee) | 13:12 |
mordred | sshnaidm: self.conn.compute.find_server(self.params['server']) | 13:12 |
*** enriquetaso has joined #openstack-sdks | 13:15 | |
sshnaidm | mordred, that seems working | 13:15 |
*** efried has joined #openstack-sdks | 13:20 | |
sshnaidm | mordred, <class 'openstack.compute.v2.server.Server'> - it seems to have all attributes as "None" | 13:21 |
sshnaidm | I've got only ID and name | 13:25 |
*** ttsiouts has quit IRC | 13:31 | |
*** lbragstad has joined #openstack-sdks | 13:34 | |
openstackgerrit | Merged openstack/ansible-collections-openstack master: Fix ansible-devel sanity tests for deprecations https://review.opendev.org/735095 | 13:35 |
mordred | sshnaidm: that resource doesn't seem to have been fetched | 13:41 |
sshnaidm | mordred, well, it got id and name | 13:42 |
*** olaph has joined #openstack-sdks | 13:47 | |
*** ricolin has joined #openstack-sdks | 13:51 | |
*** iurygregory_ has joined #openstack-sdks | 14:19 | |
*** iurygregory has quit IRC | 14:19 | |
*** iurygregory_ is now known as iurygregory | 14:19 | |
*** jawad_axd has quit IRC | 14:20 | |
*** ttsiouts has joined #openstack-sdks | 14:23 | |
openstackgerrit | Sagi Shnaidman proposed openstack/ansible-collections-openstack master: Add note about py3 in readme https://review.opendev.org/735081 | 14:24 |
*** ttsiouts has quit IRC | 14:34 | |
*** slaweq has joined #openstack-sdks | 14:52 | |
*** factor has quit IRC | 14:52 | |
openstackgerrit | Sagi Shnaidman proposed openstack/ansible-collections-openstack master: Add OpenstackModule to os_server_action https://review.opendev.org/721746 | 14:54 |
sshnaidm | mordred, ended up with two objects, "Server" for wait_for_server and "Munch" for all the rest ^ | 14:54 |
sshnaidm | if it's not ok, let's leave _wait function as it was: https://review.opendev.org/#/c/721746/14..15/plugins/modules/server_action.py | 14:55 |
mordred | sshnaidm: yeah - I think that's fine. I think we can simplify it in the future - but waiting on that is not valuable | 15:01 |
*** sshnaidm_ has joined #openstack-sdks | 15:15 | |
*** sshnaidm has quit IRC | 15:16 | |
*** slaweq has quit IRC | 15:20 | |
*** slaweq has joined #openstack-sdks | 15:25 | |
*** slaweq has quit IRC | 15:30 | |
openstackgerrit | Merged openstack/python-openstackclient master: Remove os-client-config references https://review.opendev.org/734097 | 15:44 |
*** rpittau is now known as rpittau|afk | 15:58 | |
*** iurygregory has quit IRC | 16:15 | |
*** jpich has quit IRC | 16:25 | |
*** jpich has joined #openstack-sdks | 16:25 | |
*** sshnaidm_ is now known as sshnaidm | 16:46 | |
*** sshnaidm is now known as sshnaidm|afk | 16:46 | |
*** ricolin has quit IRC | 16:48 | |
*** jpich has quit IRC | 16:56 | |
*** jpena is now known as jpena|off | 17:00 | |
openstackgerrit | Merged openstack/python-openstackclient stable/train: Client should parse string to boolean for value 'is_domain' https://review.opendev.org/732398 | 17:14 |
*** nightmare_unreal has quit IRC | 17:51 | |
*** factor has joined #openstack-sdks | 18:08 | |
*** dtroyer has quit IRC | 18:12 | |
*** dtroyer has joined #openstack-sdks | 18:14 | |
*** ralonsoh has quit IRC | 19:15 | |
*** slaweq has joined #openstack-sdks | 19:49 | |
*** slaweq has quit IRC | 20:26 | |
*** slaweq has joined #openstack-sdks | 20:31 | |
*** slaweq has quit IRC | 20:35 | |
*** mgariepy has quit IRC | 20:44 | |
*** mgariepy has joined #openstack-sdks | 20:48 | |
*** dustinc has joined #openstack-sdks | 21:55 | |
*** tkajinam has joined #openstack-sdks | 22:46 | |
*** tosky has quit IRC | 23:10 | |
openstackgerrit | Merged openstack/ansible-collections-openstack master: Add note about py3 in readme https://review.opendev.org/735081 | 23:51 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!