Wednesday, 2018-06-06

*** yolanda_ has joined #openstack-dib01:56
*** yolanda_ has quit IRC01:57
*** yolanda_ has joined #openstack-dib01:58
*** yolanda has quit IRC01:59
*** rajinir has quit IRC03:11
*** chhagarw has joined #openstack-dib05:27
*** openstackgerrit has joined #openstack-dib06:06
openstackgerritMerged openstack/diskimage-builder master: Added release notes for Change 568697  https://review.openstack.org/57097806:06
openstackgerritMerged openstack/diskimage-builder master: Use surrogateescape with outfilter.py  https://review.openstack.org/57048906:20
openstackgerritMerged openstack/diskimage-builder master: Reduce path length in PS4 for debug  https://review.openstack.org/57028206:20
*** andreas_s has joined #openstack-dib06:29
openstackgerritMerged openstack/diskimage-builder master: Save and close stdout on exit  https://review.openstack.org/57009406:30
*** brault has joined #openstack-dib06:33
*** brault has quit IRC06:37
*** brault has joined #openstack-dib06:58
*** brault has quit IRC07:14
trungnv_please help me clarify following issue ALERT!  LABEL=cloudimg-rootfs does not exist.  Dropping to a shell!07:18
*** openstackgerrit has quit IRC07:19
ianwtrungnv_: by default the kernel cmd line specifies the boot label, and the partition is labeled "cloudimg-rootfs"07:36
ianwfor some reason that must be missing07:36
*** brault has joined #openstack-dib07:57
*** brault has quit IRC07:57
*** brault has joined #openstack-dib07:58
*** openstackgerrit has joined #openstack-dib07:58
openstackgerritMerged openstack/diskimage-builder master: Fix encoding issue during processing output  https://review.openstack.org/54895807:58
*** dougsz has joined #openstack-dib08:10
*** brault has quit IRC08:13
trungnv_ianw, please give me some suggestion to check via LOG or something like that?08:22
trungnv_I am trying create ubuntu image with following cmd "disk-image-create ubuntu vm devuser cloud-init-datasources dhcp-all-interfaces iscsi-boot block-device-efi -o ubuntu-iscsi"08:24
trungnv_Then I got ubuntu-iscsi.qcow2 image08:24
*** brault has joined #openstack-dib08:39
trungnv_ianw, any suggestion for me?08:39
trungnv_cat /proc/cmdline >> BOOT_IMAGE=/boot/vmlinuz-4.4.0-127-generic root=LABEL=cloudimg-rootfs ro nofb nomodeset vga=normal console=tty1 console=ttyS008:40
trungnv_Why they don't set root=<UUID number>08:41
ianwtrungvn_: why are you using block-device-efi?  is that really what you want?09:06
*** andreas_s has quit IRC09:08
*** andreas_s has joined #openstack-dib09:17
ianwotherwise maybe run with -x --logfile=logfile.txt and you can file a bug and attach that for us to look at09:19
trungnv_ianw, I want to boot UEFI mode thus I have used  block-device-efi element.09:23
trungnv_where I put above command for logs?09:23
*** andreas_s has quit IRC09:24
*** andreas_s has joined #openstack-dib09:24
trungnv_Is it during create image via DIB?09:25
ianwyes on the command line09:26
ianwuefi on x86?09:26
ianwthat is not well tested, so there may be issues09:26
ianwespecially with iscsi etc09:27
trungnv_oh.09:28
trungnv_I boot with iscsi via iPXE from Ironic09:29
ianwhmm, i'm afraid i have very little experience with that side of things09:30
trungnv_ianw, Do you know why cloudimg-rootfs cannot found?09:41
ianwtrungnv_: two thoughts are the file system isn't labeled correctly09:49
ianwor, i've seen this before when the initramfs isn't correct.  mounting by LABEL= requires the initramfs, the kernel alone doesn't do it09:50
ianwif you change the command line to root=/dev/sda1 or something like that, it *might* start working and that would be a clue that it's an issue there09:50
trungnv_how to change? and I should change in /proc/cmdline. is right?09:51
ianwno, you would have to interrupt grub and change it before boot09:53
*** andreas_s has quit IRC09:53
*** andreas_s has joined #openstack-dib09:54
trungnv_Sould I change in 51-bootloader in DIB?09:54
trungnv_APPEND ro root=LABEL=${DIB_ROOT_LABEL} console=tty0 console=${SERIAL_CONSOLE} nofb nomodeset vga=normal09:55
ianwthere is actually a flag --root-label= you can pass on the command line09:57
ianw*maybe* if you override this to /dev/sda1 (or whatever your root disk is)09:58
ianwit's just a guess09:58
trungnv_Yep. thanks.09:59
trungnv_if this change is well then should we have some change in DIB commit?10:00
*** andreas_s has quit IRC10:01
*** andreas_s has joined #openstack-dib10:01
ianwprobably not, but it would indicate that the initramfs isn't being created or used properly10:07
*** andreas_s has quit IRC10:28
*** andreas_s has joined #openstack-dib10:28
*** andreas_s has quit IRC10:37
*** andreas_s has joined #openstack-dib10:46
*** andreas_s has quit IRC10:59
*** yolanda_ has quit IRC11:00
*** yolanda_ has joined #openstack-dib11:00
*** andreas_s has joined #openstack-dib11:08
*** brault has quit IRC11:19
*** chhagarw has quit IRC11:58
*** brault has joined #openstack-dib12:04
*** andreas_s has quit IRC12:41
*** andreas_s has joined #openstack-dib12:41
*** chhagarw has joined #openstack-dib12:50
*** mjturek has joined #openstack-dib13:21
*** roman_g has joined #openstack-dib13:27
roman_gianw: thank you for review/merge13:27
*** dougsz has left #openstack-dib14:22
*** sambetts|afk is now known as sambetts14:31
sambettsianw: Hi are you around?14:32
sambettsianw: I have a question about this fix for centos7 in DIB https://github.com/openstack/diskimage-builder/commit/abd63b01aac585d12eefcc5506065652a26243bb#diff-396e45279f35b507b0fde779d62b8cf914:32
sambettsianw: I'm still seeing failures building images because the rpm query seems to only work if python2-setuptools is already installed, but its not installed yet because this element is the one installing it14:33
*** rajinir has joined #openstack-dib15:29
trungnv_ianw, Thank you for your help. But I still hit same issue with /dev/sda1. I were try access into /dev in initramfs then cannot see sda in there.15:40
trungnv_How about set root with UUID? How to know UUID of OS?15:41
clarkbsambetts: if I had to guess that script runs in install.d with priority of 04 and whatever is installing rdo and python2-setuptools is installing with a higher priority (so happens later)15:41
sambettsclarkb: that script itself actually is the thing installing python2-setuptool later on15:42
clarkbah15:42
sambettsclarkb: its failing building the list of things to install15:42
sambettsbecause it needs to be installed to build the list to install *face plam*15:42
clarkbah right it is building the list to install then installing them later15:42
clarkbsambetts: terrible idea that needs testing, yum has a behavior (which we should reconfirm) where if you install more than one pacakge listed on the install command and any one of them succeeds the yum process is considered to succeed. We could abuse this to install python2-setuptools and python-setuptools always possibly15:45
clarkbthen if you have rdo it should figure out that python2-setuptools is what it wants and if not that python-setuptools is what it wants15:46
clarkbbut this will need testing15:46
*** andreas_s has quit IRC15:48
*** roman_g has quit IRC15:53
*** roman_g has joined #openstack-dib15:55
*** roman_g has quit IRC16:12
*** brault has quit IRC16:55
*** chhagarw has quit IRC17:37
*** rajinir has quit IRC18:29
*** sambetts is now known as sambetts|afk18:38
*** rajinir has joined #openstack-dib19:18
*** pmannidi has joined #openstack-dib22:39
*** rajinir has quit IRC23:09

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