*** zigo has quit IRC | 00:53 | |
*** zigo has joined #openstack-dib | 02:26 | |
*** johnsom has quit IRC | 02:27 | |
*** rbudden has quit IRC | 02:31 | |
*** johnsom has joined #openstack-dib | 02:33 | |
openstackgerrit | zhangboye proposed openstack/diskimage-builder master: Remove install unnecessary package https://review.opendev.org/753513 | 06:17 |
---|---|---|
*** yolanda has joined #openstack-dib | 07:42 | |
*** priteau has joined #openstack-dib | 07:50 | |
*** dtantsur|afk is now known as dtantsur | 08:03 | |
*** dtantsur has quit IRC | 08:18 | |
*** dtantsur has joined #openstack-dib | 08:20 | |
*** priteau has quit IRC | 08:56 | |
*** strigazi has joined #openstack-dib | 09:06 | |
*** yolanda has quit IRC | 09:38 | |
*** yolanda has joined #openstack-dib | 09:39 | |
*** priteau has joined #openstack-dib | 12:35 | |
*** TrevorV has joined #openstack-dib | 13:40 | |
*** Qianbiao has joined #openstack-dib | 15:47 | |
*** Trevor_V has joined #openstack-dib | 15:48 | |
*** TrevorV has quit IRC | 15:48 | |
Qianbiao | Hello i want to build a image for ironic baremetal ramdisk deploy interface. | 15:54 |
Qianbiao | Is this "disk-image-create centos baremetal ramdisk mellanox devuser openssh-server -o centos-8-ramdisk" element matches the case? | 15:55 |
*** Trevor_V has quit IRC | 15:56 | |
*** dtantsur is now known as dtantsur|afk | 16:43 | |
*** priteau has quit IRC | 17:02 | |
*** Qianbiao has quit IRC | 17:53 | |
*** TrevorV has joined #openstack-dib | 18:38 | |
*** yolanda has quit IRC | 20:37 | |
*** rpittau|afk has quit IRC | 20:50 | |
johnsom | ianw If you have a second, I have a centos 8 job that seems to be uninstalling python3 on me. I have your latest patch for that 3.3.1 and I'm slightly puzzled. https://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_225/722542/14/check/octavia-v2-dsvm-scenario-centos-8/2256d81/controller/logs/dib-build/amphora-x64-haproxy.qcow2_log.txt | 20:50 |
johnsom | I get: package-installs-v2 --phase post-install.d /tmp/package-installs.json \ /usr/bin/env: 'python3': No such file or directory | 20:50 |
*** arne_wiebalck has quit IRC | 20:51 | |
*** arne_wiebalck has joined #openstack-dib | 20:53 | |
*** rpittau|afk has joined #openstack-dib | 20:53 | |
ianw | johnsom: hrmmm that is odd | 22:06 |
johnsom | I am now trying it with pyhton3-pip left in (not build-only). | 22:09 |
johnsom | I see it mark the package as user installed, but later it removes it as a dependency. | 22:10 |
ianw | i think it's saying it is unused | 22:11 |
ianw | > Removing unused dependencies: | 22:11 |
johnsom | Yeah, but the mark installed should have held it if I understand dnf right | 22:11 |
ianw | 2020-09-23 19:37:49.632 | > python36 x86_64 3.6.8-2.module_el8.1.0+245+c39af44f @AppStream 13 k | 22:11 |
ianw | i think because of the system-python / user-python split it might be possible for dnf to think that nothing has an actual dependency on /usr/bin/python3 | 22:12 |
ianw | i don't believe we've ever setup dnf to explicitly keep python3? | 22:12 |
johnsom | Search for python36, there is a dnf mark install. | 22:13 |
johnsom | Sorry, on mobile and can’t cut/paste at the moment. | 22:13 |
johnsom | Maybe leaving python3-pip will leave it installed | 22:14 |
ianw | https://opendev.org/openstack/diskimage-builder/src/branch/master/diskimage_builder/elements/yum/bin/install-packages#L142 | 22:14 |
ianw | huh | 22:14 |
*** TrevorV has quit IRC | 22:22 | |
ianw | we could addd --debugsolver | 22:26 |
ianw | well i can't see anything in bugzilla that suggests there have been dnf bugs wanting to remove packages marked installed | 22:36 |
ianw | it doesn't look to me that we're doing anything to destroy metadata between the two steps either | 22:38 |
ianw | johnsom: i guess a dump of "dnf repoquery --userinstalled" right before the autoremove step might help, and indicate the status of the package | 22:41 |
*** bbezak has quit IRC | 22:50 | |
*** arne_wiebalck has quit IRC | 22:50 | |
*** johnsom has quit IRC | 22:50 | |
*** andrein has quit IRC | 22:50 | |
*** bbezak has joined #openstack-dib | 22:51 | |
*** arne_wiebalck has joined #openstack-dib | 22:51 | |
*** andrein has joined #openstack-dib | 22:52 | |
*** rm_work has quit IRC | 22:52 | |
*** rpittau|afk has quit IRC | 22:54 | |
*** rm_work has joined #openstack-dib | 22:54 | |
*** johnsom has joined #openstack-dib | 22:55 | |
*** rpittau|afk has joined #openstack-dib | 22:56 | |
*** andrein has quit IRC | 22:58 | |
*** andrein has joined #openstack-dib | 23:00 | |
johnsom | ianw Thanks for the advice. The python3-pip trick seems to have worked. However, I will try to debug this more tomorrow using your dump idea. | 23:09 |
ianw | if feels like a dnf bug .. | 23:21 |
ianw | but once you explain what we're doing, installing in chroots behind about 10 layers of stuff, it makes it hard to isolate :) | 23:21 |
johnsom | lol, yeah | 23:26 |
johnsom | I will dig deeper tomorrow, I have a few other things to wrap up tonight. | 23:26 |
johnsom | Glad it wasn't something dumb I was overlooking, everything looked right to me. | 23:27 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!