Monday, 2021-11-15

*** ricolin_ is now known as ricolin04:18
opendevreviewlikui proposed openstack/kolla-ansible master: The deprecated iscsi deploy interface has been removed since xena  https://review.opendev.org/c/openstack/kolla-ansible/+/81790206:25
*** amoralej|off is now known as amoralej07:00
opendevreviewMarian Chelmus proposed openstack/kolla-ansible master: [docs] Change quickstart guide ansible version  https://review.opendev.org/c/openstack/kolla-ansible/+/81791508:57
opendevreviewMarian Chelmus proposed openstack/kolla-ansible master: [docs] Change quickstart guide ansible version  https://review.opendev.org/c/openstack/kolla-ansible/+/81791508:59
opendevreviewMarian Chelmus proposed openstack/kolla-ansible master: [docs] Change quickstart guide ansible version  https://review.opendev.org/c/openstack/kolla-ansible/+/81791609:07
frickleroh my, another newcomer in need of learning how to amend patches09:12
fricklerhmm, they did for the first patch, maybe just wanting to make sure the patch gets mentioned in LP09:15
opendevreviewMarian Chelmus proposed openstack/kolla-ansible master: [docs] Change quickstart guide ansible version  https://review.opendev.org/c/openstack/kolla-ansible/+/81791509:16
opendevreviewDoug Szumski proposed openstack/kolla-ansible master: Specify log file name for Nova API  https://review.opendev.org/c/openstack/kolla-ansible/+/81791810:00
parallaxMorning 10:23
jingvarDay :)10:24
opendevreviewMerged openstack/kolla-ansible master: docs: Get release name dynamically  https://review.opendev.org/c/openstack/kolla-ansible/+/81658210:26
opendevreviewDoug Szumski proposed openstack/kolla-ansible master: Remove Monasca Log Metrics service  https://review.opendev.org/c/openstack/kolla-ansible/+/78824910:28
opendevreviewMark Goddard proposed openstack/kolla-ansible master: CI: Test minimum and maximum supported ansible versions  https://review.opendev.org/c/openstack/kolla-ansible/+/81792510:29
opendevreviewlikui proposed openstack/kolla-ansible master: The deprecated iscsi deploy interface has been removed since xena  https://review.opendev.org/c/openstack/kolla-ansible/+/81790210:31
opendevreviewMark Goddard proposed openstack/kolla-ansible stable/xena: docs: Parameterize kolla-ansible version and branch  https://review.opendev.org/c/openstack/kolla-ansible/+/81783910:34
opendevreviewMark Goddard proposed openstack/kolla-ansible stable/xena: docs: Get release name dynamically  https://review.opendev.org/c/openstack/kolla-ansible/+/81784010:34
opendevreviewMark Goddard proposed openstack/kolla-ansible stable/wallaby: docs: Parameterize kolla-ansible version and branch  https://review.opendev.org/c/openstack/kolla-ansible/+/81784110:35
opendevreviewMark Goddard proposed openstack/kolla-ansible stable/wallaby: docs: Get release name dynamically  https://review.opendev.org/c/openstack/kolla-ansible/+/81784210:35
opendevreviewMark Goddard proposed openstack/kolla-ansible stable/victoria: docs: Parameterize kolla-ansible version and branch  https://review.opendev.org/c/openstack/kolla-ansible/+/81784310:36
opendevreviewMark Goddard proposed openstack/kolla-ansible stable/victoria: docs: Get release name dynamically  https://review.opendev.org/c/openstack/kolla-ansible/+/81784410:36
opendevreviewMark Goddard proposed openstack/kolla-ansible stable/xena: docs: stop installing kolla in quickstart  https://review.opendev.org/c/openstack/kolla-ansible/+/81784510:36
opendevreviewDoug Szumski proposed openstack/kolla-ansible master: Finish removing Monasca Log Transformer  https://review.opendev.org/c/openstack/kolla-ansible/+/78824610:40
jingvarI need an advise. I need do some cosmetic customization of Horizon. there will be few bash lines. What is right place to do this? override https --DFOREGROUND with my script ?10:43
opendevreviewMark Goddard proposed openstack/kolla-ansible master: CI: Test minimum and maximum supported ansible versions  https://review.opendev.org/c/openstack/kolla-ansible/+/81792510:43
hrwjingvar: done once or on each restart?10:47
jingvaras I saw default kolla_start does some actions each time11:16
jingvarI can place my code into   /etc/kolla/horizon/config.json  "command": "XXXXXXXXXXXX",11:18
jingvarbut it is ugly IMHO11:19
opendevreviewAdrian Andreias proposed openstack/kolla-ansible master: Add kolla-ansible --version option  https://review.opendev.org/c/openstack/kolla-ansible/+/81674811:36
hrwjingvar: my question still apply11:42
jingvarI don't know what exactly does kolla_start . I know that my script applyed before httpd --DFOREGROUND works11:44
opendevreviewAdrian Andreias proposed openstack/kolla-ansible master: Add kolla-ansible --version option  https://review.opendev.org/c/openstack/kolla-ansible/+/81674811:45
hrwjingvar: you want your code to be run ONCE or at EACH image run?11:45
jingvarI don't  know what removes kolla_start, there a lot of acctions and how it can affect my script . I think to be run simple EACH image run.11:48
*** amoralej is now known as amoralej|lunch12:27
*** amoralej|lunch is now known as amoralej13:38
opendevreviewIvan Halomi proposed openstack/kolla-ansible master: Refactor of kolla_docker into module_utils  https://review.opendev.org/c/openstack/kolla-ansible/+/81795414:02
jingvarkolla-build horizon -t binary --openstack-release victoria --base centos --base-image centos8 - why it uses cenos8 STREAM14:37
adrian-ahey, since kolla-ansible stable releases are following OpenStack releases, is there any reason that not the same versioning number is used for k-a as for OpenStack versions? E.g. k-a Yoga would be 20 (not 14)15:02
mgoddardadrian-a: won't yoga be 25?15:05
mgoddardadrian-a: the reason is that kolla release 1.0 was ~liberty15:05
adrian-amgoddard, o I was looking at puppet :P https://docs.openstack.org/puppet-openstack-guide/latest/install/releases.html15:06
mgoddardoops15:07
adrian-anot sure where OS version number list is; pretty much a mess with these versions; I assume the idea was to have independent release cycles15:07
adrian-aanyhow, I guess won't be a big issue to jump k-a from 13 release to 25 :)15:07
holtgreweI'm trying to deploy using RockyLinux as bare metal operating system via kayobe. I'm getting stuck at "kayobe seed service deploy". "disk-image-create        -o /httpboot/deployment_image.qcow2 -t qcow2           rocky enable-serial-console vm cloud-init-datasources" says "diskimage_builder.element_dependencies.MissingElementException: Element 'rocky' not found\""15:09
holtgreweIOW: I have a rockylinux seed-hypervisor and seed with centos bifrost_deploy container ... now how do I get that bifrost to build an image with RockyLinux?15:10
mgoddardadrian-a: openstack doesn't use version numbers, it uses names. But Y is the 25th letter of the alphabet15:12
jingvarrocky camuflated centos, just don't do this isk-image-create  ...15:12
holtgrewejingvar, the disk-image-create is required to get `/httpboot/deployment_image.qcow2`15:13
jingvardo it as centos815:14
mgoddardjingvar: seems like it might be helpful if you could write down somewhere & share everything you've done on rockylinux15:14
jingvarI've posted it twice :)15:14
mgoddardjingvar: I've seen a sed command for ansible15:15
holtgrewejingvar, OK thanks... *that* is what the sed was for?15:15
mgoddardanyway, if there is a link to share, please do15:15
jingvarok15:15
jingvarfor use Rocky as host OS we need couple of things15:16
jingvar1. we have to provsion Rocky via Ironic 15:17
jingvarit is the same for any distribution - just set deploy_url to a QCOW file15:18
jingvarhttps://github.com/jingvar/a-universe-from-nothing/commit/a45a643ab6db2bf9d3b20bea7a684dfb12ff3e9815:19
jingvarI don't rememeber wich phase deployment and provision uses user_name , any way we have to set username=rocky15:21
jingvar2.  we have to do some things into installed  Rocky OS via Ansible15:22
jingvarhost configure etc - 15:23
jingvarbut in my case with Victoria installed Ansible don't know what is Rocky - and  I've add Rocky distrib  into Ansible (sed ''xxx')15:25
jingvarone point - Rocky uses strange repo url , is semantically different, I've found a mirror just repeats Centos style repo15:28
jingvarsed -i "s/'OEL', 'Amazon', 'Virtuozzo', 'XenServer', 'Alibaba',/'OEL', 'Amazon', 'Virtuozzo', 'XenServer', 'Alibaba', 'Rocky',/g" \15:31
jingvar    /opt/kayobe/venvs/kayobe-control/lib/python3.6/site-packages/ansible/module_utils/facts/system/distribution.py15:31
jingvarfor kayobe phase15:31
jingvarkayobe control host bootstrap15:31
jingvared -i "s/'OEL', 'Amazon', 'Virtuozzo', 'XenServer', 'Alibaba',/'OEL', 'Amazon', 'Virtuozzo', 'XenServer', 'Alibaba', 'Rocky',/g" \15:31
jingvar/opt/kayobe/venvs/kolla-ansible/lib/python3.6/site-packages/ansible/module_utils/facts/system/distribution.py15:32
jingvarfor kolla-ansible15:32
jingvarI don't remmeber why - sudo sh -c 'echo "ansible_python_interpreter: \"/bin/python3\"" >> /opt/kayobe/venvs/kolla-ansible/share/kolla-ansible/ansible/roles/baremetal/vars/main.yml'15:32
jingvarit is all 15:33
jingvarmaybe if some how extend  deployment image via disk-image-builder something will be broken15:35
jingvarI don't use Rocky for IPA15:35
opendevreviewMark Goddard proposed openstack/kayobe master: Move group_vars to an inventory directory  https://review.opendev.org/c/openstack/kayobe/+/81796415:38
opendevreviewMark Goddard proposed openstack/kayobe master: Use environment variables for plugin paths  https://review.opendev.org/c/openstack/kayobe/+/81796515:38
mgoddardthanks jingvar, I added your notes to https://etherpad.opendev.org/p/kolla-rocky-linux15:49
mgoddardholtgrewe: ^15:51
holtgrewemgoddard, thanks. I think I found relevant locations in the ansible playbooks. If building the deploy image for the baremetal hosts with centos 8-stream instead of rocky works then I will add my notes there as well.15:52
mgoddardgreat15:52
jhorstmannDoes anybody know whether it is possible to override repositories from `repos.yaml` in kolla image build?15:53
mgoddardjhorstmann: centos or ubuntu?16:02
jhorstmannmgoddard: ubuntu16:02
mgoddardjhorstmann: in that case, unfortunately not16:02
mgoddardpatches welcome16:02
jingvarI need some customization in Horizon container 16:04
mgoddardjingvar: a theme?16:04
jingvarI don't want rebuild image, just add few lines into bootstrap16:04
jingvarmgoddard: yes16:04
mgoddardjingvar: https://review.opendev.org/c/openstack/kolla-ansible/+/76136416:05
jingvarbut --FOREGROUND is hardcoded16:05
mgoddardjingvar: comments/review appreciated16:05
jingvarthanks, let me time to dive16:06
jingvarbut is a walkaround before it will done? I love dirty hacks but is there more illenace way :)16:09
jhorstmannmgoddard: thanks16:13
mgoddardjingvar: I think the patch works, so try backporting it16:14
mgoddardjingvar: if you test & comment on the review, it may encourage some progress16:14
holtgrewemgoddard, I added my notes here: https://etherpad.opendev.org/p/kolla-rocky-linux I put all my logs thats 10k+ lines, I hope this helps more than it hurts16:14
mgoddardholtgrewe: I'm not seeing them appear16:15
mgoddardholtgrewe: maybe you broke etherpad? :)16:16
holtgrewelong story short, when trying to use disk image builder with rocky, that fails for some reason. When trying to use the workaround that jingvar proposes (maybe equivalent to kolla_bifrost_dib_os_element:centos and kolla_bifrost_dib_os_release:8-stream) then I'm getting CentOS 8 deployments16:16
holtgrewehttps://gist.github.com/holtgrewe/4e93aa6d5cda12d1842ffa9b08a1db5f16:16
mgoddardholtgrewe: there is a secret trick, maybe jingvar knows16:18
mgoddardbifrost allows you to set cirros_deploy_image_upstream_url16:18
mgoddardwhich should really be renamed16:18
mgoddardand use_cirros=true16:19
mgoddardwhich will pull an image from a URL to deployment_image.qcow216:19
mgoddardinstead of building16:19
mgoddardthose options go in etc/kayobe/kolla/config/bifrost/bifrost.yml16:19
mgoddardwould be nice if that route was more official16:20
mgoddard(patches welcome)16:20
holtgreweWell, at least that has been copied from your massively parallel wetware into the chat logs now ;-)16:20
holtgreweHm, it's not in jingvar's bifrost.yml https://github.com/jingvar/a-universe-from-nothing/blob/diskless/etc/kayobe/bifrost.yml16:22
holtgreweI'll look a bit deeper tomorrow. @jingvar I'd be more than happy to learn that trick from you.16:22
*** amoralej is now known as amoralej|off16:24
holtgrewethanks so far!16:24
jingvarok , I'll recheck 16:26
jingvarmgoddard: I have not only a theme , and custom dashboard :) but it is another story16:27
jhorstmannmgoddard: could you give me a hint how modifying `repos.yaml` is done with centos?16:27
mgoddardjhorstmann: it isn't necessary for centos since it just need to know the repo name to toggle the enable flag16:28
mgoddardjhorstmann: all repos are defined in the dockerfile for centos, then you can override via jinja blocks16:29
jhorstmannmgoddard: okay, I see. thanks again16:50
opendevreviewMarian Chelmus proposed openstack/kolla-ansible master: [docs] Add more advanced service configuration examples  https://review.opendev.org/c/openstack/kolla-ansible/+/81799417:54
opendevreviewMarian Chelmus proposed openstack/kolla-ansible master: [docs] Add more advanced service configuration examples  https://review.opendev.org/c/openstack/kolla-ansible/+/81799418:13
opendevreviewAdrian Andreias proposed openstack/kolla-ansible master: docs: state supported Python version  https://review.opendev.org/c/openstack/kolla-ansible/+/81800319:26
opendevreviewMark Goddard proposed openstack/kayobe master: Infra VMs: fix some playbook host patterns  https://review.opendev.org/c/openstack/kayobe/+/81802020:54

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