Tuesday, 2018-05-15

*** vmlinuz has quit IRC00:14
*** Sukhdev has quit IRC00:42
*** phuongnh has joined #openstack-dib01:08
*** phuongnh has quit IRC02:23
*** phuongnh has joined #openstack-dib02:24
*** teddy_ has joined #openstack-dib03:24
teddy_hello03:24
teddy_Dose DIB support build CentOS 6 image?03:24
*** linhnm has joined #openstack-dib03:33
linhnmhi03:50
*** teddy_ has quit IRC03:50
*** linhnm has quit IRC03:53
*** linhnm has joined #openstack-dib03:54
*** linhnm has left #openstack-dib04:25
*** Trieu-Van has joined #openstack-dib04:26
*** Trieu-Van has quit IRC04:32
*** linhnm has joined #openstack-dib04:32
*** linhnm has quit IRC04:37
*** linhnm has joined #openstack-dib04:38
*** chhagarw has joined #openstack-dib04:54
*** linhnm has quit IRC05:04
*** linhnm has joined #openstack-dib05:26
*** linhnm has quit IRC05:56
*** linhnm has joined #openstack-dib06:22
*** andreas_s has joined #openstack-dib06:34
*** phuongnh has quit IRC06:54
*** phuongnh has joined #openstack-dib06:55
*** brault has quit IRC07:01
*** brault has joined #openstack-dib07:06
*** pmannidi has quit IRC07:22
*** andreas__ has joined #openstack-dib07:33
*** linhnm has quit IRC07:36
*** andreas_s has quit IRC07:36
*** andreas__ has quit IRC07:37
*** andreas_s has joined #openstack-dib07:43
*** andreas_s has quit IRC08:03
*** andreas_s has joined #openstack-dib08:04
*** andreas_s has quit IRC08:12
*** andreas_s has joined #openstack-dib08:13
*** dhill_ has quit IRC08:15
*** andreas_s has quit IRC08:20
*** andreas_s has joined #openstack-dib08:20
*** andreas_s has quit IRC08:25
*** andreas_s has joined #openstack-dib08:25
*** andreas_s has quit IRC08:30
*** andreas_s_ has joined #openstack-dib08:32
*** andreas_s_ has quit IRC08:32
*** andreas_s_ has joined #openstack-dib08:33
*** linhnm has joined #openstack-dib09:11
*** phuongnh has quit IRC09:17
*** linhnm has quit IRC09:42
*** andreas_s_ has quit IRC12:07
*** andreas_s has joined #openstack-dib12:07
*** andreas_s_ has joined #openstack-dib12:09
*** andreas_s_ has quit IRC12:10
*** andreas_s_ has joined #openstack-dib12:11
*** andreas_s_ has quit IRC12:12
*** andreas_s has quit IRC12:12
*** andreas_s_ has joined #openstack-dib12:12
*** roman_g has joined #openstack-dib12:23
roman_gHello all. Who would be a good contact to add as a reviewer for the patch set for openstack/diskimage-builder project https://review.openstack.org/#/c/567379/ - a small fix in file diskimage_builder/elements/dpkg/root.d/50-block-apt-translations ?12:26
roman_gThanks.12:26
*** jesusaur has quit IRC12:57
*** jesusaur has joined #openstack-dib13:05
*** dhill_ has joined #openstack-dib13:16
*** mjturek has joined #openstack-dib13:28
*** vmlinuz has joined #openstack-dib14:02
*** rajinir has joined #openstack-dib14:20
openstackgerritDoug Szumski proposed openstack/diskimage-builder master: Remove duplicate GRUB command line entry  https://review.openstack.org/56860014:32
*** dougsz has joined #openstack-dib14:32
*** andreas_s_ has quit IRC15:13
*** andreas_s has joined #openstack-dib15:18
*** andreas_s_ has joined #openstack-dib15:25
*** andreas_s has quit IRC15:27
*** andreas_s_ has quit IRC15:30
*** andreas_s has joined #openstack-dib15:37
*** dlbewley has joined #openstack-dib15:46
*** andreas_s has quit IRC15:51
dlbewleyI can build a RHEL-7.4 image starting with the cloud image as a base. When I try 7.5 I get a sqllitecachec.py error `TypeError: Can not create providesname index: database or disk is full`. I am not out of space.16:05
roman_gProvide more logs, please16:19
roman_gAnd what is RAM size ov server on which you are building image?16:20
roman_g*of16:20
roman_gSome builds use RAM disks, so having >4GB RAM is always good.16:21
roman_gIf there is not enough RAM, build is running in /tmp, which can fill up very quickly during build phase, and then it is freed on build completion (failure), so that you might not notice that there is lack of space16:22
roman_gHighlight ianw16:23
roman_gIan, can you check my patch above, please? Or provide good advice on to whom to talk to get patch set reviewed/merged.16:23
dlbewleyroman_g: I have 16G ram, and 100Gs free. Feels like a max sqllite file size or something. More pkgs in 7.5? I'm working on getting access to a later version of diskimage-builder to try.16:53
roman_g`pip install diskimage-builder` will get you later version than what you have as rpm package in your distro16:55
roman_gOr rather `virtualenv ~/dib-virtualenv; . ~/dib-virtualenv/bin/activate; pip install diskimage-builder`16:57
*** dougsz has quit IRC16:58
roman_gOr `mkdir dib; cd dib; virtualenv env; . env/bin/activate; git clone https://git.openstack.org/openstack/diskimage-builder; cd diskimage-builder; pip install -e .`17:00
*** yolanda_ has quit IRC17:09
*** chhagarw has quit IRC17:15
dlbewleyroman_g: I tried the latter, have a diff error to investigate which is impacting 7.4 and 7.5: 'Missing package name for distro/element: rhel7/base', 'bin/pkg-map error'.17:18
*** yolanda_ has joined #openstack-dib17:20
roman_gdlbewley, do you have RHEL?17:21
dlbewleyDoing `disk-image-create px_ssl motd rhel7 vm px_kernel -t raw -o rhel-7.4.raw`. px_ssl installs katello ca cert over HTTP, px_kernel updates firmware for use with Ironic.17:21
dlbewleyYes17:21
roman_gEasiest way for you is just to create support ticket, and good Red Hat guys/ladies will fix it for you.17:22
roman_gSecond option is to create bug report with logs on launchpad.17:23
roman_gThird option is to debug yourself.17:23
*** mjturek has quit IRC17:24
roman_gSeems that some packages have been renamed between 7.4 and 7.5, and it confuses diskimage_builder/elements/pkg-map17:32
roman_gbut again, this is plain guess, as you don't provide logs17:32
dlbewleynew error was caused by my failure to update elements path. 7.4 builds now. 7.5 fails similarly. i will make some logs.17:58
dlbewleybottom of output from disk-image-create https://pastebin.com/Gn1fYP5K18:01
roman_gClean cache before rebuild (rm -rf ~/.cache/image-create/), and try to rebuild with --image-size 10 parameter to disk-image-create18:21
roman_gAlso, confirm that you are building on Ramdisk, and not in tmp18:22
roman_gHighlight cmurphy: I have added you as a reviewer for the patch set for openstack/diskimage-builder project https://review.openstack.org/#/c/567379/ - a small fix in file diskimage_builder/elements/dpkg/root.d/50-block-apt-translations (you were authoring this code previously).18:30
cmurphyonce again foiled by git blame18:36
roman_gcorrect18:37
roman_gYour name is from git blame18:37
dlbewleyroman_g: using `--size 10` worked19:31
roman_ggood19:31
dlbewleyWithout that option the 7.4 raw image is 2.2G. with the option the 7.5 raw image is 10G19:31
roman_gAnyway, report to red hat support, please. At least they will publish knowledgebase article.19:32
roman_gtry to play with this option, 10G is probably overkill19:32
dlbewleyDoes it seem like the qcow image is mounted and has only limited free space available?19:32
dlbewleythe 7.5 image starts out about 20% larger than the 7.4 image. I will do a support case btw19:33
roman_gprocess is the following: loop device is created, formatted, mounted, tar archive of base system is unpacked onto FS on loop device, customization is made, and then image of FS is captured into cow image.19:35
roman_gSo probably default size of that loop device is not big enouth19:35
dlbewleyi see19:35
roman_gto fit yum needs, when it is run very first time inside that temporary image19:36
roman_g*enough19:36
roman_grun qemu-img info against 7.4 and 7.5 images, and compare real size of image19:37
roman_gAnd there was another command.... It kinda inflated image with a file with zeroes, and then removed that file and compressed image. Forgot it's name19:38
roman_gon the other hand, since you are on red hat, you have virt-customize command, which does +/- the same as disk-image-create, but way simplier19:39
roman_gGive it a try.19:39
roman_gIt's in libguestfs-tools package19:40
roman_g> And there was another command.... It kinda inflated image with a file with zeroes, and then removed that file and compressed image. Forgot it's name19:41
roman_gThis command is also in libguestfs-tools package19:41
roman_gcommand is virt-filesystems19:43
dlbewleyfwiw the 7.4-kvm and 7.5-kvm images from access.redhat both have virtual size of 10G. i'm using raw so i can use the same image on Nova with RBD snapshots.19:43
roman_gAlso virt-list-filesystems, virt-list-partitions, virt-sparsify, virt-inspector19:44
dlbewleyvirt-customize is probably a good idea for what i'm doing here. that and qemu-image convert.19:45
roman_gdlbewley , true. Should be like that19:45
dlbewleymany thanks roman_g19:45
roman_gNP19:45
*** mjturek has joined #openstack-dib20:36
*** mjturek has quit IRC20:50
*** vmlinuz has quit IRC20:53
*** inc0 has quit IRC21:02
roman_gcmurphy , my bad, I was mixing old and patched versions. Abandoned patch set. Thanks for your patch!21:02
cmurphyroman_g: haha glad to hear it :)21:03
openstackgerritRoman Gorshunov proposed openstack/diskimage-builder master: Allow to rebuild arbitrary images  https://review.openstack.org/56869721:17
*** inc0 has joined #openstack-dib21:31
*** inc0 has quit IRC21:31
*** dhill_ has quit IRC22:10
*** andreas_s has joined #openstack-dib22:14
*** andreas_s has quit IRC22:18
*** pmannidi has joined #openstack-dib22:40
dlbewleyi guess the reason i can't use virt-customize to add the kernel-firmware is there is no analog to the `rhel-common` element that registers me to Satellite.23:01

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