*** rlandy is now known as rlandy|out | 00:53 | |
*** ysandeep|PTO is now known as ysandeep | 05:07 | |
jpodivin | Hi. I'm wondering if ther is a way to get data about roles using openstack collections on wallaby. | 09:02 |
---|---|---|
jpodivin | like Compute etc. | 09:03 |
jpodivin | jm1: tbh: I'm really interested in the "CountDefault" attribute from their template. | 09:04 |
*** ysandeep is now known as ysandeep|lunch | 09:08 | |
jpodivin | In CLI I would do that with `openstack overcloud role show <role>` but I don't know if there is a module for it. | 09:08 |
jm1 | jpodivin: "openstack overcloud" is a tripleo thingy? | 09:13 |
jpodivin | jm1: I don't think so ... I believe it's part of openstack CLI by default | 09:14 |
jpodivin | tripleo commands are in their own namespace. | 09:14 |
jm1 | jpodivin: its not in python-openstackclient | 09:15 |
jm1 | jpodivin: i think its part of python-tripleoclient | 09:15 |
jpodivin | jm1: yeah, reading the -h output it seems it is. | 09:16 |
jm1 | jpodivin: maybe you get some idea how this "overcloud role show" works in their code https://opendev.org/openstack/python-tripleoclient/src/commit/12e788906c816f129a960aa70b96403c568a2388/tripleoclient/v1/overcloud_roles.py#L106 | 09:17 |
jpodivin | jm1: so there isn't a way to get the ifno from an Ansible module? | 09:18 |
jm1 | jpodivin: what info do you want to have? | 09:18 |
jpodivin | 'CountDefault' mostly, as much as possible would be great but my primary goal here is to get the info using ansible module, if possible. | 09:19 |
jpodivin | the command is just the way I would do it manually. | 09:19 |
jpodivin | I suppose, worst case scenario, I may just drop in shell. | 09:20 |
jm1 | jpodivin: what is CountDefault? is this tripleo specific? | 09:21 |
jpodivin | it's a heat template attribute. | 09:21 |
jpodivin | kept in the role template ... I was wondering if there is some way to reliably retrieve it with openstack collection modules | 09:22 |
jm1 | jpodivin: oh i am afraid i cannot help you with that. regarding heat we only have two modules, one to create/delete stacks and one to retrieve general information about stacks. tripleo has a lot of ansible modules, maybe they have something to retrieve this value? | 09:29 |
jpodivin | jm1: they used to have something which we are trying to replace ... on account of authentication not working as it used to on wallaby | 09:31 |
jpodivin | idea is that we could use something more general. | 09:32 |
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 | 09:33 |
jm1 | jpodivin: if it is usable without tripleo (e.g. only using heat) and it has support in openstacksdk, then it would belong to aoc. else i would place it near tripleo | 09:40 |
*** rlandy|out is now known as rlandy | 10:29 | |
*** ysandeep|lunch is now known as ysandeep | 10:46 | |
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 | 11:22 |
*** dviroel|out is now known as dviroel | 11:25 | |
jpodivin | jm1: I'm going to ask tripleo about it. Maybe they have something already. | 11:47 |
*** ysandeep is now known as ysandeep|mtg | 12:15 | |
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 | 12:15 |
*** ysandeep|mtg is now known as ysandeep | 13:44 | |
*** dviroel is now known as dviroel|ptg | 14:08 | |
*** ysandeep is now known as ysandeep|dinner | 14:29 | |
*** ysandeep|dinner is now known as ysandeep | 14:55 | |
*** dviroel|ptg is now known as dviroel|lunch\ | 16:06 | |
*** ysandeep is now known as ysandeep|out | 16:20 | |
*** dviroel|lunch\ is now known as dviroel | 16:53 | |
opendevreview | Polina Gubina proposed openstack/ansible-collections-openstack master: Group assignment update https://review.opendev.org/c/openstack/ansible-collections-openstack/+/858543 | 19:34 |
*** rlandy is now known as rlandy|bbl | 22:30 | |
*** dviroel is now known as dviroel|out | 22:47 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!