Monday, 2023-11-20

gokhanihello folks, in tempest role it only runs keystone tempest plugin, how can we achieve running other services tempest tests automatically in this role? Is there any variable for this or we need to edit white list ? 07:36
noonedeadpunkgokhani: you should just define list of tests you want to run using `tempest_test_includelist`08:18
noonedeadpunkbased on the variable it would generate the includelist file08:19
noonedeadpunkor well, depending on version - whitelist08:19
gokhanithanks noonedeadpunk 09:11
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-ops master: WIP - Add collection to deploy magnum cluster-api with vexxhost driver  https://review.opendev.org/c/openstack/openstack-ansible-ops/+/90145010:27
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible master: Add cinderstore glance testing scenario  https://review.opendev.org/c/openstack/openstack-ansible/+/90118710:33
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: WIP - test Vexxhost CAPI driver for magnum  https://review.opendev.org/c/openstack/openstack-ansible/+/89324010:49
jrossernoonedeadpunk: ^ this is a first attempt at putting the cluster api stuff in a collection10:50
jrosserlots of stuff can't be make external from the opensack-ansible repo though, like group vars and env.d stuff10:51
noonedeadpunkwell, group_vars is kinda not a biggie I guess... Or well, depends of course10:53
noonedeadpunkas if create some noop inventory file along with another set of group_vars and add smth like `export ANSIBLE_INVENTORY="${ANSIBLE_INVENTORY},/opt/noop.ini"` to openstack_deploy/user.rc - you can have another set of group_vars (likely even inside collection since path to collection after bootstrap is known10:56
noonedeadpunkbut that is crappy way of doing so,...10:56
jrosseranyway, just wanted to show that we can put a collection into the ops repo10:57
jrosserbut reality is that it's not very clean and doesnt really externalise something thats  supposedly out-of-tree10:58
noonedeadpunkyeah....10:58
noonedeadpunkI already see that :(10:58
noonedeadpunkand yeah, you're right about group_vars actually....11:00
noonedeadpunkalso - should this be import be ideally before tempest? https://review.opendev.org/c/openstack/openstack-ansible/+/893240/23/playbooks/setup-openstack.yml11:02
noonedeadpunkI pretty much open for proposals to be frank of how make that comfortable to use....11:03
jrosseroh probably true on tempest11:04
jrossertbh i did not even attempt tempest with this11:04
jrosserthere is absolutely zero chance of making that work in an 8G CI node11:04
noonedeadpunkyeah, true11:06
noonedeadpunkjrosser: should  set +w on that? https://review.opendev.org/c/openstack/openstack-ansible/+/90043311:08
jrossernoonedeadpunk: we can - i think it's low risk11:25
jrosserthere are some other things i did on the same topic but those maybe wait for next cycle?11:25
noonedeadpunkyeah, let's do others after branching11:27
noonedeadpunkI'm just trying to wrap things we have left to branch roles.11:27
noonedeadpunkWe obviously have broken zun and manila as of today though11:27
noonedeadpunkzun as it's also broken upstream for 2023.2 (fixed for master), and manila is ceph-ansible related - will try to look there11:28
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-ops master: WIP - Add collection to deploy magnum cluster-api with vexxhost driver  https://review.opendev.org/c/openstack/openstack-ansible-ops/+/90145011:28
noonedeadpunkand also masakari looks utterly broken 11:28
noonedeadpunkbut it looks passing our CI (as we don't test masakari) at least...11:29
jrosseri did comment on the ceph-ansible PR asking for reviews11:29
jrossermaybe we have to fork ceph-ansible11:36
noonedeadpunkyeah, I saw that...11:37
jrosseroh and unrelatedly, see https://review.opendev.org/c/openstack/glance_store/+/88558111:38
jrosserthis has been nasty outstanding bug for many many years now11:38
jrosserwe are just applying a fix for this now11:39
noonedeadpunkoh, is that why we disable uwsgi for rbd today?11:45
jrosserhmm - wasnt that also tangled up with interoperable image upload11:51
jrosseror whatever it's called11:51
jrosserbut perhaps yes11:51
jrosserwe are using glance+uwsgi currently, and just applied a bunch of network optimisation11:52
jrosserwhich had the side effect of making that bug much much more apparent11:52
noonedeadpunkwell, interoperable import is another thing, but it could be fixed for uwsgi couple of releases ago - not sure to be frank.13:01
noonedeadpunkBut switching to non-wsgi helped us to not face it13:02
noonedeadpunk*uwsgi13:02
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: WIP - test Vexxhost CAPI driver for magnum  https://review.opendev.org/c/openstack/openstack-ansible/+/89324013:07
NeilHanlonmorning folks.. do we know anything about python-etcd and/or python-ironicclient? both were orphaned in Fedora today13:07
NeilHanlonthey don't ship in EPEL, so I kinda figure we are just getting from pip?13:08
jrosserpython-etcd seems to be abandoned since 2017, expect for a whole bunch of patches a couple of weeks ago13:12
NeilHanlonyea i just noticed that, too 🤔13:14
NeilHanlonmaybe a CVE?13:14
noonedeadpunkpython-ironicclient should be a thing still I believe....13:14
NeilHanlonwhat's odd is, apparently, samba depends on both of them13:14
noonedeadpunksamba depends on python-ironicclient???? o_O13:14
noonedeadpunkI can hardly imagine what/why13:15
jrosserwell precise names matter too, python-ironicclient would indeed be the pip package13:15
NeilHanlonsamba-2:4.19.2-2.fc40.src requires python3-etcd = 0.4.5-29.fc3913:15
jrosserbut python3-ironicclient would be the rpm?13:15
* jrosser not sure which we are talking abot13:16
NeilHanlonI *think* ironicclient is a weak dep in rpm land13:16
NeilHanlonas I don't see it specifically required for samba13:16
NeilHanlonbut python-etcd is 🤔13:16
NeilHanlonotoh, i now work with the Samba maintainer (Jeremy Allison).. so. I'll ask him lol13:16
noonedeadpunkMy assumption would be that python-etcd should be replaced with etcd3gw13:18
noonedeadpunkat least in opendev world: https://docs.openstack.org/etcd3gw/latest/13:18
NeilHanlonmakes sense to me.. i'll investigate a bit on that. I think the assertion I saw re: ironicclient and samba is just wrong13:20
NeilHanlonif anything, it'd be the opposite (ironicclient depends on samba)13:20
noonedeadpunkyeah, that I can imagine 13:21
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-plugins master: Add openstack_resources role skeleton  https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/87879413:25
jrosserare you sure about that?13:25
jrosserironicclient surely is just a plugin to osc?13:25
NeilHanlonhttps://koschei.fedoraproject.org/build/1668622213:26
NeilHanlonKoschei (ostensibly) walks multi-level dep trees13:26
NeilHanlon(OTOH, it could be a subpackage I'm not looking at)13:26
jrosseroh i think i meant that it was a surprise there was a dep between ironicclient and samba 13:27
NeilHanlonah, I see what you're saying13:28
NeilHanlonsorry, more coffee needed :P 13:28
NeilHanlonI replied to the fedora thread here -- https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/PLPPESFOSVQL4D757WCL3ZPE6R4RYCXY/13:28
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: WIP - test Vexxhost CAPI driver for magnum  https://review.opendev.org/c/openstack/openstack-ansible/+/89324013:38
opendevreviewMerged openstack/openstack-ansible master: Use haproxy_service_setup playbook from plugins collection  https://review.opendev.org/c/openstack/openstack-ansible/+/90043313:51
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible master: Add openstack-resources playbook  https://review.opendev.org/c/openstack/openstack-ansible/+/90146013:54
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: WIP - test Vexxhost CAPI driver for magnum  https://review.opendev.org/c/openstack/openstack-ansible/+/89324013:58
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-plugins master: Add openstack_resources role skeleton  https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/87879414:02
opendevreviewJonathan Rosser proposed openstack/openstack-ansible stable/2023.1: Fix incorrect release name  https://review.opendev.org/c/openstack/openstack-ansible/+/90146114:09
opendevreviewJonathan Rosser proposed openstack/openstack-ansible stable/yoga: Fix incorrect release name  https://review.opendev.org/c/openstack/openstack-ansible/+/90146214:12
NeilHanlonI figured out the ironicclient thing.. ironicclient is a dep for neutronclient, which in turn is a dep for fence-agents,... pcs -> gluster -> samba14:32
NeilHanlonwhat a weird world we live in14:32
jrossereven that sounds...... wrong :)14:37
NeilHanlonquite :) 14:37
jrossera long time ago a hacked a thing that turned apt deps into graphviz14:39
jrosserand it was 8-O14:39
NeilHanlonneed a plotter to print it? lol14:43
jrosserwell you could give it a starting package14:43
jrosserotherwise i'm sure it would have generated extraordinary results14:43
NeilHanloni remember doing something similar with Puppet digraphs at some point.. it was... scary14:47
noonedeadpunkwhy ironicclient depending on neutronclient....14:53
noonedeadpunk /o\14:53
noonedeadpunkdon't want to start with neutronclient -> samba even14:53
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: WIP - test Vexxhost CAPI driver for magnum  https://review.opendev.org/c/openstack/openstack-ansible/+/89324014:55
jrosser`git+https://github.com/jrosser/openstack-ansible-ops#/mcapi_vexxhost,capi`15:00
jrosser^ this is a valid collection url15:00
jrosserand makes `scripts/get-ansible-collection-requirements.yml` suddenly a whole lot more exciting to write 15:01
noonedeadpunkugh....15:56
jrosseryeah, not totally sure how to make it pick up the repo from the zuul sources right now15:57
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Allow installing collections from repos containing more than one  https://review.opendev.org/c/openstack/openstack-ansible/+/90147116:49
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: WIP - test Vexxhost CAPI driver for magnum  https://review.opendev.org/c/openstack/openstack-ansible/+/89324016:50
jrosseroh thats just totally wrong /o\17:17
jrosserhmmm17:17
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible master: Adopt magnum test variables for openstack_resources  https://review.opendev.org/c/openstack/openstack-ansible/+/90118417:23
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Allow installing collections from repos containing more than one  https://review.opendev.org/c/openstack/openstack-ansible/+/90147117:33
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible master: Adopt magnum test variables for openstack_resources  https://review.opendev.org/c/openstack/openstack-ansible/+/90118417:37
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_magnum master: Adopt for usage openstack_resources role  https://review.opendev.org/c/openstack/openstack-ansible-os_magnum/+/90118517:40
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_magnum master: Adopt for usage openstack_resources role  https://review.opendev.org/c/openstack/openstack-ansible-os_magnum/+/90118517:41
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible master: Add cinderstore glance testing scenario  https://review.opendev.org/c/openstack/openstack-ansible/+/90118717:50
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible master: Fix classic queues version policy  https://review.opendev.org/c/openstack/openstack-ansible/+/90147518:33
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible master: Disable RabbitMQ quorum queues by default  https://review.opendev.org/c/openstack/openstack-ansible/+/90120418:33
noonedeadpunkugh, seems I made a wrong call on changing classic queues to v2 when quorum queues are not used: https://review.opendev.org/c/openstack/openstack-ansible/+/89580619:14
noonedeadpunkas  Ijust now spotted in the blogpost, that while using simple ha queues, v2 might be not beneficial....19:15
noonedeadpunkI guess, we might need to change the logic quite a lot, to separate ha queues with quorum queues and v2 classic queues somehow19:16
noonedeadpunkAs while ha queues and quorum queues are correctly considered as one OR another, what we miss is - if one don't want to mirror queues at all.19:16
noonedeadpunkAs then they should be able to leverage CQv219:17
noonedeadpunkBut, CQv2 is potentially useful even with quorum queues, like for transitient queues...19:17
spatelany haproxy expert here - [{"rel": "self", "href": "http://openstack.example.com:5000/v3/"}]19:19
spatelI have setup haproxy to expose my openstack API to public network using SSL 19:19
spatelhttps://paste.opendev.org/show/brAuzocBieYmnlMLzb5r/19:20
spatelhaproxy in respond changing https to http (it breaks my Terrafrom )19:20
spatelI have F5 proxy which works without issue and not messing with header 19:21
noonedeadpunkUm, curl looks nicely, doesn't it?19:22
jrosserspatel: do you think haproxy changes the reponse to http19:22
jrosseror do you think that keystone puts an http thing into the response19:22
noonedeadpunkah19:22
spatelYes19:23
spatelwhy keystone does that?19:23
noonedeadpunkI see what you mean19:23
spatelI have other setup running on F5 that doesn't doing that19:23
jrosserprobably because there is a misconfiguration19:23
jrosserlook again at the response "[{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}]}]"19:24
spatelopenstack endpoint list is totally different for Public 19:24
jrosser^ identity, this is coming from keystone19:24
spatelwhen i do curl https://openstack.example.com:9696 that is also changing it to http:// 19:25
jrossersorry what is changing?19:25
noonedeadpunkSo in our case, apache2 that's serving keystone does contain `RequestHeader set X-Forwarded-Proto "https"`19:26
spatelhttps://paste.opendev.org/19:26
noonedeadpunkspatel: that's what I have in AIO https://paste.openstack.org/show/bpDHsBagatPn9FrRglpi/19:27
spatelhmm19:28
jrosserspatel: your curl is successful against an https endpoint19:28
jrosserbut the payload that comes back inside the https contains an http url19:29
spatelI have setup haproxy outside OSA 19:29
jrosserimho that is not being changed by haproxy, but the backend is not configured correctly to understand that the outside is https19:30
spatelLet me see what is going on.. 19:30
jrosserlook at the stuff in noonedeadpunk paste19:30
spatellet me run keystone in debug19:30
jrossermatch that with the web server config in keystone19:30
jrosserno, check the web server config19:30
jrosserit's web server + flask19:30
spatelok19:31
spatelI am checking that but little surprised with F5 19:33
spatelI have similar setup I did with F5 and it just works without doing anything.. 19:33
spatelF5 handling things right way 19:33
spatelThis is my apache2 config - https://paste.opendev.org/show/b5NVQIJQuJnZtzuYsrJX/19:35
jrosserso you are missing `RequestHeader set X-Forwarded-Proto "https"`19:37
spatelI am running Xena release 19:37
spateldoes this thing not there?19:38
jrosseri think usual advice applies19:40
jrosseruse an AIO from xena branch to see what the standard setup would have been for that release19:41
jrosseror you can dig around in one of the CI job logs from xena branch, like https://zuul.opendev.org/t/openstack/build/41bcec32ccab412fbad92a87c8eb5a30/log/logs/etc/host/apache2/sites-available/keystone-httpd.conf.txt19:44
jrosserand https://zuul.opendev.org/t/openstack/build/41bcec32ccab412fbad92a87c8eb5a30/log/logs/etc/host/haproxy/conf.d/keystone_service.txt19:44
spatelok.. I will try to see what is going on 19:47
jrosseri don't knwo if it matters but you are missing `option forwardfor` in your haproxy backend condig19:47
jrossercompared to what is in the AIO19:48
spatelhmm! really 19:51
spatellet me try that first19:51
spateljrosser no luck :(19:52
spatelI have added in both place frontend and backend 19:52
jrosserwell i don't know - the standard deployment in xena is with https on the public endpoint and it works just out of the box19:54
spatelLet me see what I can do in keystone to make it work 19:56
spatelThanks for the input 19:56
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: WIP - test Vexxhost CAPI driver for magnum  https://review.opendev.org/c/openstack/openstack-ansible/+/89324022:13

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