*** yolanda_ has joined #openstack-dib | 01:56 | |
*** yolanda_ has quit IRC | 01:57 | |
*** yolanda_ has joined #openstack-dib | 01:58 | |
*** yolanda has quit IRC | 01:59 | |
*** rajinir has quit IRC | 03:11 | |
*** chhagarw has joined #openstack-dib | 05:27 | |
*** openstackgerrit has joined #openstack-dib | 06:06 | |
openstackgerrit | Merged openstack/diskimage-builder master: Added release notes for Change 568697 https://review.openstack.org/570978 | 06:06 |
---|---|---|
openstackgerrit | Merged openstack/diskimage-builder master: Use surrogateescape with outfilter.py https://review.openstack.org/570489 | 06:20 |
openstackgerrit | Merged openstack/diskimage-builder master: Reduce path length in PS4 for debug https://review.openstack.org/570282 | 06:20 |
*** andreas_s has joined #openstack-dib | 06:29 | |
openstackgerrit | Merged openstack/diskimage-builder master: Save and close stdout on exit https://review.openstack.org/570094 | 06:30 |
*** brault has joined #openstack-dib | 06:33 | |
*** brault has quit IRC | 06:37 | |
*** brault has joined #openstack-dib | 06:58 | |
*** brault has quit IRC | 07:14 | |
trungnv_ | please help me clarify following issue ALERT! LABEL=cloudimg-rootfs does not exist. Dropping to a shell! | 07:18 |
*** openstackgerrit has quit IRC | 07:19 | |
ianw | trungnv_: by default the kernel cmd line specifies the boot label, and the partition is labeled "cloudimg-rootfs" | 07:36 |
ianw | for some reason that must be missing | 07:36 |
*** brault has joined #openstack-dib | 07:57 | |
*** brault has quit IRC | 07:57 | |
*** brault has joined #openstack-dib | 07:58 | |
*** openstackgerrit has joined #openstack-dib | 07:58 | |
openstackgerrit | Merged openstack/diskimage-builder master: Fix encoding issue during processing output https://review.openstack.org/548958 | 07:58 |
*** dougsz has joined #openstack-dib | 08:10 | |
*** brault has quit IRC | 08: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 image | 08:24 |
*** brault has joined #openstack-dib | 08: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=ttyS0 | 08:40 |
trungnv_ | Why they don't set root=<UUID number> | 08:41 |
ianw | trungvn_: why are you using block-device-efi? is that really what you want? | 09:06 |
*** andreas_s has quit IRC | 09:08 | |
*** andreas_s has joined #openstack-dib | 09:17 | |
ianw | otherwise maybe run with -x --logfile=logfile.txt and you can file a bug and attach that for us to look at | 09: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 IRC | 09:24 | |
*** andreas_s has joined #openstack-dib | 09:24 | |
trungnv_ | Is it during create image via DIB? | 09:25 |
ianw | yes on the command line | 09:26 |
ianw | uefi on x86? | 09:26 |
ianw | that is not well tested, so there may be issues | 09:26 |
ianw | especially with iscsi etc | 09:27 |
trungnv_ | oh. | 09:28 |
trungnv_ | I boot with iscsi via iPXE from Ironic | 09:29 |
ianw | hmm, i'm afraid i have very little experience with that side of things | 09:30 |
trungnv_ | ianw, Do you know why cloudimg-rootfs cannot found? | 09:41 |
ianw | trungnv_: two thoughts are the file system isn't labeled correctly | 09:49 |
ianw | or, i've seen this before when the initramfs isn't correct. mounting by LABEL= requires the initramfs, the kernel alone doesn't do it | 09:50 |
ianw | if 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 there | 09:50 |
trungnv_ | how to change? and I should change in /proc/cmdline. is right? | 09:51 |
ianw | no, you would have to interrupt grub and change it before boot | 09:53 |
*** andreas_s has quit IRC | 09:53 | |
*** andreas_s has joined #openstack-dib | 09: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=normal | 09:55 |
ianw | there is actually a flag --root-label= you can pass on the command line | 09:57 |
ianw | *maybe* if you override this to /dev/sda1 (or whatever your root disk is) | 09:58 |
ianw | it's just a guess | 09: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 IRC | 10:01 | |
*** andreas_s has joined #openstack-dib | 10:01 | |
ianw | probably not, but it would indicate that the initramfs isn't being created or used properly | 10:07 |
*** andreas_s has quit IRC | 10:28 | |
*** andreas_s has joined #openstack-dib | 10:28 | |
*** andreas_s has quit IRC | 10:37 | |
*** andreas_s has joined #openstack-dib | 10:46 | |
*** andreas_s has quit IRC | 10:59 | |
*** yolanda_ has quit IRC | 11:00 | |
*** yolanda_ has joined #openstack-dib | 11:00 | |
*** andreas_s has joined #openstack-dib | 11:08 | |
*** brault has quit IRC | 11:19 | |
*** chhagarw has quit IRC | 11:58 | |
*** brault has joined #openstack-dib | 12:04 | |
*** andreas_s has quit IRC | 12:41 | |
*** andreas_s has joined #openstack-dib | 12:41 | |
*** chhagarw has joined #openstack-dib | 12:50 | |
*** mjturek has joined #openstack-dib | 13:21 | |
*** roman_g has joined #openstack-dib | 13:27 | |
roman_g | ianw: thank you for review/merge | 13:27 |
*** dougsz has left #openstack-dib | 14:22 | |
*** sambetts|afk is now known as sambetts | 14:31 | |
sambetts | ianw: Hi are you around? | 14:32 |
sambetts | ianw: I have a question about this fix for centos7 in DIB https://github.com/openstack/diskimage-builder/commit/abd63b01aac585d12eefcc5506065652a26243bb#diff-396e45279f35b507b0fde779d62b8cf9 | 14:32 |
sambetts | ianw: 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 it | 14:33 |
*** rajinir has joined #openstack-dib | 15: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 |
clarkb | sambetts: 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 |
sambetts | clarkb: that script itself actually is the thing installing python2-setuptool later on | 15:42 |
clarkb | ah | 15:42 |
sambetts | clarkb: its failing building the list of things to install | 15:42 |
sambetts | because it needs to be installed to build the list to install *face plam* | 15:42 |
clarkb | ah right it is building the list to install then installing them later | 15:42 |
clarkb | sambetts: 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 possibly | 15:45 |
clarkb | then if you have rdo it should figure out that python2-setuptools is what it wants and if not that python-setuptools is what it wants | 15:46 |
clarkb | but this will need testing | 15:46 |
*** andreas_s has quit IRC | 15:48 | |
*** roman_g has quit IRC | 15:53 | |
*** roman_g has joined #openstack-dib | 15:55 | |
*** roman_g has quit IRC | 16:12 | |
*** brault has quit IRC | 16:55 | |
*** chhagarw has quit IRC | 17:37 | |
*** rajinir has quit IRC | 18:29 | |
*** sambetts is now known as sambetts|afk | 18:38 | |
*** rajinir has joined #openstack-dib | 19:18 | |
*** pmannidi has joined #openstack-dib | 22:39 | |
*** rajinir has quit IRC | 23:09 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!