/srv/irclogs.ubuntu.com/2016/11/14/#ubuntu-server.txt

=== Sooty is now known as Guest69692
=== amoralej|off is now known as amoralej
=== iberezovskiy|off is now known as iberezovskiy
silehtzul, jamespage, coreycb, ddellav, hi I uncounter a qemu live-migration issue from trusty to xenial https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/164153210:26
ubottuLaunchpad bug 1641532 in qemu (Ubuntu) "Unknown ramblock "/rom@etc/acpi/rsdp", cannot accept migration" [Undecided,New]10:26
silehtzul, jamespage, coreycb, ddellav, I thnk this should be fixed before openstack user try to upgrade from mitaka to newton10:26
cpaelzersileht: known issue, let me find and point you to the right one10:27
cpaelzerSTS working on it arm10:27
cpaelzeratm10:27
cpaelzerat least it seems that way10:27
cpaelzergrr no meeting minutes uploaded last week10:28
jamespagesileht, I was about to point you to cpaelzer but I see he's jumped in10:29
jamespage:)10:29
jamespagethanks cpaelzer10:29
* cpaelzer is still checking - envision a spinning wheel here - \ | / - ...10:32
sileht:)10:33
cpaelzersileht: not a dup to the one I thought - now context switching into the bug more10:34
silehtcpaelzer, I have tested the patch I have attached to the bug report on my cluster and it works well10:35
cpaelzersileht: yeah I'd even say ack after 2 minutes looking at it - but I'd like to look at it at least a bit more :-)10:36
cpaelzersileht: I recently cleaned up a lot of this machine type mess, but due to LTS cycles we could only drop old cruft after LTS10:36
cpaelzersileht: and atm I think you are right10:36
cpaelzersileht: give me a bit and I'll fully agree :-)10:37
silehtcpaelzer, sure the patch as-is is enougth or do you want a proper debdiff ? or something else ?10:37
cpaelzerthis is a can of nice worms10:37
cpaelzersileht: I'm fine with the patch as-is10:37
silehtcool10:37
cpaelzersileht: I have a testbed for just such migration issues where I'll test it10:37
cpaelzersileht: I just never happened to use that old guests as "utopic"10:38
silehtcpaelzer, :)10:38
cpaelzersileht: migrating after Xenial you'd be supposed to update the machine type to go on10:38
cpaelzersileht: but for what you reported it is a valid issue10:38
cpaelzersileht: so I'm now going on to check and test on this10:39
silehtcpaelzer, changing machine type means 'rebooting customer vm'10:39
cpaelzersileht: I'll let you know10:39
cpaelzersileht: yes it does10:39
silehtcpaelzer, I can't do that10:39
cpaelzersileht: at some point old things have to go out of support - that is why we (after long discussion) decided to drop older types after an LTS and only those types that are "out of support" then10:40
silehtcpaelzer, I have very old VM with just 'pc-i440fx' and it still work fine10:40
silehtcpaelzer, yeah I understand but 2.0 machine type is still supported upstream10:40
cpaelzersileht: I fully understand your case and pain - but at some point it becomes a matter of maintainability10:41
silehtcpaelzer, the custom ubuntu machine type just break think10:41
silehtthink/thing10:41
cpaelzersileht: yeah it is a shame - the early days of qemu machine types forced all dirstibutions to go the "custom machine type way"10:41
cpaelzersileht: these days it might mostly be fine10:41
cpaelzersileht: but everybody has to obey his history10:41
cpaelzersileht: and now time comes and makes things non maintainable :-/10:42
cpaelzersileht: all distributions are in the same mess here - but there is no golden solution (IMHO)10:42
cpaelzersileht: on one side you have the valid "the upstream type still works" - but that is only true in most but not all cases10:42
cpaelzersileht: and on the other you can't care about the old delta forever as it less and less applies to the new code10:43
cpaelzersileht: there was a lot of info (and less "discussion" than I'd liked) around it - let me know if you want some pointers10:44
cpaelzersileht: I'll now go for your fix10:44
* cpaelzer declares machine-types a never ending can of worms10:44
silehtagreed !10:44
cpaelzerand it did not help that the way to define them was changed three times in the last 2 years10:47
cpaelzersileht: I think this is all worse than we thought - may I ask what you did to do the check that lead you to "...I have seen that in 2.3, the utopic machine is a kvm-2.3 machine..." ?11:31
silehtcpaelzer, I have looks at the code of qemu-system-x86 1:2.3+dfsg-5ubuntu9.4~cloud211:32
cpaelzersileht: ah so just reading11:32
cpaelzersileht: I thought you'd have a live check better than mine11:32
silehtcpaelzer, the code in the define-ubuntu-machine-types.patch11:33
cpaelzersileht: sure IMHO it is more broken than that11:33
cpaelzersileht: it inherits whatever the latest version is11:33
silehtcpaelzer, it uses pc_init_pci11:33
silehtcpaelzer, and at this times that was 2.3 marchine11:33
cpaelzersileht: so while your utopic type on a 2.3 host had 2.3 it would have had 2.1 in a real utopic for example11:34
silehtcpaelzer, I just hope ubuntu never release a 2.4 with 'pc_init_pci' :p11:34
silehtcpaelzer, oh I see11:35
cpaelzersileht: so that is super worse than I thought at first :-/11:35
cpaelzersileht: I could fix it to what it should have been, but that would not help you (=2.1)11:35
cpaelzersileht: in fact I'd have to choose on "when did the last geust restart happen"11:35
cpaelzerwhere it picked up the latest type11:36
silehtcpaelzer, utopic was shipped qemu 2.1 ?11:36
cpaelzeryes11:37
silehtcpaelzer, trusty was 2.1 and cloud-archive have backport the utopic 2.3 to trusty, no ?11:37
cpaelzerhttps://launchpad.net/ubuntu/+source/qemu/+publishinghistory?batch=75&memo=75&start=7511:37
cpaelzersileht: trusty 2.0, utopic 2.1, vivid 2.2, wily 2.3, xenial 2.5, yakkety 2.611:38
cpaelzersileht: depends on which cloud archive you have11:38
silehtcpaelzer, so this a bug of the cloud archive backport11:39
cpaelzerI don't really think so - is it?11:39
cpaelzerit is a bug that was there a long time but now bites us in the worst possible way (for fixing one has to choose who to break)11:39
silehtcpaelzer, yes this is what I would say11:40
silehtcpaelzer, I would said the 'main' qemu should stick 2.1 and the cloud-archive one should use "2.3"11:42
silehtcpaelzer, that should limit the breakage ?11:42
cpaelzeronly for one "sort of UCA" - you have qemu 2.3 because you have the liberty UCA I assume11:44
silehtcpaelzer, exaclty11:44
cpaelzerbut what about one that comes from U/J/K ?11:44
cpaelzerthey will have the other versions11:44
silehtcpaelzer, I was using debian before and the machine for those VM is 'pc-i440fx'11:45
silehtcpaelzer, and I have no pb with them11:45
cpaelzerI wish the past wouldn't have forced us onto the specific type route11:45
cpaelzerbut none of us can change that11:45
cpaelzersileht: hmm, the pc-i440fx is also only a pointer to latest11:46
silehtcpaelzer, let's me check what I really have currently running11:47
silehtcpaelzer, I have this currently on my cluster:11:49
silehtpc-i440fx-2.1,accel=kvm,usb=off11:49
silehtpc-i440fx-utopic,accel=kvm,usb=off11:49
silehtpc-i440fx-vivid,accel=kvm,usb=off11:49
silehtI'm guessing the debian VMs are 'pc-i440fx-2.111:49
silehtwith number:11:51
sileht      2 pc-i440fx-2.1,accel=kvm,usb=off11:51
sileht     90 pc-i440fx-utopic,accel=kvm,usb=off11:51
sileht     50 pc-i440fx-vivid,accel=kvm,usb=off11:51
silehtcpaelzer, kilo UCA have the utopic machine patch and it's 2.2 :(11:53
silehtthis is an awful bug11:54
cpaelzersileht: I can only agree12:00
cpaelzersileht: I'll dump the state into the bug, but that needs more people involved given the potential magnitude12:00
cpaelzerI wonder thou that this only affects special cases - as I can just nicely migrate trusty to xenial12:04
cpaelzerwhich is 2.0 to 2.512:04
cpaelzerand while xenial currently mis-assumes that to be a 2.5 type it is just fine12:04
cpaelzerso on a migration it seems to be important what both pairs think12:04
cpaelzerumm "the pair"12:05
cpaelzertrusty thinks it has a 2.0 guest (correct) and Xenial (while misinterpreting the type as 2.5 when starting new) can receive it correctly12:05
cpaelzeryet it fails for you from 2.3 -> 2.512:06
cpaelzersome of the special quirks qmeu/libvirt do only apply to certain combinations - and this might be one12:06
cpaelzersileht: as guest type?12:06
cpaelzersorry12:07
cpaelzerbad reference - ignore it12:07
silehtcpaelzer, if you apply my fix but puting 2.0 instead of 2.3 you will fix the 'main' repo12:10
silehtcpaelzer, but UCA users will still be broken12:10
cpaelzersileht: yes this is how far I am in my thoughts12:10
cpaelzersileht: but I'm spinning around why you are broken and a base T->X migration is not12:10
silehtcpaelzer, because UCA have backported qemu without updating define-ubuntu-machine-types.patch correctly12:12
cpaelzersileht: almost - because utopic machine type update was done wrong, never fixed till now and all those releases in between got picked up by UCA12:13
silehtyeah :(12:13
cpaelzersileht: do you need more than x86 for your tests if I prep a ppa?12:32
silehtcpaelzer, no I only have amd64 server12:33
cpaelzerjamespage: FYI - you might want to reread bug 1641532 content and triage accordingly for UCA now12:41
ubottubug 1641532 in qemu (Ubuntu) "machine-types trusty and utopic are not unique (depend on the qemu version)" [Critical,Confirmed] https://launchpad.net/bugs/164153212:41
=== amoralej is now known as amoralej|lunch
jamespagecpaelzer, ack12:53
silehtcpaelzer, I have tested your ppa and got the same issue so like I thought, in my case, the utopic type is a 2.3 type13:16
=== _degorenko|afk is now known as degorenko
=== amoralej|lunch is now known as amoralej
cpaelzersileht: I was afraid of that, but thanks for verifying13:28
silehtcpaelzer, for my cluster I can live with the custom package for a while13:29
silehtcpaelzer, don't hesitate to ping me for real testing13:30
cpaelzersileht: thanks - I highly appreciate your report and your fast feedback on this - yet as we agreed before it is an ugly issue and won't make me or anybody else ever really "happy"13:30
bananapieI want to use debootstrap to create a new xenial image, my machine is running on precise. How do I add xenial to debootstrap on an old version of ubuntu?13:53
bananapiei created a symlink in /usr/share/debootstrap/scripts   ( ln -s gutsy xenial )13:53
bananapieoops13:54
bananapienevermind, it's ubuntu-vm-builder that I am using, not debootstrap.13:55
bananapiei'll just install old-school using an iso13:56
KlausedSourcehey everyone, i edited the sudoers file with the command visudo and added the following line: "%rftadm ALL=(ALL) NOPASSWD:ALL"16:02
KlausedSourceit doesn't seem to be applied though16:02
KlausedSourcedo i need to restart the system or any service? im running ubuntu 16.04 lts16:03
KlausedSourcei want every user in group rftadm to be able to use sudo without passwortprompt16:03
ddellavzul can you review lp:~ddellav/ubuntu/+source/keystone master branch, I've implemented your config generator script and it seems to work but I want to make sure. I've installed the built package and it works.16:10
cpaelzerKlausedSource: I think it has to have a space between ":" and ALL16:11
cpaelzerKlausedSource: usually no restart/reload needed for that16:12
cpaelzerKlausedSource: use "visudo" to edit the file that does all you need and locks properly16:12
cpaelzerKlausedSource: IIRC for the groups you could also try "%rftadm ALL=NOPASSWD: ALL"16:13
KlausedSourcecpaelzer, i figured out the problem with space too. however that alone didn't fix it.16:13
KlausedSourcecpaelzer, the user was also in group sudo and for sudo there was a password-prompt (default) line in the sudoers file which lead to the setting being overwritten by it16:14
cpaelzerKlausedSource: so it was an issue of first match then and is resolved for you now?16:15
ddellavcoreycb jamespage i need a review for the cinder sru: lp:~ddellav/ubuntu/+source/cinder newton branch, just a missing dependency added16:17
KlausedSourcecpaelzer, yes it is resolved now. however it wasn't first match but it got overwritten (first match was %rftadm, followed by %sudo)16:20
cpaelzerKlausedSource: oh really - didn't remember it was that way around - thanks for sharing16:21
KlausedSourcecpaelzer, ye i thought it would be first match too that's why i posted here in the first place16:22
zuljamespage: when you get a chance can you review this please? https://code.launchpad.net/~zulcss/charm-helpers/ocata-support/+merge/31067816:24
Pinkamena_DI just accidentally ran $ sudo setfacl -d -m g::--- /  what is the correct group defaults that are supposed to be there??16:46
coreycbddellav, can you add some more details to that bug, including sru sections in the description?16:56
ddellavcoreycb what would you suggest I use as the impact? I didn't initiate this sru from noticed behavior, it was simply missing a dependency. It still builds and installs fine. Should I attempt to create a situation where keystoneauth1 is required?17:00
coreycbddellav, i think if you look at cinder code that imports keystoneauth1 that wouldn't work if python-keystoneauth1 was missing17:03
coreycbit's possible that keystoneauth1 is getting pulled in by another dependency though17:03
ddellavcoreycb it is being pulled in by python-keystoneclient17:06
zulddellav: and your keystone branch builds ok?17:32
zulddellav: changelog should be ubuntu1 btw17:32
ddellavzul yes, in zesty17:32
zulddellav: fix the changelog and ill merge it17:33
ddellavzul ah yea, dch incremented it. I'll fix it17:33
=== iberezovskiy is now known as iberezovskiy|off
ddellavzul pushed17:34
zulthanks17:34
powersjcpaelzer: is it possible to increase disk space on the s390x lpar? :) we ran out17:55
xnoxpowersj, there is very little disk space and it is epxensive18:09
xnoxpowersj, =/18:09
powersjxnox: ok thanks for the heads up. I'll let cpaelzer respond to my email as well to see if we can slim down the images18:19
=== amoralej is now known as amoralej|off
=== blacknred0 is now known as Guest22544
=== Guest82234 is now known as blacknred0
zuljamespage: https://code.launchpad.net/~zulcss/charm-helpers/fix-typo/+merge/31080519:52
momkenhello20:46
momkenI have recently bought a 512MB vps20:46
momkenthe images available are 16.04 64bit and 14.04 32bit and 64bit.20:46
bekksmomken: So use 16.0420:47
tewardmomken: I don't see a question here.  Use 16.04.20:47
momkenIs it better to have the more uptodate 16.04 64bit or less ram usage in 14.04 32bit^20:47
momken?20:47
momkenHmmm. Isn't 512MB ram very small for 16.04 64bit?20:48
momkenI think the 64bit system would consume ~1.5x ram than 32bit20:48
bekksYou wont notice the difference in RAM usage.20:48
bekksYout thought about that is entirely wrong.20:49
bekks*your20:49
momkenbekks, I don't think so. There is a little more usage because increased size of 64bit pointers20:50
bekks1.5x is totally nonsense.20:50
momkenIt is more significant in low rams.20:50
bekks"a bit more" means a few MB. Not 1.5x20:50
momkenbekks, But yeh I also think that should not be more than 100MB for increase20:50
bekksWhere did you got that rumout from, regarding 1.5x?20:51
momkenbekks, It was only a guess20:51
ThiagoCMCHey guys, the Ansible's service module is not working on Debian / Ubuntu LTS, basically, this: "- service: name=dpdk enabled=yes", does nothing, service does not become enabled! `systemctl status dpdk` show its disabled, any clue?20:51
bekksmomken: And that guess is horrible wrong. So just use 16.0420:51
momkenI read somewhere it may even take more than 1.7x20:51
momkenbekks, OK, thanks20:51
bekksWherever you read that - ignore that site from now on.20:51
tewardrbasak: ping, there was a bug you poked me on about a week ago, which one was it?20:58
=== Guest22544 is now known as blacknred0
ThiagoCMCHey guys! I have an Ubuntu 16.04 running OpenvSwithc and DPDK, it is really awesome! From Newton Cloud Archive...22:06
ThiagoCMCHowever, my Newton, is not using the OVS with DPDK, it still uses the regular OVS bridges... My KVM only setup with with OVS+DPDK but, Newton is "not aware" that OVS+DPKD is available... Where are the instructions?22:06
ThiagoCMCThis doc: http://docs.openstack.org/newton/networking-guide/config-ovs-dpdk.html looks not enough...22:07
ThiagoCMCDo I need the "sudo apt install python-networking-vs-dpdk" package installed?22:09
sarnoldThiagoCMC: hah, once again I thought of you being the expert here before I noticed that it was you asking the question..22:48
ThiagoCMCsarnold, lol23:00
ThiagoCMCcome on...   =P23:00
ThiagoCMCIf I don't know, I don't know...23:00
ThiagoCMChave to ask...   =)23:00
sarnold:)23:00

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