Thursday, 2018-08-09

*** gkadam has joined #openstack-kayobe04:28
*** egonzalez has joined #openstack-kayobe06:24
*** dougsz_ has joined #openstack-kayobe08:26
*** ktibi has joined #openstack-kayobe08:37
verdurinMorning. Just saw that the seed VM requires python-setuptools. Happy to create a ticket noting that requirement if it would be useful.08:41
ktibiverdurin, hi08:52
ktibiverdurin, yes you can open a bug with the fail thx ;)08:52
ktibiverdurin, do you run : kayobe seed host configure ?08:53
verdurinktibi: yes08:54
ktibiverdurin, what is the task which fail ?08:56
verdurinktibi: that's too far back in my history, but I think it was ansible/kayobe-target-venv.yml08:57
ktibiverdurin, ok maybe it's when kayobe create the virtualenv08:58
verdurinktibi: yes08:58
ktibiI remember maybe same issue08:58
ktibiwhat is your workarround ?08:59
verdurinktibi: I just installed that RPM and then it worked.08:59
openstackgerritMark Goddard proposed openstack/kayobe stable/pike: Fix stable/pike branch  https://review.openstack.org/58821308:59
ktibicat you check in your /etc/yum.repos.d08:59
ktibiif you have exclude=python-virtualenv python-pip python-setuptools08:59
verdurinktibi: no, nothing like that. It was freshly created yesterday with no special configuration.09:00
*** ktibi has quit IRC09:00
*** ktibi has joined #openstack-kayobe09:01
verdurinHere's the issue I've opened: https://storyboard.openstack.org/#!/story/200338009:01
ktibi* /etc/yum.conf sorry09:01
ktibiverdurin, thx for open ticket09:02
ktibiverdurin, disk-image-builder create image for seed09:03
ktibiand add this conf I don't know why >< Nothing in your /etc/yum.conf ?09:03
verdurinktibi: I built the seed myself; there's nothing beyond the defaults in /etc/yum.conf09:07
ktibiok ;) I think it's because your build the seed yourself. We need to add this step in kayobe when the seed is already provisioned09:09
verdurinI now have a different problem with Docker configuration on the seed: https://storyboard.openstack.org/#!/story/200338109:11
openstackgerritMark Goddard proposed openstack/kayobe master: Install setuptools when using easy_install  https://review.openstack.org/59019709:12
*** mgoddard has joined #openstack-kayobe09:12
mgoddardhi verdurin, that last patch should resolve https://storyboard.openstack.org/#!/story/200338009:13
mgoddardone recommendation I have is to use a virtualenv for remote operations. This is not enabled by default, but can be done by modifying the inventory as described at http://kayobe.readthedocs.io/en/latest/configuration/kayobe.html#remote-execution-environment09:15
ktibiverdunrin try rm -rf /usr/lib/python2.7/site-packages/ipaddress*09:15
verdurinmgoddard: yes, looks like that would solve the Docker problem I have now. Thanks for the patch.09:15
verdurinktibi: I'll undo the yum installations and test the patch09:16
mgoddardverdurin: here is an example of how to do it: https://github.com/stackhpc/eod-kayobe-config/blob/master/etc/kayobe/inventory/group_vars/seed/python-interpreter09:16
mgoddardand https://github.com/stackhpc/eod-kayobe-config/blob/master/etc/kayobe/inventory/group_vars/overcloud09:16
mgoddardI would like to put this into the default kayobe-config, but it gets a little messy due to ansible not allowing the ansible_python_interpreter to use jinja templates to reference {{ venv_path }}. Perhaps we should just take that hit and document it09:17
openstackgerritMark Goddard proposed openstack/kayobe stable/pike: Fix stable/pike branch  https://review.openstack.org/58821310:01
*** priteau has joined #openstack-kayobe10:07
*** gkadam has quit IRC10:13
*** gkadam has joined #openstack-kayobe10:13
openstackgerritMerged openstack/kayobe master: Install setuptools when using easy_install  https://review.openstack.org/59019711:06
verdurinWhat's the Kayobe way of achieving https://www.stackhpc.com/tripleo-dib-ofed.html?11:28
verdurinI had that working nicely when I was using TripleO. Would like to do the same with Kayobe.11:29
mgoddardverdurin: which part in particular? Different images for different machines, custom DIB elements, or both?12:26
mgoddardboth are possible, although neither is particularly well integrated currently12:26
mgoddardthis covers the former: https://storyboard.openstack.org/#!/story/200209812:27
mgoddardthe overcloud image config is defined in etc/kayobe/bifrost.yml12:30
mgoddardthe bifrost container deployment (seed service deploy) includes building an image via DIB12:35
mgoddardthe image ends up at /httpboot/deployment_image.qcow2 in the bifrost_deploy container12:35
mgoddardyou can set the image to use on a per-host basis in bifrost, via the deploy_image_filename variable12:36
mgoddardwe generate per-host variables for bifrost in ansible/kolla-bifrost-hostvars.yml, and we could add the name of the image to use here12:37
mgoddardthat would get us different images per host12:37
mgoddardto build multiple images, would require a bifrost change, or to build them outside of bifrost (e.g. stackhpc.os-images) and copy them into place12:38
verdurinmgoddard: primarily I want to include custom DIB elements, notably the mlnx-ofed one, on all machines12:50
mgoddardverdurin: oh ok. The part that's missing is getting the custom image elements into the bifrost_deploy container12:53
mgoddardyou can set kolla_bifrost_dib_elements, kolla_bifrost_dib_env_vars and kolla_bifrost_dib_packages to customise the image, including adding ELEMENTS_PATH in your environment12:59
mgoddardI suspect there's a bit of chicken and egg here though since the image is built during deployment of the bifrost_deploy container12:59
mgoddardyou either need to add support for cloning an elements repo to bifrost, or skip the image build during deploy and do it afterwards13:03
mgoddardyou could that by setting create_image_via_dib: false in etc/kayobe/kolla/config/bifrost/dib.yml13:04
mgoddardall untested...13:04
*** egonzalez has quit IRC13:06
verdurinmgoddard: I think I'll write a playbook to handle this post-deployment for now. Shall I open a ticket to suggest handling this properly?13:12
mgoddardverdurin: yes, please do13:13
*** gkadam_ has joined #openstack-kayobe14:26
*** gkadam has quit IRC14:30
verdurinAnother question - do you support booting uEFI machines? I noticed there's no ipxe.efi, as I had with TripleO.14:46
mgoddardbifrost should support UEFI, although I haven't tried it14:48
verdurinHmm, not sure it was ever finished: https://review.openstack.org/#/c/268808/14:49
*** priteau has quit IRC14:52
mgoddardverdurin: as I imagine you've seen in #openstack-ironic, you are right - the work was not finished14:57
mgoddardwe have used /etc/dnsmasq.d/ in other projects to customise the dnsmasq config, which would be one step closer14:59
mgoddardsee ansible/roles/dell-switch-bmp in kayobe14:59
mgoddardthat role doesn't belong in kayobe these days but that's another issue15:00
mgoddardI'm sure TheJulia would appreciate validation of the approach in that review15:04
verdurinYes, I was going to see if I could hack it with dtantsur's suggestions15:06
*** priteau has joined #openstack-kayobe15:37
*** gkadam_ has quit IRC16:32
*** ktibi has quit IRC16:37
*** dougsz_ has quit IRC16:50
*** mgoddard has quit IRC17:02
*** priteau has quit IRC18:15

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!