*** vmlinuz has quit IRC | 00:14 | |
*** Sukhdev has quit IRC | 00:42 | |
*** phuongnh has joined #openstack-dib | 01:08 | |
*** phuongnh has quit IRC | 02:23 | |
*** phuongnh has joined #openstack-dib | 02:24 | |
*** teddy_ has joined #openstack-dib | 03:24 | |
teddy_ | hello | 03:24 |
---|---|---|
teddy_ | Dose DIB support build CentOS 6 image? | 03:24 |
*** linhnm has joined #openstack-dib | 03:33 | |
linhnm | hi | 03:50 |
*** teddy_ has quit IRC | 03:50 | |
*** linhnm has quit IRC | 03:53 | |
*** linhnm has joined #openstack-dib | 03:54 | |
*** linhnm has left #openstack-dib | 04:25 | |
*** Trieu-Van has joined #openstack-dib | 04:26 | |
*** Trieu-Van has quit IRC | 04:32 | |
*** linhnm has joined #openstack-dib | 04:32 | |
*** linhnm has quit IRC | 04:37 | |
*** linhnm has joined #openstack-dib | 04:38 | |
*** chhagarw has joined #openstack-dib | 04:54 | |
*** linhnm has quit IRC | 05:04 | |
*** linhnm has joined #openstack-dib | 05:26 | |
*** linhnm has quit IRC | 05:56 | |
*** linhnm has joined #openstack-dib | 06:22 | |
*** andreas_s has joined #openstack-dib | 06:34 | |
*** phuongnh has quit IRC | 06:54 | |
*** phuongnh has joined #openstack-dib | 06:55 | |
*** brault has quit IRC | 07:01 | |
*** brault has joined #openstack-dib | 07:06 | |
*** pmannidi has quit IRC | 07:22 | |
*** andreas__ has joined #openstack-dib | 07:33 | |
*** linhnm has quit IRC | 07:36 | |
*** andreas_s has quit IRC | 07:36 | |
*** andreas__ has quit IRC | 07:37 | |
*** andreas_s has joined #openstack-dib | 07:43 | |
*** andreas_s has quit IRC | 08:03 | |
*** andreas_s has joined #openstack-dib | 08:04 | |
*** andreas_s has quit IRC | 08:12 | |
*** andreas_s has joined #openstack-dib | 08:13 | |
*** dhill_ has quit IRC | 08:15 | |
*** andreas_s has quit IRC | 08:20 | |
*** andreas_s has joined #openstack-dib | 08:20 | |
*** andreas_s has quit IRC | 08:25 | |
*** andreas_s has joined #openstack-dib | 08:25 | |
*** andreas_s has quit IRC | 08:30 | |
*** andreas_s_ has joined #openstack-dib | 08:32 | |
*** andreas_s_ has quit IRC | 08:32 | |
*** andreas_s_ has joined #openstack-dib | 08:33 | |
*** linhnm has joined #openstack-dib | 09:11 | |
*** phuongnh has quit IRC | 09:17 | |
*** linhnm has quit IRC | 09:42 | |
*** andreas_s_ has quit IRC | 12:07 | |
*** andreas_s has joined #openstack-dib | 12:07 | |
*** andreas_s_ has joined #openstack-dib | 12:09 | |
*** andreas_s_ has quit IRC | 12:10 | |
*** andreas_s_ has joined #openstack-dib | 12:11 | |
*** andreas_s_ has quit IRC | 12:12 | |
*** andreas_s has quit IRC | 12:12 | |
*** andreas_s_ has joined #openstack-dib | 12:12 | |
*** roman_g has joined #openstack-dib | 12:23 | |
roman_g | Hello 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_g | Thanks. | 12:26 |
*** jesusaur has quit IRC | 12:57 | |
*** jesusaur has joined #openstack-dib | 13:05 | |
*** dhill_ has joined #openstack-dib | 13:16 | |
*** mjturek has joined #openstack-dib | 13:28 | |
*** vmlinuz has joined #openstack-dib | 14:02 | |
*** rajinir has joined #openstack-dib | 14:20 | |
openstackgerrit | Doug Szumski proposed openstack/diskimage-builder master: Remove duplicate GRUB command line entry https://review.openstack.org/568600 | 14:32 |
*** dougsz has joined #openstack-dib | 14:32 | |
*** andreas_s_ has quit IRC | 15:13 | |
*** andreas_s has joined #openstack-dib | 15:18 | |
*** andreas_s_ has joined #openstack-dib | 15:25 | |
*** andreas_s has quit IRC | 15:27 | |
*** andreas_s_ has quit IRC | 15:30 | |
*** andreas_s has joined #openstack-dib | 15:37 | |
*** dlbewley has joined #openstack-dib | 15:46 | |
*** andreas_s has quit IRC | 15:51 | |
dlbewley | I 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_g | Provide more logs, please | 16:19 |
roman_g | And what is RAM size ov server on which you are building image? | 16:20 |
roman_g | *of | 16:20 |
roman_g | Some builds use RAM disks, so having >4GB RAM is always good. | 16:21 |
roman_g | If 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 space | 16:22 |
roman_g | Highlight ianw | 16:23 |
roman_g | Ian, can you check my patch above, please? Or provide good advice on to whom to talk to get patch set reviewed/merged. | 16:23 |
dlbewley | roman_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 distro | 16:55 |
roman_g | Or rather `virtualenv ~/dib-virtualenv; . ~/dib-virtualenv/bin/activate; pip install diskimage-builder` | 16:57 |
*** dougsz has quit IRC | 16:58 | |
roman_g | Or `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 IRC | 17:09 | |
*** chhagarw has quit IRC | 17:15 | |
dlbewley | roman_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-dib | 17:20 | |
roman_g | dlbewley, do you have RHEL? | 17:21 |
dlbewley | Doing `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 |
dlbewley | Yes | 17:21 |
roman_g | Easiest way for you is just to create support ticket, and good Red Hat guys/ladies will fix it for you. | 17:22 |
roman_g | Second option is to create bug report with logs on launchpad. | 17:23 |
roman_g | Third option is to debug yourself. | 17:23 |
*** mjturek has quit IRC | 17:24 | |
roman_g | Seems that some packages have been renamed between 7.4 and 7.5, and it confuses diskimage_builder/elements/pkg-map | 17:32 |
roman_g | but again, this is plain guess, as you don't provide logs | 17:32 |
dlbewley | new 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 |
dlbewley | bottom of output from disk-image-create https://pastebin.com/Gn1fYP5K | 18:01 |
roman_g | Clean cache before rebuild (rm -rf ~/.cache/image-create/), and try to rebuild with --image-size 10 parameter to disk-image-create | 18:21 |
roman_g | Also, confirm that you are building on Ramdisk, and not in tmp | 18:22 |
roman_g | Highlight 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 |
cmurphy | once again foiled by git blame | 18:36 |
roman_g | correct | 18:37 |
roman_g | Your name is from git blame | 18:37 |
dlbewley | roman_g: using `--size 10` worked | 19:31 |
roman_g | good | 19:31 |
dlbewley | Without that option the 7.4 raw image is 2.2G. with the option the 7.5 raw image is 10G | 19:31 |
roman_g | Anyway, report to red hat support, please. At least they will publish knowledgebase article. | 19:32 |
roman_g | try to play with this option, 10G is probably overkill | 19:32 |
dlbewley | Does it seem like the qcow image is mounted and has only limited free space available? | 19:32 |
dlbewley | the 7.5 image starts out about 20% larger than the 7.4 image. I will do a support case btw | 19:33 |
roman_g | process 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_g | So probably default size of that loop device is not big enouth | 19:35 |
dlbewley | i see | 19:35 |
roman_g | to fit yum needs, when it is run very first time inside that temporary image | 19:36 |
roman_g | *enough | 19:36 |
roman_g | run qemu-img info against 7.4 and 7.5 images, and compare real size of image | 19:37 |
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 name | 19:38 |
roman_g | on the other hand, since you are on red hat, you have virt-customize command, which does +/- the same as disk-image-create, but way simplier | 19:39 |
roman_g | Give it a try. | 19:39 |
roman_g | It's in libguestfs-tools package | 19: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 name | 19:41 |
roman_g | This command is also in libguestfs-tools package | 19:41 |
roman_g | command is virt-filesystems | 19:43 |
dlbewley | fwiw 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_g | Also virt-list-filesystems, virt-list-partitions, virt-sparsify, virt-inspector | 19:44 |
dlbewley | virt-customize is probably a good idea for what i'm doing here. that and qemu-image convert. | 19:45 |
roman_g | dlbewley , true. Should be like that | 19:45 |
dlbewley | many thanks roman_g | 19:45 |
roman_g | NP | 19:45 |
*** mjturek has joined #openstack-dib | 20:36 | |
*** mjturek has quit IRC | 20:50 | |
*** vmlinuz has quit IRC | 20:53 | |
*** inc0 has quit IRC | 21:02 | |
roman_g | cmurphy , my bad, I was mixing old and patched versions. Abandoned patch set. Thanks for your patch! | 21:02 |
cmurphy | roman_g: haha glad to hear it :) | 21:03 |
openstackgerrit | Roman Gorshunov proposed openstack/diskimage-builder master: Allow to rebuild arbitrary images https://review.openstack.org/568697 | 21:17 |
*** inc0 has joined #openstack-dib | 21:31 | |
*** inc0 has quit IRC | 21:31 | |
*** dhill_ has quit IRC | 22:10 | |
*** andreas_s has joined #openstack-dib | 22:14 | |
*** andreas_s has quit IRC | 22:18 | |
*** pmannidi has joined #openstack-dib | 22:40 | |
dlbewley | i 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!