Wednesday, 2020-09-23

*** zigo has quit IRC00:53
*** zigo has joined #openstack-dib02:26
*** johnsom has quit IRC02:27
*** rbudden has quit IRC02:31
*** johnsom has joined #openstack-dib02:33
openstackgerritzhangboye proposed openstack/diskimage-builder master: Remove install unnecessary package  https://review.opendev.org/75351306:17
*** yolanda has joined #openstack-dib07:42
*** priteau has joined #openstack-dib07:50
*** dtantsur|afk is now known as dtantsur08:03
*** dtantsur has quit IRC08:18
*** dtantsur has joined #openstack-dib08:20
*** priteau has quit IRC08:56
*** strigazi has joined #openstack-dib09:06
*** yolanda has quit IRC09:38
*** yolanda has joined #openstack-dib09:39
*** priteau has joined #openstack-dib12:35
*** TrevorV has joined #openstack-dib13:40
*** Qianbiao has joined #openstack-dib15:47
*** Trevor_V has joined #openstack-dib15:48
*** TrevorV has quit IRC15:48
QianbiaoHello i want to build a image for ironic baremetal ramdisk deploy interface.15:54
QianbiaoIs 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 IRC15:56
*** dtantsur is now known as dtantsur|afk16:43
*** priteau has quit IRC17:02
*** Qianbiao has quit IRC17:53
*** TrevorV has joined #openstack-dib18:38
*** yolanda has quit IRC20:37
*** rpittau|afk has quit IRC20:50
johnsomianw 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.txt20:50
johnsomI get: package-installs-v2 --phase post-install.d /tmp/package-installs.json \ /usr/bin/env: 'python3': No such file or directory20:50
*** arne_wiebalck has quit IRC20:51
*** arne_wiebalck has joined #openstack-dib20:53
*** rpittau|afk has joined #openstack-dib20:53
ianwjohnsom: hrmmm that is odd22:06
johnsomI am now trying it with pyhton3-pip left in (not build-only).22:09
johnsomI see it mark the package as user installed, but later it removes it as a dependency.22:10
ianwi think it's saying it is unused22:11
ianw> Removing unused dependencies:22:11
johnsomYeah, but the mark installed should have held it if I understand dnf right22:11
ianw2020-09-23 19:37:49.632 | >  python36                     x86_64  3.6.8-2.module_el8.1.0+245+c39af44f    @AppStream   13 k22:11
ianwi 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/python322:12
ianwi don't believe we've ever setup dnf to explicitly keep python3?22:12
johnsomSearch for python36, there is a dnf mark install.22:13
johnsomSorry, on mobile and can’t cut/paste at the moment.22:13
johnsomMaybe leaving python3-pip will leave it installed22:14
ianwhttps://opendev.org/openstack/diskimage-builder/src/branch/master/diskimage_builder/elements/yum/bin/install-packages#L14222:14
ianwhuh22:14
*** TrevorV has quit IRC22:22
ianwwe could addd --debugsolver22:26
ianwwell i can't see anything in bugzilla that suggests there have been dnf bugs wanting to remove packages marked installed22:36
ianwit doesn't look to me that we're doing anything to destroy metadata between the two steps either22:38
ianwjohnsom: i guess a dump of "dnf repoquery --userinstalled" right before the autoremove step might help, and indicate the status of the package22:41
*** bbezak has quit IRC22:50
*** arne_wiebalck has quit IRC22:50
*** johnsom has quit IRC22:50
*** andrein has quit IRC22:50
*** bbezak has joined #openstack-dib22:51
*** arne_wiebalck has joined #openstack-dib22:51
*** andrein has joined #openstack-dib22:52
*** rm_work has quit IRC22:52
*** rpittau|afk has quit IRC22:54
*** rm_work has joined #openstack-dib22:54
*** johnsom has joined #openstack-dib22:55
*** rpittau|afk has joined #openstack-dib22:56
*** andrein has quit IRC22:58
*** andrein has joined #openstack-dib23:00
johnsomianw 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
ianwif feels like a dnf bug ..23:21
ianwbut once you explain what we're doing, installing in chroots behind about 10 layers of stuff, it makes it hard to isolate :)23:21
johnsomlol, yeah23:26
johnsomI will dig deeper tomorrow, I have a few other things to wrap up tonight.23:26
johnsomGlad 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/!