Earlier  
Posted Nick Remark
#openstack-sdks - 2022-10-21
17:11:03 fungi that's a good question. it's possible you can log into their webui with that information
17:11:20 gtema nope, it didn't let me in
17:11:29 fungi i'll ask them
17:11:39 gtema https://docs.rackspace.com/docs/cloud-servers/v2/getting-started/authenticate#send-auth-req-curl with the creds didn't work
17:11:46 gtema thanks
17:14:23 fungi yeah, looks like https://docs.rackspace.com/docs/cloud-servers/v2/getting-started/get-credentials-include says you need to log into the dashboard and get the account number to use as the tenant id
17:16:14 gtema with token I can't login there, need password
17:49:10 opendevreview PB proposed openstack/ansible-collections-openstack master: added RETURN section, DOC indentation https://review.opendev.org/c/openstack/ansible-collections-openstack/+/862290
17:59:14 gtema fungi - I got tenantId, so apikey is working. Trying to figure out how clouds.yaml should be looking like, but that will wait till Monday. Thanks for sending the data
18:06:17 fungi gtema: oh! how were you able to query the tenant id?
18:07:32 opendevreview PB proposed openstack/ansible-collections-openstack master: added RETURN section, DOC indentation https://review.opendev.org/c/openstack/ansible-collections-openstack/+/862290
18:07:43 gtema https://docs.rackspace.com/docs/cloud-servers/v2/getting-started/authenticate#send-auth-req-curl
18:09:16 gtema In infra case, does clouds.yaml (i.e. on nodepool) contain something special for rax?
18:09:51 fungi and sorry i hadn't had time to reach out to them yet, but glad i don't need to now
18:10:03 fungi gtema: yeah, i can get you a link
18:10:40 gtema Sounds great
18:16:17 fungi gtema: https://opendev.org/opendev/system-config/src/branch/master/playbooks/templates/clouds/nodepool_clouds.yaml.j2#L20-L48
18:17:01 gtema Ah, sounds reasonable. Thanks a lot
18:17:45 gtema fungi: And here password is this API key, right?
18:19:02 fungi gtema: presumably an api key will work there. i think we end up filling it with our account password
18:19:24 fungi i don't know much about how api keys are plumbed in (their) keystone
18:20:00 gtema Ok, will try next week to do it this way
18:20:12 gtema Thanks a lot fungi
18:20:30 fungi i have a personal rackspace account too, so if i get time i can test issuing an api key and putting that in my clouds.yaml
18:21:22 gtema Cool
19:55:51 diablo_rojo ~motd del 1
19:57:02 diablo_rojo LOL wrong channel;
19:57:10 gtema :)
#openstack-sdks - 2022-10-24
02:46:56 opendevreview Yonggen Sun proposed openstack/keystoneauth master: Add doc of OAuth 2.0 Mutual-TLS Authenticate https://review.opendev.org/c/openstack/keystoneauth/+/860923
10:59:00 opendevreview Eunyoung Kim proposed openstack/openstacksdk master: image: Add metadef resource type operations https://review.opendev.org/c/openstack/openstacksdk/+/861490
12:55:45 opendevreview Eunyoung Kim proposed openstack/openstacksdk master: image: Add metadef resource type operations https://review.opendev.org/c/openstack/openstacksdk/+/861490
14:23:04 opendevreview YaZug proposed openstack/cliff stable/wallaby: Removing brackets around tested conditional https://review.opendev.org/c/openstack/cliff/+/862494
17:23:41 opendevreview Thobias Trevisan proposed openstack/python-openstackclient master: Fix server list error with --long and -c options https://review.opendev.org/c/openstack/python-openstackclient/+/862513
18:10:49 opendevreview Denys Mishchenko proposed openstack/ansible-collections-openstack master: search_images replaced with image.images https://review.opendev.org/c/openstack/ansible-collections-openstack/+/862518
18:43:33 gtema fungi - can you please ask RAX contact to provide password. API key is not really much useful. You can work with it but it requires special hacking of keystoneauth
18:45:25 fungi i'll reach out to them
18:45:35 gtema thanks a lot
18:47:27 fungi gtema: specifically, you need a password in order to test features of the cli or sdk which rely on ksa's handling of password authentication?
18:47:53 fungi just trying to make sure i phrase the request accurately
18:48:06 gtema pretty much anything. api key is a RAX specific extension which is not part of OpenStack
18:48:25 gtema you can teach keystoneauth to support this type of auth, but it is not OpenStack
18:50:02 fungi i see
#openstack-sdks - 2022-10-25
06:43:56 opendevreview Rafael Castillo proposed openstack/openstacksdk master: Add all_projects parameter to find_project https://review.opendev.org/c/openstack/openstacksdk/+/857936
06:44:16 opendevreview Rafael Castillo proposed openstack/openstacksdk master: Add all_projects parameter to find_project https://review.opendev.org/c/openstack/openstacksdk/+/857936
06:45:40 opendevreview Rafael Castillo proposed openstack/openstacksdk master: Add all_projects parameter to find_server https://review.opendev.org/c/openstack/openstacksdk/+/857936
06:56:52 opendevreview Denys Mishchenko proposed openstack/ansible-collections-openstack master: search_images replaced with image.images https://review.opendev.org/c/openstack/ansible-collections-openstack/+/862518
08:01:02 opendevreview Jakob Meng proposed openstack/ansible-collections-openstack master: Refactored baremetal_node and baremetal_node_info modules https://review.opendev.org/c/openstack/ansible-collections-openstack/+/854113
08:01:48 opendevreview Jakob Meng proposed openstack/ansible-collections-openstack master: Refactored baremetal_node_action module https://review.opendev.org/c/openstack/ansible-collections-openstack/+/854357
08:02:10 opendevreview Jakob Meng proposed openstack/ansible-collections-openstack master: Refactored baremetal_port and baremetal_port_info modules https://review.opendev.org/c/openstack/ansible-collections-openstack/+/854569
08:11:46 opendevreview Jakob Meng proposed openstack/ansible-collections-openstack master: Refactored baremetal_node and baremetal_node_info modules https://review.opendev.org/c/openstack/ansible-collections-openstack/+/854113
08:56:50 opendevreview Denys Mishchenko proposed openstack/ansible-collections-openstack master: Existing images update name, visibility etc https://review.opendev.org/c/openstack/ansible-collections-openstack/+/862565
09:30:57 opendevreview Jakob Meng proposed openstack/ansible-collections-openstack master: Refactored baremetal_node_action module https://review.opendev.org/c/openstack/ansible-collections-openstack/+/854357
09:31:18 opendevreview Jakob Meng proposed openstack/ansible-collections-openstack master: Refactored baremetal_port and baremetal_port_info modules https://review.opendev.org/c/openstack/ansible-collections-openstack/+/854569
09:52:41 opendevreview Denys Mishchenko proposed openstack/ansible-collections-openstack master: Existing images update name, visibility etc https://review.opendev.org/c/openstack/ansible-collections-openstack/+/862565
12:38:49 opendevreview HaeIYoon proposed openstack/openstacksdk master: Add image metadef object operations https://review.opendev.org/c/openstack/openstacksdk/+/858350
12:51:23 dannosliwcd As part of the nova-gaps project topic, I'm making the implementation of `server migration list` use the SDK to get migrations. But the SDK compute proxy's `migrations()` function doesn't accept any input arguments, which prevents me from using any of the filters. Is there another way to handle that, or does the `migrations()` function need to be updated?
12:52:43 gtema sdk need to be updated
13:10:14 dannosliwcd Okay. I’ll look into making that change too
16:31:58 servagem Hi, Clould someone please review this patch? Thanks https://review.opendev.org/c/openstack/python-openstackclient/+/862513
17:48:32 noonedeadpunk gtema: hey! I'm quite ashamed but on PTG I was side-pinged and missed beginning of the discussion regarding search_xxx - payed attention only starting from words - "it affects only ansible collections"... So basically right now we're working on implementation of roles for images lifecycle. And zuul folks were also interested in this approach as contrary to nodepool-builder
17:48:56 noonedeadpunk but eventually faced this topic and how to search for images with new sdk/collections
17:49:56 noonedeadpunk Basically we (under we I mean arddennis) have some time to help out on implementation, but would be great if you could somehow point to the right direction
17:54:33 noonedeadpunk I'm not sure there was a decision made on what direction to move (either implement search logic or a generic search_resource) but generic search sound like a good idea at the moment comparing to moving logic to collections (or at least more clean one)
17:58:20 noonedeadpunk But I think it's worth syncing efforts so that we won't dig into the wrong direction
17:59:08 noonedeadpunk (or the one you're trying to get rid of for quite a while now)
18:01:46 opendevreview Violet Kurtz proposed openstack/python-openstackclient master: Moved hypervisor to the SDK https://review.opendev.org/c/openstack/python-openstackclient/+/858366
18:05:11 opendevreview Merged openstack/ansible-collections-openstack master: Refactored baremetal_node and baremetal_node_info modules https://review.opendev.org/c/openstack/ansible-collections-openstack/+/854113
18:10:03 opendevreview Denys Mishchenko proposed openstack/ansible-collections-openstack master: Existing images update name, visibility etc https://review.opendev.org/c/openstack/ansible-collections-openstack/+/862565
18:15:54 gtema noonedeadpunk: so you stick to Ansible usecase or you are searching for also regular SDK interface for that?
18:32:39 noonedeadpunk gtema: ansible usecase now
18:35:13 noonedeadpunk so for rotation we need to get images with specific tags/properties and verify them. So classic search basically
18:39:40 noonedeadpunk verify in terms to check if they're used by any server or not and if not delete them, otherwise hide
18:45:43 noonedeadpunk writing it makes me think how optimal end result would be though... as sounds as quite few loops which ansible not good at
18:47:48 noonedeadpunk but I want it to be native zuul job in periodic pipeline (for internal zuul), so it's either just ansible or make ansible module out of this which won't be much better as we still will face earch I believe
18:47:54 noonedeadpunk *face search
18:50:04 gtema I would rather create special module packing all functionality
18:50:44 noonedeadpunk and move search logic to it?
18:51:02 gtema Not that, i mean all iterations
18:53:46 noonedeadpunk well... several things here why I thought that plain ansible would work - this can be re-used in many places and help other operators to get fresh images when needed. In OSA we also mess up with images for octavia/magnum/trove/etc. So we can easily re-use that
18:54:25 noonedeadpunk next is permissions - most of oprations won't require admin, but rotation is. So we can provide different credentials to some tasks/roles
18:55:09 noonedeadpunk and actually help out and get collection better :)
18:57:33 noonedeadpunk but yeah, I do understand why such module would be faster/easier.
18:58:45 noonedeadpunk just how re-usable it would be (likely not)
19:55:59 opendevreview Merged openstack/ansible-collections-openstack master: Refactored baremetal_node_action module https://review.opendev.org/c/openstack/ansible-collections-openstack/+/854357
20:41:22 opendevreview Merged openstack/ansible-collections-openstack master: Refactored baremetal_port and baremetal_port_info modules https://review.opendev.org/c/openstack/ansible-collections-openstack/+/854569
#openstack-sdks - 2022-10-26
01:52:03 opendevreview Daniel Wilson proposed openstack/python-openstackclient master: Use the compute SDK in server list https://review.opendev.org/c/openstack/python-openstackclient/+/861546
02:07:52 opendevreview Daniel Wilson proposed openstack/openstacksdk master: Accept queries when listing migrations https://review.opendev.org/c/openstack/openstacksdk/+/862664
02:53:27 opendevreview Daniel Wilson proposed openstack/python-openstackclient master: Use the compute SDK in usage commands https://review.opendev.org/c/openstack/python-openstackclient/+/861801
05:50:48 opendevreview Rafael Castillo proposed openstack/ansible-collections-openstack master: Updates volume for 2.0.0 https://review.opendev.org/c/openstack/ansible-collections-openstack/+/853749
07:51:23 opendevreview Merged openstack/ansible-collections-openstack master: Updates volume for 2.0.0 https://review.opendev.org/c/openstack/ansible-collections-openstack/+/853749
08:03:06 opendevreview Jakob Meng proposed openstack/ansible-collections-openstack master: Change subnets_info module to work with new SDK https://review.opendev.org/c/openstack/ansible-collections-openstack/+/857041
09:26:16 opendevreview Stephen Finucane proposed openstack/python-openstackclient master: Added "openstack image metadefs namespace list" command https://review.opendev.org/c/openstack/python-openstackclient/+/854557
09:56:42 opendevreview Merged openstack/openstacksdk master: Improve swift headers handling https://review.opendev.org/c/openstack/openstacksdk/+/860007
10:11:29 opendevreview Merged openstack/python-openstackclient master: volume: Volume names are optional https://review.opendev.org/c/openstack/python-openstackclient/+/857670
10:27:34 opendevreview Merged openstack/ansible-collections-openstack master: Change subnets_info module to work with new SDK https://review.opendev.org/c/openstack/ansible-collections-openstack/+/857041
10:32:55 opendevreview Stephen Finucane proposed openstack/python-openstackclient master: compute: Add '--no-network', '--auto-network' flags https://review.opendev.org/c/openstack/python-openstackclient/+/862680
11:31:12 opendevreview Merged openstack/python-openstackclient master: Added "openstack image metadefs namespace list" command https://review.opendev.org/c/openstack/python-openstackclient/+/854557
12:10:11 opendevreview Stephen Finucane proposed openstack/openstacksdk master: compute: Add functional tests for volume attachments https://review.opendev.org/c/openstack/openstacksdk/+/822314
13:05:08 opendevreview Jakob Meng proposed openstack/ansible-collections-openstack master: Refactored ci script with shellcheck suggestions and install collections https://review.opendev.org/c/openstack/ansible-collections-openstack/+/861955
13:14:28 opendevreview Jiri Podivin proposed openstack/cliff master: Removing helper functions providing Python < 3.3 compatibility https://review.opendev.org/c/openstack/cliff/+/862689

Earlier   Later