prometheanfire | ok | 01:24 |
---|---|---|
openstackgerrit | Matthew Thode proposed openstack/diskimage-builder master: uncap networkx to match global-requirements. https://review.openstack.org/574503 | 01:25 |
*** trungnv has quit IRC | 01:38 | |
*** trungnv has joined #openstack-dib | 01:39 | |
prometheanfire | ianw: it seems like dib isn't respecting constraints, should we remove it from our projects.txt and remove the check-requirements job? | 02:17 |
ianw | well i'm not sure we're deliberately doing that | 02:18 |
ianw | i think we want to do whatever best practice is | 02:19 |
prometheanfire | :P | 02:20 |
prometheanfire | http://logs.openstack.org/03/574503/1/check/tripleo-buildimage-overcloud-full-centos-7/e23d231/job-output.txt.gz wasn't obeying constraints (installs networkx 2.1) | 02:21 |
prometheanfire | this is the first error I see though http://logs.openstack.org/03/574503/1/check/tripleo-buildimage-overcloud-full-centos-7/e23d231/job-output.txt.gz#_2018-06-12_01_44_28_074996 | 02:22 |
prometheanfire | the trusty job seems to install 1.11 though | 02:23 |
ianw | ohhh, yeah will the tripleo jobs ... | 02:28 |
ianw | how constraints interacts with them we would have to get some help with | 02:28 |
prometheanfire | ya, I have no clue there | 02:34 |
prometheanfire | I don't think the errors were networkx related though | 02:34 |
prometheanfire | win 29 | 02:34 |
trungnv | Please clarify my issue with following logs: /usr/sbin/setfiles get context on /boot/efi failed: 'Operation not supported' | 02:42 |
trungnv | I am trying to create centos with block-device-efi | 02:42 |
*** chhagarw has joined #openstack-dib | 02:46 | |
ianw | trungnv: hmmm; we try to run setfiles over everything to fixup selinux permissions. however, i guess vfat doesn't support that at all | 02:47 |
ianw | we should likely skip this, and i imagine we've never hit it because we've never tried centos with efi? do you have the full logs? | 02:47 |
trungnv | if I skip this then I cannot boot over UEFI into server. | 02:50 |
ianw | you mean if you skip the entire selinux setting? | 02:51 |
trungnv | http://paste.ubuntu.com/p/J2PDFSf4B8/ This is my logs | 02:51 |
trungnv | yep. | 02:51 |
ianw | trungnv: i think the quickest thing to do is put a skip for this in https://git.openstack.org/cgit/openstack/diskimage-builder/tree/diskimage_builder/elements/rpm-distro/cleanup.d/99-selinux-fixfiles-restore#n66 | 02:54 |
ianw | add && [ "${MOUNTPOINT}" != "/boot/efi" ] | 02:54 |
ianw | i'd also run with "-x" to get more debugging | 02:54 |
trungnv | "-x" arg in command of disk-image-create? | 02:56 |
trungnv | ianw, before this issue, I also hit other issue with grub-efi package and I has use DIB_EXTLINUX=1 to ignore them. | 02:58 |
ianw | yes on "-x" ... that turns on more debugging | 02:59 |
ianw | i very much doubt you want DIB_EXTLINUX=1 ... | 02:59 |
ianw | trungnv: you probably need yolanda's change to get efi bootloader packages? https://review.openstack.org/#/c/573726/2/diskimage_builder/elements/bootloader/pkg-map | 03:00 |
trungnv | Yeah. I will try with it. | 03:02 |
trungnv | perhaps, I has created centos image when i ignore setfile permission. this is logs: http://paste.ubuntu.com/p/J4ZY7PkZzw/ | 03:04 |
trungnv | But, I am not sure I can boot successful with this image. | 03:06 |
ianw | trungnv: i doubt it, as grub isn't installed | 03:06 |
ianw | but if you try with that other change, that *should* find the right packages for centos. we've only really built ubuntu/xenial with efi ATM, for arm64 | 03:07 |
trungnv | ianw, we couldn't build centos7 with efi at the moment via DIB? | 03:08 |
trungnv | disk-image-create centos7 vm devuser cloud-init-datasources dhcp-all-interfaces iscsi-boot block-device-efi -o $IMAGE_NAME | 03:08 |
trungnv | This is my command for image creation. | 03:08 |
trungnv | Do you know what kind of centos image which suitable with efi booting? | 03:09 |
ianw | you'll need to at least try with yolanda's change 573726 | 03:10 |
ianw | afaik, centos+efi has just never been done, which is why things don't "just work" | 03:10 |
trungnv | yep. I will try to create new image with yolanda's patch then will try to boot again. | 03:12 |
trungnv | ianw, In the last time, I can boot ubuntu with efi but It's only boot into intramfs and stop. | 03:17 |
trungnv | Do you know what happen? | 03:17 |
ianw | hmmm, that could be a lot of things, it's a good start though | 03:17 |
ianw | one thing is to just leave it for a bit, it's possible the console is just not coming out? sometimes you'll see a login pop up after a bit | 03:18 |
trungnv | http://paste.ubuntu.com/p/ZzwqdpzRQW/ this is logs in server | 03:19 |
trungnv | I also check in /etc/fstab then nothing inside. | 03:20 |
trungnv | I also check this info if image which has used booting then enough info which ubuntu need for booting. I don't know why they lost during booting. | 03:21 |
trungnv | s/if/in | 03:22 |
ianw | hmm, a "blkid" on that busybox prompt would be a good start | 03:22 |
trungnv | ianw, any fixing in DIB for this issue? I will try to type "blkid" in busybox. | 03:24 |
ianw | no, i'm not sure what's up with that. either the partition doesn't exist, or the initrd can't see it | 03:24 |
trungnv | *maybe* Have an issue with ubuntu image which download for source in this case? | 03:27 |
ianw | i don't think, more likely the bootloader | 03:33 |
trungnv | bootloader in DIB? | 03:34 |
ianw | yes | 03:35 |
trungnv | what kind of issue in bootloader and should we change them in DIB? | 03:36 |
trungnv | ianw, "Trying to terminate EFI services again" this is log in server when I try with centos + efi + patch of yolanda. | 03:43 |
ianw | sorry, never seen that before | 04:19 |
*** rajinir has quit IRC | 04:30 | |
*** sm806 has joined #openstack-dib | 05:59 | |
sm806 | I am trying to create a centos7 based image with disk-image-create. At the end of the command I dont see the image getting created. Going through the logs, the last error I could spot is "ln: failed to create symbolic link '/usr/local/bin/dib-run-parts': File exists". Any idea what could be the issue ?? | 06:01 |
ianw | sm806: hmmm, that is not something i'd expect. are you running from git? | 06:04 |
sm806 | nope. I did a yum install on centos7. | 06:06 |
ianw | ok, i'm not sure what repo that came from, it's likely not a very recent version. i'd recommend just setting up a virtualenv and installing git master into that | 06:07 |
sm806 | ok. I will do a "yum remove" and use the git clone. Should I take the master branch or is there a stable branch that I should clone? | 06:09 |
ianw | sm806: master is stable ... well as stable as it gets :) | 06:12 |
ianw | that's not quite true, the latest tag on master is probably the most stable point | 06:12 |
ianw | but we try to release fairly regularly | 06:12 |
yolanda | hi trungnv , so i didn't finish a complete uefi testing with that, but just fixed the problem with the element, it was giving an error because the wrong package was installed | 06:24 |
yolanda | so this patch fixes it, although some other things are needed to boot from uefi | 06:24 |
yolanda | trungnv, inside dib code, there is a test that creates the needed partitions for uefi, have you used that? | 06:25 |
trungnv | yolanda, Yes. I has booted with uefi for ubuntu, please see my video: https://www.youtube.com/watch?v=UrwqSjBOV0E&feature=youtu.be | 06:38 |
trungnv | last time, I hit an issue with initramfs when I use patch https://review.openstack.org/#/c/511494/ without your patch. | 06:41 |
trungnv | yolanda, which kind of OS? ubuntu or centos? | 06:44 |
yolanda | trungnv, are we talking about that patch? https://review.openstack.org/#/c/573726/ | 06:45 |
yolanda | or you refer to some other patch i did? | 06:45 |
sm806 | ianw, tried it with the latest master on "https://git.openstack.org/openstack/diskimage-builder". Its failing with error Cannot uninstall 'PyYAML'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall. | 06:45 |
yolanda | that patch only should fix rhel/centos | 06:45 |
trungnv | yolanda, right. I only complete with ubuntu. with centos I meet an other issue in booting. | 06:46 |
yolanda | without that, i could not even build the image for rhel, it was complaining about grub-efi package not existing | 06:46 |
trungnv | "Trying to terminate EFI services again" this is log in server. | 06:47 |
ianw | sm806: are you installing into a virtualenv? | 06:47 |
yolanda | i didn't see that, but i could not complete the boot. What i was hitting, is that the system was just stuck in the grub menu forever | 06:47 |
yolanda | i didn't go further | 06:47 |
trungnv | I think your patch was fixing this issue. | 06:48 |
trungnv | last time, I must use DIB_EXTLINUX=1 to ignore error grub-efi package not existing. | 06:49 |
trungnv | yolanda, I also stuck something when booting for centos with EFI. I am not sure why they could not get EFI service. Maybe, we have different issue in this case. | 06:52 |
trungnv | yolanda, ah. I know your issue. I ever meet this issue | 06:53 |
trungnv | Maybe you need to change *.efi file for booting. | 06:53 |
ianw | yolanda: could you interact with grub? | 06:54 |
trungnv | https://rom-o-matic.eu/ you can use link which help create new efi file. | 06:54 |
sm806 | ianw, yes i am installing it in the virtualenv. I have copied the commands I executed in this location: http://paste.openstack.org/show/723260/ | 06:56 |
yolanda | ianw, i didn't have time to test , still need to dedicate more time | 06:56 |
ianw | sm806: after your clone, did you do "pip install ./diskimage-builder ? | 06:57 |
ianw | you can also use "--logfile" fyi, though that's minor | 06:57 |
sm806 | ianw, I did "cd diskimage-builder" and "pip install -e ." Missed it in the pase. | 06:59 |
trungnv | yolanda, what are elements for centos7 with EFI? | 07:00 |
ianw | sm806: and you're still getting a pyyaml removal error? | 07:00 |
sm806 | ianw, added the commands in sequence in: http://paste.openstack.org/show/723261/ | 07:00 |
yolanda | trungnv, i added block-device-efi | 07:02 |
ianw | sm806: so is the problem still removing the pyyaml package now, or something lese? | 07:03 |
trungnv | yolanda, Do you know why have following iss "Trying to terminate EFI services again" when server boot? | 07:05 |
trungnv | before booting, I hit issue with chroot at https://git.openstack.org/cgit/openstack/diskimage-builder/tree/diskimage_builder/elements/rpm-distro/cleanup.d/99-selinux-fixfiles-restore#n66 | 07:06 |
trungnv | and I must ignore them | 07:06 |
yolanda | trungnv, that's before or after the grub menu? | 07:08 |
trungnv | during create image | 07:08 |
yolanda | ah, even on image creation. And then the image is aborted' | 07:08 |
yolanda | ? | 07:08 |
trungnv | yep | 07:08 |
yolanda | trungnv, let me paste the block layout i use, so see if that helps | 07:09 |
yolanda | although is not 100% working, i can build the image | 07:09 |
trungnv | yes. thanks | 07:09 |
sm806 | ianw, yes seems like issue is still with PyYAML. I have copied the debug file at this location, https://www.dropbox.com/s/804vcjgtctmye3l/debug.out?dl=0. Probably it should give more details. | 07:12 |
yolanda | trungnv, that's the element i use for the device layout http://paste.openstack.org/show/723263/ | 07:13 |
yolanda | i create an element called overcloud-secure | 07:14 |
yolanda | and inside it, i have block-device-default.yaml with that content | 07:14 |
ianw | sm806: oooohhhhh, this is *inside* the image | 07:15 |
yolanda | in the element-deps for that element i have | 07:15 |
yolanda | block-device-efi | 07:15 |
yolanda | package-installs | 07:15 |
ianw | sm806: this is really something the 50-heat-config-source needs to sort out, "pip install python-heatclient python-zaqarclient python-keystoneclient" | 07:16 |
trungnv | We only need to create with overcloud-secure. is right? | 07:16 |
ianw | sm806: it's fundamentally related to pip10 behaviour in https://github.com/pypa/pip/issues/4805 | 07:16 |
trungnv | Do you have other changes? | 07:17 |
yolanda | trungnv, i have it integrated for TripleO, so there are other elements included. But this element is relevant. I also add bootloader element | 07:20 |
sm806 | ianw, any known workarrounds ?? | 07:20 |
yolanda | trungnv, i use that list https://github.com/openstack/tripleo-common/blob/master/image-yaml/overcloud-hardened-images.yaml | 07:21 |
yolanda | but most of them are not going to be relevant for just a test image build | 07:21 |
ianw | sm806: the pip people would say this is why you install things in a virtualenv to isolate yourself. | 07:21 |
ianw | sm806: as mentioned in the github issue, you can remove the .egg files for the install and pip will go back to overwriting it. you'd have to do that in the element | 07:22 |
trungnv | yolanda, yep. I will try with your suggestion. Thanks | 07:23 |
*** dlbewley has quit IRC | 07:24 | |
yolanda | trungnv, cool, please let me know how it goes | 07:28 |
sm806 | ianw, sorry for bothering you with basic questions. I am a newbee to this tool. Can you tell me which option should I use in element to remove the .egg file. | 07:29 |
ianw | sm806: you'll probably need to edit https://github.com/openstack/heat-agents/blob/master/heat-config/install.d/heat-config-source-install/50-heat-config-soure and actually do an "rm" of the file in there | 07:32 |
trungnv | yolanda, I hit an issue "AlreadyProvidedException: block-device: already provided by ['block-device-mbr']" when I create centos image. | 08:14 |
trungnv | with overcloud-secure element | 08:14 |
sm806 | ianw, thanks. Will give it a try. | 08:16 |
yolanda | you need to remove the block-device-mbr one. Do you have some element that adds it? | 08:20 |
trungnv | centos7 vm devuser cloud-init-datasources dhcp-all-interfaces iscsi-boot overcloud-secure | 08:26 |
yolanda | vm makes it , you need to remove it | 08:26 |
trungnv | yep. thanks | 08:26 |
trungnv | cool. It's running. | 08:27 |
*** pavel_V has quit IRC | 08:27 | |
*** pavel_V has joined #openstack-dib | 08:32 | |
*** hkominos has joined #openstack-dib | 09:55 | |
hkominos | Hi all. Is this the right channel for a dev question in dib ? | 09:55 |
ianw | hkominos: yep | 10:09 |
hkominos | nvm i just got it! | 10:10 |
lennyb | Hi, I am trying to build CentOS7.4 1708 image, but I see that I am getting centos7.5 latest. my env params http://paste.openstack.org/show/723295/ . Is there a way to set DIB_RELEASE for CentOS or install a specific version? | 11:06 |
*** pavel_V has quit IRC | 11:14 | |
*** sambetts|afk is now known as sambetts | 12:34 | |
*** vmlinuz has joined #openstack-dib | 12:55 | |
*** vmlinuz has joined #openstack-dib | 12:55 | |
*** mjturek has joined #openstack-dib | 13:03 | |
*** mjturek has quit IRC | 13:03 | |
*** mjturek has joined #openstack-dib | 13:06 | |
*** vmlinuz has quit IRC | 13:33 | |
*** vmlinuz has joined #openstack-dib | 13:50 | |
*** vmlinuz has joined #openstack-dib | 13:50 | |
*** pavel_V has joined #openstack-dib | 14:19 | |
*** rajinir has joined #openstack-dib | 14:36 | |
*** mordred has quit IRC | 14:55 | |
*** hkominos has quit IRC | 15:06 | |
*** mordred has joined #openstack-dib | 15:08 | |
clarkb | lennyb: I'm not sure, beacus centos doesn't support older point releases | 15:16 |
clarkb | lennyb: you could probably use an existing 7.4 as a base image and not yum update anything | 15:17 |
clarkb | but if you use centos minimal I doubt it will install older versions as upstream has moved beyond that point in time | 15:17 |
*** mordred has quit IRC | 15:48 | |
*** mordred has joined #openstack-dib | 15:51 | |
lennyb | clarkb: thanks, I've found a solution by manual removing https://github.com/openstack/diskimage-builder/blob/master/diskimage_builder/elements/base/install.d/00-up-to-date#L11 | 16:01 |
*** dlbewley has joined #openstack-dib | 16:01 | |
*** sambetts is now known as sambetts|afk | 16:22 | |
*** chhagarw has quit IRC | 17:30 | |
*** calebb has quit IRC | 19:49 | |
*** squid has joined #openstack-dib | 20:03 | |
*** vmlinuz has quit IRC | 20:23 | |
*** brault has quit IRC | 20:39 | |
*** mjturek has quit IRC | 20:48 | |
*** mjturek has joined #openstack-dib | 20:49 | |
*** pavel_V has quit IRC | 21:35 | |
*** squid has quit IRC | 22:08 | |
*** squid has joined #openstack-dib | 22:10 | |
*** rajinir has quit IRC | 23:24 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!