Sunday, 2022-06-26

opendevreviewMerged openstack/openstack-ansible-os_horizon master: Fix ALLOWED_HOSTS  https://review.opendev.org/c/openstack/openstack-ansible-os_horizon/+/84481502:10
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_horizon stable/yoga: Fix ALLOWED_HOSTS  https://review.opendev.org/c/openstack/openstack-ansible-os_horizon/+/84765306:55
noonedeadpunkhttps://review.opendev.org/c/openstack/openstack-ansible/+/847652 rly still has post failures?!06:55
noonedeadpunkso basically it's not even ara reports that was big. it's absolutely dead swift providers06:59
jrosser_yes i agree07:02
jrosser_i was wondering if we could modify the zuul swift upload task to put the target swift service into the task name07:02
jrosser_well - or maybe the zuul API would tell us where the logs should have been07:03
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: DNM - display tree of collected logs  https://review.opendev.org/c/openstack/openstack-ansible/+/84481707:04
noonedeadpunkI think infra folks just didn't see a problem with any...07:16
jrosser_it would also help if the logs upload made some stats10:03
jrosser_maybe we run into some LB rate limit somewhere in front of swift endpoint10:04
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible master: Fix facts gathering for zun  https://review.opendev.org/c/openstack/openstack-ansible/+/84679911:32
depasqualeciao guys there is some one that can help me with a magnum-keystone integration issue?12:18
depasqualeI was going to report a possible bug, but I wanted to ask before to someone12:18
depasqualeok let's try to be fast and clear. I have a complete working stable/xena environment installed with openstack-ansible... I have added magnum service and I am trying to create a kubernetes cluster for the first time. I have used during the installation self-signed SSL certificates generated by ansible12:21
depasqualewhen I launch the fedora-coreos image, everything is installed properly but the heat stack stuck waiting for the master node to complete the installation procedure and triggere an event to Heat to mark as complete the task12:22
depasqualelooking at the journal of the master node created, it is trying to contact keystone on its public endpoint but it is not able to trust the SSL certificate and then refuses and generate an exception that prevent to complete the procedure12:23
depasqualeany suggestion?12:23
depasqualeworkaround?12:23
depasqualejust for your information I am installing on baremetal no Kolla neither virtualized environments12:24
depasqualeI have installed openstack-ansible from source12:24
noonedeadpunkdepasquale: hey. It;s interesting. I believe we should have spawn a cluster in CI tempest jobs somehow12:44
noonedeadpunkeventually one workaround would be to use let's encrypt certs at least for public endpoint. You can check doc on how to enable them here: https://docs.openstack.org/openstack-ansible/latest/user/security/index.html#certbot-certificates Obviously it requires VIP to be an fqdn rather then IP12:47
noonedeadpunkdepasquale: as a workaround, I think that `[drivers]/verify_ca` is smth that is in charge of that12:49
noonedeadpunkso highly likely, you should be able to define these with smth like that https://paste.openstack.org/show/bcOIIa79lSgwoj5UJQtu/12:51
noonedeadpunkor even define openstack_ca_file in the same section to trust internal CA12:51
opendevreviewMerged openstack/openstack-ansible-os_manila master: Create backends when running against manila_share  https://review.opendev.org/c/openstack/openstack-ansible-os_manila/+/84727613:03
jrosser_depasquale: have you looked at the `openstack_ca_file` setting in magnum.conf?14:31
depasqualeciao guys thanks for the answers. I will try to answer: 1) I cannot use let's encrypt certificate in my scenario because no public access is foreseen to the infrastructure14:48
depasquale2) I have already tried to modify the magnum.config with the verify_ca=False (https://paste.openstack.org/show/bstbOgvzUZelxx0VLe1P/) but it seems does not help14:49
depasqualeI did this manually on all the 3 infra-magnum containers14:49
depasqualeI am going to test the magnum_config_overrides: in my user_variables.yml by executing again os-magnum-install.yml... hoping this will not just change the magnum.conf data that I have already modified14:51
depasqualeI have reported details here: https://bugs.launchpad.net/openstack-ansible/+bug/197989814:51
jrosser_yes it will remove your local changes14:51
jrosser_tbh this is not an openstack-ansible bug14:51
depasqualeok 14:52
depasqualeso you think the bug is on magnum side so I have to report this to the project, I am right, I am not?14:52
jrosser_if you've set verify_ca then the next thing to do is to ssh to the magnum cluster nodes and debug whats going on14:53
jrosser_it could be just as likley that the cluster node tries to contact your internal endpoint (by mistake) for example14:53
depasqualeI did ;) I have just reported the journal error that point out the problem with SSL14:53
depasqualeno no they connect to the public endpoint (10.0.0.10:5000)14:54
depasqualebut the SSL verification fails... probably it is because during the configuration of the master node (heat) does not copy the right SSL certificates to the target machine14:54
jrosser_it does also depend which library/tool is failing there14:56
jrosser_python for example does not use the system CA stor14:56
jrosser_e14:56
depasqualeIf I will not find a solution, probably in the next trial I will go to install the overall openstack without SSL just to relax possible mistakes. in my scenario the openstack cluster is used only by internals and so I can relax security a little bit14:56
depasqualeok jrosser_ I will double check any possible solution/workaround14:57
jrosser_it would be worth checking the magnum code with what is supposed to happen with verify_ca14:57
jrosser_and see if this actually happens in the scripts that are sent to the cluster node14:58
depasqualeIf I find the place where the call is made, I would be happy also to just try to complete the process by modifing by hand the call14:58
depasqualeok I will continue to investigate 14:59
depasquale;)14:59

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