Thursday, 2022-08-11

*** ysandeep|out is now known as ysandeep01:50
*** ysandeep is now known as ysandeep|afk02:57
*** ysandeep|afk is now known as ysandeep03:10
*** ysandeep is now known as ysandeep|away03:25
Banister1640I'm having trouble running the setup-openstack playbook, I'm running into: fatal: [aio1_aodh_container-ed8abc4e]: FAILED! => {"changed": false, "msg": "The python packages have failed to install, please check the log file located at /var/log/python_venv_build.log for more information.\n"}03:54
Banister1640the log I am getting is https://pastebin.com/dgiZn0sF03:54
Banister1640if anybody has any help or pointers it would be much appreciated03:55
snadgeive seen this same error actually too.. you might find the people who can help are in a timezone that may respond several hours from now (europe)04:05
snadgei have just ignored it for now and am trying to fix an unrelated cinder issue.. i've never used NetAPP iscsi before, and ive plugged the right information in and its authenticating.. but openstack is apparently just sending GET / to the api server on port 443 which returns 400 bad request04:05
snadgeso im hoping and praying that someone else happens to use a netapp with iscsi and knows the missing magic ingredient that i haven't been able to find04:11
snadgethe specific hardware is DM5100F04:12
*** ysandeep|away is now known as ysandeep04:13
Banister1640Ah of course, time zones. I have some netapp hardware too I hope to use later, although it's a lot less nice, and a lot older. I'm setting this up for myself in my homelab. First time using openstack04:17
snadgei have faith that a solution will be found as it is incredibly close to just working, it authenticates correctly etc you can expose volumes with curl from the command line05:02
snadgecurl -X GET -u admin:notmypassword -k 'https://10.150.25.someip/api/storage/volumes'  05:07
snadgepassword and last quad substituted but you get the idea05:07
snadgecinder is just sending GET / .. which causes the 400 to come back, instead of something meaningful like /api/etc05:10
*** ysandeep is now known as ysandeep|afk06:04
*** ysandeep|afk is now known as ysandeep06:45
snadgei wish i could just patch python to ignore the ssl certificate because i dont have time to set it up properly06:46
snadgeive at least got it to a point now where it refuses to touch the self signed cert, its too much documentation to fix that properly now and i want to come back to it later06:47
noonedeadpunkBanister1640: sounds like quite valid bug for aodh07:31
snadgeturns out its actually easier to turn on http api.. and that worked, other admin will sort out certificate authority etc later07:32
snadgeso now it is just this aodh bug that is remaining yes07:33
noonedeadpunkI would need to spawn AIO to catch the issue to see what's actually wrong07:33
noonedeadpunkas not sure where this requirement does come from07:34
snadgei have the time to assist and debug this issue potentially.. since im at a point where i have a failing aodh playbook.. so i could be remote hands or whatever, i typically just poke at ansible.log like a caveman and make grunting sounds07:34
noonedeadpunkok, I think I've catched the error07:50
noonedeadpunkand I have by far no idea wtf07:57
jrosser_morning07:57
noonedeadpunkseems it's aodh itself that's broken with our sha08:00
noonedeadpunkBanister1640: snadge: try defining `aodh_git_install_branch: 14.0.0`08:07
noonedeadpunkseems they've backported smth breaking to yoga08:08
noonedeadpunkand feel free to fil a bug to aodh about that :)08:10
snadgeif there is an offtopic place where i could discuss why im sadly not super motivated to do that, i would08:12
snadgefor 3 years i was basically the openstack guy, which is funny given how some of the basic level of things i've needed help with08:16
snadgebut sadly my contract has come to an end, not for performance, but purely due to financial crunch reasons08:16
snadgeso this yoga install is one last gift to them08:17
snadgei made sure the full timer understands all this stuff though and literally sat with him to do this last install, so it is in good hands08:19
snadgeso i will be honest.. i am a linux systems admin, who now has experience installing and using openstack.. and i thank you guys sincerely for that privilege it has been a pleasure08:20
*** ysandeep is now known as ysandeep|lunch08:21
noonedeadpunkwell, it's never late to become openstack engineer for linux admin guy ;)08:21
snadgethats right i understand what all those words mean which puts me way ahead of just other linux guys right08:21
snadgeand i've run all those playbooks before many many times.. you guys know how it goes08:22
snadgewithout the help i've received i may have had many sleepless nights profusely sweating08:23
snadgebut instead they have been really happy with the first two installs ive done and been using it solid for that whole time08:26
snadgeim glad i got the experience with aio, then a vsphere test cluster and a single controller multi compute cluster install08:27
snadgei can then build on that with more complicated multi controller vastly more split out larger installations with seperate logging servers etc08:29
jrosser_good to hear it's worked out08:33
jrosser_noonedeadpunk: https://docs.openstack.org/neutron/latest/admin/config-experimental-framework.html09:02
jrosser_i wonder if we need some of that09:02
noonedeadpunkit;s likely time for us to switch somewhere as default....09:04
noonedeadpunkbut yes, we do need that indeed09:04
snadgei have a british passport, so if there is openstack work going i wont say no ;)09:31
snadgei can be linux guy with openstack experience keen to gain more, happy to receive intermediate pay09:33
*** tosky_ is now known as tosky09:33
*** ysandeep|lunch is now known as ysandeep10:12
*** ysandeep is now known as ysandeep|afk10:55
*** dviroel|out is now known as dviroel11:31
*** ysandeep|afk is now known as ysandeep11:45
jrosser_noonedeadpunk: do you set `public_endpoint` in your keystone.conf?13:49
noonedeadpunksnadge: you can check out https://cleura.uhigher.com/en/jobs?v=28 :)13:55
noonedeadpunkjrosser_: um, I don't have that in overrides at least13:55
noonedeadpunklet me check13:56
jrosser_when i visit https://my-url:5000/v3 it returns an http:// location for keystone rather than https://13:57
jrosser_which was surprising - and it appears to be driven from here https://github.com/openstack/keystone/blob/master/keystone/server/flask/request_processing/middleware/auth_context.py#L73-L9513:58
noonedeadpunkI do recall smth like that actually14:01
noonedeadpunkbut I don't think it was any issue for quite a while14:02
noonedeadpunkor well, I totally do recall magnum or smth was not respecting that14:03
noonedeadpunkbut keystone is okeyish for quite a while14:04
jrosser_yes there was something with magnum14:04
noonedeadpunkanswering your question - no I don't have public_endpoint in keystone.conf14:06
jrosser_my master aio is doing the same, returning http://ip-addr:5000/v314:06
noonedeadpunkI think, it depends on haproxy?14:07
jrosser_we had a strange case with some terraform trying to use http url and this is the only place i can find it14:07
jrosser_not sure, as if i go in the keystone container and wget the service it's the same response there14:07
jrosser_i beleive this is all generated in keystone14:08
jrosser_its from here https://github.com/openstack/keystone/blob/master/keystone/api/discovery.py#L6014:08
noonedeadpunkSo, I have xena sandbox I'm working on, it's quite default and curl is correct14:08
jrosser_it gives https:// ?14:09
noonedeadpunkhttps://paste.openstack.org/show/bOUs54ReElh0mmrpwipe/14:09
jrosser_thats really interesting as we did yoga upgrade over the last couple of days14:09
jrosser_exactly when this terraform then blew up14:09
noonedeadpunkwell, we don't have yoga anywhere yet....14:10
noonedeadpunkI bet we already patched smth like that before....14:10
jrosser_andrewbonney: ^ another breadcrumb pointing to something changing X->Y14:11
spatelfolks, i am upgrading openstack from wallaby to Xena and encounter here during rabbitmq/galera upgrade step - https://paste.opendev.org/show/bDBsAnLkn6y37K2bA0Si/14:11
spatelI am in meeting so will look into it later but just wanted to mention here14:11
noonedeadpunkjrosser_: I bet it was based on some headers passed to the wsgi by haproxy or smth like that. At least when there was magnum story or smth14:14
jrosser_i think with magnum it took the internal URL and passed that out the the cluster nodes, when they really needed the external url14:14
noonedeadpunkso it was taken smth like http refferer ort smth like that14:15
noonedeadpunkquestion - was you upgrading also ubuntu to 22.04?14:15
noonedeadpunkas haproxy version could influence then 14:16
jrosser_no, we're on focal still14:16
noonedeadpunkwell, on yoga aio I indeed see http instead of https14:17
noonedeadpunklike it's not respecting X-Forwarded-Proto anymore14:17
noonedeadpunkAnd I bet we defined it for this specific reason14:17
jrosser_https://github.com/openstack/openstack-ansible-os_keystone/commit/6fae2bdade459c85dba55aae64c9f6f4e485a78214:20
jrosser_{% if (keystone_ssl | bool) and (keystone_external_ssl | bool) %}14:20
jrosser_^ "and", or "or" ?14:20
noonedeadpunkI can recally ou already asked that14:21
jrosser_yes i think i did14:21
jrosser_it was broken for when i tried out skyline14:21
noonedeadpunkI totally can recall that these variables were not what you think they are14:22
noonedeadpunkSo idea was to set RequestHeader only when we terminate on haproxy and connection between haproxy and keystone is not encrypted14:23
noonedeadpunkor smth like that14:23
noonedeadpunkbecause keystone_ssl was meaning if keystone backend is serving SSL itself14:23
noonedeadpunkand if it does, you don't need to set keystone_secure_proxy_ssl_header as it's already https 14:24
noonedeadpunkSo yes, I think logic is incorrect indeed14:26
noonedeadpunkSorry, I need to leave now, if you won;t sort it out I will take a deeper look later today14:29
jrosser_no problem14:29
jrosser_we can take a look14:30
noonedeadpunkthough it won't explain IP insteasd of fqdn14:30
jrosser_oh thats from an AIO though? so expected14:30
noonedeadpunkah, ok14:31
jrosser_anyway would be great to have a second opinion on it if you have a moment later too14:31
opendevreviewJean-Philippe Evrard proposed openstack/openstack-ansible-openstack_hosts master: Define coherent safe default for package state  https://review.opendev.org/c/openstack/openstack-ansible-openstack_hosts/+/85256714:49
mrfHi!14:54
mrfDesignate in yml is designate_hosts: ?14:54
jrosser_mrf: https://github.com/openstack/openstack-ansible/blob/master/etc/openstack_deploy/conf.d/designate.yml.example14:59
jrosser_lots of example config fragments in that directory14:59
mrfand them i can run the setup-everything --limit="dnsaas_hosts" ??15:01
jrosser_not quite15:04
jrosser_you'd first create the containers, and you can --limit to something like "infra_all,localhost" perhaps there15:05
jrosser_then run playbooks/haproxy_install.yml15:05
jrosser_then playbooks/os-designate-install.yml15:05
jrosser_then playbooks/os-horizon-install.yml to get the dashboard enabled15:05
jrosser_of course you can run the playbooks/setup-<hosts/openstack>.yml but that will take really a very long time15:06
mrfrunning ! :)15:09
mrflets check how designate works15:09
mrfand got sense for my deployment15:10
jrosser_you'll need your own authoritiative dns servers15:15
jrosser_bind9 or something set up so that designate can push records in15:15
mrfyes we got it but i want to check how customer see the dns record etc...15:20
mrfwe got powerdns servers15:20
*** ysandeep is now known as ysandeep|dinner15:48
spatelnoonedeadpunk jrosser_  https://paste.opendev.org/show/bzbzBDX8Wc0PxGlsnVLF/15:51
spatelis keepalived password issue is a bug?15:51
spatelit doesn't like long password 15:51
spatelif i set 8 char then it works 15:53
spatelKeepalived v2.0.19 (10/19,2019)15:56
*** dviroel is now known as dviroel|lunch16:04
*** ysandeep|dinner is now known as ysandeep|out16:18
jrosser_spatel: i blame evrardjp :)16:45
jrosser_there is a change to the keepalived ansible role that we use https://github.com/evrardjp/ansible-keepalived/commit/6871592aa1e5839af671871ba9ddf5bc225e5a9416:47
jrosser_that makes it now validate the keepalived config, and as you've seen the passwords being longer than 8 chars is enough to make the validation fail16:47
mgariepywell if you don't validate it will only ignore the exeeding char.. just like some BMC's... 16:49
jrosser_sadly there is no override that we can set to disable the validation in the keepalived role16:51
jrosser_spatel: the best thing you can do is edit /etc/openstack_deploy/user_secrets.yml and supply just the first 8 chars16:51
*** dviroel|lunch is now known as dviroel16:55
spatelsorry i was in meeting18:14
spatelwhy not we remove validation? 18:14
*** tosky_ is now known as tosky18:16
jrosser_becasue it is not an OSA role, it is one external maintained by evrardjp 18:23
jrosser_so this is now a problem for several of our stable branches, unfortunatley18:24
*** dviroel is now known as dviroel|afk19:07
noonedeadpunkdamn.... We should likely rollback and fix keepalived role version for stable branches to avoid failure19:32
noonedeadpunkI did that at least for wallaby :) https://opendev.org/openstack/openstack-ansible/src/branch/stable/wallaby/ansible-role-requirements.yml#L4419:32
noonedeadpunkclean forgot for xena bump :(19:33
jrosser_we never run that role in ci either do we?19:33
noonedeadpunkI think we don't19:34
noonedeadpunksorry, I will check keystone thing tomorrow though - just returned and  quite exchausted19:34
jrosser_i made a bug in LP btw, i'm not going to be able to look at it19:34
jrosser_*today19:34
jrosser_the VRRP key is just wrong length anywat19:34
noonedeadpunkok, great, the we won't loose it19:34
jrosser_we need to update the pw-gen script to make 8-char keys19:35
noonedeadpunkwell, there're more breaking changes n the role from what I can recall19:35
noonedeadpunkwe can slice string and pass only haproxy_keepalived_authentication_password[0:7] :D19:37
noonedeadpunkwe still need to trim it for upgrades. Or just drop it. As password functionality in keepalived is quite broken and not working properly, and dropped at all in vrrp 319:38
mgariepylol. so when the other guy see the password in user-secrets it's not a small 8 char one..19:38
mgariepyhey i'll be on vacation for the next 2 weeks.19:39
jrosser_yes i noticed we had more validation errors for vrrp319:43
noonedeadpunkyep, actually I'm too on vacation for next 2 weeks 19:46
mgariepynice :D take care19:46
mgariepyi'll be disconected from irc and work related stuff ;) haha 19:47
noonedeadpunkpresumably I wiil need to drive 4000km during them... so thanks ! :)19:47
mgariepyouch 19:47
mgariepywhat are you doing the second week ? 19:47
noonedeadpunklol :D19:47
jrosser_driving back?19:47
noonedeadpunkI guess trying to find car service19:47
mgariepylol19:47
jrosser_centos-9 is still broken, looks lie facebook mirror is corrupt19:49
jrosser_i looked at kolla jobs and they just dont bother with anything except ubuntu19:49
noonedeadpunkTriplo is in connec with infra regarding it19:54
noonedeadpunksaw a ml 19:54
noonedeadpunkI wonder if ubuntu will release 22.04.1 today or postpone for another week19:57
snadgethat aodh workaround worked, cool21:23
snadgeim glad they postponed because i had a bunch of really important stuff to do unrelated to ubuntu update breakage21:24

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