/srv/irclogs.ubuntu.com/2015/07/14/#ubuntu-server.txt

=== alsch is now known as greybeard
=== greybeard is now known as alsch
lordievaderGood morning.07:15
=== Lcawte|Away is now known as Lcawte
thewallHello. I need help with ubuntu cloud-archive packages for Juno. Can anyone please help me? :)07:44
=== markthomas|away is now known as markthomas
ruioreyhi, we have a problem in our server, we wrongly manually replaced some files in usr/lib and as result we had several errors we have been solving. the actual one is error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory...we try to run apt-get and get errors installing removing etc...because almost all processes depend on it. any suggestion would be very welcome10:32
bekksRestore your backup.10:33
ruioreyno backup.. :/10:34
bekksSo you have no data worth to be kept on your server. Reinstall it.10:34
maswanSet up a system with identical package set installed. Boot the server off rescue media. Copy relevant files from the temporary one.10:35
ruioreywe have10:35
bekksruiorey: You dont, since you have no backup.10:35
bekksruiorey: All you can do now is boot a live cd, copy all files you still need, and reinstall the server.10:36
ruioreymaswan, do you think direct copy from a similar system will work?...in this case libpthread.so.0 just needs to be replaced?10:40
bekksruiorey: No. :)10:40
maswanruiorey: It might work. For a while.10:40
bekksruiorey: Copy all files you want to keep, and reinstall the server.10:40
maswanruiorey: But you'll never get to the point where the server will be a reliable server10:40
ruioreyok thanks maswan10:41
ruioreyand why is not going to be reliable?10:41
maswanBecause how can you make sure that you got all the files, and got exactly the right versions?10:41
ruioreyok10:41
ruioreythanks10:42
arcskyshortcut , ctrl + w deletes a word does anyone know if you can delete a word if you are infront that word instead if the backend?10:44
TJ-arcsky: you're talking about readline? In bash "kill-word" is meta+d10:47
arcskyTJ-: ctrl+d deletes just one char10:50
histoarcsky: in vim?10:51
TJ-arcsky: I said Meta+d not Ctrl+d10:52
arcskyhisto: in shell11:08
histoarcsky: yeah alt+d11:09
arcskyhisto: perfect thanks!11:11
=== markthomas is now known as markthomas|away
fornaxI I'm running docker on my ubuntu server and want to bind docker to a specific virtual nic. Can one explain me how to create a virtual nic and add it to my bridge br0? The nic will get a ip from my providers dhcp server and shall allow that docker only exposes its ports to the nics ip13:53
=== markthomas|away is now known as markthomas
=== markthomas is now known as markthomas|away
=== markthomas|away is now known as markthomas
bekksfornax: AFAIK, you cannot use DHCP on a bridge.14:44
jrwrenI missed context, but I've been using DHCP on bridge for a decade+14:45
jrwreni don't know docker well enough to help. sorry.14:46
lordievaderbekks: Why not?15:10
bekkslordievader: because a bridge connects two networks, and both networks may offer dhcp, which would lead to a race condition.15:12
lordievaderDoesn't a bridge have one gateway? I understand your reasoning, however I'm using dhcp on my bridge. True, it only has one physical connection.15:13
=== DenBeiren is now known as zz_DenBeiren
jrwrenthat is nonsense.15:24
jrwrenevery port on a switch is a bridge. we use dhcp with switches all the time.15:25
* pmatulis pulls up a chair15:32
* teward yawns.15:38
tewardis the server team still meeting today?15:38
fornaxbekks: I already use DHCP on my bridge and 2 lxc containers. But now I want to create one more simple virtual ethernet device (veth) manually inside an ubuntu config file to get docker bound to this veth15:46
mgzopenstack charmers, can someone take a look at bug 1474291 - if I'm parsing it correctly there's an issue in the ceilometer charm rather than juju15:59
ubottubug 1474291 in juju-core "juju called unexpected config-change hooks after read tcp 127.0.0.1:37017: i/o timeout" [Undecided,New] https://launchpad.net/bugs/147429115:59
mgzthe config-changed hook should be idempotent, juju can and will call config changed when you're not expecting it16:00
=== zz_DenBeiren is now known as DenBeiren
qman__bekks, lordievader: bridges can absolutely be configured dhcp, though it may not work properly if they're not on the same network16:04
smosersmb, https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/147352716:08
ubottuLaunchpad bug 1473527 in cloud-init (Ubuntu) "module ssh-authkey-fingerprints fails Input/output error: /dev/console" [Undecided,New]16:08
smosermy general question to you, is ... assuming functional /dev/console (ie, one tied to an actual serial device) ..16:09
smosershould you be able to have multiple openers and concurrent writers ?16:09
smbsmoser, Without further checking I would think multiple writers unlikely16:10
smoseri was unable to recreeate failure16:11
smoserwell, in that serial-shell-looper attached there.16:11
smoserthat basically opens up N sub-processes that just open write close to /dev/console16:11
smosersmb, so cloud-init has a general desire to write messages to the console... in an effort to have things logged. if in fact /dev/console (or /dev/ttyS* or whatever console=) are not multiple-writer friendly, how would you or anyone suggst such a thing occur16:13
smbsmoser, well that was a first guess. might be the console device is different. But I would need to look into the code to be sure16:20
ruioreybekks , maswan it is working thanks for the help..we installed a server version equal in a vm, downgraded the kernel on the vm and replaced the files in the server :)16:24
bekksruiorey: And how did you ensure that you replaced ALL files that were corrupted?16:34
ruioreyi'm not sure but all services are running fine16:36
smosersmb, could you take a glance at that? i'm at least interested in knowing if i can hope to arbitrarily open /dev/console or its convigured device and write to it.16:52
smoseror if doing that is going to always be a race condition without some intermediary16:52
=== athairus is now known as afkthairus
linuxgeek_hi, i have installed 14.04.1 on a vm17:06
linuxgeek_two nics eth0 and eth1 is added. both have ip's on different subnet and a different gateway17:07
linuxgeek_at any point of time, only one ip is accessible17:08
linuxgeek_how can i configure the routes or gateway so both the ip's is accessible17:08
smbsmoser, So I think the answer to console is that may work but is not guaranteed. The other question would by why you insist on directly opening the device again. I assume that ssh-authkey-fingerprints is called from the systemd service which already re-directed output for you.17:43
smosersmb, 2 reasons17:43
smosera.) i dont want to be dependent on systemd17:43
smoserb.) systemd prefixes output with job name17:43
smoserc.) i guess... how does one know that systemd wont fail to write there ?17:44
smbb is not a reason. that's an opinion17:44
smoserb most certainly is not opinion. it is fact.17:44
smosermaybe opinion that i dont like that.17:44
smoserbut it is true for sure.17:44
smbOk, agreed that it does. But some would rather say thats good17:45
smoserthe other eason woudl be that i'd like to go to all console= parms on the command line. not just the one that gets assigned to /dev/console17:45
smbsmoser, Which probably would require you to write code which emits stuff round-robin. And likely that should only open, write and close, plus handing open failure and do retries. And hope nothing else hogs the device.17:52
smbsmoser, Unfortunately I cannot remember details but that problem feel familiar from somethign invilving upstart and plymouth and not being resolved there either...17:54
smoseryeah. :-(17:54
smoserand then there is the fun where writes to a non-existant /dev/ttySX work for a while (as they're buffered)17:54
smoserand then fail some time later.17:55
smoserthanks smb.17:56
=== pleia2_ is now known as pleia2
=== shirgall is now known as Guest81150
=== ryan`c is now known as ryan-c
=== SJrX is now known as SJr
=== huttan_ is now known as huttan
=== teward- is now known as teward
=== afkthairus is now known as athairus
=== liam_ is now known as Guest10453
coreycbjamespage, we need python-jsonschema for trove in the liberty cloud archive, that fixes those test failures20:21
=== _thumper_ is now known as thumper
=== mgagne_ is now known as mgagne
sarthorHI, using ubuntu 14.04 mysql-server taking long time to start while ubuntu restarting.. help.23:06
RoyKsarthor: did the server crash before this bootup?23:22
sarthorRoyK no.23:23
RoyKsarthor: perhaps try #mysql - I don't like mysql - it's a pain - use postgresql if you want something useful (if you can)23:23
sarthorRoyK OK. Thank you,23:25
tewardwhere do I report an oddity in the landscape dedicated server software?23:29
sarnoldsarthor: check the log files.. often issues just show up there..23:29
sarnoldteward: is it a recent / transient issue? or osmething that's been bugging you for a while?23:30
tewardsarnold: something I only discovered now, not sure if it's something already known or not.23:30
sarthorsarnold, OK. Checking.. Thanks for reply sarnold23:30
teward(an oddity in license-to-use detection)23:30
tewards/license-to-use/registration-class-to-use/23:30
sarnoldteward: aha; bug report might be okay, talking with a support rep or sales rep or whatever might be better. I'm not sure where to send you..23:31
tewardsarnold: probably a bug report23:31
tewardit's not with the ubuntu advantage program, it's the free personal-use one23:31
tewardso not Cloud LDS, Standalone LDS23:31
tewardsarnold: just an oddity - Lubuntu VM, Product Identifier shows as KVM, and it's detected as a computer, not a VM.  Which is... odd, I think23:32
tewardsarnold: http://i.imgur.com/yQ9H5X0.png  <-- a snippet of what I see on Landscape.  I'll probably file a bug, but if you want to throw it towards their support reps feel free.  I get 0 support because i'm not paying for it (it's the standalone personal use)23:35
sarnoldwell, if you see it, chances are good someone else may see it too23:36
tewardsarnold: it's odd, because I"m borrowing phillw's Lubuntu VM.  It's on KVM on a CentOS host, so maybe it's intentional to detect it as that?  (perhaps how open stack is supposed to mimick computers, theoretically?)23:37
tewardalthough granted landscape has a dedicated openstack part23:37

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