Thursday, 2023-08-24

MeloniaHi07:27
MeloniaI have trouble in connecting to the OSA-AIO: https://dpaste.com/7JUMXV4BM07:28
jrosserMelonia: is it really *.* in those IP?07:30
Meloniano no!07:30
jrosserso it's really a public IP?07:31
jrosserit's just confusing, and really there is not much gain to obfuscate it07:31
MeloniaYes, It's a public IP to be able to present to the company07:31
jrosserright, so you are already scanned / probed by the whole internet :)07:31
jrosserbut anyway, the message is about the SSL verification07:32
Meloniano problem. It's just a demo07:32
jrosserso 1) where is the certificate from.... 2) where do you run the client07:32
jrosserbecasue 2 needs to trust the cert presented by 1, unless you disable verification07:33
MeloniaI didn't introduced ant cert. I think it's self-signed bt AIO itself!07:33
jrosserthat is the default in the AIO07:33
MeloniaThe client is on my Laptop07:33
jrosserso this is kind of just basic SSL setup, not really OSA specific07:34
jrosserif you have the AIO generate its own CA, you will need that CA in your client certificate store, or disable verification07:35
jrossersame will be true for horizon07:35
MeloniaHow can disable verification for the command `openstack`07:36
MeloniaHow can I disable verification for the command `openstack`?07:37
jrossertry `--insecure`07:37
jrosserfor a more proper proof of concept you are able to supply your own CA+Cert, or use LetsEncrypt07:38
jrosseri think it's important to appreciate that OSA is a bit like a toolbox and the AIO makes some "sensible defaults" but almost everything is customisable 07:39
jrosserthe self signed cert is a pretty good example if this, it's fine for hacking around but you really need to customise for production use07:39
MeloniaSure; Thanks07:42
Melonia[Worked]07:42
MeloniaI also get this error when I try for a new user registration: https://gcdnb.pbrd.co/images/DLI1mRp8GrTq.png (I have enabled adjutant module during deployment)07:43
MeloniaSimilar issue with Horizon>Rating>Rating: https://gcdnb.pbrd.co/images/4ZXYr5OiGDXi.png (I aslo have enabled cloudkitty module)07:43
jrosserMelonia: https://opendev.org/openstack/adjutant-ui/src/branch/master/doc/source/configuration.rst#L408:08
jrosserbut really i would be looking carefully at how well maintained you think the adjutant-ui code is https://opendev.org/openstack/adjutant-ui/commits/branch/master08:11
jrosserand decide if thats something you want to install/support as a service08:11
MeloniaYou mean adding `OPENSTACK_ADJUTANT_URL = "<base_url>"` to user_variables file?08:12
Meloniajrosser: I'm working on a demo for now, but why not even for production? Isn't adjutant reliable or something?08:13
jrosserthats your judgement to make if any particular component of openstack is suitable for your use case08:14
jrosserthey are all maintained by different teams, some very actively like the core nova/keystone/glance/cinder etc......08:15
jrossersome are almost abandoned08:15
MeloniaOh, then I need to check both adjutant and cloudkitty for their development and the community support08:16
MeloniaThanks for the hint08:16
jrosserindeed - OSA people can help with deployment and getting the right config in place08:16
MeloniaYeah, I see08:17
jrosserbut we dont work directly on the service projects as part of working on OSA, except maybe for major regressions like we found recently in keystone 08:17
jrosserthe OSA people are almost all running their own clouds, rather than just developers of a deployment tool08:19
jrosserso theres a a lot of experience of what does/doesnt work in real life here08:19
Melonia+108:24
NeilHanlonand then there's me. I'm here because jrosser told me he'd hunt me down if I left! /s13:37
jamesdentonGood moning, jrosser. noonedeadpunk pointed me into the direction of your haproxy map patches a while back, but I'm not yet sure if that's the right approach if I'm looking to modify haproxy to use unique FQDNs per endpoint on port 443 versus the default of same FQDN:service port. What say you?13:39
jrosserjamesdenton: I hope that it is ideal for that :)13:45
jamesdentonIf it IS, that's great, i just wasn't 100% on that13:46
jamesdentonbefore i went down that path13:46
jrosserthe way the vars are at them moment, you can have arbitrary maps with arbitrary config13:46
jrosserthough there are some hardwired defaults currently13:46
damiandabrowskiif anyone's interested, I talked a bit about haproxy maps and possible usecases in Vancouver :D 13:46
damiandabrowskihttps://youtu.be/1i60u_dfTBU?si=rvmXdJaJBYiiGjaM&t=80713:46
jamesdentoni am very interested, thank you13:47
jrosserI had in my mind when writing this part of the haproxy role that it should be possible to do something like use the service name as the key in the map file when doing fqdn->service mapping13:47
jrosserand ultimately it would be just one bool needed to switch into this mode through user vars13:48
jrosserI would expect it to be actually quite a small patch to make this work13:49
jrosserjamesdenton: the map file config is distributed in pieces, like this for horizon https://github.com/openstack/openstack-ansible/blob/master/inventory/group_vars/horizon_all/haproxy_service.yml#L3914:01
jrosserthen you instruct it to use a particular map on the frontend like this https://github.com/openstack/openstack-ansible/blob/master/inventory/group_vars/haproxy/haproxy.yml#L86-L9114:02
*** dviroel_ is now known as dviroel14:03
jamesdentonlooking looking14:06
jrosseroh of course then there is the service catalog to get right14:10
jrosserso i think thats why this ends up with some global bool, as what you tell haproxy to route has to actually match whats in the service catalog14:10
jamesdentoni imagine you would just override the individual catalog entries, then?14:14
jamesdentonhi kstev bjoernt 14:29
kstevhi jamesdenton14:31
jrosserjamesdenton: yes i think it would be possible to make a bunch of overrides for catalog entries14:35
jrosserhave to decide if we want this "service-as-fqdn" thing to me a first class feature in OSA14:35
jrosserif so we should probably make it a bit more slick than that14:36
jrosser*to be14:36
jamesdentoni think it definitely could/should be. I hope to implement this in a project we're working on soon14:39
jamesdentonthank you for the help14:39
*** starkis is now known as Guest53523:14

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