*** aparnav has joined #openstack-dib | 03:36 | |
openstackgerrit | Amrith Kumar proposed openstack/diskimage-builder master: the current 08-debootstrap doesn't allow cross platform development https://review.openstack.org/482792 | 04:00 |
---|---|---|
*** tonyb has quit IRC | 04:05 | |
*** andreas-f has joined #openstack-dib | 04:24 | |
*** tonyb has joined #openstack-dib | 04:28 | |
*** chhavi has joined #openstack-dib | 04:40 | |
*** chhavi_ has joined #openstack-dib | 05:44 | |
*** chhavi has quit IRC | 05:44 | |
clarkb | amrith: re ^ I think that wont work if you do any in chroot dib element steps because the binaries in chroot will be for wrong arch | 05:47 |
clarkb | may need to think about a more global approach to cross arch builds | 05:47 |
*** andreas-f has quit IRC | 06:08 | |
*** andreas-f has joined #openstack-dib | 06:10 | |
*** isaacb has joined #openstack-dib | 06:25 | |
*** isaacb_ has joined #openstack-dib | 06:32 | |
*** isaacb has quit IRC | 06:33 | |
*** aparnav has quit IRC | 06:35 | |
*** aparnav has joined #openstack-dib | 06:36 | |
*** openstackgerrit has quit IRC | 06:48 | |
*** andreas-f has quit IRC | 07:12 | |
*** isaacb_ has quit IRC | 07:31 | |
*** isaacb has joined #openstack-dib | 09:17 | |
*** openstackgerrit has joined #openstack-dib | 09:39 | |
amrith | clarkb 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 |
openstackgerrit | Amrith Kumar proposed openstack/diskimage-builder master: the current 08-debootstrap doesn't allow cross platform development https://review.openstack.org/482792 | 09:59 |
*** isaacb has quit IRC | 10:06 | |
*** isaacb has joined #openstack-dib | 10:09 | |
*** isaacb has quit IRC | 10:10 | |
*** isaacb has joined #openstack-dib | 10:12 | |
*** isaacb has quit IRC | 10:18 | |
*** isaacb has joined #openstack-dib | 11:25 | |
*** isaacb has quit IRC | 11:28 | |
*** chhavi_ has quit IRC | 11:32 | |
*** aparnav has quit IRC | 11:44 | |
*** isaacb has joined #openstack-dib | 11:51 | |
*** isaacb has quit IRC | 12:00 | |
*** isaacb has joined #openstack-dib | 12:01 | |
*** farosas has joined #openstack-dib | 12:10 | |
openstackgerrit | Paul Belanger proposed openstack/diskimage-builder master: Bump fedora-minimal DIB_RELEASE 26 https://review.openstack.org/482570 | 12:15 |
*** rfolco has quit IRC | 12:41 | |
*** rfolco has joined #openstack-dib | 12:42 | |
*** isaacb has quit IRC | 13:19 | |
*** chhavi_ has joined #openstack-dib | 13:20 | |
*** isaacb has joined #openstack-dib | 13:28 | |
clarkb | amrith: 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 think | 13:44 |
clarkb | so it works if you constrain ypurself to just debootstrapping? | 13:44 |
*** isaacb has quit IRC | 14:54 | |
amrith | no, not true. I run a full debian install with qemu-debootstrap. full apt-get, setup users, directories, keys, ... the whole nine yards | 15:06 |
amrith | with the two changes I merged, you can run debian-minimal on an x8664 ubuntu machine with -a armhf | 15:06 |
amrith | as an example | 15:07 |
clarkb | huh | 15:07 |
sai | clarkb: 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 |
sai | i see this when trying an ubuntu image with epel dependency | 15:11 |
sai | Map install for epel: wget, yum-utils | 15:11 |
sai | Running 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-utils | 15:11 |
greghaynes | sai: I think as is epel element isnt a noop on ubuntu, it could be made that way | 15:12 |
sai | made that way? something im missing? | 15:12 |
greghaynes | no, I mean that it would require a change to the epel element | 15:13 |
greghaynes | I 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 rhel | 15:13 |
greghaynes | sai: can you explain the use case a bit more? some of the more active dib folks might have other thoughts | 15:14 |
sai | greghaynes: trying to make sure these elements work with ubuntu and centos https://github.com/openstack/shaker/tree/master/shaker/resources/image_elements | 15:15 |
sai | currently they work only with ubuntu | 15:15 |
*** isaacb has joined #openstack-dib | 15:16 | |
greghaynes | ok, and why do you need the epel element? | 15:16 |
sai | greghaynes: need to get iperf from epel | 15:17 |
greghaynes | ok | 15:18 |
greghaynes | so 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 rh | 15:19 |
sai | ok so instead of adding epel to element-deps? | 15:20 |
sai | what would i need? | 15:20 |
greghaynes | You cant do it right now, someone needs to fix the epel element to support this | 15:21 |
sai | got it maybe i use if [[ ${DISTRO_NAME} =~ "centos" ]]; then for now? | 15:26 |
sai | like the pepel element does | 15:26 |
greghaynes | yes if you can edit the epel element to do that, youll also have to add a pkg-map | 15:28 |
greghaynes | id suggest trying to make a patch for dib :) | 15:28 |
sai | i dont know enough abt dib :( having a hard time using it | 15:29 |
sai | greghaynes: anyway i can get diskimage-builder to give debug | 15:30 |
sai | Map install for shaker-agent: g++, screen, python-dev, libzmq-dev | 15:30 |
sai | pkg-map failed | 15:30 |
sai | without much info i see pkg-map failed | 15:30 |
greghaynes | -x | 15:32 |
greghaynes | I think -h says it | 15:33 |
*** Sukhdev has joined #openstack-dib | 15:34 | |
sai | sorry, just tried usual -h | 15:35 |
sai | sorry -d | 15:35 |
sai | :) | 15:35 |
sai | thanks again | 15:35 |
greghaynes | np | 15:35 |
*** isaacb has quit IRC | 16:07 | |
*** Sukhdev has quit IRC | 16:41 | |
*** adam_g has quit IRC | 17:39 | |
*** adam_g has joined #openstack-dib | 17:41 | |
*** chhavi_ has quit IRC | 18:14 | |
*** Sukhdev has joined #openstack-dib | 18:45 | |
sai | greghaynes: 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 error | 19:11 |
sai | it worked when the executable was in install.d | 19:11 |
greghaynes | Yes, although you really should be installing things in install.d | 19:45 |
greghaynes | Oh it's possible pip isn't installed until install.d | 19:45 |
sai | got it.. | 20:28 |
*** Sukhdev has quit IRC | 21:04 | |
*** farosas has quit IRC | 21:10 | |
*** andreas-f has joined #openstack-dib | 21:15 | |
*** lennyb has quit IRC | 21:15 | |
*** lennyb has joined #openstack-dib | 21:27 | |
*** rm_work has quit IRC | 22:32 | |
*** rm_work has joined #openstack-dib | 22:32 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!