Friday, 2017-11-17

*** pmannidi_2 has joined #openstack-dib00:10
*** andreas_s has joined #openstack-dib00:29
*** andreas_s has quit IRC00:33
*** Sukhdev has joined #openstack-dib00:43
*** Sukhdev has quit IRC01:38
*** andreas_s has joined #openstack-dib02:09
*** andreas_s has quit IRC02:14
rm_workugh, this is weird during the build, i think it has to to with the FS type maybe? http://paste.openstack.org/show/626566/03:04
rm_worksaw something about issues with FS that don't support xattrs on either side03:04
*** andreas_s has joined #openstack-dib03:33
*** jesusaur has quit IRC03:36
*** Sukhdev has joined #openstack-dib03:36
*** andreas_s has quit IRC03:38
*** andreas_s has joined #openstack-dib03:49
*** andreas_s has quit IRC03:53
*** jesusaur has joined #openstack-dib04:23
*** pmannidi has quit IRC04:48
rm_workyeah it's not handling symlinks04:50
*** andreas_s has joined #openstack-dib04:50
rm_workhttps://github.com/pypa/pip/pull/1311 was merged, and I see it's in the version of python I have, but ... still this is failing. I guess probably it is the xattrs thing04:54
*** andreas_s has quit IRC04:54
*** jesusaurum has joined #openstack-dib05:00
rm_workhttp://paste.openstack.org/show/626571/05:02
rm_workyeah :(05:02
*** jesusaur has quit IRC05:02
rm_workmaybe http://paste.openstack.org/show/626572/ explains it best05:03
rm_workthat's both on py34 and py3505:04
*** Sukhdev has quit IRC05:26
prometheanfireya, that's confusing05:40
prometheanfiretry without and see if manually installing works or not?05:40
*** Sukhdev has joined #openstack-dib05:41
*** Sukhdev has quit IRC05:42
rm_workah so06:07
rm_workprometheanfire: i got further06:07
rm_workprometheanfire: it's related to python being compiled with LCHMOD support06:08
rm_workit's trying to chmod symlinks when it copies them06:08
rm_workand exploding because it seems we don't ACTUALLY have support for that06:08
prometheanfire /tmp may be noexec?06:08
rm_workunrelated to /tmp06:09
prometheanfireok06:09
rm_workhttp://paste.openstack.org/show/626574/06:09
prometheanfireso, gentoo python doesn't support that?06:09
rm_workI boiled it down to this06:09
rm_workgentoo python is compiled with support for it set to true, but *gentoo* doesn't support it06:09
rm_workor at least it doesn't with musl libc06:09
prometheanfiredoes the folder '1' exist?06:09
rm_workyes06:09
prometheanfirek06:10
rm_workit actually *copies* the files06:10
rm_worki have traced it down to the exact line in python06:10
rm_workFile "/usr/lib/python3.5/shutil.py", line 201, in copystat06:10
prometheanfire(gdbm ipv6 ncurses readline sqlite ssl threads wide-unicode xml -berkdb -build -doc -examples -hardened -libressl -tk -wininst ELIBC="-uclibc") 3.5.4(3.5){xpak}(03:20:47 PM 10/29/2017)(gdbm ipv6 ncurses readline sqlite ssl threads xml -build -examples -hardened -libressl -tk -wininst ELIBC="-uclibc")06:10
rm_workor... hold on that line number is different for you06:10
rm_workpython3 -c 'import sysconfig; print(sysconfig.get_config_var("HAVE_LCHMOD"))'06:10
rm_workthat should return 006:10
rm_workbut it returns 106:10
prometheanfirereturns 0 on glibc06:11
rm_workok well06:11
rm_worki can tell you this gentoo image doesn't have lchmod support :P06:11
rm_workso why python is compiled with it is beyond me06:11
rm_workit thinks it can do it, goes out to the OS, and explodes06:12
rm_workthus the error06:12
prometheanfireya06:12
rm_workso this is a problem for me <_<06:12
prometheanfiregrep -E '(HAVE_FCHMODAT|HAVE_LCHMOD)' /usr/include/python3.5m/pyconfig.h06:13
rm_workk yes i see that :P06:16
rm_workit should not be 106:16
rm_worksomehow it got set to 1 during the compile process06:16
prometheanfirehuh06:16
rm_workthis was a binary package, wasn't it?06:16
rm_workor did we compile python06:16
prometheanfireya, looks like a legit bug, python?06:16
prometheanfireno06:16
prometheanfireit's compiled06:16
rm_workhmm06:16
prometheanfireespecially if you selected 3.506:16
rm_workwell06:16
rm_worknormally python doesn't do that flag06:16
prometheanfireya06:16
rm_worksomething had to *set it*06:16
rm_workwhere is the ebuild for this...06:17
* rm_work looks06:17
prometheanfireya, looking06:18
* rm_work installs mlocate06:18
rm_workmaybe /usr/portage/dev-lang/python/python-3.5.4.ebuild06:20
prometheanfireya, that's the ebuild06:21
prometheanfirelooks like a legit bug06:24
rm_workhmmm06:24
rm_worktrying to figure out how python *gets* that06:24
rm_workwe don't pass it as an arg06:24
prometheanfirelook at python's configure06:25
rm_workerr, trying to find06:32
prometheanfirehttps://github.com/docker-library/python/issues/15506:33
prometheanfireI just grep'd06:33
prometheanfiredidn't find anything though06:33
prometheanfirethink it's a linked lib06:33
prometheanfireposix something something06:33
rm_workhmmmm06:37
prometheanfirerm_work: are you sure it's musl that you need for fast boot, have you tested a normal gentoo image?06:44
rm_worki don't know really06:44
rm_worki don't know if this is only a bug on musl either06:45
prometheanfireit isn't06:46
prometheanfireI did test it on my laptop at least06:46
rm_workso, would a normal image help me at all? T_T06:46
prometheanfiretry seeing how long it takes to boot this http://distfiles.gentoo.org/experimental/amd64/openstack/gentoo-openstack-amd64-hardened-nomultilib-20170819.qcow206:46
*** pmannidi_2 has quit IRC06:47
prometheanfirehttp://distfiles.gentoo.org/experimental/amd64/openstack/gentoo-openstack-amd64-hardened-nomultilib-20171021.qcow206:47
prometheanfirethat's more updated06:47
rm_workk06:47
prometheanfireiirc the musl image took 2-3 min to boot06:48
prometheanfirethat's why we are doing all this right? fast boot on non-virt systems06:48
rm_workyes06:48
prometheanfirealso, https://github.com/esmil/musl/blob/master/src/stat/lchmod.c06:48
prometheanfiremusl supports it aparently06:49
rm_workermmmm06:49
rm_workok06:49
rm_workwell06:49
rm_workit doesn't work??06:49
rm_workweird06:49
prometheanfiremaybe musl's fault, maybe not?06:49
rm_worki mean, outside of python06:49
rm_worki can't get it to work *not*using python either06:57
prometheanfireoh, fun :(06:57
rm_workmaybe i just don't know how correctly...06:58
prometheanfirehttps://github.com/libarchive/libarchive/commit/65fe10306:59
rm_work>_>06:59
prometheanfireyep, sounds like musl is making others work around it so far07:01
rm_work>_<07:01
prometheanfirewell, I bugged people in #musl07:03
rm_workwhatever07:03
rm_worki have a solution07:03
rm_worknone of the symlinks matter. i'm going to update the install step to delete them all07:03
rm_worklol07:03
prometheanfirelol07:05
rm_workit's all docs07:05
*** andreas_s has joined #openstack-dib07:29
*** andreas_s has quit IRC07:29
*** andreas_s has joined #openstack-dib07:29
rm_workwhelp ok07:32
rm_workimage ... ummm07:32
rm_workbuilt07:32
rm_workso \o/07:33
rm_workbut now i need to fix the code for our agent to understand how to do the networking for the system07:34
prometheanfireright07:36
prometheanfireso... I still think you should test the normal glibc image07:36
prometheanfirebut as far as networking goes... I've done this for my openstack https://dev.gentoo.org/~prometheanfire/images/VM-host-network.svg07:37
prometheanfirenot sure exactly what you need though07:37
prometheanfirehttps://wiki.gentoo.org/wiki/Handbook:AMD64/Full/Networking has some stuff07:38
rm_workyeah i mean just07:39
rm_workwhat the format of its interface definition files are07:39
rm_workhow to reload networking07:39
rm_workhow to handle namespaces07:39
rm_worksimple operational stuff07:39
rm_worksee: https://github.com/openstack/octavia/blob/master/octavia/amphorae/backends/agent/api_server/osutils.py07:40
rm_workcompare redhat/ubuntu style07:41
prometheanfireit's all there :P07:41
rm_workyeah it's THERE07:41
rm_workbut i have to tell it how to use it07:42
prometheanfirelol07:42
rm_workdoes it use debian style interface files?07:42
rm_workor is it closer to redhat? or its own thing07:42
prometheanfireI'm surprised amphora uses os config style at all07:42
prometheanfireit's it's own thing07:42
prometheanfirenetifrc is the format07:42
prometheanfireit can't do veths though (bugs me)07:42
rm_workwe have to define a bunch of custom interfaces and stuff07:43
rm_workhmmmm07:43
rm_worki don't ... THINK we need that...07:43
prometheanfireit should do what neutron does imo07:43
rm_workerr07:43
prometheanfirebut that's an outsider looking in07:43
rm_workwhat does neutron do?07:44
rm_workdoes neutron set up multiple interfaces with namespacing inside VMs?07:44
rm_worklol07:44
prometheanfirehas 'border' interfaces it adds to a bridge, from that bridge it creates taps, which can go into a namespace if needed and do whatever else it wants07:44
rm_workerr07:47
rm_workand neutron does that inside the VMs how?07:47
rm_workI'm not aware that they even have an agent07:47
prometheanfirenot inside VMs07:48
prometheanfirejust in general07:48
prometheanfiremake it stateless more or less07:48
rm_workerr... ok07:48
rm_workbut inside the VMs we have to run HAProxy isolated from the other interfaces07:49
rm_workhow do we do that07:49
prometheanfiresame way neutron runs dhcp-agents isolated from the other interfaces07:50
prometheanfireor the dhcp-servers07:50
prometheanfirenetwork namespaces07:50
rm_workright07:50
rm_workbut those are inside the VM07:50
prometheanfireso07:50
prometheanfireocravia tells the agent on the vm 'use this config'07:51
rm_workyes07:51
rm_workand then the agent lays down the config07:51
prometheanfireagent caches the config then applies it statelessly using iputils commands07:51
prometheanfireip link add, etc07:51
prometheanfireip netns exec07:51
prometheanfirethat way it's os independent07:52
prometheanfirewhen server reboots (if it does) the agent does it all again07:52
prometheanfireas the network config isn't saved07:52
prometheanfirebut the octavia delivered config is cached07:53
rm_workyeah, reboots *shouldn't* happen (if they do, good chance the VM gets failed before it comes back up) anyway07:53
rm_workbut can we really do 100% of what we need to do using that method, i wonder07:53
prometheanfireI'd expect so07:53
prometheanfireI can't think of a reason why not at least07:54
*** hashar has joined #openstack-dib09:34
*** jaianshu has joined #openstack-dib11:17
*** dhill_ has quit IRC13:15
*** jaianshu has quit IRC13:28
*** andreas_s has quit IRC13:33
*** andreas_s has joined #openstack-dib13:33
*** andreas_s has quit IRC13:38
*** andreas_s has joined #openstack-dib15:09
*** andreas_s has quit IRC15:13
*** hashar has quit IRC16:14
*** andreas_s has joined #openstack-dib17:30
*** andreas_s has quit IRC17:35
*** brault has quit IRC17:39
*** jesusaurum has quit IRC17:54
*** jesusaurum has joined #openstack-dib18:13
*** jesusaurum has quit IRC18:22
*** jesusaurum has joined #openstack-dib18:24
*** dhill_ has joined #openstack-dib18:56
*** Sukhdev has joined #openstack-dib19:38
*** jesusaurum has quit IRC20:15
*** jesusaurum has joined #openstack-dib20:17
*** jesusaurum is now known as jesusaur20:17
*** jesusaur has quit IRC20:20
*** jesusaur has joined #openstack-dib20:22
prometheanfirerm_work: the shutil thing works in py220:23
prometheanfirebut not py320:23
*** Sukhdev has quit IRC20:51
*** ianw has quit IRC21:02
*** ianw has joined #openstack-dib21:09
*** andreas_s has joined #openstack-dib21:43
*** andreas_s has quit IRC21:47
*** Sukhdev has joined #openstack-dib21:53

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