Monday, 2021-11-08

*** gouthamr_ is now known as gouthamr04:07
opendevreviewwushiming proposed openstack/kolla-ansible master: Replace deprecated assertRaisesRegexp  https://review.opendev.org/c/openstack/kolla-ansible/+/81693806:38
opendevreviewwushiming proposed openstack/kolla-ansible master: Replace deprecated assertRaisesRegexp  https://review.opendev.org/c/openstack/kolla-ansible/+/81693806:53
shyambHi07:03
shyambDoes kolla source containers installs pip packages or it copies actual source code?07:03
hrwgit source09:47
hrwshyam2389: or to be precise: dependencies comes from pip, openstack components from git/archive09:48
shyam2389hrw: okay, thanks09:49
shyam2389hrw: How can I add a pip location/url to fetch dependency? Any doc?09:49
hrwshyam2389: can you expand what you want to achieve?09:50
shyam2389I want to install my plugin on horizon source image09:50
shyam2389that plugin has some dependencies 09:50
shyam2389kolla-build is failing at that dependency step09:50
hrwshyam2389: you can use template overrides and add your piece of code to image09:51
shyam2389hrw: I added the code09:51
shyam2389but the plugin has some more dependencies09:51
shyam2389I think I can use normal linux way to specify pip location09:52
hrwshyam2389: you can expand horizon_pip_packages, horizon_plugins_pip_packages variables (both define things to install with pip)09:53
shyam2389hrw: Yes, I can define package name there09:54
shyam2389but my package is not available at default pip repository09:54
shyam2389I have special location for it.09:54
hrwshyam2389: then define PIP_EXTRA_INDEX_URL somewhere? or give full url to package?09:55
shyam2389hrw: okay, thanks. I will give a try09:55
hrwshyam2389: my local aarch64 builds use PIP_EXTRA_INDEX_URL to point to my cache archive. CI uses it to point to own cache09:55
shyam2389 PIP_EXTRA_INDEX_URL  variable in docker template?09:56
shyam2389or linux env variable09:56
shyam2389on build machine09:56
hrwin docker template09:57
shyam2389hrw: okay, thank you09:58
hrw{% block base_header %}09:59
hrwENV PIP_EXTRA_INDEX_URL https://snapshots.linaro.org/ldcg/python-cache/09:59
hrw{% endblock %}09:59
hrwthis is what Linaro CI uses09:59
hrwand pip index is nothing more than directory over https10:09
shyam2389hrw: great, thank you10:28
shyam2389hrw: my docker push is working10:28
shyam2389but kolla-build push is failing with access denied10:29
shyam2389I logged in to dockerhub with docker login command on shell10:29
shyam2389hrw: Do we need to provide docker registry credentials somewhere else?10:29
hrwhm. should work10:30
shyam2389I don't see any command line options for this10:30
shyam2389if we have it in kolla-build.conf let me know10:30
hrwlet me check10:32
shyam2389okay10:33
hrwINFO:kolla.common.utils.base:Trying to push the image10:34
hrwINFO:kolla.common.utils.base:Pushed successfully10:34
hrwhm.10:34
shyam2389hrw: Where can I find this equivalent dir on source images? /usr/share/openstack-dashboard/openstack_dashboard/local10:41
shyam2389hrw: is this the correct location? /var/lib/kolla/venv/lib/python3.8/site-packages/openstack_dashboard/local10:43
shyam2389or something else?10:43
hrwiirc this one10:43
hrwsorry, debugging something10:43
shyam2389hrw: okay10:44
opendevreviewMerged openstack/kayobe-config master: Fix configuration sync for infra-vms  https://review.opendev.org/c/openstack/kayobe-config/+/81684511:05
opendevreviewMerged openstack/kayobe-config stable/xena: Fix configuration sync for infra-vms  https://review.opendev.org/c/openstack/kayobe-config/+/81684611:06
kevkomorning \o/11:20
kevkotesting wallaby on vms and i see this error on compute node (from time to time) ..when creating heat stack -> https://paste.opendev.org/show/810830/ any advice ? 11:21
hrwkevko: migrate from VMS to Linux?11:25
kevkowhat ? :D 11:25
kevkojust saying that openstack is deployed on VMs ..not baremetal :d 11:26
hrwjoking11:27
kevkook Joker ;D 11:27
kevkoany advice ? 11:27
hrwI had a blog post titled like 'Running Fedora on VMs' so url was /running-fedora-on-vms/ and got some similar answers11:28
hrwno idea11:28
kevkoit looks similar then this -> https://bugs.launchpad.net/nova/+bug/1810978 and in bugreport there is also link to https://bugs.launchpad.net/neutron/+bug/176004711:28
fricklerkevko: iirc there were some issues with eventlet and python3.9, not sure whether all fixes went into wallaby11:31
kevkohmmm 11:32
kevkosome links ? :) 11:32
shyam2389Hi11:56
shyam2389I have plugin in rpm format11:57
shyam2389Can I install it on source image of horizon?11:57
shyam2389Or pip format is mandatory?11:57
hrwI would say that wheel is needed11:59
shyam2389hrw: Would it be a valid approach?11:59
shyam2389Have we used it anywhere?12:00
hrwpython packages comes in wheel format12:00
hrwif you have rpm then it is distribution package which happens to ship python package12:01
shyam2389hrw: okay12:02
shyam2389I see deb in docker tempplate : https://github.com/openstack/kolla/blob/stable/victoria/docker/horizon/Dockerfile.j2#L113-L11512:02
shyam2389Are these debian packages or pip packages?12:03
shyam2389or rpm here: https://github.com/openstack/kolla/blob/stable/victoria/docker/horizon/Dockerfile.j2#L10612:03
hrw106, 112 are distro packages12:04
hrw129, 133 are pip12:04
shyam2389hrw: Okay12:05
shyam2389So, I have this horizon plugin, installs some files in horizon directories, we have rpm, debian packages of it.12:05
shyam2389hrw: But do not have pip package12:06
shyam2389we are looking for way to install these packages using template override on horizon source images12:06
shyam2389But I think If I install rpm/debian on source horizon image, it will not get installed in "/var/lib/kolla/venv/lib/python/.." 12:07
shyam2389it will get install on base python 12:07
hrwshyam2389: the deal is easy - if you use distro packages then you want binary images.12:09
hrwif you want source then use wheels12:09
hrwand you have source then creating wheel is just a moment...12:10
shyam2389hrw: got it.12:10
fricklerkevko: hmm, not sure, possibly I mixed up https://docs.openstack.org/releasenotes/nova/stein.html#known-issues and https://github.com/eventlet/eventlet/issues/61912:13
opendevreviewMerged openstack/kayobe-config-dev stable/xena: Fix configuration sync for infra-vms  https://review.opendev.org/c/openstack/kayobe-config-dev/+/81684912:43
opendevreviewVerification of a change to openstack/kayobe-config-dev master failed: Fix configuration sync for infra-vms  https://review.opendev.org/c/openstack/kayobe-config-dev/+/81684813:01
holtgreweI'm trying to get kayobe to run with stable/xena. I'm running into an issue on seed deployment >>Network not found: no network with matching name 'compute_net'<<. Full error trace: https://gist.github.com/holtgrewe/0f479a7588301bc3452c1a3a83c8a89f my current configuration https://github.com/holtgrewe/kayobe-config/tree/my-xena13:02
holtgreweIt looks like the definition of "compute_net" is not carried into libvirt and I wonder if anyone could have a look and tell me what part of the configuration I'm missing? I'ved tried to define the network in multiple places yet I have not had any success yet.13:03
holtgreweMaybe I have to reconfigure the hypervisor, though...13:06
holtgreweThat did half of the trick...13:08
holtgrewedisabling selinux did the other half13:17
opendevreviewAdrian Andreias proposed openstack/kolla-ansible master: docs: Get release name dynamically  https://review.opendev.org/c/openstack/kolla-ansible/+/81658213:56
holtgreweIs the stable/xena branch supposed to use wallaby images for bifrost deploy?14:44
mgoddardholtgrewe: xena should use xena images14:45
holtgreweInteresting... must be old data14:48
holtgrewemgoddard, thanks for some reason I had an old kayobe-kolla checkout...15:01
holtgreweoooh, there is no kayobe xena on pypi yet...15:03
mgoddardholtgrewe: not released yet15:04
mgoddardstable/xena branch exists though, and is basically what will be released15:05
holtgrewethanks for the feedback15:05
holtgreweI will install from source15:05
opendevreviewwu.chunyang proposed openstack/kolla-ansible master: Fix octavia doesn't set subnet gateway_ip  https://review.opendev.org/c/openstack/kolla-ansible/+/81703415:11
jingvarI want to check an idea and need run custom horizon container and image, where I can get how run horizon container (volumes, priveged etc) ?16:48
jingvarmaybe something docker run .. -v  ..16:49
fricklerjingvar: docker inspect ?16:54
jingvaryes, but I am lasy  :)16:55
jingvarthere are some runtime I think16:57
opendevreviewDoug Szumski proposed openstack/kolla-ansible stable/wallaby: Specify log file name for Nova API  https://review.opendev.org/c/openstack/kolla-ansible/+/81705917:23
opendevreviewDoug Szumski proposed openstack/kolla-ansible stable/wallaby: Specify log file name for Nova API  https://review.opendev.org/c/openstack/kolla-ansible/+/81705917:29
opendevreviewMaksim Malchuk proposed openstack/kolla-ansible master: Multiple DHCP Subnets for Ironic Inspector  https://review.opendev.org/c/openstack/kolla-ansible/+/81707620:12
opendevreviewMaksim Malchuk proposed openstack/kayobe master: Allow overriding the hardcoded neutron_plugin_agent  https://review.opendev.org/c/openstack/kayobe/+/81708220:49
opendevreviewAdrian Andreias proposed openstack/kolla-ansible master: docs: Get release name dynamically  https://review.opendev.org/c/openstack/kolla-ansible/+/81658221:45

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