Monday, 2021-12-06

guesswhatseems that cinder does not work with interal,external, backend tls on ( selfsigned ), fails to SSLVerificationFailed to etcd ( cordinator.backend_url )08:37
guesswhatany ideas?08:37
jingvaris copy CA enabled?08:59
guesswhatjingvar: yes, only cinder->etcd fails09:07
guesswhati am using xena 09:07
jingvarand what is inside cinder container?09:13
jingvaris there CA? is cinder configure properly?09:13
guesswhata also tried to test curl --cacert /etc/ssl/certs/ca-certificates.crt https://<ipofetcd>:2739 09:34
guesswhati am using defaults for cinder + this config https://pastebin.com/aWhyzHM209:36
dtantsurmorning folks!10:26
dtantsurI have a bifrost change https://review.opendev.org/c/openstack/bifrost/+/820390/ that makes kolla quite upset10:26
dtantsurI'm not 100% sure how to proceed with that, nor can I find enough logs to debug it10:27
dtantsurI suspect the cause may be the assumption about which services bifrost starts10:27
dtantsurHelp appreciated, otherwise we may break the bifrost job soon10:33
mnasiadkaI think there's some problem in starting Ironic service - but since we are checking systemctl status of ironic-api and ironic-inspector instead of ironic service - it's hard to understand what happened ;-)10:34
dtantsuryeah, exactly10:34
mnasiadkadtantsur: https://github.com/openstack/kolla-ansible/blob/a338df77f1ea2c5c72b05c9525e03e98948f50d4/tests/get_logs.sh#L96 - you would need to change this and depends-on on the bifrost change10:34
dtantsurI also think it simply refused to start10:34
dtantsurokay, this sounds like an option10:34
opendevreviewDmitry Tantsur proposed openstack/kolla-ansible master: Prepare tests for the Ironic combined service  https://review.opendev.org/c/openstack/kolla-ansible/+/82051310:39
dtantsurokay, testing now10:41
opendevreviewMerged openstack/kolla-ansible stable/xena: Finish removing Monasca Log Transformer  https://review.opendev.org/c/openstack/kolla-ansible/+/82034810:43
kevkomorning \o/11:01
opendevreviewMerged openstack/kayobe master: Fix installation prefix detection  https://review.opendev.org/c/openstack/kayobe/+/82021111:04
dtantsurmnasiadka: this is not the most useful information I've ever received: https://1ff1337c58cfd2c7e047-bfdf0aa5980ea9561e0ca2e62d8db60b.ssl.cf1.rackcdn.com/820390/4/check/kolla-ansible-centos8s-source-bifrost/0e9d27b/primary/logs/kolla/ironic/systemd-status-ironic.txt11:22
dtantsurany ideas?11:22
fricklerdtantsur: my next idea would be to check the journal, not sure if https://1ff1337c58cfd2c7e047-bfdf0aa5980ea9561e0ca2e62d8db60b.ssl.cf1.rackcdn.com/820390/4/check/kolla-ansible-centos8s-source-bifrost/0e9d27b/primary/logs/system_logs/journal/dbdb109d723142af9579c57cb5ac3a17/index.html is usable. for devstack I think we do some special stuff to export the journal and make it importable locally11:26
dtantsurfrickler: you can read binary journals with 'journalctl --file', but the one I checked on the previous run didn't have any ironic stuff11:26
guesswhatjingvar, do you have any idea? thanks11:28
yoctozeptodtantsur: error 203 is for trying to execute non-executable things11:35
dtantsurhuh11:36
dtantsurit doesn't make much sense to me11:36
yoctozeptoI think it's when something is not `chmod +x`ed or the shebang uses a missing interpreter11:36
yoctozeptonot sure if it's also 203 when the file itself is missing11:36
dtantsuryep, but these scripts are pbr-generated11:36
yoctozeptowell, what can I say :-)11:37
dtantsuroh, well11:37
yoctozeptoI just interpreted the error for you (-:11:37
dtantsurdoes this job respect Depends-On ironic patches11:37
dtantsur?11:37
yoctozeptowell, that's hard to say, for sure it does on bifrost; but perhaps bifrost part in kolla simply ignores it further11:38
dtantsurit's defined in the job though11:38
dtantsurand in your case may require explicit handling in kolla itself11:38
yoctozeptobecause my understanding is that bifrost tries to download ironic so I'm pretty sure our scripts don't care about that depends-on11:38
yoctozeptoyeah11:39
yoctozeptoso problem solved11:39
yoctozeptokind of11:39
dtantsurright. in bifrost we special-case zuul to make it work11:39
dtantsuryeah :)11:39
dtantsurwe can check again once the ironic patch merges11:39
yoctozeptoteam work, dream work11:39
dtantsurtrue :)11:39
dtantsurthanks for checking with me11:39
yoctozeptoyw :-)11:40
guesswhatguys, any idea why cinder fails to TLSVerification to etcd ( coordinator.backend_url ), anything else is working ( iam using internal,external, backend tls with import ca = selfsigned )11:49
dtantsuryoctozepto: please do merge https://review.opendev.org/c/openstack/kolla-ansible/+/820513 though, it's a valid change nonetheless11:52
jingvarguesswhat: I've missed you messages, the chats history is small11:52
opendevreviewPierre Riteau proposed openstack/kayobe stable/xena: Fix installation prefix detection  https://review.opendev.org/c/openstack/kayobe/+/82049912:04
opendevreviewPierre Riteau proposed openstack/kayobe stable/wallaby: Fix installation prefix detection  https://review.opendev.org/c/openstack/kayobe/+/82050012:04
opendevreviewPierre Riteau proposed openstack/kayobe stable/victoria: Fix installation prefix detection  https://review.opendev.org/c/openstack/kayobe/+/82050112:04
opendevreviewPierre Riteau proposed openstack/kayobe stable/victoria: Fix installation prefix detection  https://review.opendev.org/c/openstack/kayobe/+/82050112:04
opendevreviewPierre Riteau proposed openstack/kayobe stable/ussuri: Fix installation prefix detection  https://review.opendev.org/c/openstack/kayobe/+/82050212:05
opendevreviewPierre Riteau proposed openstack/kayobe stable/train: Fix installation prefix detection  https://review.opendev.org/c/openstack/kayobe/+/82050312:06
guesswhatjingvar: curl --cacert /etc/ssl/certs/ca-certificates.crt https://<ipofetcd>:2739 fails to TLSverify too, I am using default cinder ( enable_cinder ) and this custom config https://pastebin.com/aWhyzHM2 ( everything else is working.. )12:25
guesswhat*237912:25
jingvarsame curl from another container? 12:40
guesswhatjingvar: it does not work for even for other containers..., etcd is enabled, cuz of kuryr.. , but everyting else is working correctly no problems for other serverices calling API behind https13:25
guesswhatwhat is weird that its calling to node ip, not vip address13:26
guesswhatso probably some SAN for node ip of etcd is missing in certificates...13:27
guesswhatcurl to https://172.25.244.100:8000/v1 and other APIs is working ,but curl to https://172.25.254.164:2379 is not, seems that etcd itself is running with https ( etcdserver: published {Name:openstack ClientURLs:[https://172.25.254.164:2379]} to cluster 1f4e3b4571ff585 )13:30
guesswhatjingvar: these https://github.com/openstack/kolla-ansible/blob/stable/xena/ansible/roles/etcd/defaults/main.yml#L21-L22 are standalone? kolla_copy_ca_into_containers does not affect these, right ?13:52
yoctozeptodtantsur: yes, thank you; and thanks for ensuring the gates of kolla remain green14:19
opendevreviewSeena Fallah proposed openstack/kolla-ansible master: ovn: configure ovn in ovsdb only on ovn-controller hosts  https://review.opendev.org/c/openstack/kolla-ansible/+/82054415:49
opendevreviewSeena Fallah proposed openstack/kolla-ansible master: ovn: configure ovn in ovsdb only on ovn-controller hosts  https://review.opendev.org/c/openstack/kolla-ansible/+/82054416:12
opendevreviewSeena Fallah proposed openstack/kolla-ansible master: ovn: configure ovn in ovsdb only on ovn-controller hosts  https://review.opendev.org/c/openstack/kolla-ansible/+/82054416:13
opendevreviewMark Goddard proposed openstack/ansible-collection-kolla master: Initialise Ansible collection  https://review.opendev.org/c/openstack/ansible-collection-kolla/+/82016616:26
opendevreviewMark Goddard proposed openstack/ansible-collection-kolla master: Import baremetal role from kolla-ansible  https://review.opendev.org/c/openstack/ansible-collection-kolla/+/82016816:26
opendevreviewMark Goddard proposed openstack/ansible-collection-kolla master: docs: remove most boilerplate, initialise contributor guide  https://review.opendev.org/c/openstack/ansible-collection-kolla/+/82056016:26
opendevreviewMark Goddard proposed openstack/ansible-collection-kolla master: docs: remove most boilerplate, initialise contributor guide  https://review.opendev.org/c/openstack/ansible-collection-kolla/+/82056016:31
opendevreviewMark Goddard proposed openstack/ansible-collection-kolla master: Import baremetal role from kolla-ansible  https://review.opendev.org/c/openstack/ansible-collection-kolla/+/82016816:31
opendevreviewMerged openstack/kolla stable/xena: nova-compute: trim image a bit on CentOS  https://review.opendev.org/c/openstack/kolla/+/82034516:37
opendevreviewVerification of a change to openstack/kolla stable/victoria failed: nova-compute: trim image a bit on CentOS  https://review.opendev.org/c/openstack/kolla/+/82034716:37
guesswhat2guys, any idea why cinder fails to TLSVerification to etcd ( coordinator.backend_url ), anything else is working ( iam using internal,external, backend tls with import ca = selfsigned ) ]18:00
jingvarI don't see a code around etcd-cert.pem18:45
jingvarIt  looks like it doesnt work at all18:46
jingvaretcd-cert.pem was found in 2 files, kolla-ansible/ansible/roles/etcd/defaults/main.yml and  kolla-ansible/ansible/roles/etcd/templates/etcd.json.j218:47
jingvarfirst one for ETCD_CERT_FILE and ETCD_PEER_CERT_FILE and them no more uses18:50
jingvarsecond one just containers config18:50
guesswhat2jingvar: oh, so its broken, right ?18:50
jingvarI think yes18:51
jingvarcert file  must goes from somewhere18:52
jingvarand must be delivered to appropriate services-containers18:52
jingvarI don't see something about this18:53
jingvarbrave new world :)18:53
jingvaras I rigth understand etcds must have same certs18:56
guesswhat2jingvar: why etcd is not proxied via haproxy ?18:56
jingvaretcd is database18:57
jingvarI think as mariadb galera clustuer it should have itself mechanism to sync18:57
jingvaretcd is internal function of kubernetes18:59
jingvaronly kubeapi etc  work with  it18:59
jingvarno points to link with openstack19:00
jingvarI don't know freezer at all19:00
guesswhat2jingvar: but etcd has rest api and client are interacting with it on layer719:00
jingvarfor example?19:01
guesswhat2its http grcp19:01
jingvarlet me read about freezerr19:02
guesswhat2why freezer?19:02
jingvarI dont know, 19:05
jingvarwhich component you try to use19:06
guesswhat2freezer does not work at all ( broken https://review.opendev.org/c/openstack/kolla-ansible/+/816363 ), this one is something different19:08
guesswhat2everything that requires etcd does not work with TLS enabled, probably CA is not imported to containers19:08
jingvaretcd and cinder - appear from?19:09
opendevreviewMargaritaShakhova proposed openstack/kolla-ansible master: Add ironic-inspector policy configuration  https://review.opendev.org/c/openstack/kolla-ansible/+/82006319:14
jingvarcerts https://github.com/openstack/kolla-ansible/blob/stable/xena/ansible/roles/etcd/tasks/copy-certs.yml#L19 19:15
guesswhat2ERROR oslo_service.service requests.exceptions.SSLError: HTTPSConnectionPool(host='172.25.254.164', port=2379): Max retries exceeded with url: /v3alpha/lease/grant (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1131)')))19:17
guesswhat2jingvar ^19:57
opendevreviewMaksim Malchuk proposed openstack/kayobe master: Adds support for custom Placement configuration.  https://review.opendev.org/c/openstack/kayobe/+/81875520:52
opendevreviewPierre Riteau proposed openstack/kayobe stable/train: Make broken Python 2 jobs non-voting  https://review.opendev.org/c/openstack/kayobe/+/82060121:57
opendevreviewMerged openstack/kayobe master: Add dependencies for EFI and LVM based overcloud images  https://review.opendev.org/c/openstack/kayobe/+/81988723:50

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