Monday, 2021-11-22

*** amoralej|off is now known as amoralej07:04
jingvarMorining07:26
opendevreviewPierre Riteau proposed openstack/kolla-ansible master: Move project_name to role vars  https://review.opendev.org/c/openstack/kolla-ansible/+/81871407:27
holtgreweHi. I'm getting "MariaDB cluster is not synced. Please wait for WSREP sync before proceeding." for quite some time. Can I somehow enforce the wsrep?08:01
holtgreweoh, just restart mariadb container that says not synced.08:03
fricklerholtgrewe: which version are you using? yoctozepto had some fix for this recently. is this during initial deployment or later?08:05
jingvarI've deployed Xena with Masakari and having a lot of issues ...08:05
holtgrewefrickler, later08:05
jingvardisbaled TLS , enabled fqdn, and hostmontor tryes use fqdn name to connenct to pacemaker crmadmin -S ctl01.mycloud -fails, but works for "ctl01"08:08
jingvarI've changed  /etc/kolla/hacluster-corosync/corosync.conf to use fqdn for nodes - now hostmonitor is working08:10
jingvarbut can't send notifications - bacause it send short names in request08:11
osmanlicilegimorning08:13
holtgreweHow do I "neutron_external_interface" setup properly. Would I set `kolla_neutron_external_interfaces`, e.g., to [private_net_interface, public_net_interface] in group_vars/controllers/network-interfaces?09:05
opendevreviewMerged openstack/kolla master: Use MariaDB 10.6  https://review.opendev.org/c/openstack/kolla/+/81101509:57
hrwmorning10:01
fricklerholtgrewe: you need to specify both multiple interfaces and multiple bridges to attach them to https://docs.openstack.org/kolla-ansible/latest/reference/networking/neutron.html#example-multiple-interfaces10:06
holtgrewefrickler, I got it to work... by default bridges are added as physical interfaces10:06
opendevreviewMichal Arbet proposed openstack/kolla master: Add kolla_git_commit LABEL for kolla images  https://review.opendev.org/c/openstack/kolla/+/81872710:08
kevko^^ :) can someone check ? it's trivial patch 10:09
mnasiadkaMaybe it's trivial, but isn't it possible to get that from pip today? One could argue if you need a label10:11
kevkoWell, I explained it in commit message ..10:12
kevkoas a downstream user I would like to use my git where I have several changes ...10:12
kevkonot merged features, bugs, etc ..and this is normally weeks or months 10:13
kevkoalso, as downstream user I shouldn't change version of kolla in setup.cfg (or where it is) ..because I can easily be in conflict with upstream10:14
kevkoso, if I have a git with my patches locally applied .. I will definitely not use kolla from pip .... but also need to know from which "version" - my git commit head images were built  10:15
hrwkevko: "kolla-build --tag `git rev-parse --short HEAD`" does similar and is more visible10:16
kevkomnasiadka: so, no It's not possible to get kolla from pip ..because it's upstream ..this is feature for downstream user with changes ..10:16
hrwor 'git tag just-testing-11;kolla-build --tag just-testing-11' even10:17
kevkohrw: nope, what if I will building two times in a day ? from same commit .. but upstream changed upper constraints for example ..so i can't give same tag ...because images are different - I know it because of upstream contraints changed 10:18
kevkoso i want to have possibility to tag my images for example --tag wallaby-22-11-2021-11-18 and --tag wallaby-22-11-2021-15-3010:19
kevkoif i check both images, i can easily know if images are built from same commit or no ..10:20
hrwkevko: still - it is left for user how they handle marking images10:20
hrwkevko: in your case: --tag 'wallaby-`git rev-parse --short HEAD`-`date %options`'10:21
hrwdone10:21
hrwand cleanly visible without going to logs or 'docker image inspect'10:21
hrwkevko: still kolla git 2579ea can give you different images than kolla git 2579ea 2 months later10:22
hrwand by default both will have same kolla_git_commit, tag and version10:22
hrwbut distro packages inside will change, requirements will bump some u-c in source images10:22
kevkoI would still like it10:24
hrwthat's why we repeat 'build your own images for deployments and keep them'10:24
hrwkevko: inject it into tag in your build?10:24
hrwkevko: 'pip install kolla;kolla-build' and you do not have git info. are those images worse?10:25
kevkonope, their are just not built from git :) 10:26
hrwand still can be just random version10:26
mnasiadkaFor me it's just a case that you're too lazy to tag your builds properly.10:26
hrw+2 for that10:27
kevko:D 10:27
kevkook, doesn't matter ..maybe you are right ..i will leave it there ..10:28
kevkoI'm going to the sea, I'm on vacation :) :D 10:28
hrwkevko: https://hub.docker.com/r/linaro/debian-source-neutron-base/tags10:28
hrwldc-BRANCH-BUILDNUMBER is all what was needed to handle order for deployment10:29
hrwwe do that way for ~4 years now10:29
*** EugenMayer3 is now known as EugenMayer10:31
hrwbuild your images with sensible tag, document somewhere which git tag/branch/commit, push to registry, use to deploy. 2 months later when you are adding new nodes, use the same images.10:31
kevkobtw, guys, are u someone  facing this issue https://bugs.launchpad.net/nova/+bug/1944779 ? 10:32
hrwupdate code to latest stable, build, update deployment. then migrate to stable+1(+2,+3) same way10:32
opendevreviewDr. Jens Harbott proposed openstack/kolla-ansible master: Add a variable to set dns_servers for OVN  https://review.opendev.org/c/openstack/kolla-ansible/+/81836211:20
opendevreviewMaksim Malchuk proposed openstack/kayobe master: Adds support for custom Placement configuration.  https://review.opendev.org/c/openstack/kayobe/+/81875511:23
opendevreviewAdrian Andreias proposed openstack/kolla-ansible stable/xena: docs: Install openstack-client with upper constraints  https://review.opendev.org/c/openstack/kolla-ansible/+/81797511:37
opendevreviewAdrian Andreias proposed openstack/kolla-ansible stable/wallaby: docs: Install openstack-client with upper constraints  https://review.opendev.org/c/openstack/kolla-ansible/+/81797611:46
opendevreviewAdrian Andreias proposed openstack/kolla-ansible stable/victoria: docs: Install openstack-client with upper constraints  https://review.opendev.org/c/openstack/kolla-ansible/+/81797711:50
admin1hi all.. is this also the room for kolla-ansible ..  how to get around/fix Ensure hostname does not point to 127.0.1.1 in /etc/hosts  .. where there is no 127.0.1.1. entry in /etc/hosts  ..12:13
frickleradmin1: what action are you doing to trigger this and how does your log look like? use paste.opendev.org to show it12:20
jingvar sed -i 's/gather_facts: false/gather_facts: true/g' /opt/kayobe/venvs/kolla-ansible/share/kolla-ansible/ansible/site.yml12:48
jingvarcan someone to show anisble_hostname from centos12:59
jingvarwith fqdn on host13:00
fricklermnasiadka: why is neutron_dnsmasq_dns_servers defaulted in ansible/group_vars/all.yml instead of ansible/roles/neutron/defaults/main.yml ? likely I should move neutron_ovn_dns_servers then, too-13:19
mnasiadkafrickler: if it's not used in any other role, that's probably an error13:20
mnasiadkafrickler: we could also move to one variable...13:21
fricklermnasiadka: at least not in the kolla-ansible repo. I'm also wondering whether ... exactly13:22
fricklermnasiadka: but that would be a new variable then that works as default for both?13:22
mnasiadkafrickler: yes, but we need a reno that the variable has been renamed ;-)13:23
frickleror just reuse neutron_dnsmasq_dns_servers although the "dnsmasq" part is misleading for ovn?13:23
mnasiadkathat's also an option13:23
fricklerhmm, I'll think about it a bit, thx for now13:24
*** amoralej is now known as amoralej|lunch13:25
fricklerprobably I need to test what happens when dhcp-agent is deployed in addition to ovn. there might be an obscure use case to actually use different nameservers in that scenario13:27
mnasiadkawe have that (ironic bare metal + ovn case), but wouldn't think of setting different resolvers :)13:32
mnasiadkayou can always override the config template13:32
admin1frickler this is a brand new install ..  and the error comes in "kolla-ansible -i multinode  bootstrap-servers" 13:56
jingvarcan I run kayobe overcloud service deploy for particular services?13:58
*** amoralej|lunch is now known as amoralej14:04
parallaxjingvar: kayobe overcloud service deploy -kt {service_name}14:09
jingvarthanks14:14
JohnBA quick question. The nodes in the overcloud. Do they need BIOS boot or UEFI boot? We would prefer UEFI boot as this helps us with NVMe RAID, but don't know if this is possible.14:21
jingvarI think yes, it just Ironic options14:27
opendevreviewMerged openstack/kolla-ansible stable/xena: docs: Install openstack-client with upper constraints  https://review.opendev.org/c/openstack/kolla-ansible/+/81797514:28
opendevreviewMerged openstack/kolla-ansible stable/wallaby: docs: Install openstack-client with upper constraints  https://review.opendev.org/c/openstack/kolla-ansible/+/81797614:32
opendevreviewMerged openstack/kolla-ansible stable/victoria: docs: Install openstack-client with upper constraints  https://review.opendev.org/c/openstack/kolla-ansible/+/81797714:42
admin1frickler  .. https://paste.opendev.org/show/811226/  15:28
admin1all servers .. none of them have 127.0.1.1 in thier /etc/hosts15:28
admin1could it be some facts caching somewhere ? 15:28
admin1frickler even if i blank the /etc/hosts file, that error is not going away 15:45
admin1what could i be missing ? 15:45
admin1"The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'hostname'" -- maybe hosts need to return some sort of hostname ? 15:46
mgoddardadmin1: you aren't gathering facts16:03
mgoddardadmin1: and looks like your inventory is broken16:03
admin1mgoddard, how to validate ? 16:05
admin1i followed https://docs.openstack.org/kolla-ansible/latest/user/quickstart.html 16:05
mgoddardadmin1: you won't get all the warnings if valid16:05
admin1let me pastebin my configs16:06
admin1well the warning is misleading isn't it ? 16:06
opendevreviewVerification of a change to openstack/kayobe stable/victoria failed: CI: always return host configure test results  https://review.opendev.org/c/openstack/kayobe/+/81857116:06
admin1if inventory file is bad, it should not say 127.0.1.1 exists in /etc/hosts ? 16:07
jingvaradmin1: if inventory is bad it does'nt wok16:16
jingvarwok- work16:16
jingvarit is ok [WARNING]: Invalid characters were found in group names but not replaced, use -vvvv to see details16:17
jingvarI think it is bad - [WARNING]:  * Failed to parse /etc/kolla/multinode with yaml plugin16:18
*** amoralej is now known as amoralej|off16:20
yoctozeptooh, it seems you were analysing the same thing I did for admin0 in https://bugs.launchpad.net/kolla-ansible/+bug/195184916:30
jingvarYes, I faced with it when play with Xena and Maskari, just enable gather fact  via sed :)16:32
jingvarmgoddard: https://github.com/openstack/kolla-ansible/blob/stable/xena/ansible/roles/hacluster/tasks/bootstrap_service.yml16:34
jingvarwhy there is ansible_facts.hostname instead of ansible_facts.fqdn 16:34
jingvarHostmonitor  checks crmadmin -S ctl01.mycluser - and fails , because resources added with their short names.16:37
jingvarI've replaced in bootstrap_service.yml and hacluster_corosync.conf.j2  to ansible_facts.fqdn  - it works . Hostmonitor uses import socket ; socket.hostanme - it returns fqdn 16:41
jingvaryoctozepto: You are one of contributors :)16:45
jingvarmasakarimonitors/hostmonitor/host_handler/handle_host.py, utils.execute('crmadmin', '-S', self.my_hostname,  self.my_hostname = socket.gethostname()16:52
opendevreviewDr. Jens Harbott proposed openstack/kolla-ansible master: Add a variable to set dns_servers for OVN  https://review.opendev.org/c/openstack/kolla-ansible/+/81836217:06
opendevreviewMerged openstack/kayobe stable/wallaby: CI: always return host configure test results  https://review.opendev.org/c/openstack/kayobe/+/81857018:06
opendevreviewMerged openstack/kayobe stable/xena: CI: always return host configure test results  https://review.opendev.org/c/openstack/kayobe/+/81848918:06
ozzzo_workWhat's the best way to find out which groups an openstack user is in?18:58
ozzzo_workI'm looking here but I don't see a command to list group membership for a user: https://docs.openstack.org/python-openstackclient/train/cli/command-objects/group.html19:01
fricklerozzzo_work: "openstack group list --user $username"19:25
ozzzo_workty frickler20:05
guesswhatguys? is possible to autocreate external network in neuron if i am using neutron_external_interface in globals.yaml ? or do i need to create it manually? thanks21:27
guesswhatis there any chance to support DNS01 in kolla ? or do i need to run separate service like certbot? 22:31

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