Friday, 2018-08-31

*** olivierb has joined #openstack-dib07:00
ianwolivierb: hrm, well that's good news that we at least know what it is07:08
olivierbianw yes but I am still very puzzled on why it works in the CI07:09
ianwi'm pretty sure we have auditd installed there07:10
olivierbas mentioned earlier and if I did look well enough the xenial CI system does not seem to have auditd running07:10
ianwroot       264     2  0 07:14 ?        00:00:00 [kauditd]07:19
ianwso audit is enabled; i think that's enough07:20
ianw?07:20
olivierbhttp://logs.openstack.org/66/591366/11/check/dib-dsvm-functests-python2-ubuntu-xenial-image/d19ecab/job-output.txt.gz#_2018-08-17_08_41_18_892418 auditd package not present :-( process not running (ps -efH) ...07:21
ianwno, auditd isn't there, but i think what happens is that there's a audit netlink socket and kauditd collects the logs and they end up in syslog07:22
ianwunless auditd is there to collect them.  i'm sure i committed something about this once to dib or project-config when we had the logs getting spammed ...07:22
olivierbok checking this on my failing system right now07:32
olivierbhowever, again and even if I now understand the reasons better, as a DIB user I would not expect image building to be so dependent of underlying boot parameters of building host even if I agree that it might be very difficult to achieve for some very specific cases07:33
*** openstackgerrit has joined #openstack-dib07:45
openstackgerritOlivier Bourdon proposed openstack/diskimage-builder master: Fix CentOS image build failure when dib runs on debian based system  https://review.openstack.org/55948507:45
ianwthis is what i'm thinking of https://review.openstack.org/#/c/352263/07:45
ianwolivierb: well, that's the nature of being in a chroot ...07:45
olivierbthanks for digging this out07:47
olivierbmay be the new version of the patch will be better matching your expectations. thanks a lot for your time and help07:48
olivierbI can also now confirm that having kernel flag audit=1 is sufficient to get image build properly without adding auditd or any other packages to xenial07:57
olivierbI did a strace on the failing code and the error is08:09
olivierb18385 socket(AF_NETLINK, SOCK_RAW, NETLINK_AUDIT) = -1 EPROTONOSUPPORT (Protocol not supported)08:09
olivierbmy kernel is "standard" xenial kernel installed from netboot + FAI08:10
olivierblet me check the config file for AUDIT08:13
olivierb grep AUDIT /boot/config-4.4.0-134-generic08:14
olivierbCONFIG_AUDIT_ARCH=y08:14
olivierbCONFIG_AUDIT=y08:14
olivierbCONFIG_HAVE_ARCH_AUDITSYSCALL=y08:14
olivierbCONFIG_AUDITSYSCALL=y08:14
olivierbCONFIG_AUDIT_WATCH=y08:14
olivierbCONFIG_AUDIT_TREE=y08:14
olivierbCONFIG_NETFILTER_XT_TARGET_AUDIT=m08:14
olivierbCONFIG_SECURITY_TOMOYO_MAX_AUDIT_LOG=102408:14
olivierbCONFIG_INTEGRITY_AUDIT=y08:14
*** olivierb_ has joined #openstack-dib08:42
*** olivierb has quit IRC08:43
ianwinteresting, i can find nothing that suggests that socket() call should fail with CONFIG_AUDIT=y enabled kernels08:46
ianw /* No auditing will take place until audit_initialized == AUDIT_INITIALIZED.08:49
ianw * (Initialization happens after skb_init is called.) */08:49
ianwpr_info("initializing netlink subsys (%s)\n",08:49
ianw                audit_default ? "enabled" : "disabled");08:49
ianwso i guess that should be in dmesg08:49
*** trungnv has quit IRC09:52
openstackgerritHarry Kominos proposed openstack/diskimage-builder master: Fix bootloader packages for aarch64  https://review.openstack.org/59859511:06
*** hkominos_ has joined #openstack-dib11:12
*** tonyb has quit IRC12:02
*** tonyb has joined #openstack-dib12:19
*** mjturek has joined #openstack-dib13:18
*** mjturek has quit IRC14:36
*** mjturek has joined #openstack-dib14:43
*** mjturek has quit IRC14:46
*** mjturek has joined #openstack-dib14:47
*** hkominos_ has left #openstack-dib14:51
openstackgerritHarry Kominos proposed openstack/diskimage-builder master: Fix bootloader packages for aarch64  https://review.openstack.org/59859515:02
*** mjturek has quit IRC15:05
*** mjturek has joined #openstack-dib15:25
*** openstackgerrit has quit IRC16:06
*** mjturek has quit IRC16:09
*** mjturek has joined #openstack-dib16:10
olivierb_ianw r u still here ?16:18
olivierb_tried to see if I could find anything meaningfull in dmesg but seems like only dracut output is there finishing with [ 4068.138867] dracut[25743] *** Creating initramfs image file '/boot/initramfs-3.10.0-862.11.6.el7.x86_64.img' done ***16:19
olivierb_tried other log files without more success I am affraid16:25
*** olivierb_ has quit IRC16:41
*** mjturek has quit IRC17:27
*** mjturek has joined #openstack-dib17:28
*** mjturek has quit IRC17:37
*** mjturek has joined #openstack-dib17:38
*** mjturek has quit IRC17:45
*** mjturek has joined #openstack-dib17:46
*** mjturek has quit IRC18:33
*** cmurphy|vacation is now known as cmurphy20:58

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