[00:16] about to upgrade ubuntu 14.04 => 16.04 server via command line; anything i need to keep in mind? [00:16] about to upgrade ubuntu 14.04 => 16.04 server via command line; anything i need to keep in minabout to upgrade ubuntu 14.04 => 16.04 server via command line; anything i need to keep in mind?d? [00:16] oops sorry for the repost [00:16] (twice :( ) [00:17] if you've got apache installed I think 16.04 changed the authentication and authorization stuff [00:17] and php7 doesn't handle everything php5 did. or something like that. [00:18] arooni: take a full system backup before you begin :) [00:18] is doing the upgrade not recommended [00:18] i.e. as opposed to transferring to a clean install [00:19] no, upgrade should work, please file bugs if you run into trouble. but backups are always a good idea. :) [00:20] running a snapshot backup first [00:29] i wasnt really paying attention; was running sudo apt-get dist-upgrade wrong [00:30] do-release-upgrade is the supported way to move from one release to the next [00:34] sarnold: ok so a bit of dist-upgrade already ran before i control c'd it [00:34] does that mean i really screwed up [00:34] maybe [00:35] and need to restore from the backup before trying again [00:35] did it start unpacking packages yet? [00:35] or was it still downloading? [00:35] ummm i think it was setting up packages :( [00:36] got to this https://gist.github.com/5b17ced2bbdde3cae2cc806cdba9bae8 [00:36] *probably* if you set the apt sources back the way they were, and run do-release-upgrade, it'll sort out a path forward [00:36] arooni: those numbers seem sane. might as well let it go :) [00:37] well i have a backup in case i kaboshed it [00:37] may as well see [00:45] arooni: if you have apache2, sites-enabled needs to contain files ending with .conf [00:45] nacc_: do you want me to work on getting gpgv in the snap tomorrow? Or are you looking at it already? [00:46] sdeziel: i'm using nginx [00:46] if there are any gotchas there [00:46] arooni: not that I remember [00:46] arooni: only good things ahead (http2) :) [00:47] rbasak: i can work on it now, and i'll send an mp off yours? [00:47] it should end up passing ci as a means to check it [00:49] goodbye php 5.6 [00:49] hello php 7 [00:50] arooni: 14.04 -> 16.04? [00:50] howd you guess lol [00:51] nacc_: sure, thanks [00:51] arooni: :) [00:51] should i keep the unattended upgrades config file i created [00:51] diff doesnt appear to have anything about a specificrelease [00:56] arooni: trusty ships with php 5.5.9, do you have any PPAs? [00:57] i think i did [00:57] probably should have blown them away prior to upgrade [00:57] do-release-upgrade does automatically disable them, but you still need to purge them, iirc [00:58] well it booted up successfully as 16.0.4 [00:58] 16.04.4 [00:59] arooni: well, that's not released yet, so hopefully not :) [01:06] nacc_: the base-files update was pushed already [01:06] sdeziel: really? [01:06] sdeziel: that's surprising, but i guess doesn't hurt [01:06] grep VERSION= /etc/os-release [01:07] all of my systems are reporting 16.04.4 [01:07] so ;;; if there are things listed in my sources.list.d directory that reference trusty [01:07] sdeziel: interesting, i thought that would be coordinated with the official release, but maybe that's only for the iso [01:07] do i need to delete/remove them [01:07] or will they not be used as its not the xenial release [01:07] nacc_: the ISO always seems to lag from a couple days [01:08] arooni: you need to delete/update them [01:08] sdeziel: well, the iso isn't supposed to release until mar 1 [01:08] arooni: well, only the files with names ending with .list [01:09] what are the other files there for [01:09] leftovers from the release upgrade mostly [01:24] rbasak: i'm testing the trivial revert now, and then i'll need to narrow it done [01:24] i should be able to work on it more tmrw [03:17] rbasak: sigh, you're calling gpg too in the tests :) [03:19] rbasak: i think we can snap all of gpg again, but not use it in our code [03:19] beyond the tests [03:19] i'll need to verify that's actually the case, though === nacc_ is now known as nacc [03:58] Hi folks, anyone using LXC/LXD? [04:22] chamar: yes [04:23] sdeziel, Are you using the apt-get package or snap?! Having package at both place is kind of confusing [04:24] chamar: I'm using the apt-get package because I set this up before the snap came in. That said, upstream recommends using the snap now [04:25] Thanks, I'll go with snap then. Appreciate. [04:25] np [04:27] is it possible to enable/disable a graphical desktop environment on-demand? [04:44] you can certainly apt-get install unity or fvwm2 or whatever you want .. and then apt-get purge it again later [04:52] Goop: on a 16.04 desktop, you could set the lightdm service to not autostart (systemctl disable lightdm) and manually start it when you want a graphical session [04:54] Goop: you don't mean "systemctl set-default" do you? [04:55] ...because if youre going to have a generic system-wide default on Unixlike systems, of course it should really mean "is this my laptop or not". :P [04:55] s/default/& setting/ [05:03] urgl.. what is that netplan thing?! :/ [05:03] chamar: You should still be able to install/usr ifupdown. [05:04] yeah.. ho.. that seems to be tied with systemd.. hum === nchambers is now known as uplime === uplime is now known as nchambers [06:03] good morning [09:50] nacc_: oh. To import the keys into keyrings, yeah, sorry. Any version fo gpg will do for that though. [11:01] i want to install snmpd [11:01] apt-get install snmpd [11:01] errror is : libsnmp30 depends libsensores [11:02] i use ubuntu server repository [11:02] trusty distribution [11:02] snmpd depends libmysqlclient18 [11:19] soshiant: can you !paste the full output? [11:19] soshiant: also run an "sudo apt-get update" first [11:40] libsnmp30 depends libsensores4 but it is not installed [11:41] snmpd depends libmysqlclient18 but it is not installed [11:41] soshiant: can you paste what "apt-cache policy libsnmp30" says? [11:41] !paste | soshiant [11:41] soshiant: For posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [11:41] i use ubuntu server repository [11:41] i can't past [11:43] When 18.04LTS goes live, what ver of php will it have ? 7 ? [11:51] https://paste.ubuntu.com/p/7DrW4n74r5/ === zzz_ is now known as zzz [12:53] jamespage: you might want to fix your ceph-volume patch to avoid overlap with debian/python-cephfs.install:usr/lib/python2*/dist-packages/ceph_volume_client.py*, see https://git.launchpad.net/~j-harbott/ubuntu/+source/ceph/commit/?id=a874f13042b58073906b9a4465c3498d99301d3c [13:26] frickler: thanks [13:29] . [14:07] Good afternoon folks, just dabbling with Ubuntu 18 and I would like to drop netplan and use the stock systemd-networkd. Is there any caveats or things to be aware of in this? [14:07] And a simple way of disabling netplna [14:07] Netplan [14:13] boxrick: https://wiki.ubuntu.com/Netplan#I_really_do_need_ifupdown.2C_can_I_still_use_it.3F [14:13] Oh I'm sorry. [14:13] That's not exactly what you asked. [14:14] But I suppose if you used ifupdown in the way described, it's easy enough to configure it to do nothing. [14:14] I suspect exactly the same applies with netplan - if not given a plan, it will do nothing. [14:14] cyphermox: ^ [14:15] So lets assume I remove the netplan config then insert the systemd networkd config and restart networkig [14:15] networking* [14:15] What does "restart networking" mean? :) [14:16] Good point, since that doesn't work in Ubuntu 18 [14:16] The term has no meaning. [14:16] Way back when (before upstart) it might have meant "run the restart action on the networking init.d script) [14:17] Nowadays with more complex networking setups, and hotplug and so on, it has little meaning. [14:26] boxrick: have you filed bugs about whatever doesn't work for you? [14:26] and yeah, if you just remove the config, it will do nothing [14:37] There is no bugs [14:37] Just rather first testing [14:37] I need a multi OS networking config, so netplan isn't suitable [14:37] Configuring systemd-networkd directly is ideal. [14:38] So as a brief example, if I have eth0 configured by netplan on DHCP. If I remove the config, recreate in systemd-networkd and do a service systemd-networkd restart. Will it spring to life ? [14:38] Is there any way to confirm netplan is not doing the config to make sure its working. [14:39] if there is nothing in /etc/netplan, netplan will do absolutely nothing [14:40] but yes, you can use netplan to generate a configuration, then edit it as a starting point for using systemd-network directly -- so once you have config for systemd-networkd in /etc/systemd/network, you can restart systemd-networkd and the network should be managed correctly. [14:57] nacc_: would you mind avoiding prefixing your branch names with lp references please? It stops me being able to tab complete anything :-/ [14:57] A suffix would be fine. [15:39] frickler: thanks for that - I've pushed ready for next week when I'll upload [15:41] jamespage: nice, maybe you can also consider https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1752308 [15:41] Launchpad bug 1752308 in ceph (Ubuntu) "ceph-mgr needs python-jinja2 for dashboard plugin" [Undecided,New] [15:46] rbasak: why does it stop you? === nacc_ is now known as nacc [15:50] nacc: because autocomplete stops after nacc/lp173 and after that I basically have to look up the number every time. From my POV your branches might as well be numbered instead of being named. [15:51] rbasak: right, but for me it's handy to know which branch i need to checkout based upon which bug i'm working on [15:51] rbasak: if it's a suffix, i need to know the i chose in order to find it [15:52] I didn't think you'd find it less convenient. It's your choice I guess :) [15:52] Personally I can remember the names of a few different things more easily than I can remember the numbers of a few different things :) [15:52] rbasak: i'm the opposite :) [15:52] (and the numbers are typically all alike) [15:53] nacc: if you're available, would you like to sync before the standup? [15:54] rbasak: ack [15:54] rbasak: i can join now [15:54] omw [15:54] jamespage: down to 3 failures with tempest on queens [15:55] jamespage: i'm planning to get the final releases uploaded and then work through those last 3 failures [15:56] coreycb: +1 [15:56] sounds good - do you need a hand? [15:56] happy for you to take all of the release glory but if you want to spread the load I have some 'waiting for functional tests to complete' time [15:58] jamespage: either way is fine with me [15:58] jamespage: should be relatively light-weight at this point [15:58] coreycb: ok shall I take the neutron* and networking* bits then? [15:58] and you can work the rest [16:05] jamespage: sure, sounds good === dcmorton_ is now known as dcmorton === edwardly_ is now known as edwardly === geofft_ is now known as geofft === Cyrus is now known as Guest1156 === arunpyas- is now known as arunpyasi [16:43] rbasak: do you have a few minutes? just wanted to check something with you [16:43] nacc: sure. Which HO? [16:43] rbasak: standup is fine [16:44] omw === rharper` is now known as rharper [16:47] Hi everyone, I need to have a secondary mail server which can be used to receive and send emails when primary server is down and the emails should be sync with one another. How do I achieve that ? A good tutorial/manual/tool/link would be appreciated. Thanks ! [16:48] arunpyasi: if using postfix a smarthost config on 1 of them [16:59] TJ-,doing that will sync the emails on both the sides ? [17:02] arunpyasi: the idea is the SmartHost receives them and passes them on to the primary server when it can [17:09] TJ-, ok, I went through this soln but the thing is, I need each other to be synced and server2 be available for pop/imap/smtp when server1 is down [17:11] arunpyasi: then you'd need file-system level syncing between them of the mailbox directory/ies so POP/IMAP clients can see the emails [17:13] TJ-, ok so this goes to the filesystem sync ? can it be rsync or GlusterFS ? [17:13] You need 2 servers that share the same FS, and the config on the servers should reflect that [17:13] arunpyasi: take your pick of options :) I think I'd want a distributed file-system of some sort to make the sync transparent, but then you hit the problem of, at some times, needing it to switch masters [17:13] also you need a smart way to determine when one is down and automatically fail to the live server [17:14] arunpyasi: might be worth looking at how high-available servers are configured for jsut this kind of thing [17:14] you could use a VIP that then goes to one or the other servers, the VIP could live on something like a F5 [17:14] which would switch from one to the other based on which is live === Serge is now known as hallyn === devil is now known as Guest59388 [17:25] Ussat, what is VIP ? AFAIK is Very Important Person [17:26] Virtual IP [17:27] So.....in the case of your scenario, the IP would reside on the F5 or similar, and the F5 would forward requests to one or the other server [17:27] AKA Poor Mans HA [17:27] Its perfectly viable though and works quite well [17:28] Hard to explain over text [17:42] coreycb: ok have neutron* and networking* built - about to publish to bionic once everything is differed [17:43] jamespage: awesome [17:59] coreycb: publishing now - I'll need to eod shortly [18:00] jamespage: ok thanks. i should be able to get the rest today. work is underway on my end. [18:32] _bladernr_: the bug looks fine. Thanks. nacc is working on it now, we'll let you know where there is something to test. [18:32] dpb1: thanks [18:34] <_bladernr_> dpb1, thanks! [18:34] rbasak: to be sure, you're planning on acking my branch (fixes) before you EOW? [18:35] rbasak: and/or reviewing i guess [18:35] nacc: good thing you pinged him here. :) [18:35] dpb1: well, it's what we had talked about earlier, but i wanted to be sure -- needed before we can ramp up phasing [18:38] nacc: understood [19:11] nacc: yeah I am. I deferred finishing work to do some chores that needed setting off earlier (like laundry). Now back to finish work and OW :) [19:11] EOW [19:11] rbasak: np, i'll need to reboot in a sec, but i think this snap test should pass now (turns out gpg is senstivie to the order of its options :) [19:27] rbasak: ok, got self-test working with yoru branch [19:27] i'll update mine [20:17] rbasak: fyi, tests pass with my branch, i think i'm ok to land (i could wait for the integration tests, but it's a noop there, afaict) [22:25] powersj: hrm, do you know if the jenkins is perhaps not retriggering right now on branch changes? [22:25] powersj: i just updated ~nacc/lp1734905-script-fixes and i'm not seeing the CI job yet [22:25] nacc: https://jenkins.ubuntu.com/server/job/git-ubuntu-ci-trigger/17270/console that's the latest job [22:25] usually it's pretty immediate [22:25] it runs every 15mins [22:25] oh ok [22:26] maybe i always just got caught it before :) [22:50] jamespage: everything for queens should be uploaded at this point. will cross-check the report later. still have 3 tempest failures. [23:15] hey guys. I’m trying to set e-tag and last-modified headers on my .htaccess but it only seems to work for requests to my subdomains. any ideas? (Wordpress on Ubuntu) [23:16] driftmonk: iirc the main config delegates to the htaccess files which settings can be modified; perhaps your vhost configs delegate those things, but the "main" configs do not? [23:18] sarnold: are you talking about the httpd.conf file? [23:19] sorry i haven't touched web servers in a while [23:20] driftmonk: yeah, and all the files that it includes [23:22] mm yes perhaps. I’m just using digital ocean with a Wordpress on Ubuntu platform. where on the machine can I find the configs? [23:23] /etc/apache* I think [23:23] ahh! right! thanks sarnold. will have a look! cheers :) [23:33] how can i discover whether a certain package is installed by default on an ISO? for instance, how to discover whether 'lxd' is installed on Artful Server or Artful Desktop? [23:33] pmatulis: seeded-in-ubuntu command [23:34] pmatulis: and 'preinstalled' in the output for server or destkop as appropriate [23:36] never installed for me [23:36] but that is cause I only install jeos [23:39] nacc, sweet! but this covers only the running release right? [23:41] also, for 'snapd', i see 'ubuntu-server: daily, daily-live, daily-preinstalled' [23:41] what about the official ISO? and there are live ISO's for server? [23:42] pmatulis: i'm actually not sure, i think it reflects the current seeds (e.g., for bionic), but i really don't know [23:42] pmatulis: there is a new installer iso now (subiquity) [23:42] pmatulis: i wonder if that is waht the daily-live is [23:43] powersj: --^ maybe you can answer better? [23:43] er i don't think so [23:43] the live-server is just the server seed + sprinkles [23:43] oh ok [23:44] i think, anyway :) [23:46] or is it the cloud-image seed? [23:54] minimal, standard, server and cloud-image _tasks_ it seems [23:54] mwhudson: ah