Wednesday, 2017-07-12

*** aparnav has joined #openstack-dib03:36
openstackgerritAmrith Kumar proposed openstack/diskimage-builder master: the current 08-debootstrap doesn't allow cross platform development  https://review.openstack.org/48279204:00
*** tonyb has quit IRC04:05
*** andreas-f has joined #openstack-dib04:24
*** tonyb has joined #openstack-dib04:28
*** chhavi has joined #openstack-dib04:40
*** chhavi_ has joined #openstack-dib05:44
*** chhavi has quit IRC05:44
clarkbamrith: re ^ I think that wont work if you do any in chroot dib element steps because the binaries in chroot will be for wrong arch05:47
clarkbmay need to think about a more global approach to cross arch builds05:47
*** andreas-f has quit IRC06:08
*** andreas-f has joined #openstack-dib06:10
*** isaacb has joined #openstack-dib06:25
*** isaacb_ has joined #openstack-dib06:32
*** isaacb has quit IRC06:33
*** aparnav has quit IRC06:35
*** aparnav has joined #openstack-dib06:36
*** openstackgerrit has quit IRC06:48
*** andreas-f has quit IRC07:12
*** isaacb_ has quit IRC07:31
*** isaacb has joined #openstack-dib09:17
*** openstackgerrit has joined #openstack-dib09:39
amrithclarkb it actually works fine because qemu-debootstrap handles that. I *AM* doing cross platform development with chroot steps. try it ... run qemu-debootstrap on an ubuntu x86 machine where you have qemu-arm-static installed. it'll copy that into the chroot into /usr/bin and then you can go launch the chroot; works ...09:54
openstackgerritAmrith Kumar proposed openstack/diskimage-builder master: the current 08-debootstrap doesn't allow cross platform development  https://review.openstack.org/48279209:59
*** isaacb has quit IRC10:06
*** isaacb has joined #openstack-dib10:09
*** isaacb has quit IRC10:10
*** isaacb has joined #openstack-dib10:12
*** isaacb has quit IRC10:18
*** isaacb has joined #openstack-dib11:25
*** isaacb has quit IRC11:28
*** chhavi_ has quit IRC11:32
*** aparnav has quit IRC11:44
*** isaacb has joined #openstack-dib11:51
*** isaacb has quit IRC12:00
*** isaacb has joined #openstack-dib12:01
*** farosas has joined #openstack-dib12:10
openstackgerritPaul Belanger proposed openstack/diskimage-builder master: Bump fedora-minimal DIB_RELEASE 26  https://review.openstack.org/48257012:15
*** rfolco has quit IRC12:41
*** rfolco has joined #openstack-dib12:42
*** isaacb has quit IRC13:19
*** chhavi_ has joined #openstack-dib13:20
*** isaacb has joined #openstack-dib13:28
clarkbamrith: right debootstrap will work but if you run an element with an install script that relies on bash in the chroot now you have an arch mismatch and that will fail I think13:44
clarkbso it works if you constrain ypurself to just debootstrapping?13:44
*** isaacb has quit IRC14:54
amrithno, not true. I run a full debian install with qemu-debootstrap. full apt-get, setup users, directories, keys, ... the whole nine yards15:06
amrithwith the two changes I merged, you can run debian-minimal on an x8664 ubuntu machine with -a armhf15:06
amrithas an example15:07
clarkbhuh15:07
saiclarkb: greghaynes im trying to make sure some elements written for ubuntu only play well with centos as well..can make the epel element a dependency? Would it just be a noop if ubuntu is used?15:11
saii see this when trying an ubuntu image with epel dependency15:11
saiMap install for epel: wget, yum-utils15:11
saiRunning command: ['install-packages', 'wget', 'yum-utils']15:11
sai> Reading package lists...15:11
sai> Building dependency tree...15:11
sai> Reading state information...15:11
sai> E: Unable to locate package yum-utils15:11
greghaynessai: I think as is epel element isnt a noop on ubuntu, it could be made that way15:12
saimade that way? something im missing?15:12
greghaynesno, I mean that it would require a change to the epel element15:13
greghaynesI dont think we had considered epel would be used when making an ubuntu image, but I think I can see the use case - a package is in ubuntu repos but in epel on rhel15:13
greghaynessai: can you explain the use case a bit more? some of the more active dib folks might have other thoughts15:14
saigreghaynes: trying to make sure these elements work with ubuntu and centos https://github.com/openstack/shaker/tree/master/shaker/resources/image_elements15:15
saicurrently they work only with ubuntu15:15
*** isaacb has joined #openstack-dib15:16
greghaynesok, and why do you need the epel element?15:16
saigreghaynes: need to get iperf from epel15:17
greghaynesok15:18
greghaynesso the epel element needs a pkg-map which makes it a noop on ubuntu, and a case in http://git.openstack.org/cgit/openstack/diskimage-builder/tree/diskimage_builder/elements/epel/pre-install.d/05-rpm-epel-release which noops on non rh15:19
saiok so instead of adding epel to element-deps?15:20
saiwhat would i need?15:20
greghaynesYou cant do it right now, someone needs to fix the epel element to support this15:21
saigot it maybe i use if [[ ${DISTRO_NAME} =~ "centos" ]]; then for now?15:26
sailike the pepel element does15:26
greghaynesyes if you can edit the epel element to do that, youll also have to add a pkg-map15:28
greghaynesid suggest trying to make a patch for dib :)15:28
saii dont know enough abt dib :( having a hard time using it15:29
saigreghaynes: anyway i can get diskimage-builder to give debug15:30
saiMap install for shaker-agent: g++, screen, python-dev, libzmq-dev15:30
saipkg-map failed15:30
saiwithout much info i see pkg-map failed15:30
greghaynes-x15:32
greghaynesI think -h says it15:33
*** Sukhdev has joined #openstack-dib15:34
saisorry, just tried usual -h15:35
saisorry -d15:35
sai:)15:35
saithanks again15:35
greghaynesnp15:35
*** isaacb has quit IRC16:07
*** Sukhdev has quit IRC16:41
*** adam_g has quit IRC17:39
*** adam_g has joined #openstack-dib17:41
*** chhavi_ has quit IRC18:14
*** Sukhdev has joined #openstack-dib18:45
saigreghaynes: back with another question, are the dependencies in element-deps avaialable to be used in pre-isntall.d phase? I had an executable in pre-install.d doing a pip install and although i had pip-and-virtualenv in element-deps, i was seeing pip not found error19:11
saiit worked when the executable was in install.d19:11
greghaynesYes, although you really should be installing things in install.d19:45
greghaynesOh it's possible pip isn't installed until install.d19:45
saigot it..20:28
*** Sukhdev has quit IRC21:04
*** farosas has quit IRC21:10
*** andreas-f has joined #openstack-dib21:15
*** lennyb has quit IRC21:15
*** lennyb has joined #openstack-dib21:27
*** rm_work has quit IRC22:32
*** rm_work has joined #openstack-dib22:32

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