[00:01] <jimbaker> adam_g, ok, if i hide my real ~/.ssh directory, i am running into problems. it's not clear to me this is really necessary to do however
[00:03] <jimbaker> (juju will report ERROR Invalid SSH key repeatedly)
[00:04] <adam_g> jimbaker: what i did: cp -r $HOME/.ssh /tmp/new/.ssh ; export HOME=/tmp/new ; juju bootstrap and verified the correct ssh public key was injected to the instance (ssh -i /tmp/new/.ssh/id_rsa.pub ubuntu@host worked)
[00:05] <adam_g> jimbaker: after bootstrap, 'juju status' ends up launching an ssh session. $OLD_HOME/.ssh/known_hosts is updated and AFAICS $OLD_HOME/.ssh/id_rsa consulted instead of $HOME
[00:05] <adam_g> so yeah, ends in invalid key
[00:07] <jimbaker> adam_g, ok this looks like i was able to duplicate what you're seeing
[00:09] <jimbaker> adam_g, i wonder if this is poorly interacting with ssh-agent
[00:34] <SpamapS> Ugh, handling departed/broken gracefully really is tedious sometimes. :-P
[00:35]  * SpamapS decides to see if a good solution bubbles up whilst staring into the abyss
[00:48] <jimbaker> :)
[00:48] <jimbaker> adam_g, so far all i can determine is that the real .ssh is certainly sticky
[00:49] <jimbaker> i tried playing around with starting new instances of ssh-agent, but this didn't solve the problem for me
[00:59] <jimbaker> adam_g, it seems to me that ssh insists on the real user home directory, likely for security reasons. there are certainly options for controlling this. for example, maybe we could use ~/.ssh/config and the Host directive to better control what's going on
[00:59] <jimbaker> adam_g, another possibility is to allow for juju to use a specific known hosts file per environment. i had a branch that did that, but it was much more involved in terms of ssh key mgmt. maybe if it just did the known_hosts stuff, that could be reasonable
[01:19] <adam_g> jimbaker: yeah, i think its a feature of the ssh client more than anything. im able to work around it by tweaking my schroots
[02:26] <jimbaker> adam_g, sounds reasonable
[03:41] <jtv> I'm dealing with a user question where I'm not sure the problem they're having is really related to the question.  Could anyone here shed some light on the connection failure here?  http://askubuntu.com/questions/162255/does-juju-really-need-two-nodes
[03:42] <jtv> It looks similar to this one, but lacks the notice about a deadline being exceeded: http://askubuntu.com/questions/141687/juju-error-server-refused-to-accept-client?rq=1
[04:10] <jtv> jcastro, are you still here?
[04:11] <SpamapS> jtv: those are pretty tough questions :-P
[04:11] <SpamapS> jtv: #maas might have more helpful people
[04:12] <jtv> Thanks.  My problem though is that it's all a bit too far removed from maas.
[04:12] <SpamapS> jtv: the questions you pasted are maas specific
[04:12] <jtv> Juju bootstrap… it might not even be talking to maas yet for all I know!
[04:13] <SpamapS> it is
[04:13] <SpamapS> bootstrap is the only step that talks to maas
[04:13] <SpamapS> except destroy-environment, which does the inverse :)
[04:13] <jtv> So any idea what connection it is that is failing?
[04:14] <SpamapS> jtv: if you ssh into that machine, do you see zookeeper running? Also do you see juju processes running?
[04:15] <jtv> I don't have access to any of these machines, but when you say “that machine,” which one do you mean?
[04:15] <jtv> I'm not very familiar with juju.
[04:17] <SpamapS> jtv: the second question, juju was able to ssh in
[04:17] <SpamapS> jtv: it just failed on the ZK connection
[04:17] <SpamapS> have to go afk for a bit.. but you should be able to ssh to that machine
[04:17] <jtv> Juju was able to ssh into the system it created, but not to connect to ZK?
[04:18] <SpamapS> IQinIT-node01 I think
[04:18] <jtv> It may be helpful to talk about which machine roles are involved.  But go afk first!
[09:37] <bloodearnest> morning
[11:45] <hazmat> g'monring
[11:47] <hazmat> jamespage, just watched your presentation, re q/a unexpected removal of a node is detected, but a new unit or machine is not automatically launched.
[11:58] <imbrandon> hazmat: re: detailed google storage info, man that kicks absolute arse
[11:58] <imbrandon> :)
[11:58] <imbrandon> i already have a google storage account too, just never used it much, might start now :)
[12:04] <hazmat> imbrandon, me too
[12:24] <jcastro> hazmat: imbrandon: I wonder if adding cloudflare on top of my stuff being served on the google stuff would actually make it perform worse
[12:24] <jcastro> after reading hazmat's link it seems they have a bunch of that stuff built in
[12:26] <imbrandon> jcastro: it does, i actually turned cloudflare off on omg
[12:26] <imbrandon> jcastro: it keeps the site up if its on rinky-dink hardware but otherwise it throttles as well
[12:27] <hazmat> interesting
[12:27] <imbrandon> jcastro: so its actually slower if you have a robust site
[12:28] <jcastro> imbrandon: yeah I was wondering if 2 CDN things would just end up clobbering
[12:28] <imbrandon> in other words if you dont have to worry about your shit falling over face first if you get slash-dotted cuz you have google storeage backing or juju nginx scaling ,your better off without  cloudflare
[12:29] <jcastro> I was kind of hoping their static server config would give me automagic spdy but it's just normal http
[12:29] <imbrandon> yea the 2 cdn dont really hurt, but their throttleing does, it keeps connections alive so they dont fail but at some point arround ~100 connections the are serialized
[12:29] <imbrandon> ~100 concurent*
[12:30] <imbrandon> so like connections 100 to 150 ( 50 connections ) sit and wait for the first 100 to finish
[12:30] <imbrandon> but are kept alive tcp so they dont fail
[12:30] <imbrandon> etc
[12:30] <imbrandon> very cool setup but if you got the backing to do better its best not to have it on
[12:48] <jamespage> hazmat, hrm - is it not? OK - I must have seen a different behaviour then
[12:51] <hazmat> jamespage, hmm.. i take it back, it will relaunch the machine
[12:51] <hazmat> but not as a new unit
[12:51] <hazmat> which feels a bit questionable...
[12:58] <gary_poster> hi everyone.  We're interested in using juju as part of an entirely automated process--part of an integration test for a script that configures a machine, fwiw.  Juju is nice as an abstraction that can be pointed to a variety of backends for the test.  This works very well mostly, because juju ssh and juju scp accept all arguments to their wrapped commands, so we can use -o to pass ssh config values to turn off interactive p
[12:58] <gary_poster> rompts.  However, juju deploy won't let us pass these -o options for when it is trying to connect to the 0 machine initially.  Is there a command-line workaround for this (that is, other than modifying your .ssh/config)?  Alternatively, if I filed a juju bug for this feature would it have a chance of actually being accepted?
[13:00] <jamespage> hazmat, I used this when I had issues starting instances on an openstack deployment
[13:01] <hazmat> gary_poster, yes re bug, its inconsistent behavior.. for the other machiens your passing it via  unit name identifiers or via machine id?
[13:01] <jamespage> anything that went to failed state on build out got deleted by my instance reaper
[13:01] <jamespage> and juju just started up a new instance for the unit
[13:01] <jamespage> I think
[13:01] <jamespage> ...
[13:01] <jamespage> I'll have to check again
[13:01] <gary_poster> hazmat, cool, will file the bug then.  we are using machine id
[13:02] <hazmat> gary_poster, so its only machine 0 that it has an issue, but you can reference other machines by id and it works?
[13:02] <imbrandon> hazmat: only on deploy it looks like
[13:02] <hazmat> jamespage, yeah.. i just walked through the code it does appear to restart if the instance id is not present in the provider (which filters out some states)
[13:02] <hazmat> imbrandon, ?
[13:03] <gary_poster> hazmat, well, it is only in juju deploy, which under the covers connects via ssh.  when you then use juju ssh or juju scp, even on machine 0, it works fine
[13:03] <imbrandon> he said "juju ssh -o" works "juju deploy -o" does not
[13:03] <hazmat> oh.. i misunderstood
[13:03] <hazmat> that's expected behavior
[13:04] <gary_poster> hazmat, so no workaround except modifying .ssh/config, and feature bug would not be interesting?
[13:04] <hazmat> gary_poster, sorry that's not a bug
[13:04] <hazmat> imbrandon, thanks
[13:04] <imbrandon> :)
[13:04] <imbrandon> afk-ish, brb
[13:05] <gary_poster> hazmat, I didn't expect it was; it was a "hey would this feature/use case (where the use case is full automation of deploy) be something that juju would be willing to support)
[13:05] <hazmat> gary_poster, just use juju ssh prior to deploy
[13:05] <hazmat> gary_poster, no
[13:05] <hazmat> gary_poster, its not something juju would be willing to support
[13:05] <gary_poster> hazmat, I'm making a mess of this.  :-( Oy
[13:06] <gary_poster> It is juju bootstrap
[13:06] <gary_poster> that has the problem
[13:06] <gary_poster> so juju ssh won't help
[13:06] <hazmat> gary_poster, even better install a subordinate for your config, ie puppet or saltstack
[13:06] <hazmat> gary_poster, i don't really understand what the end goal is here.. "part of an integration test for a script that configures a machine"
[13:07] <gary_poster> hazmat, we want to be able to fully atomate juju
[13:07] <hazmat> okay
[13:07] <hazmat> gary_poster, and that means?
[13:07] <jamespage> hazmat, rest of my answers sound OK?
[13:07] <hazmat> jamespage, definitely, nicely done
[13:08] <gary_poster> as part of that we need to call bootstrap (and later destroy-environment) as part of the automation.  bootstrap requires manual ssh accepting of new key in ec2 case (non-lxc generally I think).
[13:08] <jamespage> hazmat, thanks!
[13:09] <gary_poster> bootstrap cannot currently be automated, therefore, unless you modify .ssh/config
[13:09] <imbrandon> gary_poster: thats best handled in the .ssh/config
[13:09] <hazmat> gary_poster, and the problem with that modifying .ssh/config is?
[13:10] <hazmat> gary_poster, we do automated tests of charms on multiple providers across ec2, local, etc via juju automation.
[13:11] <gary_poster> hazmat, imbrandon, the problem is that we'd rather not modify a user's .ssh/config just to run our tests--especially when you are making a blanket statement like "all aws instances for all purposes will have this behavior" which afaik is the only way to do it
[13:11] <gary_poster> (then you also have to make those statements for other providers)
[13:11] <gary_poster> (but that's not a practical issue for us right now)
[13:11] <imbrandon> gary_poster: if users running it != automated
[13:11] <imbrandon> unless i missed something here
[13:12] <imbrandon> editing the ci servers $HOME/.ssh/config is much diffrent
[13:12] <gary_poster> imbrandon, fair enough.  We want the automation to run it, but we want devs to be able to run it too.  charm test example: you want automated tests, but you want people to be able to run the tests locally
[13:12] <hazmat> gary_poster, so what's automated about this?
[13:13] <hazmat> a user is running it.. so they have their own ~/.ssh and their own ~/.juju environments.yaml
[13:13] <imbrandon> gary_poster: sure let them kick it off manuly from the ci server, thats easy in jenkins
[13:13] <gary_poster> agreed that ci .ssh/config is fine, which is what we are doing
[13:13] <hazmat> gary_poster, so your delivering what to people to run the tests?
[13:15] <hazmat> its also unclear why you want the ssh to the bootstrap node on deploy,  in this case.. it sounds like a regular environment, and an automation script to launch the test env and run the tests.
[13:16] <hazmat> and then possibly a separate front end script for the jenkins runner, that setups the keys and environments.yaml as needed
[13:16] <gary_poster> hazmat, python callable.  Nice easy story is "set up your .juju config with a special environment named foo, configured to run tests whereever makes sense for you".  Another nice part of that would be "configure that environment to not ask questions when you bootstrap".  A less nice story is "and also modify your .ssh/config to ignore keys from AWS"
[13:16] <hazmat> so your saying its okay to modify ~/.juju for a user but not okay to modify ~/.ssh ?
[13:16] <hazmat> just have the script set $HOME
[13:17] <mgz> gary_poster: what exactly are you wanting to pass? just suppression of the known_hosts prompt or other bits too?
[13:18] <gary_poster> hazmat, ok to modify .juju and not .ssh: yes, because in .juju you can constrain everything to a specially named environment.  .ssh is blanket for (for instance) AWS.
[13:18] <mgz> because juju should probably just integrate smoser's cloud-init method of verifying host keys
[13:19] <gary_poster> mgz: yes, just -o 'StrictHostKeyChecking=no' -o 'UserKnownHostsFile=/dev/null' or similar
[13:19] <hazmat> gary_poster, this is confusing in terms of the original question.. but the delivery script/callable can set $HOME and setup a private .ssh and .juju as needed
[13:20] <mgz> okay, so there's a better way of doing that, +/- the amazon delay on supplying console output
[13:20] <mgz> which is to acutally verify the key reported by the cloud-init during instance boot and insert it in ~/.ssh/known_hosts
[13:21] <gary_poster> hazmat, ack.  Yes, confusing, I said deploy initially and meant bootstrap and took everything down the wrong rabbit hole, I'm sorry.
[13:21] <gary_poster> mgz, that sounds very nice
[13:21] <mgz> I use this for fully automated deployment of launchpad on canonistack
[13:22] <hazmat> mgz,  so console output scraping for the host fingerprint?
[13:22] <gary_poster> hazmat, ack that $HOME would work.  I'll propose it.  mgz, that would have to happen in juju though, right?  We, as juju clients, can't do that?
[13:22] <mgz> hazmat: yup, works really nicely with openstack, may be less good against aws
[13:23] <hazmat> kees also suggested it at uds.. the only issue with that on ec2 is the delay can be a bit atrocious..
[13:23] <gary_poster> (The $HOME is not as easy to do as what I proposed, so as a user I'd still prefer the kind of automation mgz suggests)
[13:23] <mgz> so I heard 4 minute intervals on output update? and I guess sshd is generally up and waiting before the first 4 minutes
[13:24] <gary_poster> well before, often
[13:24] <hazmat> mgz, it can take longer, its quite variable
[13:24] <mgz> so adding wait time after boot wouldn't be great
[13:24] <hazmat> mgz, re output availability, i've hit 10m b4
[13:25] <mgz> can poll at 5s intervals with openstack and get nearly live reporting :)
[13:26] <mgz> hazmat: I guess the alternative is a juju config option, to 1) prompt/die as currently 2) accept any host key blndly per gary's args 3) use smoser's trick
[13:26] <mgz> and leave which one up to the user
[13:27] <mgz> the current behaviour when connecting to a new host on an ip you've seen before is obnoxious
[13:27] <gary_poster> agreed
[13:27] <smoser> mgz, regarding ssh keys. one thing that would be completely possible for juju is what kirkland's cloud-sandbox does.
[13:28] <smoser> it generates ssh public/private key on the local system. passes those through user-data to cloud-init.
[13:28] <gary_poster> I think I'd be ok with waiting for this use case, fwiw
[13:29] <smoser> connects to the host expecting those credentials, and then destroys them and creates new ones.
[13:29] <smoser> so the ones that were sent insecurely via user-data are usable for less than a minute.
[13:30] <mgz> right, was going to say, putting the private key in user-data isn't ideal
[13:30] <smoser> but its fine if you destroy it right away.
[13:30] <smoser> and for everything but the bootstrap node, they can then post the public keys to the bootstrap node.
[13:30] <smoser> and your client can aske the bootstrap node for the new nodes public keys.
[13:30] <smoser> so you only need the dance once.
[13:31] <gary_poster> by which I mean, for this use case, I'd be ok with what you'd need to do for mgz's solution: waiting longer than usual for a trustable machine without having user interaction.  For other usecases, less so.
[13:50] <jml> is it possible to tell juju to look at a different environments.yaml file?
[13:54] <hazmat> jml, not without $HOME manipulation.. juju does respect JUJU_ENV for named env usage
[13:54] <jml> hazmat: thanks.
[13:54] <jml> fwiw, we're experimenting with using juju to fire up our services for integration tests
[14:12] <jml> how can I tell if a local environment is bootstrapped?
[14:13] <jml> never mind. destroyed the wrong one :(
[14:59] <james_w> if you deploy a charm as serviceA, and then deploy it as serviceB, does it does the same copy of the charm?
[14:59] <james_w> i.e. if you modify the charm between the two deploys, would the second need -u to use the changes?
[15:04] <jml> is there a valid charm name regex?
[15:15] <mgz> what's the juju equivalent of:
[15:16] <mgz> trace.warning("some message to the user about something breaking")
[15:16] <mgz> trace.log_exception_quietly()
[15:17] <mgz> basically giving a nice clean error without traceback for common failures, but preserves the traceback in log/verbose mode
[15:26] <jml> can you use jitsu to watch for destroy-service to complete?
[16:22] <imbrandon> http://i.imgur.com/x7zO0.jpg  , that is all ...
[17:12] <hazmat> mgz log.warning, log.debug
[17:12] <hazmat> mgz with traceback module formatted exception
[17:13] <hazmat> into the debug
[17:19] <imbrandon> SpamapS: btw https://launchpad.net/~webstack/+archive/php/+packages
[17:20] <SpamapS> imbrandon: cool
[17:21] <imbrandon> i still like the idea of a charmers ppa, but thats for now
[17:21] <imbrandon> 386 built, amd64 still in queue
[19:59] <SpamapS> hrm
[19:59] <SpamapS> there's something very broken with debug-hooks
[19:59] <SpamapS> sometimes debug-hooks just sits there, and no more hooks execute
[20:00] <imbrandon> yea and if you exit go luck ever running it again
[20:00] <imbrandon> on that environment
[20:00] <SpamapS> exactly
[20:01] <SpamapS> hazmat: ^^ debug-hooks seems to have something wrong.. flags not cleared or something
[20:09] <SpamapS> ugh, and restarting the unit agent made it worse
[20:09] <SpamapS> now no hooks run
[20:09] <SpamapS> even when debug-hooks isn't running
[20:10] <SpamapS> 2012-07-12 13:09:45,743 INFO Waiting for unit to come up.
[20:10] <SpamapS> ah.. you can't relaly restart the unit agent
[20:12] <imbrandon> man where is the creat project page
[20:12] <imbrandon> grrr
[20:12] <SpamapS> front page
[20:12] <SpamapS> first thing
[20:12] <imbrandon> oh the one place i no look
[20:12] <SpamapS> "Register a project"
[20:25] <_mup_> Bug #966617 was filed: supply high level design documents <juju:New> <juju (Ubuntu):Triaged> <juju (Ubuntu Precise):Triaged> <juju (Ubuntu Quantal):Triaged> < https://launchpad.net/bugs/966617 >


[00:20] <docta_v> how can i tell if a gpg secret key is encrypted or not?
[00:24] <JanC> see if you can use it without passphrase?
[00:25] <docta_v> yeah i actually just thought of that
[00:25] <docta_v> thanks
[00:25] <docta_v> heh
[03:11] <photon> how can I search a whole directory and each file in it for a text string and find out which files have that string in them?
[03:17] <ScottK> photon: grep [your string] *
[03:19] <photon> ScottK, thanks
[03:20] <ScottK> photon: That'll give you a pretty verbose output.  You can man grep for more knobs to turn to refine it.
[03:21] <giovani2> we all love the grep knobs
[03:22] <ScottK> I like piping through a series of greps to get what I want.
[03:28] <DavidCraft> how do I set up an LVM encrypted system with a separate unencrypted boot partition?
[03:50] <giovani2> DavidCraft: your /boot partition should not be LVM
[03:50] <giovani2> you can do this all during install time
[03:50] <giovani2> just create a normal boot partition, then create the LVM PVs with the left over space
[03:51] <giovani2> and put your logical volumes in there
[04:12] <twb> It doesn't hurt to put /boot in LVM, though currently grub can't have /boot be both md RAID1'd and in LVM at the same time.
[04:14] <giovani2> grub doesn't support multiple VGs yet does it?
[04:16] <giovani2> guess I could just try it in a virtual machine
[04:57] <twb> giovani2: sorry, I don't know.
[04:57] <twb> giovani2: IME most of the problem is install-grub, not in grub itself.
[04:57] <twb> i.e. auto-detecting what modules to include in the MBR
[08:44] <psteyn> Silly question, how can I tell if a distro IS 64bit currently or not?  something like ldd on a file that tells me its 64bit compiled?
[08:49] <cemc> psteyn: try file <binary_file>
[08:51] <psteyn> ./usr/bin/gcc-4.2: ELF 64-bit LSB executable, x86-64,
[08:51] <psteyn> cool :]
[08:51] <psteyn> thanks
[08:51] <psteyn> the 64bit default ubuntu server install will detect more than 2gb of ram right?
[08:55] <Jeeves_> yes
[08:57] <psteyn> thanks..think something is wrong on this 64bit install then...initially installed as 64bit dapper drake...bios picks up 4gb ram, but only see ~2gb in linux. so upgraded to latest, and still only see ~2gb
[08:58] <psteyn> gonna reinstall with a fresh 64bit latest install (sure I could fix the problem otherwise, but id rather just try this)
[08:58] <psteyn> but for interest sake, what else can I look at?  to debug this?
[08:59] <psteyn> current installed kernel: 2.6.24-23-server #1 SMP Mon Jan 26 01:36:05 UTC 2009 x86_64 GNU/Linux
[09:00] <Deeps> the default ubuntu server 32bit will detect more than 4gb of ram too, PAE extentions are enabled by default (in hardy, at least, i dont think that's changed in intrepid)
[09:00] <psteyn> so if after I reinstall and I still only see 2gb ram the memory might be faulty even though the bios does report (soz, its 8gb..not 4)
[09:01] <Deeps> as for where it's going wrong, i'd suggest running memcheck when booting from the cd
[09:01] <Deeps> and seeing what that reports
[09:01] <Deeps> memtest even
[09:01] <psteyn> Ok, good idea, thanks
[09:01] <Deeps> as yeah, it sounds like you may have some faulty ram
[09:05] <psteyn> yeah...
[09:12]  * domas thinks, why this tool doesn't have ubuntu package yet: https://savannah.nongnu.org/projects/parallel/ ;-)
[09:18] <BulleT--> Can somebody please tell me what is this mail error about ebox? http://pastebin.com/m27b65e7c
[09:44] <Deeps> BulleT--: line21 is the key
[09:44] <Deeps> EBox.pm seems to be missing from the paths listed, which is where perl normally looks for inclusions
[09:44] <BulleT--> I installed ebox.. but it's not running.
[09:44] <Deeps> domas: do it! :D
[09:45] <BulleT--> I mean... it's runing on the server... but in my browser it doesen't.
[09:46] <Deeps> i have no idea what what you just said means
[09:46] <Deeps> but that error is being generated by a cronjob on the machine running ebox
[09:46] <Deeps> #
[09:46] <Deeps> /etc/cron.hourly/99purgeEBoxLogs
[09:46] <Deeps> that cronjob
[09:47] <Deeps> lines 24+25 related to another different cronjob that's also failing
[09:47] <BulleT--> I resolved that issue.
[09:48] <BulleT--> I have another one...
[09:49]  * Deeps engages mind reading powers
[09:49] <BulleT--> :))
[09:50] <BulleT--> I have ubuntu server 8.10 and somehow i managed to install ebox. It's running right now, on the server. But if I type in my browsers address bar https://myIP/ebox it's doesen't work.
[09:50] <Deeps> check apache logs
[09:50] <Deeps> /var/log/apache/access.log and /var/log/apache/error.log
[09:50] <Deeps> and possibly others to
[09:50] <Deeps> o
[09:50] <Deeps> might be apache2 instead of apache in that path
[09:51] <BulleT--> Oh my god.
[09:51] <BulleT--> http:////pastebin.com/f6d3adc03
[09:51] <BulleT--> Sorry
[09:51] <BulleT--> http://pastebin.com/f6d3adc03
[09:52] <Deeps> most relevant line there appears to be 16
[09:52] <Deeps> with the 404
[09:52] <BulleT--> http://pastebin.com/f689ae9
[09:52] <Deeps> again, only relevant line there appers to be the last one too
[09:52] <Deeps> logs are time + date stamped
[09:53] <Deeps> stuff from friday isn't particularl relevant if you're encountering the error right now ;)
[09:53] <Deeps> good way to see exactly what's occuring, is to open 2 terminals, one with tail -f access.log, one with tail -f error.log, hit enter a few times on both to clear some space, and then try to access ebox
[09:54] <Deeps> you'll see the hits in both immediately, and see what error is occuring, if any
[09:54] <Deeps> and can then try to debug
[09:54] <Deeps> by looks of things, you've got an alias for /eBox pointing to data in /var/www/hub/vhcp/ebox
[09:55] <Deeps> but there's nothing there
[09:55] <BulleT--> Nothing it's happening.
[09:55] <domas> hehehee, my 'iostat' manual is already #5 on google for 'iostat'
[09:55] <domas> got there in few hours
[09:56] <Deeps> fuse4bsd.creo.hu?
[09:57] <Deeps> i lie, there's not an alias for /eBox since /eBox 404'd
[09:57] <Deeps> and the error was generated 20mins later
[09:58] <Deeps> gl, bbl
[10:33] <psteyn> I have my /var on a separate drive, and want to do a reinstall...do I still _need_ to do mysqldump or can I just point the new install's mysql to use /var/ ? itl be the same mysql version etc...
[10:33] <psteyn> would do a mysqldump but dont have a spare drive / spare space..
[10:35] <mrwes> My server has 2 processes running and like 59 sleeping -- why does it say almost all of my 2gb of RAM is used?
[10:35] <domas> psteyn: you can use existing directory, if  you don't wipe it out accidently
[10:35] <mrwes> Mem:   1945428k total,  1915644k used,    29784k free,    72272k buffers
[10:35] <mrwes> Swap:   975232k total,      188k used,   975044k free,  1764352k cached
[10:35] <domas> mrwes: see "cached"
[10:36] <psteyn> domas: ok, yeah I won't mount the mysql drive (/var) until I've got the new install up and running, then ill just mount it and change mysql to use that?
[10:36] <psteyn> that shouldnt wipe out right?
[10:38] <mrwes> domas, so the caches memory is reserved for those sleeping processes, so it can write the data from the cache instead of the disk?
[10:56] <lex> hy..
[10:56] <lex> hi
[10:56] <lex> i need heelp please
[11:47] <nivanson> hi, i need to set up a bridge on my server so i can have my virtual machines reachable outside the server. however, the bridging docs (http://doc.ubuntu.com/ubuntu/serverguide/C/network-configuration.html#bridging) is using static ip and my isp has dynamic ip
[11:47] <nivanson> can anybody help me out?
[11:48] <simplexio> nivanson: same thing,execpt you put iface br0 inet dhcp
[11:48] <nivanson> ok i will try thanks!
[11:48] <nivanson> should my network/interfaces have the eth0 lines?
[11:49] <simplexio> nivanson: wait  a sec, i cehck my interfaces
[11:50] <simplexio> nivanson: i have , auto eth0 , auto eth1, auto br0, and then i have "iface br0 inet static"
[11:52] <nivanson> is your bridge a bridge between eth0 and eth1?
[11:53] <simplexio> nivanson: yeah.
[11:53] <nivanson> simplexio: i think i got it working now, thanks alot :)
[12:02] <dazman> Hi. Anyone running Ubuntu-Server in ESXi?
[13:26] <lex> hola
[13:31] <lex> hi
[13:48] <nivanson> i am getting really really bad performance on my virtual server (kvm)... how can i see if the virtual server is hardware accelerated?
[13:48] <nivanson> using kvm as in the docs
[13:48] <Nafallo>  egrep '(vmx|svm)' /proc/cpuinfo
[13:52] <nivanson> yes i have support but can the server be set to not be hardware accelerated somehow? i think i might have missed some configuration somewhere
[13:53] <nivanson> becouse the performance is really lousy... especially on read write
[13:55] <simplexio> nivanson: how much top shows  %wait ?
[13:58] <nivanson> 0.2
[13:59] <simplexio> well then best quess its that kvm is just slow
[13:59] <nivanson> it seems to only get really slow when there is read/write involved
[13:59] <nivanson> cpu load is low
[13:59] <giovani2> cpu load will be high when the i/o is being maxed out, unless you're at the max of your i/o bandwidth -- not likely
[14:00] <simplexio> im mean if there is big rw going on and %wa is huge, there is too much io traffic to hd, but if not then it is just slow
[14:00] <simplexio> like vmware was, then i changed to vbox and install time on VS2005 went from 10H to 30min
[14:00] <nivanson> you see, i am doing an rsync to the virtual machine from a third machine, while doing this it gets extremely slow
[14:01] <simplexio> rsync is slow
[14:02] <nivanson> i guess i will have to see what happens when the real load (webserver) starts then
[14:02] <nivanson> thanks!
[14:02] <simplexio> i got only 20M over 1G ethernet when i synced data dires over nfs mount, just plain cp hit 40M per second
[14:03] <nivanson> the pc sending the data to the virtual machine with rsync is on wireless, so i could not possibly max out the i/o but still even locally on the server (as i have keyboard and a screen connected) commands are slow now
[14:03] <nivanson> i stop the rsync and it gets fast
[14:03] <nivanson> still i cannot see the load on top... it shows almost idle
[14:04]  * Nafallo usually gets ~13MB/s on his guests
[14:04] <nivanson> how can i benchmark i/o like you did nafallo?
[14:04] <Nafallo> nivanson: wget? ;-)
[14:04] <simplexio> i didnt know hat kvm is that slow..
[14:05] <nivanson> hehe true true
[14:05] <Nafallo> simplexio: it isn't :-)
[14:05] <simplexio> nivanson: bonnie++ if ists linux
[14:05] <nivanson> simplexio: i think i might have an error in my config somewhere cuz this is rediculous
[14:05] <nivanson> simplexio: ok thx
[14:06] <simplexio> actually im intrested difference between native vs kvm speed
[14:06] <simplexio> nivanson: so if you test it, feel free to paste result to me
[14:10] <lex> fail2ban
[14:19] <nivanson> results: http://pastebin.com/m6e89ca81
[14:19] <nivanson> (host machine and virtual machine)
[14:19] <nivanson> i did a small test just for measure
[14:20] <nivanson> results tell me i have good i/o even on virtual machine, maybe problem was in my network
[14:21] <simplexio> yeah.. some problem in bridge configuration or something
[14:22] <nivanson> simplexio: it seems like that, i think i go by some internet route even though my pcs are in the same network
[14:22] <nivanson> making my ssh (that SHOULD be quick) very slow
[14:23] <simplexio> nivanson: you could ry play with mtu and txqueuelen
[14:23] <gabrieltomate> Please, my VINO dont work. Anybody know how i have to do?
[14:25] <simplexio> nivanson: http://ubuntuforums.org/showthread.php?t=744378
[14:27] <nivanson> simplexio: thanks!
[14:27] <simplexio> nivanson: it seems that 10M nic is default for guests. or attleast has been
[14:27] <nivanson> yeah, but that is fine becouse im on a slower connection anyway
[14:28] <nivanson> 3mbit/s upstreams :S
[14:29] <simplexio> :)
[14:30] <nivanson> and since my complete internet connection gets really 100% upstream loaded when i do the rsync between my laptop and my virtual server it means that it just doesnt take the shortest route here
[14:30] <simplexio> nivanson: well traceroute should tell you that
[14:31] <nivanson> i am reading up on traceroute atm, i just dont know how to use it
[14:31] <simplexio> traceroute targetip, and if it shopw more than two lines data goes wrong way
[14:32] <nivanson> oh that was easy xD
[14:32] <nivanson> 17 steps :)
[14:32] <nivanson> hahahaha this suxx
[14:32] <simplexio> :) yeah.. you configured route wrong
[14:33] <nivanson> yeah
[14:33] <nivanson> traceroute to the ip holding the servers is only 1 ste
[14:33] <nivanson> p
[14:33] <simplexio> route add guestIp br0 could help if i recall syntax right
[14:33] <nivanson> so i will have to take a look at my bridge hehe
[14:34] <nivanson> on my server holding the virtual machines?
[14:34] <simplexio> yes
[14:36] <simplexio> actually you should see only one step on host to guest and back
[14:36] <nivanson> yeah
[14:39] <nivanson> i lost my password to the host lol
[14:39] <simplexio> :D
[14:39] <nivanson> i ran a passwd earlier cancelling it by pressing ctrl+d and it said password successfully updated
[14:39] <nivanson> haha
[14:40] <nivanson> i have terminal access to it since i can ssh with my key but i cannot change my password... this is for shit :S
[14:43] <simplexio> thats reason why i first configure root passwd.. and make another username with sudo permission
[14:47] <nivanson> xD
[14:47] <nivanson> anyway
[14:47] <nivanson> i reset my root password now using rescue cp so np
[14:51] <nivanson> ok that route command you gave me fixed my problem with traceroute, however my rsync command is still slow, can i flush my dns?
[14:53] <nivanson> what the hell, i will restart my pc
[14:53] <nivanson> thanks alot for your help simplexio :)
[14:53] <nivanson> hug
[14:58] <nivanson> i rebooted my laptop, from it i can traceroute my virtual servers ip and get 1 route. its great! but somehow when doing my rsync it still routes through the other way...
[14:58] <nivanson> rsync -avh -e ssh my.backup my_user@85.****.***.**:/folder
[14:58] <nivanson> could it be that it somehow cached the route somewhere :/
[15:02] <simplexio> i think that 10M nic is slowing things now..
[15:03] <nivanson> simplexio: true!
[15:03] <nivanson> it should be that
[15:04] <nivanson> yeah it is, my network is quick again!
[15:04] <nivanson> this is lovely :)
[15:05] <simplexio> probably alot faster now :)
[15:05] <nivanson> 1000x
[15:05] <nivanson> xD
[17:07] <ylon> any developers around?
[20:02] <trym_work> I have a raid setup with a blocksize of 64k. When I format it to ocfs2, should I use the same block size?
[20:04] <trym_work> I have a big hw raid logical device. I created a lvm lv and made it an iscsi target. Do I need to partition this block device, or could I format it directly?
[20:12] <_ruben> no need to treat an iscsi volume other than a physical disk really
[20:13] <_ruben> s/other/different/
[20:42] <trym_work> _ruben: Ive never formatted an entire disk without paritioning it
[20:43] <trym_work> but I take it that works then?
[21:14] <trym_work> anyone?
[21:26] <cemc> trym_work: should work without partitions too
[21:41] <trym_work> thanks :)
[21:41] <trym_work> any idea when it comes to blocksize?
[23:21] <sparky_> hello?
[23:24] <giovani2> read the title
[23:24] <giovani2> topic*
[23:24] <giovani2> just ask if you have a question
[23:27] <sparky_> Ok, i'm a noob to irc and ubuntu.  Anyways  i'm setting up a home NAS with Ubuntu server 8.04.2 and was looking for a way to install a desktop gui..  but i want one that didn't have much to it just something plain.  does anyone have any suggestions on which on to use?
[23:27] <giovani2> this channel doesn't support guis on servers
[23:28] <giovani2> they're not going to help you administer a server
[23:28] <giovani2> but, if you want one -- you can install one
[23:30] <sparky_> well is there a web interface that could help me instead of a desktop gui?
[23:30] <giovani2> there are many ... I doubt anyone here uses them, you should really learn to use the console interface
[23:31] <giovani2> there are some good books on getting started, I'd recommend some if you're interested
[23:32] <twb> The package gnome-system-tools provides a handful of GUIs for basic things, such as adding and removing users.
[23:32] <twb> These GUI apps can be use ssh -X, so that X need not be installed.
[23:33] <twb> These GUI apps can be use ssh -X, so that X need not be installed (on the server).
[23:34] <twb> There are also packages like webmin, which try to do the same thing in a browser.  In my experience, they all really, *really* suck, and will quietly destroy your entire system.
[23:34] <sparky_> what are some of the books that would help me with the console.  I would like to learn that more anyways but don't have anyone to teach me
[23:34] <twb> sparky_: RUTE is an excellent, if dated, introduction to general Linux system administration.
[23:34] <twb> (It is also downloadable gratis.)
[23:35] <twb> For paid-for dead-tree books, I have a general preference for anything published by ORA (O'Reilly).
[23:35] <giovani2> http://www.apress.com/book/view/9781430210825
[23:36] <twb> Apress is my second choice :-)
[23:36] <giovani2> I've read this book, it's pretty decent, and offers some good ubuntu-specific info
[23:36] <JanC> apress has some good books too
[23:36] <giovani2> and it's up-to-date
[23:36] <giovani2> to 8.04 LTS
[23:36] <giovani2> so covers upstart, etc
[23:36] <twb> sparky_: as for getting people to teach you, I strongly suggest you get in touch with your local Linux User Group.  They often have monthly meetings and such.
[23:36] <twb> giovani2: sounds good.
[23:37] <JanC> there are several free "books" for the console though
[23:37] <giovani2> some minor spelling/grammar issues, but minimal technical errors
[23:37] <hads> !ebox
[23:37] <sommer>
[23:38] <twb> I don't like Apress' use of ragged right and humanist fonts, though :-)
[23:39] <sparky_> JanC, where are these free "books" ?
[23:39] <JanC> http://tille.garrels.be/training/ has some books too (maybe not always 100% correct(?), but good enough for many)
[23:39] <JanC> and there are the IBM redbooks
[23:46] <JanC> and some of these books: http://www.informit.com/promotions/promotion.aspx?promo=135563 are downloadable for free too


[22:31] <BA707> Anyone here ?   I see no one in the user list...  :-/
[23:18] <cjohnston> im not here