[00:23] <picoleau> hi
[08:26] <damascene> Hi, I'm trying to connect using virt-view to my kvm machine but it says "waiting for display 1" could you please help me to connect?
[08:28] <lordievader> Is it allowed to connect to the vnc(?) server (over ssh)?
[08:32] <damascene> lordievader, by who?
[08:33] <damascene> how to enable that?
[08:35] <lordievader> What virt-view does is ssh over to the kvm host and from there opens a connection to the vnc (or spice) server.
[08:35] <lordievader> A firewall might easily disallow those connections.
[08:35] <damascene> virt-viewer --connect qemu+ssh://user@192.168.1.10/system OVM2
[08:36] <damascene> I think there is no firewall issue as when I change the name of the machine to a wrong name it says there is no machine
[08:37] <lordievader> Does the firewall on the kvm host allow connections from localhost to 5900 (or whatever port the vm uses)?
[08:38] <damascene> I'll check that
[08:38] <damascene> I'm connecting from internal network
[08:39] <damascene> so there is no connection problem
[08:39] <lordievader> The loopback interface has nothing to do with the internal network.
[08:47] <damascene> so I should just check if the port 5900 is open and nothing block in.
[08:47] <damascene> ok
[08:48] <lordievader> First check what port the vm is actually using.
[08:48] <lordievader> Also, do you have the same problem with the virt-manager?
[08:52] <damascene> I can run virt-manager on the server but not through ssh -X
[08:53] <damascene> it does not forward it, and it gives no error
[09:11] <damascene> lordievader, I opened the port in the firewall but that did not change things. I had the port shown as filtered before and after putting 5900 in the allowed ports
[09:12] <damascene> however I noticed there is no password set in the vnc tab so I set a short one. it says the ip 127.0.0.1 the port 5900
[09:13] <damascene> should I change vnc to spice?
[10:46] <lordievader> You can run virt-manager on clients too.
[10:47] <lordievader> Nah, vnc should work. You could try setting the vnc to the 192.168 address and connect with a regular vnc client.
[11:16] <RoyK> hi all. trying to enable the watchdog on a raspberry pi2 here, I get this http://paste.debian.net/388577/
[11:16] <RoyK> it works if I systemctl start wd_keepalive, but it'd be rather nice if it started automatically as well :P
[11:16] <RoyK> #wrongchannel
[11:40] <BlackDex> Hello there. I have setup a bonding setup with 2 seperate bonding interfaces which are both on different vlans. When i add an IP sometimes i can't ping the gateway of the subnet in that vlan. If i do a tcpdump, i see that the ping goes via the loopback instead of the correct virtual-interface (or physical interface for that matter). Have posted this same question on the ubuntu-forums also with some more details: http://ubuntuforums.org/showthread.php
[11:48] <ertyu> hi there
[11:48] <ertyu> questioN ?
[11:48] <ertyu> when you got a service is down on a server suddently how to identify why ?
[12:02] <BlackDex> ertyu: Check the logs
[12:11] <phpcoder> hello
[12:11] <phpcoder> is good to install 15.10 for a server?
[12:11] <phpcoder> or is too new?
[12:12] <RoyK> phpcoder: you can, but I'd recommend using LTS for servers, meaning 14.04
[12:13] <phpcoder> RoyK, i thought the same
[12:13] <phpcoder> but it has a very old packages
[12:13] <RoyK> and then upgrade til 15.04.1 whenever that happens, probably late 2016
[12:13] <phpcoder> like mysql 5.5
[12:13] <phpcoder> :(
[12:13] <RoyK> phpcoder: well, if you really need newer stuff, then why not
[12:14] <RoyK> 16.04 will be released april 21, so not a long way off
[12:15] <phpcoder> ok
[12:15] <phpcoder> thanks!|
[15:51] <spm_draget> I am installing remindmine from 14.04 on ubuntu. Passenger is used to access the ruby ab, but the app wants to install dependencies using bundler:  http://dpaste.com/0KHG1SR
[15:52] <spm_draget> I assume installing stuff via bundler/gem is not a good idea if I want to keep the system clean
[15:55] <sdeziel> spm_draget: I couldn't find a way to avoid pulling gems. Here is my install guide for Redmine on 14.04: https://sdeziel.info/redmine/index.html
[15:56] <spm_draget> Couldn't it be possible that some gem is installed that also ubuntu tries to install via apt and results in conflicts?
[15:58] <sdeziel> spm_draget: yes, conflicts are possible. In those cases, the gem versions will take precedence because they are installed in /usr/local/bin
[16:05] <spm_draget> Well, it will not really be a conflict… but the version installed by apt will be simply ignored because the other one takes predesence
[17:11] <leitao_> rharper, jgrimm: How should I proceed to upload debian/ppc64el images to images.linuxcontainers.org ?
[17:14] <rbasak> stgraber: ^
[17:15] <stgraber> leitao_: we just got ppc64el hardware again a couple weeks ago and will be adding this back into Jenkins once I have some time, likely after feature freeze
[17:16] <stgraber> leitao_: note that the official Ubuntu images can be downloaded using lxd-images if using LXD or by using the ubuntu-cloud template if using LXC, those images do include a ppc64el build today
[17:16] <leitao_> stgraber, good. I thought I should upload it manually. Thanks!
[17:16] <stgraber> oh, crap, you said Debian, sorry
[17:17] <stgraber> right, so yeah, no ppc64el Debian images today, hopefully we'll have enough CPU time on the ppc64el builder to build those too
[17:17] <stgraber> though the builder being sponsored by Canonical, Ubuntu is obviously the top priority, so we may only build those weekly or something
[17:19] <rbasak> stgraber: can you tell me how to tell lxd to use an http proxy to hit image.linuxcontainers.org please? I'm failing to find any docs on this.
[17:19] <rbasak> http://ubuntuforums.org/archive/index.php/t-2308622.html is the best I can do and has no answer.
[17:19] <leitao_> stgraber, right. Is there another way to push the images to images.linuxcontainers.org?
[17:20] <stgraber> rbasak: just have http_proxy and https_proxy set in your envionrment
[17:20] <stgraber> leitao_: no
[17:20] <rbasak> stgraber: ah.
[17:20] <rbasak> stgraber: it is set, but error: Get https://images.linuxcontainers.org:8443/1.0: Forbidden
[17:20] <rbasak> I guess that's my proxy config.
[17:21] <stgraber> rbasak: hmm, that'd be my guess, yeah, images.linuxcontainers.org is a static apache server so I don't think it even can return Forbidden :)
[17:21] <rbasak> lxc remote add images images.linuxcontainers.org:443 worked.
[17:21] <rbasak> I guess it listens on that standard port number too?
[17:21] <rbasak> lxc image list images: seems to work too.
[17:21] <stgraber> it does, yeah, apache is bound to both ports
[17:22] <stgraber> I guess your proxy doesn't allow CONNECT to non-443 ports
[17:28] <rbasak> stgraber: next, "lxc image list images:" shows me the jessie amd64 image I want to start, but lists no alias. So the only identifier it has is a fingerprint. But if I try "lxc launch images:860e3f4bfab7 jessie-test" then after a long delay I get "error: image doesn't exist". Is this supposed to work, and if not, how do I map a listed image to the launch command?
[17:28] <rbasak> Sorry to bug you - if there are docs I should be using instead, then I'd be happy to read them but can't find anything.
[17:28] <spm_draget> 'bundler' on 14.04 wants to pull gcc, ruby-dev and all sorts of things. Is this intended/needed?
[17:29] <stgraber> rbasak: let me check, there sure should be an alias for it
[17:30] <Odd_Bloke> spm_draget: I guess a 'bundle install' could pull in gems that require gcc and ruby-dev to build.
[17:30] <stgraber> | debian/jessie/amd64 (1 more)   | ddfb4f30c17c | yes    | Debian jessie (amd64)   | x86_64  | 96.89MB  | Feb 14, 2016 at 7:32pm (EST)  |
[17:30] <stgraber> rbasak: ^
[17:30] <stgraber> rbasak: so lxc launch images:debian/jessie/amd64 jessie
[17:31] <rbasak> stgraber: ah. http://paste.ubuntu.com/15078417/ is what I saw
[17:31] <stgraber> rbasak: I'd have to check why starting from the short hash failed, my guess is that since the server isn't an actual LXD daemon, it's only got the fake fs tree setup for the full hash, not the partial one
[17:31] <stgraber> rbasak: right, see line 7
[17:31] <rbasak> stgraber: because of the really long output, I only noticed line 108, and wanted to launch that one.
[17:32] <stgraber> ah yeah
[17:32] <stgraber> we had folks who wanted access to the previous builds which we still have on the server (we keep 3) so we're exporting those two without aliases
[17:32] <stgraber> then since most folks pipe the list to | less because it's so long, we made it so that all images with aliases show up first
[17:33] <rbasak> I see. So I should be able to use the fingerprint like that, except there's a problem on the server which means it doesn't work?
[17:33] <rbasak> "lxc launch images:debian/jessie/amd64 jessie-test" is hanging too.
[17:33] <rbasak> I wonder if there's a different issue and I'll be told this image doesn't either in a moment.
[17:34] <rbasak> Yup
[17:34] <rbasak> "error: image doesn't exist
[17:34] <rbasak> "
[17:34] <rbasak> I wonder if that's proxy related.
[17:38] <stgraber> let me try here
[17:39] <stgraber> stgraber@dakara:~/data/code/lxc/lxd (stgraber/master)$ lxc init images:debian/jessie/amd64 jessie
[17:39] <stgraber> Creating jessie
[17:40] <stgraber> Retrieving image: 100%
[17:40] <stgraber> rbasak: ^ so yeah, I'd blame your proxy :)
[17:40] <stgraber> stgraber@dakara:~/data/code/lxc/lxd (stgraber/master)$ lxc init images:187f36b41c02 jssie1
[17:40] <stgraber> Creating jssie1
[17:40] <stgraber> Retrieving image: 100%
[17:40] <stgraber> rbasak: also, note that the actual download is performed by the LXD daemon, so you must have http_proxy and https_proxy set in the daemon's environment too
[17:40] <rbasak> stgraber: that's probably it.
[17:40] <rbasak> Is there a standard way of doing that?
[17:41] <stgraber> rbasak: I have no idea whether systemd respects /etc/environment, if it did, that'd be the easiest way. Otherwise, well, you'd have to write a unit override in /etc/systemd/system or something and then use whatever the environment stanza is in systemd (sorry, on a trusty system right now, can't check here)
[17:44]  * rbasak tries
[19:28] <Razva> does Ubuntu Server has any netinstall, like CentOS, so I can boot the machine from a virtual ISO then continue install from the net?
[19:36] <bearface_> http://cdimage.ubuntu.com/netboot/14.04/
[19:52] <maswan> Razva: Sure, just pxeboot the alternate installer - http://ftp.acc.umu.se/ubuntu/dists/xenial/main/installer-amd64/current/images/netboot/
[20:12] <RoyK> Razva: ubuntu server installs most things over the net except the initial install
[20:16] <patdk-lap> it can do the initial install over the net also, using the net iso/pxe/...
[23:32] <igneus> hey, was wondering if someone would mind helping me with my new ubuntu server 14.04, having issues with picking up the NIC
[23:32] <igneus> got a copy of the interfaces file and ifconfig here http://pastebin.com/QFuQ3H90
[23:39] <tomreyn> igneus: ifup eth0 says what?
[23:39] <igneus> let me check
[23:40] <tomreyn> also look at dmesg -T | less, type (upper case) G to go to the end and look for relevant entries there, scrolling up as needed.
[23:41] <igneus> ifup: interface eth0 already configured
[23:41] <igneus> I'll check the dmesg now as well
[23:44] <tomreyn> igneus: also try "service networking restart" (note this may disconnect you in case you are currently using this computer to chat here)
[23:44] <igneus> yeah, I've tried "/etc/init.d/networking restart" which I believe is the same (correct me if I'm wrong), but I'll try it again
[23:46] <tarpman> tomreyn, igneus: http://askubuntu.com/a/442333
[23:47] <tomreyn> igneus: it's not the same for sure but may provide the same effect
[23:48] <igneus> @tomreyn, I see, well "service networking restart" stated it failed to stop the job, and when it tried to start it, obviously it stated it was already running
[23:48] <igneus> @tarpman, I'll give that a go
[23:50] <igneus> well, "sudo ifdown eth0 && sudo ifup eth0" reported no such process and failed to bring up eth0
[23:53] <tarpman> igneus: might be trying to delete a route (to the configured gateway) that doesn't exist. is there actually such a route right now? if not, commenting out the gateway line might get it through ifdown
[23:53] <tarpman> igneus: that's a wild guess though.
[23:54] <igneus> I see, well if I understand your question, when I "ping 192.168.1.1" it reports no known network, I'll give a go commenting out the gateway line, got nothing to lose lol
[23:55] <tarpman> I don't think you understood my question.
[23:55] <tarpman> you want to read the output of 'route' or maybe 'ip route'
[23:57] <igneus> yeah, definitely did not understand that lol
[23:57] <igneus> let's give those a roll