Wednesday, 2018-05-09

openstackgerritIan Wienand proposed openstack/diskimage-builder master: WIP: native zuulv3 tests  https://review.openstack.org/56677900:17
openstackgerritIan Wienand proposed openstack/diskimage-builder master: WIP: native zuulv3 tests  https://review.openstack.org/56677900:25
openstackgerritIan Wienand proposed openstack/diskimage-builder master: WIP: native zuulv3 tests  https://review.openstack.org/56677900:48
*** andreas_s has joined #openstack-dib00:54
*** andreas_s has quit IRC00:58
*** phuongnh has joined #openstack-dib01:01
openstackgerritIan Wienand proposed openstack/diskimage-builder master: WIP: native zuulv3 tests  https://review.openstack.org/56677901:03
*** esha1 has joined #openstack-dib03:02
openstackgerritIan Wienand proposed openstack/diskimage-builder master: WIP: native zuulv3 tests  https://review.openstack.org/56677903:03
*** pleia2 has quit IRC03:04
openstackgerritIan Wienand proposed openstack/diskimage-builder master: WIP: native zuulv3 tests  https://review.openstack.org/56677903:06
*** pleia2 has joined #openstack-dib03:18
*** andreas_s has joined #openstack-dib03:28
*** andreas_s has quit IRC03:32
openstackgerritIan Wienand proposed openstack/diskimage-builder master: WIP: native zuulv3 tests  https://review.openstack.org/56677903:46
openstackgerritIan Wienand proposed openstack/diskimage-builder master: WIP: native zuulv3 tests  https://review.openstack.org/56677904:03
*** rajinir has quit IRC05:38
*** andreas_s has joined #openstack-dib06:25
*** andreas_s has quit IRC06:25
*** andreas_s has joined #openstack-dib06:25
*** esha1 has quit IRC06:28
*** brault has joined #openstack-dib06:38
phuongnhHi tonyb, Hieu has just commented on patchset: https://review.openstack.org/#/c/542708 . Please have a look.07:09
*** pmannidi has quit IRC07:29
*** esha1 has joined #openstack-dib07:46
esha1clarkb :  I opened https://bugs.launchpad.net/cloud-images/+bug/1769605 for the root fs issue in ubuntu 18.0408:12
openstackLaunchpad bug 1769605 in cloud-images "No root fs tar for bionic cloud image" [Undecided,New]08:12
esha1However as there is no root fs in ubuntu 18.04, how can just by using .img via DIB the image be built by element 'ubuntu'08:13
esha1as using 'ubuntu-minimal' wont get any connectivity to image and is of no use08:14
esha1I discussed whis with ianw also - mount the .img was the solution but how can ubuntu element be used then?08:14
*** andreas_s has quit IRC08:38
*** andreas_s has joined #openstack-dib08:40
*** andreas_s_ has joined #openstack-dib10:56
*** andreas_s has quit IRC10:57
*** andreas_s has joined #openstack-dib10:59
*** andreas_s_ has quit IRC11:01
*** phuongnh has quit IRC11:42
*** vmlinuz has joined #openstack-dib12:34
*** vmlinuz has joined #openstack-dib12:34
*** andreas_s has quit IRC13:00
*** andreas_s has joined #openstack-dib13:00
*** andreas_s has quit IRC13:03
*** andreas_s has joined #openstack-dib13:04
*** yolanda has joined #openstack-dib13:16
*** andreas_s has quit IRC13:16
*** yolanda_ has quit IRC13:18
*** andreas_s_ has joined #openstack-dib13:28
*** andreas_s_ has quit IRC13:28
*** andreas_s_ has joined #openstack-dib13:29
*** andreas_s_ has quit IRC13:31
*** andreas_s_ has joined #openstack-dib13:31
*** andreas_s_ has quit IRC13:53
*** andreas_s has joined #openstack-dib13:53
*** esha1 has quit IRC13:54
*** inc0 has joined #openstack-dib13:55
*** andreas_s has quit IRC14:02
*** esha1 has joined #openstack-dib14:06
*** andreas_s has joined #openstack-dib14:07
*** andreas_s has quit IRC14:08
*** andreas_s has joined #openstack-dib14:08
*** mjturek has joined #openstack-dib14:20
*** andreas_s has quit IRC14:30
*** andreas_s has joined #openstack-dib14:31
*** andreas_s_ has joined #openstack-dib14:34
*** andreas_s has quit IRC14:36
*** andreas_s_ has quit IRC14:38
*** andreas_s has joined #openstack-dib14:44
*** andreas_s has quit IRC14:49
clarkbesha1: the centos7 element gets the fs from the .img I think I would look there to see how it is done14:52
esha1ok, i will chk14:52
esha1Also for RHEL, ca_cert issue comes for RHEL7.5 even after I put the certificate on node and openssl command alone works14:53
esha1but DIB fails14:53
clarkbesha1: dib is running yum in a chroot which won't see the hosts certs. You have to set the cert in the image build itself14:55
esha1you mean pass as variable to dib?14:55
clarkbeither as a parameter to the existing elements if it exists or as a small element that adds it for you14:58
esha1ok, and same for repo?14:58
esha1if I set repo on node14:59
clarkbthe repo location appears to be configurable via the element. YOu just have to have some way to trust the ssl cert14:59
esha1ok, will chk15:01
*** andreas_s has joined #openstack-dib15:01
esha110-centos7-cloud-image15:01
esha1 in root.d of centos7 uses just extract from the .img15:01
esha1similarly I can write a small element to use extract15:01
esha1for ubuntu 18.0415:01
esha1what does extract do?15:02
esha1uses rpms inside the tar right?15:02
esha1the tar here is .img from cloud image15:02
clarkbdiskimage_builder/elements/redhat-common/bin/extract-image is the script15:05
*** andreas_s has quit IRC15:06
esha1$TMP_HOOKS_PATH/bin/extract-image $BASE_IMAGE_FILE $BASE_IMAGE_TAR $IMAGE_LOCATION $CACHED_IMAGE15:20
clarkbesha1: yup that script is at the path I linked above so you can see how it works15:20
esha1 diskimage_builder/elements/centos7/root.d/10-centos7-cloud-image15:20
esha1oh ok15:21
esha1sure15:21
*** rajinir has joined #openstack-dib15:26
esha1while creating new element - just new dir with the files is needed and then it can be passed to DIB or some registration somwhere?15:30
*** prometheanfire has quit IRC15:32
johnsomAny comments on: https://review.openstack.org/#/c/562055/15:34
clarkbesha1: you'l want to put the new dir in your elements path16:19
clarkbesha1: which you can update to point to the new dir location or just add the new dir to the existing elements path16:19
esha1oh ok16:19
esha1there might be some issues here as rhel uses yum and ubuntu uses apt-get install16:19
esha1so I am trying to figure the steps16:19
*** Phuongnh has joined #openstack-dib16:20
esha1qemu-img convert should convert .img/.qcow2 to .raw16:20
esha1then next is how to mount and use this raw such that I can install the OS16:21
PhuongnhHi all, Hieu has just commented on patchset: https://review.openstack.org/#/c/542708 . Please have a look and give us comments.16:23
clarkbjohnsom: done16:23
johnsomThanks!16:23
openstackgerritMichael Johnson proposed openstack/diskimage-builder master: Add pip cache cleanup to pip-and-virtualenv  https://review.openstack.org/56205516:31
johnsomYep, good comments.  Done16:31
*** prometheanfire has joined #openstack-dib16:36
*** Phuongnh has quit IRC16:42
*** prometheanfire has quit IRC17:06
openstackgerritOded Le'Sage proposed openstack/diskimage-builder master: Fixes add-apt-keys in dpkg element  https://review.openstack.org/56559917:07
*** hashar has joined #openstack-dib17:15
*** hashar is now known as hasharBBQ17:23
inc0hello everyone, halp plz http://paste.ubuntu.com/p/HKtfZ62VmV/17:35
inc0basically I'm trying to build dib image in docker, it used to work17:35
inc0steps to reproduce: https://github.com/inc0/lithium -> docker-compose up17:35
inc0this is call I'm making https://github.com/inc0/lithium/blob/master/dib-ubuntu/start.sh , both ubuntu and centos fails17:36
clarkbinc0: 'target is busy' is the key there17:41
clarkbinc0: do you have an element that ends up running a process that holds files open?17:42
clarkbinc0: you might try adding a ps and lsof to your build to check17:42
inc0sure, let me try it17:42
clarkbbut basically my understadning of that is unmount fails because the disk is in use (eg something is holding files open)17:42
inc0right, I'm just trying to figure out what, since it's fresh container (also tested on 2 separate machines)17:44
clarkbinc0: it is a fresh container but it just ran a bunch of stuff to make an image. Its likely the image build itself (so one of your elements and is orthogonal to docker/container/etc)17:45
*** esha1 has quit IRC18:00
*** eshas has joined #openstack-dib18:19
*** EranBD has joined #openstack-dib18:46
*** mjturek has quit IRC19:05
*** mjturek has joined #openstack-dib19:14
inc0clarkb: so bootloader element seems to break it19:22
clarkbinc0: it is leaking a file handle?19:23
inc0so lsof didn't show anyting, but I've hacked umount -l there and bootloader failed, I tried to run dib without bootloader and it works19:25
inc0so yeah, I guess it doesn't close file correctly somewhere19:26
*** eshas has quit IRC19:26
clarkbyou might try adding a sync before the umount if there isn't oen already? Could be that there are outstanding writes waiting to complete?19:29
inc0http://paste.ubuntu.com/p/HKtfZ62VmV/ line 290119:30
inc0I think that's the issue19:30
inc0umount thing is just failure in post-error cleanup19:30
clarkbinc0: that is set by block-device-efi, block-device-mbr-, and block-device-gpt elements which I thought were supposed to default on mbr if you didn't specify one (for backward compat)19:32
clarkbinc0: try specifying block-device-mbr and see if that fixes it?19:33
inc0instead of bootloader?19:33
clarkbin addition to bootloader19:33
clarkbinc0: or replace bootloader with vm?19:33
clarkbI think the vm element really means install abootloader iirc19:34
clarkbya vm should work I think19:34
inc0well bootloader + block-device-mbr also worked19:37
clarkbya I think vm is the thing that ties those two together by default19:38
*** hasharBBQ has quit IRC19:38
clarkbso fi you don't vm then you need to construct that yourself. Probably worth a dock update to bootloader readme if not there already19:38
inc0that being mbr19:39
inc0?19:39
inc0mbr element that is19:39
clarkbone of the three block-device-* options yes19:39
clarkbmbr is default19:39
clarkbor is VMs default aiui19:39
openstackgerritRoman Gorshunov proposed openstack/diskimage-builder master: FIX: find: 'Permission denied' on certain images  https://review.openstack.org/56737919:45
inc0thanks a lot clarkb19:51
*** mjturek has quit IRC20:02
*** prometheanfire has joined #openstack-dib20:09
*** mjturek has joined #openstack-dib20:14
*** mjturek has quit IRC20:15
*** mjturek has joined #openstack-dib20:15
*** lesage has joined #openstack-dib20:23
lesagecan anyone help me understand why this is failing https://review.openstack.org/#/c/565599/220:23
*** mjturek has quit IRC20:26
*** mjturek has joined #openstack-dib20:31
*** mjturek has quit IRC20:33
clarkblesage: I think the suse job is known to not be currently working20:45
clarkblesage: ianw should be awake soon and if he is onboard maybe we just make that job nonvoting20:45
lesageok thanks, figured it was something i couldn't fix20:47
*** mjturek has joined #openstack-dib20:57
*** prometheanfire has quit IRC21:02
*** mjturek has quit IRC21:03
*** prometheanfire has joined #openstack-dib21:41
*** prometheanfire has quit IRC21:45
*** prometheanfire has joined #openstack-dib22:02
*** vmlinuz has quit IRC22:04
*** zigo has quit IRC22:11
*** zigo has joined #openstack-dib22:11
*** prometheanfire has quit IRC22:15
*** prometheanfire has joined #openstack-dib22:43
*** EranBD has quit IRC22:47
*** prometheanfire has quit IRC22:47
*** prometheanfire has joined #openstack-dib22:48
*** mjturek has joined #openstack-dib22:57
*** andreas_s has joined #openstack-dib22:57
*** mjturek has quit IRC22:59
*** andreas_s has quit IRC23:01
ianwclarkb / lesage : hey, sorry, running late today :)23:02
clarkbianw: tldr is should we make the suse job nonvoting until glean works again23:04
ianwclarkb: ok, yeah i hadn't looked into that.  do we know what the issue is?23:08
clarkbianw: I think pabelanger tracked it as far as glean not configuring the interfaces so ssh never works23:09
clarkbdirk was going to look at it I think23:09
*** prometheanfire has quit IRC23:09
ianwurgh :/  it's probably better to move to experimental because it will just constantly time out the runs23:10
ianwi think gentoo is in a similar situation atm23:10
clarkbthats a good point23:10
ianwthe gentoo one i can't understand, it seems sudo is missing in the image but to me it looks like it should be installed.  anyway, promethanfire can look at it when he's around23:12
*** prometheanfire has joined #openstack-dib23:39
*** prometheanfire has quit IRC23:43
ianwclarkb: do you know if there's a lp/sb issue for suse glean?23:54
clarkbI dont. pabelanger was looking at it23:57

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