/srv/irclogs.ubuntu.com/2019/06/17/#ubuntu-server.txt

kinghati have a supermicro board, its possible to use two different speed memory modules isnt it? it will just use the slower one?01:32
OerHeksmaybe yes, maybe no, i guess not always.01:52
JanCkinghat: depends; it might depend on how many memory banks there are, whether it's a multi-CPU board, etc.02:03
JanCyou motherboard's manual should have the details02:04
kinghatya its a supermicro dual bulldozer opteron02:04
JanCusually you can find those on the manufacturer's site02:04
kinghatit doesnt really say about using different speed mem modules.02:04
JanCor in the box when you bought it new02:04
kinghatjust which slots to populate and which types it supports.02:05
kinghatdefinitely dont have the box.02:05
JanCthen maybe it doesn't matter (and will use the slowest, as you say, or maybe even a slower speed if that's necessary to make both work)02:06
kinghatya im going to give it a whirl.02:06
JanCmight be a good idea to run memtest86 or similar for a couple days to make sure it's stable  :)02:07
JanCif you can, using the same memory is probably a good idea though02:08
kinghatya i just dont have enough lol02:08
jc_Hi, Anyone with experience in deploying the OpenStack with provider network. I have configured the openstack without any errors. Floating IPs are getting allocated but I am not able to connect to VMs. Any suggestions, where should i look for identifying actual problem?09:13
weedmicsomething like this but for sound cards - proc /etc/cpuinfo?13:42
weedmicnvm - i found my receipt13:44
Piciweedmic: theres lshw13:44
weedmicok, great13:44
weedmicPici: that's nice - even lists chips on the mobo - ty13:59
=== apw_ is now known as apw
tewardTJ-: alive?14:30
TJ-teward: parts of me are; not sure about the brain though!14:37
tewardlol14:38
tewardTJ-: that nginx patch you submitted, you might want to give it a shot at upstream consideration.14:38
tewardbecause it's more complex than simply adding a 'sleep' like other patches have done14:38
tewardand MIGHT actually solve the issue permanently14:38
tewardwas suggested in discussion with one of the upstreams14:38
TJ-teward: really? hmmm... OK, I'll fire it to the mailing list then14:39
TJ-teward: "as a basis for discussion of the underlying issue" :)14:39
tewardyep make sure you read their guidelines.14:39
tewardand yes lol14:39
tewardhttp://nginx.org/en/docs/contributing_changes.html?14:40
tewardneeds to be an hg changeset but meh14:40
tewardwould like to test on cent but i'm lazy :p14:40
TJ-I've never used nginx :)14:41
tewardlool14:48
kinghathow do i turn off the lock that ubuntu server puts on when you login preventing upgrades?15:49
kinghathttps://paste.debian.net/hidden/7ce97532/15:51
=== jdstrand_ is now known as jdstrand
tewardkinghat: do you have unattended-upgrades installed and enabled?16:22
kinghatnot sure it was just a default server install16:28
tewardi'd advise you check, `sudo apt-cache policy unattended-upgrades` will tell if it's installed16:36
tewardif it is, chances are what you're seeing are unattended upgrades doing its thing16:36
tewardit's not when you *login* that it locks, its when unattended-upgrades runs it locks16:36
tewardso you just wait16:36
RoyKteward: check ps axf output - I guess there's an apt process running already16:50
tewardkinghat: ^16:51
tewardRoyK: kinghat needs the help :)16:51
kinghathttps://paste.debian.net/hidden/a56a2031/16:52
tewardOK so it's isntalled.16:53
tewardkinghat: check `ps axf` output for anything apt or dpkg related16:53
tewardsee what it says16:53
teward(as RoyK suggested)16:53
kinghattrying to extract this on server: https://paste.debian.net/hidden/bffdecb8/17:26
Odd_Blokekinghat: That suggests it isn't a valid ZIP file.17:31
kinghatextracted the archive fine on desktop17:32
Odd_Blokekinghat: Did it definitely transfer successfully?17:33
Odd_Bloke(I'd suggest comparing checksums to be sure.)17:33
=== Ussat-2 is now known as Ussat
ahasenackrbasak: still around?18:37
ahasenackrbasak: I could use some hints with dpkg-maintscript-helper rm_conffile, it's not doing what I expect18:37
rbasako/18:40
ahasenackissue is after the install of the new package, i still have:18:41
ahasenack-rw-r--r-- 1 root root 121 Oct 26  2017 /etc/default/ipmidetectd.dpkg-remove18:41
ahasenackI wanted it gone18:41
ahasenackso let me paste the maintscript file I have, and versions18:41
ahasenackrbasak: https://pastebin.ubuntu.com/p/sCN6NxkfBx/ has versions, d/*.maintscript*, and the rendered ones in /var18:43
ahasenackmy expectation when upgrading from 1.5.7 to 1.6.1 was to have that file removed (I didn't change it)18:44
rbasakLooking18:44
ahasenackit's no longer shipped in the 1.6.3 (sorry, I meant 1.6.3 above, not 1.6.1) package even18:48
rbasakahasenack: I don't see why that wouldn't work.18:49
rbasakahasenack: if you're sure that the code you're running is the code you're seeing, etc, then I'd instrument the maintainer scripts with set -x and echo "$@" next18:49
rbasakahasenack: and then see if running line 37 from your pastebin afterwards doesn't delete it, and if not why not (I think you need to set environment variables to mimic a maintainer script environment like DPKG_MAINTSCRIPT_NAME18:50
rbasak)18:50
ahasenackok18:51
ahasenackit was going just like the manpage said18:52
ahasenackthe name *.dpkg-remove is indicative that it decided the file wasn't changed18:52
rbasakYeah18:52
ahasenackso the next script could remove it18:52
ahasenackbut didn't18:52
rbasakSo the only question is why the postinst doesn't remove it18:52
ahasenackok, let me add some -x, see how it's called18:52
ahasenackrbasak: I added the dist-upgrade output, I forgot to add it before. Just for completeness. But we can see the maintainerscript acting in there for other files: https://pastebin.ubuntu.com/p/8Dj9t92nNF/19:02
ahasenackbasically "Installing new version of ..."19:03
ahasenackrbasak: does this shed any light on the issue, or not yet? https://pastebin.ubuntu.com/p/ykNgxhdhDP/19:21
ahasenackmy next step is to call that interactively, setting any required env var19:21
rbasakahasenack: I agree with you. That line is definitely running then.19:22
ahasenack /usr/bin/dpkg-maintscript-helper has a "debug" statement, let me see if I can find out how to activate it19:23
ahasenackDPKG_DEBUG19:25
ahasenackok19:25
ahasenackrbasak: got it!19:56
rbasakNow I'm in suspense!19:56
ahasenackrbasak: the previous version, 1.5.7-2ubuntu1, due to a bug in that version, was never fully installed19:56
rbasakAh!19:56
ahasenackit's a bug I'm fixing in this update (well, debian fixed it)19:57
ahasenackbut that was enough for postinst to not consider it an upgrade19:57
ahasenackso instead of the helper being called like this:19:57
rbasakI wonder if that's a dpkg-maintscript-helper bug.19:57
ahasenack+ dpkg-maintscript-helper rm_conffile /etc/default/ipmidetectd 1.6.3-1.1ubuntu1~ freeipmi-ipmidetect -- configure 1.5.7-2ubuntu119:57
ahasenackit was called like this:19:57
ahasenack+ dpkg-maintscript-helper rm_conffile /etc/default/ipmidetectd 1.6.3-1.1ubuntu1~ freeipmi-ipmidetect -- configure19:57
ahasenackno version at the end19:57
ahasenackas one parameter19:57
ahasenackthe version comparison, to see if finish_rm_conffile should be called or not, is19:58
ahasenack                if [ "$1" = "configure" ] && [ -n "$2" ] &&19:58
ahasenacksince $2 was ""...19:58
ahasenackthe renamed conf file was left over19:58
ahasenacksorry, I mean the version comparison is going to be called if $2 exists, but it didn't19:59
ahasenackhttps://pastebin.ubuntu.com/p/wVjdpRJKKv/ is the bit in the helper19:59
rbasakahasenack: oddly though your pastebin in https://pastebin.ubuntu.com/p/ykNgxhdhDP/ doesn't show that in line 7 though? That one does have the version.20:02
ahasenackrbasak: that was installing the same package over it, I'm ashamed to say20:03
ahasenackI didn't bother to downgrade20:03
rbasakahasenack: it's an interesting interaction nonetheless, and one I think is worth documenting somehow.20:03
ahasenackand repeat the test20:03
powersjteward, congrats!20:03
tewardpowersj: thank you :)20:03
rbasakI'm not sure it's possible to fix easily in dpkg-maintscript-helper, but probably worth a bug regardless so this slightly surprising behaviour won't send someone else down your rabbit hole :)20:03
ahasenackrbasak: maybe the weird thing is that preinst didn't seem to mind the previous package was in a failed state20:04
ahasenackand it did its thing20:04
rbasakahasenack: I believe that's expected behaviour though20:04
rbasakahasenack: the error states and required unwinds are well specified: https://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#summary-of-ways-maintainer-scripts-are-called20:04
ahasenackI bet they are :)20:04
powersjslashd, congrats as well!20:05
ahasenackiF  freeipmi-ipmidetect              1.5.7-2ubuntu1              amd64        GNU IPMI - IPMI node detection tool20:05
powersjwoops lol20:05
ahasenackrbasak: that's the state I was starting with^20:05
powersjmeant ddstreet, congrats as well!20:06
rbasakahasenack: that makes sense.20:06
rbasakahasenack: it does seem wrong though that .dpkg-remove can ever end up outlasting the upgrade after the error state is repaired.20:06
ahasenackrbasak: https://pastebin.ubuntu.com/p/cpq7YKQpSz/ line 44:preinst ; line 140:postinst20:07
ahasenackso line 144, which is -n "$2", sees an empty $220:08
ahasenackand skips the rest of the removal code20:08
ahasenackand we are left with /etc/default/ipmidetectd.dpkg-remove at the end20:08
ahasenackis this interesting enough to email ubuntu-devel@?20:11
ahasenackor just expected20:11
ahasenackexpected in retrospect, I mean :)20:11
ahasenackit's never expected when it happens :)20:11
DK2https://imgur.com/a/oWwlbdC any idea what is broken here? server refused to boot21:09
solderfumes<DK2 "https://imgur.com/a/oWwlbdC any "> Not enough info to be sure. The System DBUS failed to start for some reason? Is your rootfs writable?21:13
DK2solderfumes: trying got a livesystem now21:14
rbasakahasenack: interesting enough to file a bug against dpkg-maintscript-helper I think.21:53
rbasakThe user story you have there doesn't clean up .dpkg-remove as expected.21:53
rbasakThough since it's cruft it'll probably be low priority, and there isn't an obvious way to fix it I don't think.21:53
tobias-urdincoreycb: sending now so i dont forget the details, troubleshooting the puppet CI being broken for ubuntu for some month(s) now22:48
tobias-urdinhttp://logs.openstack.org/04/665704/1/check/puppet-openstack-integration-5-scenario001-tempest-ubuntu-bionic-mimic/f4cd240/logs/nova/nova-compute.txt.gz#_2019-06-17_15_55_04_73222:48
tobias-urdinso we install using the nova-compute-qemu (or kvm package), this pulls "qemu"22:49
tobias-urdinqemu should pull qemu-system "Depends: qemu-system (>= 1:2.11+dfsg-1ubuntu7)"22:49
tobias-urdinbut it doesn't, so there is no x86 emulator binary since qemu-system provides (pkg: qemu-system-x86) isn't pulled in22:50
tobias-urdinso nova-compute-qemu depends on "qemu", "nova-compute-libvirt", but the "qemu" doesn't depend in "qemu-system" provides properly22:51
tobias-urdinif i install "qemu-system" or "qemu-system-x86" directly it works22:51
tobias-urdinyou can see repos and dpkg22:52
tobias-urdinhttp://logs.openstack.org/04/665704/1/check/puppet-openstack-integration-5-scenario001-tempest-ubuntu-bionic-mimic/f4cd240/logs/apt-cache-policy.txt.gz22:52
tobias-urdinhttp://logs.openstack.org/04/665704/1/check/puppet-openstack-integration-5-scenario001-tempest-ubuntu-bionic-mimic/f4cd240/logs/dpkg-l.txt.gz22:52
tobias-urdinhopefully i'll hear from you later today :)22:52

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