Thursday, 2021-11-04

michchaphello, I'm trying to do separated control/compute upgrades for rocky->stein, but am hitting an error when upgrading a single compute node since --limit removes the control nodes and thus the nova upgrade check that is meant to run on groups['nova-api'][0] doesn't run. Am I missing something or is using --limit to upgrade compute nodes one by one not supported?00:31
michchapI also noticed that the delegation of gather-facts in --limit scenarios causes a single unreachable node not within the limit to cause another (random) node to be excluded from everything since it will fail, but proceed. I'll file a bug for that one.00:33
EugenMayerGood morning. Deployed openstack with TLS yesterday (from scratch, not an TLS upgrade). AFAICS everything is TLS except the tty console. It does not show up when clicked, since the controller tryies https:// - when i click on the dedicated tty console window, it does not load (no socket), when i change to http it connects (but credentials are07:44
EugenMayerwrong). Seems like some services are not correctly configured to use tlss?07:44
EugenMayernot sure which api should run on :608007:46
mnasiadkadmsimard: ugh, nice.08:00
mnasiadkakolla-ansible stable/ussuri patches: https://review.opendev.org/q/branch:stable/ussuri+status:open+project:openstack/kolla-ansible - what do we need to merge yoctozepto ?08:05
*** amoralej|off is now known as amoralej08:26
EugenMayeranybody uses TLS and can connect to novnc. I seem to have a very similar issue as this one https://bugzilla.redhat.com/show_bug.cgi?id=1722089. I'am using officially signed certificates for all services09:40
jingvarlet me check09:42
EugenMayerSeems like something from https://docs.openstack.org/nova/xena/admin/remote-console-access.html might be missing in the kolla setup09:42
EugenMayerchecking the nova-novnc logs i see https://gist.github.com/EugenMayer/82528fcfca6e22b818f865852606f28c09:44
jingvarvictoria letsencrypt tls for all endpoints, can see graphical console via web browser via admin url09:51
opendevreviewPierre Riteau proposed openstack/kayobe master: Build overcloud host image directly with DIB  https://review.opendev.org/c/openstack/kayobe/+/77260909:59
yoctozeptomnasiadka: I have no idea what you need to merge me :-) what's the question? :D 10:03
EugenMayerjingvar could you paste our nova-novncproxy/nova.conf config like this https://gist.github.com/EugenMayer/fba4eb20a49ccd717ba70f38188a8e1e .. please be sure to remove the passwords. Thanks10:03
mnasiadkayoctozepto: just thinking we should merge/abandon/whatever and mark as EM, right?10:03
priteaumnasiadka: I've updated the Kayobe CI status to GREEN10:07
yoctozeptomnasiadka: ah, in that context10:10
yoctozeptook, let me see then10:10
yoctozeptomnasiadka; we have open changes on train as well10:32
yoctozeptoso we can leave them be10:32
yoctozeptoI can abandon the CI ones obviously10:32
mnasiadkawell, rather if we want to merge anything on Ussuri before EM (last release)10:32
mnasiadkaright10:32
yoctozeptoI w+1'ed one of the trivials10:32
yoctozeptoothers not really ready10:32
yoctozeptoso meh10:33
opendevreviewMerged openstack/kolla-ansible master: mariadb: use add_host to include inactive hosts in shard grouping  https://review.opendev.org/c/openstack/kolla-ansible/+/81427611:02
opendevreviewMichal Nasiadka proposed openstack/kolla-ansible stable/xena: mariadb: use add_host to include inactive hosts in shard grouping  https://review.opendev.org/c/openstack/kolla-ansible/+/81665211:04
EugenMayerjingvar: try openstack console url show <instanceNameOrId> - does it show an https:// url?11:19
EugenMayerwith the help in nova it is pretty clear right now, that kolla does and did not support TLS on vnc, since the configuration of it seems  to be missing and copying the certificates is missing too11:21
EugenMayereither https://github.com/openstack/kolla-ansible/blob/stable/wallaby/ansible/roles/nova-cell/templates/nova.conf.j2#L2 should have cert/key as value if TLS is active (to a custom path) or coping them to self.pem is missing. Anyway, obviously not used at all, so less of an interest here11:27
opendevreviewMerged openstack/kolla-ansible stable/ussuri: Fix missing Ansible version in the error message  https://review.opendev.org/c/openstack/kolla-ansible/+/81580911:27
opendevreviewSeena Fallah proposed openstack/kolla-ansible stable/wallaby: mariadb: use add_host to include inactive hosts in shard grouping  https://review.opendev.org/c/openstack/kolla-ansible/+/81665311:30
jingvarEugenMayer:   nova-novncproxy/nova.conf seems the same 11:33
jingvarEugenMayer: https://my.cloud:6080/vnc_auto.html?path=%3Ftoken%XXXXXXXXXXXXXXXXXXX&title=nfvm(4450304a-588c-4b06-9a33-57fac246f20f)11:34
hrwmnasiadka: https://review.opendev.org/c/openstack/kolla/+/816374 maybe?11:35
jingvarEugenMayer: nova-novnc is behind haproxy11:37
opendevreviewMerged openstack/kolla-ansible stable/wallaby: Fix missing Ansible version in the error message  https://review.opendev.org/c/openstack/kolla-ansible/+/81580611:48
opendevreviewMerged openstack/kolla-ansible stable/xena: Fix missing Ansible version in the error message  https://review.opendev.org/c/openstack/kolla-ansible/+/81580511:50
opendevreviewMerged openstack/kolla-ansible stable/victoria: Fix missing Ansible version in the error message  https://review.opendev.org/c/openstack/kolla-ansible/+/81580711:50
*** amoralej is now known as amoralej|lunch11:57
mnasiadkahrw: sure, but it's a bit weird that we have two sources for the same package...12:05
yoctozeptomnasiadka: it's pretty normal in general, we just need to prefer the variant we want :-) 12:31
opendevreviewRadosÅ‚aw Piliszek proposed openstack/kolla-ansible master: [WIP] CI: Enable TLS in all jobs  https://review.opendev.org/c/openstack/kolla-ansible/+/78238712:35
hrwmnasiadka: a bit, yes12:39
opendevreviewRadosÅ‚aw Piliszek proposed openstack/kolla master: Use MariaDB 10.6  https://review.opendev.org/c/openstack/kolla/+/81101512:53
*** amoralej|lunch is now known as amoralej13:17
kevkohello gentlemen13:21
opendevreviewMerged openstack/kolla master: Debian: we want Openvswitch and ovn from backports  https://review.opendev.org/c/openstack/kolla/+/81637413:31
hrwmnasiadka: do we want it in Xena too?14:17
mnasiadkahrw: I guess so, if we don't - we're bound to that one version that we're installing now?14:17
opendevreviewMarcin Juszkiewicz proposed openstack/kolla stable/xena: Debian: we want Openvswitch and ovn from backports  https://review.opendev.org/c/openstack/kolla/+/81665714:18
hrwlet's check how it builds14:18
EugenMayerjingvar which HAproxy? there is non running on the container15:31
yoctozeptoheads-up: adjutant is going retired, no contributors to care about it15:40
yoctozeptomnasiadka: ^15:43
jingvarEugenMayer: ctl01 : ls /etc/kolla/haproxy/services.d16:02
mnasiadkayoctozepto: once it's retired we'll abandon the change and that's it16:10
EugenMayerjingvar ok interesting, backend points to the non VIP address, while frontend is bound on the VIP address - this explains it, thank yoy16:11
jingvarwhen I logged in via admin horizon url - should be the novnc url accordingly via admin?16:12
EugenMayeri think the point is what kolla_internal_fqdn and kolla_external_fqdn is configured to, i guess16:14
jingvarIn my mind all useful - users services should work - in case HA, it means via VIP16:14
jingvarEugenMayer: ofcourse16:15
EugenMayerwhat is kolla_external_vip_address used for in general? i guess the services use kolla_internal_vip_address to talk right, so when the nova agents and those talk, they use they just internal? is the kolla_external_vip_address just for the access to horizon?16:16
EugenMayerlooking at the HAproxy all services see to be bound to external16:17
EugenMayeroh wait, that's internal. Odd, what i do not get is how the 'initial IP on the management network' is considered inte setup16:18
EugenMayerso my cluster network, before provisioning openstack, has 3 nodes, controller (10.0.0.2), compute1(.3), compute2(.4). I configure the internal_vip to be .25316:19
EugenMayerlooking at the haproxy, all frontends are bound to .253 and all backends are bound to 10.0.0.2 (on the controller)16:19
jingvarthere are 2 places to set fqdn16:21
jingvarinternal vip in your case should be controller ip16:22
EugenMayerwhich one, .2?16:23
EugenMayerthat cannot be done, when deploying, internal VIP must be an unused ip16:23
jingvaryep16:23
EugenMayerso i cannot use .2 for internal_vip, i have to use something else16:23
jingvarhmm, disable HA16:23
jingvarI don't rememmber how works AIO16:24
jingvarwhich step fails with internal=controller16:25
EugenMayerwhat setting disables ha?16:25
jingvarkolla_enable_haproxy: yes  kolla_enable_keepalived: yes16:28
jingvar^^^for  enable ha16:28
EugenMayeri guess with multinode it is enabled by default16:30
EugenMayerbefore i do that i would really like to understand the semantic meaning of internal and external VIP16:30
jingvarextrernal network should be filtered16:33
EugenMayerhttps://docs.openstack.org/kolla/newton/advanced-configuration.html seems like both are the 'targeted' internal network, but one can have separated networks for internal and external16:33
jingvarif you want direct accsess for services you use intenal16:34
EugenMayerwell then i'am confused why all backend definitions in haproxy use the 'initial IP on the management plan interface, the frontend use the internal_vip definition16:35
EugenMayerso 10.0.0.3 for the backend, 10.0.0.253 for the frontend - why is the backend not using .253?16:35
EugenMayerso frontend uses16:36
EugenMayerbind 10.0.0.253:6080 ssl crt /etc/haproxy/haproxy-internal.pem16:36
EugenMayerand backend uses server controller 10.0.0.3:6080 check inter 2000 rise 2 fall 516:36
jingvaryou should think about kolla-ansible as a tool to configure openstack .  the main is openstack doc16:36
EugenMayerAFAIU this is for HA then. since we only have one upstream, it is the 'local one' identified by .3 - the LB runs on .253 and forwards to the upstreams16:37
EugenMayerjingvar that really wont work. since the OpenStack docs are not talking about those containers. they have no intneral/external definition. Kolla is a macro level, which is nice, since it saves you a lot of time. But this hides details and to decrypt those takes some effort (fair enough)16:38
EugenMayerfor example, in a non kolla env the nova-novnc service exposes it's cerficate for tLS directly (so i got told in nova today), which in kolla we have an haproxy for SSL offloaind and HA16:39
jingvari've spent 5months for it :)16:39
EugenMayerso readind novas novnc docs will not work for kolla, since HAproxy makes a huge difference. That is what makes it difficult for the starter i think - or it is just me16:40
jingvarnot only for you :)16:41
EugenMayerso what i did now is, my initial fqdn (controller.cluster.domain.tld) points to .3, internal and external VIP are .253 and i define the internal fqdn to controller.cluster.domain.tld, but the external to openstack.cluster.domain.tld (points to .253)16:43
EugenMayerusing openstack.cluster.domain.tld to access the UI then works, since openstack.cluster.domain.tld is used for novnc16:44
jingvarin that case I go reverse path16:45
jingvarI understand what should be in a config and look how it generetes in kolla ansible scripts16:46
EugenMayeri think my biggest mistake was using controller for my hostname for the controller16:46
EugenMayerit should have been controller116:46
EugenMayerthen my internal fqdn would be controller.cluster pointing to .253, controller1 to .3 and external is not needed at all16:47
jingvarI use ctl01 etc because if you need grep controller ....16:47
EugenMayerlet's see if i can fix that with a reconfiguration or redo the entire cluster like i did yesterday (to change the passwords)16:50
jingvarin case find message about  all my controllers I can use "ctl0" 16:50
EugenMayeri see16:50
opendevreviewMartin Hiner proposed openstack/kolla-ansible master: Systemd container control PoC  https://review.opendev.org/c/openstack/kolla-ansible/+/81672416:51
EugenMayerjingvar thank you for your insight and helk!16:55
EugenMayers/helk/help16:55
jingvarYAW16:57
EugenMayernice, redeploying and fixing the hostname just worked17:21
*** amoralej is now known as amoralej|off18:05
rainwadjDoes anything happen here, outside the scheduled meeting time?20:26
opendevreviewAdrian Andreias proposed openstack/kolla-ansible master: Add kolla-ansible --version option  https://review.opendev.org/c/openstack/kolla-ansible/+/81674820:28
opendevreviewAdrian Andreias proposed openstack/kolla-ansible master: docs: Fix python-openstackclient package name and init-runonce path  https://review.opendev.org/c/openstack/kolla-ansible/+/81607420:33
opendevreviewAdrian Andreias proposed openstack/kolla-ansible master: docs: Install openstack-client with upper constraints  https://review.opendev.org/c/openstack/kolla-ansible/+/81607621:01

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