openstackgerrit | Ian Wienand proposed openstack/diskimage-builder master: WIP: native zuulv3 tests https://review.openstack.org/566779 | 00:17 |
---|---|---|
openstackgerrit | Ian Wienand proposed openstack/diskimage-builder master: WIP: native zuulv3 tests https://review.openstack.org/566779 | 00:25 |
openstackgerrit | Ian Wienand proposed openstack/diskimage-builder master: WIP: native zuulv3 tests https://review.openstack.org/566779 | 00:48 |
*** andreas_s has joined #openstack-dib | 00:54 | |
*** andreas_s has quit IRC | 00:58 | |
*** phuongnh has joined #openstack-dib | 01:01 | |
openstackgerrit | Ian Wienand proposed openstack/diskimage-builder master: WIP: native zuulv3 tests https://review.openstack.org/566779 | 01:03 |
*** esha1 has joined #openstack-dib | 03:02 | |
openstackgerrit | Ian Wienand proposed openstack/diskimage-builder master: WIP: native zuulv3 tests https://review.openstack.org/566779 | 03:03 |
*** pleia2 has quit IRC | 03:04 | |
openstackgerrit | Ian Wienand proposed openstack/diskimage-builder master: WIP: native zuulv3 tests https://review.openstack.org/566779 | 03:06 |
*** pleia2 has joined #openstack-dib | 03:18 | |
*** andreas_s has joined #openstack-dib | 03:28 | |
*** andreas_s has quit IRC | 03:32 | |
openstackgerrit | Ian Wienand proposed openstack/diskimage-builder master: WIP: native zuulv3 tests https://review.openstack.org/566779 | 03:46 |
openstackgerrit | Ian Wienand proposed openstack/diskimage-builder master: WIP: native zuulv3 tests https://review.openstack.org/566779 | 04:03 |
*** rajinir has quit IRC | 05:38 | |
*** andreas_s has joined #openstack-dib | 06:25 | |
*** andreas_s has quit IRC | 06:25 | |
*** andreas_s has joined #openstack-dib | 06:25 | |
*** esha1 has quit IRC | 06:28 | |
*** brault has joined #openstack-dib | 06:38 | |
phuongnh | Hi tonyb, Hieu has just commented on patchset: https://review.openstack.org/#/c/542708 . Please have a look. | 07:09 |
*** pmannidi has quit IRC | 07:29 | |
*** esha1 has joined #openstack-dib | 07:46 | |
esha1 | clarkb : I opened https://bugs.launchpad.net/cloud-images/+bug/1769605 for the root fs issue in ubuntu 18.04 | 08:12 |
openstack | Launchpad bug 1769605 in cloud-images "No root fs tar for bionic cloud image" [Undecided,New] | 08:12 |
esha1 | However 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 |
esha1 | as using 'ubuntu-minimal' wont get any connectivity to image and is of no use | 08:14 |
esha1 | I 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 IRC | 08:38 | |
*** andreas_s has joined #openstack-dib | 08:40 | |
*** andreas_s_ has joined #openstack-dib | 10:56 | |
*** andreas_s has quit IRC | 10:57 | |
*** andreas_s has joined #openstack-dib | 10:59 | |
*** andreas_s_ has quit IRC | 11:01 | |
*** phuongnh has quit IRC | 11:42 | |
*** vmlinuz has joined #openstack-dib | 12:34 | |
*** vmlinuz has joined #openstack-dib | 12:34 | |
*** andreas_s has quit IRC | 13:00 | |
*** andreas_s has joined #openstack-dib | 13:00 | |
*** andreas_s has quit IRC | 13:03 | |
*** andreas_s has joined #openstack-dib | 13:04 | |
*** yolanda has joined #openstack-dib | 13:16 | |
*** andreas_s has quit IRC | 13:16 | |
*** yolanda_ has quit IRC | 13:18 | |
*** andreas_s_ has joined #openstack-dib | 13:28 | |
*** andreas_s_ has quit IRC | 13:28 | |
*** andreas_s_ has joined #openstack-dib | 13:29 | |
*** andreas_s_ has quit IRC | 13:31 | |
*** andreas_s_ has joined #openstack-dib | 13:31 | |
*** andreas_s_ has quit IRC | 13:53 | |
*** andreas_s has joined #openstack-dib | 13:53 | |
*** esha1 has quit IRC | 13:54 | |
*** inc0 has joined #openstack-dib | 13:55 | |
*** andreas_s has quit IRC | 14:02 | |
*** esha1 has joined #openstack-dib | 14:06 | |
*** andreas_s has joined #openstack-dib | 14:07 | |
*** andreas_s has quit IRC | 14:08 | |
*** andreas_s has joined #openstack-dib | 14:08 | |
*** mjturek has joined #openstack-dib | 14:20 | |
*** andreas_s has quit IRC | 14:30 | |
*** andreas_s has joined #openstack-dib | 14:31 | |
*** andreas_s_ has joined #openstack-dib | 14:34 | |
*** andreas_s has quit IRC | 14:36 | |
*** andreas_s_ has quit IRC | 14:38 | |
*** andreas_s has joined #openstack-dib | 14:44 | |
*** andreas_s has quit IRC | 14:49 | |
clarkb | esha1: the centos7 element gets the fs from the .img I think I would look there to see how it is done | 14:52 |
esha1 | ok, i will chk | 14:52 |
esha1 | Also for RHEL, ca_cert issue comes for RHEL7.5 even after I put the certificate on node and openssl command alone works | 14:53 |
esha1 | but DIB fails | 14:53 |
clarkb | esha1: dib is running yum in a chroot which won't see the hosts certs. You have to set the cert in the image build itself | 14:55 |
esha1 | you mean pass as variable to dib? | 14:55 |
clarkb | either as a parameter to the existing elements if it exists or as a small element that adds it for you | 14:58 |
esha1 | ok, and same for repo? | 14:58 |
esha1 | if I set repo on node | 14:59 |
clarkb | the repo location appears to be configurable via the element. YOu just have to have some way to trust the ssl cert | 14:59 |
esha1 | ok, will chk | 15:01 |
*** andreas_s has joined #openstack-dib | 15:01 | |
esha1 | 10-centos7-cloud-image | 15:01 |
esha1 | in root.d of centos7 uses just extract from the .img | 15:01 |
esha1 | similarly I can write a small element to use extract | 15:01 |
esha1 | for ubuntu 18.04 | 15:01 |
esha1 | what does extract do? | 15:02 |
esha1 | uses rpms inside the tar right? | 15:02 |
esha1 | the tar here is .img from cloud image | 15:02 |
clarkb | diskimage_builder/elements/redhat-common/bin/extract-image is the script | 15:05 |
*** andreas_s has quit IRC | 15:06 | |
esha1 | $TMP_HOOKS_PATH/bin/extract-image $BASE_IMAGE_FILE $BASE_IMAGE_TAR $IMAGE_LOCATION $CACHED_IMAGE | 15:20 |
clarkb | esha1: yup that script is at the path I linked above so you can see how it works | 15:20 |
esha1 | diskimage_builder/elements/centos7/root.d/10-centos7-cloud-image | 15:20 |
esha1 | oh ok | 15:21 |
esha1 | sure | 15:21 |
*** rajinir has joined #openstack-dib | 15:26 | |
esha1 | while 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 IRC | 15:32 | |
johnsom | Any comments on: https://review.openstack.org/#/c/562055/ | 15:34 |
clarkb | esha1: you'l want to put the new dir in your elements path | 16:19 |
clarkb | esha1: which you can update to point to the new dir location or just add the new dir to the existing elements path | 16:19 |
esha1 | oh ok | 16:19 |
esha1 | there might be some issues here as rhel uses yum and ubuntu uses apt-get install | 16:19 |
esha1 | so I am trying to figure the steps | 16:19 |
*** Phuongnh has joined #openstack-dib | 16:20 | |
esha1 | qemu-img convert should convert .img/.qcow2 to .raw | 16:20 |
esha1 | then next is how to mount and use this raw such that I can install the OS | 16:21 |
Phuongnh | Hi all, Hieu has just commented on patchset: https://review.openstack.org/#/c/542708 . Please have a look and give us comments. | 16:23 |
clarkb | johnsom: done | 16:23 |
johnsom | Thanks! | 16:23 |
openstackgerrit | Michael Johnson proposed openstack/diskimage-builder master: Add pip cache cleanup to pip-and-virtualenv https://review.openstack.org/562055 | 16:31 |
johnsom | Yep, good comments. Done | 16:31 |
*** prometheanfire has joined #openstack-dib | 16:36 | |
*** Phuongnh has quit IRC | 16:42 | |
*** prometheanfire has quit IRC | 17:06 | |
openstackgerrit | Oded Le'Sage proposed openstack/diskimage-builder master: Fixes add-apt-keys in dpkg element https://review.openstack.org/565599 | 17:07 |
*** hashar has joined #openstack-dib | 17:15 | |
*** hashar is now known as hasharBBQ | 17:23 | |
inc0 | hello everyone, halp plz http://paste.ubuntu.com/p/HKtfZ62VmV/ | 17:35 |
inc0 | basically I'm trying to build dib image in docker, it used to work | 17:35 |
inc0 | steps to reproduce: https://github.com/inc0/lithium -> docker-compose up | 17:35 |
inc0 | this is call I'm making https://github.com/inc0/lithium/blob/master/dib-ubuntu/start.sh , both ubuntu and centos fails | 17:36 |
clarkb | inc0: 'target is busy' is the key there | 17:41 |
clarkb | inc0: do you have an element that ends up running a process that holds files open? | 17:42 |
clarkb | inc0: you might try adding a ps and lsof to your build to check | 17:42 |
inc0 | sure, let me try it | 17:42 |
clarkb | but basically my understadning of that is unmount fails because the disk is in use (eg something is holding files open) | 17:42 |
inc0 | right, I'm just trying to figure out what, since it's fresh container (also tested on 2 separate machines) | 17:44 |
clarkb | inc0: 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 IRC | 18:00 | |
*** eshas has joined #openstack-dib | 18:19 | |
*** EranBD has joined #openstack-dib | 18:46 | |
*** mjturek has quit IRC | 19:05 | |
*** mjturek has joined #openstack-dib | 19:14 | |
inc0 | clarkb: so bootloader element seems to break it | 19:22 |
clarkb | inc0: it is leaking a file handle? | 19:23 |
inc0 | so lsof didn't show anyting, but I've hacked umount -l there and bootloader failed, I tried to run dib without bootloader and it works | 19:25 |
inc0 | so yeah, I guess it doesn't close file correctly somewhere | 19:26 |
*** eshas has quit IRC | 19:26 | |
clarkb | you 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 |
inc0 | http://paste.ubuntu.com/p/HKtfZ62VmV/ line 2901 | 19:30 |
inc0 | I think that's the issue | 19:30 |
inc0 | umount thing is just failure in post-error cleanup | 19:30 |
clarkb | inc0: 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 |
clarkb | inc0: try specifying block-device-mbr and see if that fixes it? | 19:33 |
inc0 | instead of bootloader? | 19:33 |
clarkb | in addition to bootloader | 19:33 |
clarkb | inc0: or replace bootloader with vm? | 19:33 |
clarkb | I think the vm element really means install abootloader iirc | 19:34 |
clarkb | ya vm should work I think | 19:34 |
inc0 | well bootloader + block-device-mbr also worked | 19:37 |
clarkb | ya I think vm is the thing that ties those two together by default | 19:38 |
*** hasharBBQ has quit IRC | 19:38 | |
clarkb | so fi you don't vm then you need to construct that yourself. Probably worth a dock update to bootloader readme if not there already | 19:38 |
inc0 | that being mbr | 19:39 |
inc0 | ? | 19:39 |
inc0 | mbr element that is | 19:39 |
clarkb | one of the three block-device-* options yes | 19:39 |
clarkb | mbr is default | 19:39 |
clarkb | or is VMs default aiui | 19:39 |
openstackgerrit | Roman Gorshunov proposed openstack/diskimage-builder master: FIX: find: 'Permission denied' on certain images https://review.openstack.org/567379 | 19:45 |
inc0 | thanks a lot clarkb | 19:51 |
*** mjturek has quit IRC | 20:02 | |
*** prometheanfire has joined #openstack-dib | 20:09 | |
*** mjturek has joined #openstack-dib | 20:14 | |
*** mjturek has quit IRC | 20:15 | |
*** mjturek has joined #openstack-dib | 20:15 | |
*** lesage has joined #openstack-dib | 20:23 | |
lesage | can anyone help me understand why this is failing https://review.openstack.org/#/c/565599/2 | 20:23 |
*** mjturek has quit IRC | 20:26 | |
*** mjturek has joined #openstack-dib | 20:31 | |
*** mjturek has quit IRC | 20:33 | |
clarkb | lesage: I think the suse job is known to not be currently working | 20:45 |
clarkb | lesage: ianw should be awake soon and if he is onboard maybe we just make that job nonvoting | 20:45 |
lesage | ok thanks, figured it was something i couldn't fix | 20:47 |
*** mjturek has joined #openstack-dib | 20:57 | |
*** prometheanfire has quit IRC | 21:02 | |
*** mjturek has quit IRC | 21:03 | |
*** prometheanfire has joined #openstack-dib | 21:41 | |
*** prometheanfire has quit IRC | 21:45 | |
*** prometheanfire has joined #openstack-dib | 22:02 | |
*** vmlinuz has quit IRC | 22:04 | |
*** zigo has quit IRC | 22:11 | |
*** zigo has joined #openstack-dib | 22:11 | |
*** prometheanfire has quit IRC | 22:15 | |
*** prometheanfire has joined #openstack-dib | 22:43 | |
*** EranBD has quit IRC | 22:47 | |
*** prometheanfire has quit IRC | 22:47 | |
*** prometheanfire has joined #openstack-dib | 22:48 | |
*** mjturek has joined #openstack-dib | 22:57 | |
*** andreas_s has joined #openstack-dib | 22:57 | |
*** mjturek has quit IRC | 22:59 | |
*** andreas_s has quit IRC | 23:01 | |
ianw | clarkb / lesage : hey, sorry, running late today :) | 23:02 |
clarkb | ianw: tldr is should we make the suse job nonvoting until glean works again | 23:04 |
ianw | clarkb: ok, yeah i hadn't looked into that. do we know what the issue is? | 23:08 |
clarkb | ianw: I think pabelanger tracked it as far as glean not configuring the interfaces so ssh never works | 23:09 |
clarkb | dirk was going to look at it I think | 23:09 |
*** prometheanfire has quit IRC | 23:09 | |
ianw | urgh :/ it's probably better to move to experimental because it will just constantly time out the runs | 23:10 |
ianw | i think gentoo is in a similar situation atm | 23:10 |
clarkb | thats a good point | 23:10 |
ianw | the 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 around | 23:12 |
*** prometheanfire has joined #openstack-dib | 23:39 | |
*** prometheanfire has quit IRC | 23:43 | |
ianw | clarkb: do you know if there's a lp/sb issue for suse glean? | 23:54 |
clarkb | I dont. pabelanger was looking at it | 23:57 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!