/srv/irclogs.ubuntu.com/2013/03/20/#ubuntu-server.txt

_donvitoroot@dreambox:/var_init/script> chmod -R 777 inadyn_script.sh00:01
_donvitochmod: inadyn_script.sh: Read-only file system00:01
_donvitohow is it posible_00:01
_donvitohow can i change rights00:02
=== ejv_ is now known as ejv
=== phunyguy_ is now known as phunyguy
SprocksCan someone help me with "...error attempting to write lower page..."?03:37
nxvl/n03:41
nxvlugh03:41
=== Laogeodritt| is now known as Laogeodritt
justin222I have a Ubuntu 12.04 server, configured in /etc/network/interfaces to use a static IP, that seems to at random decide to get a DHCP ip, and as such finds itself offline.06:54
justin222anyone seen something like it or have any ideas? I see dhclient is installed, but when trying to remove it, was also told I had to remove a ton of other stuff06:55
jamespagettx, thanks07:35
jamespagettx, glance now using milestone-proposed for CI builds; heat not in the lab or the archive for raring07:35
jamespageprobably need to fix that before we release07:35
=== smb` is now known as smb
ttxjamespage: heat is still inincubation, so you don't really need to "fix" that before O08:27
ttxerr. S08:28
rbasakkirkland: have you seen http://askubuntu.com/questions/244103/byobu-open-different-tabs-in-different-windows-of-the-same-session ?08:58
jamespagettx, yeah - the PTL did request that it be enabled in CI and we agreed to defer until it landed in debian experimental08:59
jamespagebut that never actually happened08:59
rbasakEvidently it's a popular question08:59
jamespage....08:59
ttxjamespage: horizon milestone-proposed just cut09:04
jamespagettx:ack09:04
jamespagerbasak, looking at your mongodb arm stuff now09:39
rbasakThanks09:39
rbasakI do want to get more review, but I'm confident that this is an improvement over what's in the archive at the moment09:40
=== neunon is now known as snoonan
mardraumhallyn: I opened #1157626 re my raring virsh migrate issues after removing openvswitch from the equation09:43
jamespagerbasak, jon's original patch had some fixes in src/mongo/bson/util/atomic_int.h as well - any reason those where dropped?09:49
rbasakjamespage: I'm not sure what jon's original patch was against. But in our version, atomic_int.h contains everything we need for arm using gcc builtins if they are defined, which they are for us. So the arm specific bits aren't needed.09:50
jamespagerbasak, hmm - #elif defined(__GNUC__)  && (defined(__i386__) || defined(__x86_64__))09:50
jamespage#else09:51
jamespage#error unspported arch09:51
jamespagethat said - I'm not sure that code is actually used anywhere...09:51
jamespageit uses mfence and xadd09:51
ttxjamespage: only Nova, Keystone left (+ Ceilometer)09:51
jamespagettx, **\o/**09:51
rbasakjamespage: I'm generally not happy with the conditionals in atomic_intrinsics.h - there are paths that will lead to really broken behaviour and corruption if neither __i386__ nor __arm__ are defined for example - it's not robust09:52
rbasakBut I haven't reworked the whole thing so I left it mostly as-is for now09:52
jamespagerbasak, tbh its a hack to add arm support right now09:52
rbasakYes09:52
rbasakSo for now I just did the minimal changes that will fix the issue so that I'm confident that I'm not introducing any new problems09:53
jamespagerbasak, +1 for that approach09:53
jamespagerbasak, I think atomic_intrinsics.h could be reworked to use gcc builtins pretty much everywhere09:53
rbasakjamespage: indeed09:54
rbasakjamespage: the risk there is that I break Intel, of course :)09:54
rbasakAnd so I really didn't want to go there right now - certainly not without upstream approval09:54
jamespagerbasak, actually I see what you mean in atomic_int.h09:55
koolhead17jamespage: is it good idea to wait 4 few more days if i need to test grizzly with cloud archive?09:55
jamespageit looks fine as arm will have __GCC_HAVE_SYNC_COMPARE_AND_SWAP_409:55
rbasakYes, exactly09:55
jamespagekoolhead17, actually if you want to test right now the grizzly-trunk-testing PPA is pretty stable09:55
jamespageI've been using it for the last week and fixing up and issue I found09:56
rbasakSo effectively atomic_int.h has arm support upstream already09:56
rbasakIt's just atomic_intrinsics.h that needed fixing up09:56
jamespageits tracking the milestone-proposed branches so its pretty much grizzly rc09:56
rbasakSo for that I fixed up jon's patch minimally09:56
jamespagerbasak, +109:56
koolhead17jamespage: thinking of updating doc for grizzly :)09:56
jamespagekoolhead17, sounds like a plan!09:56
rbasakAnywhere I did need to touch though, rather than writing new arm-specific low level stuff (kuser or arm assembly) I used gcc builtins. I'm more confident using them09:57
rbasakThe bits I needed to touch were where the return value semantics of jon's patch didn't exactly match the intel assembly09:58
jamespagerbasak, excitingly mongodb 2.4.0 just got released09:58
rbasakjamespage: yeah. Bit annoyed about that :)09:58
rbasakjamespage: I take it we're going to be stuck on 2.2 for raring due to FF/09:58
jamespagejust considering whether we go for a FFe09:58
rbasak?09:58
jamespagewell09:58
rbasakI think it might be worth an FFe09:58
jamespageI actually might push for it09:58
rbasakMost mongo users will want 2.4 I think09:58
rbasakI think they might consider 2.2 too old to be worth using09:59
jamespagethe default JS engine is now v8 rather than the obsolete embedded spidermonkey engine09:59
rbasakAnd we're only a few days late09:59
jamespagerbasak, ack09:59
koolhead17jamespage: so let me work on it with this repo and once grizzly releases i will change the repo and try it on stable main cloud archive09:59
jamespageadam_g, zul: something is wonky with the glance package build in the lab10:00
jamespageit takes neally 2 hours10:00
jamespagesomething dies at the end of the build and it hits a timeout in sbuild10:00
jamespagettx, hows grizzly looking generally?10:01
ttxjamespage: everything looks under control. not so many showstoppers10:01
ttxI have a harder time following all the projects to get a more precise idea, so i have to rely on the PTLs reports10:02
ttxbuit they look on top of incoming bugs and on the right track to fix all RC ones10:02
jamespagerbasak, OK - I uploaded your arm fixes + a couple of minor tweaks of my own10:20
jamespagelooking at 2.4 now10:20
jamespageDaviey, hmm10:33
jamespagehttp://paste.ubuntu.com/5630788/10:33
rbasakThanks jamespage!10:33
jamespagehttp://paste.ubuntu.com/5630789/10:33
jamespagethe code that references openssl in the mongodb codebase is actually apache-2.0 licensed10:34
jamespagebut that code is used by AGPL licensed code10:34
jamespagettx, great - I've been recycling my trunk testing environment 3-4 times a day and I've only found a few minor niggles10:40
jamespage(that cover all of openstack aside from ceilometer - working on getting that incorporated as well)10:40
* jamespage melts his laptop building mongodb 2.410:41
jamespagezul, yolanda: https://code.launchpad.net/~james-page/horizon/grizzly-rc1/+merge/15434011:48
zuljamespage:  how do you re-compress the static js?11:52
jamespagezul, see the README in debian/11:52
zuljamespage:  ack11:53
jamespagezul, its a dumb MP as its so large11:53
jamespagedue to the asset regeneration11:53
zuljamespage:  yeah anywyas +111:53
yolandaoh, i was just approving it also :)11:54
jamespagezul, are you OK to pickup glance and swift rc's?11:55
zuljamespage:  always11:56
jamespagezul, ta11:56
jamespagezul, I'd already done the work for horizon last week so thought I would help out with that one11:56
zuljamespage:  no worries thanks11:56
scalability-junkhey I'm trying to copy/move some data and with dd if=/dev/zero of=/dump.dd I get 350M/s write, but with cp, mv or dd from /input.dd to /output.dd I always get 99% io and only 5-10 M/s read and write12:35
scalability-junkany idea how to optimize it?12:36
swhi what's the best way to keep SSH sessions to an Ubuntu server alive?12:36
swTCPKeepAlive yes is set on the server12:36
patdk-wksw, heh?12:40
patdk-wkby default, sessions are always alive12:41
patdk-wksounds more like a nat issue12:41
swpatdk-wk: SSH connections just stop responding if left idle for a couple of minutes12:41
patdk-wkare you behind nat?12:41
swpatdk-wk: no12:41
patdk-wkthen a tcp connection, even without any keepalives, will last forever12:41
patdk-wkkeepalives are only useful for two things, detecting dead connections, or keeping nat from timing out12:42
swthat'd odd, have a handful of SSH connections that we leave open, no issues with any of our Debian or Fedora boxes12:42
patdk-wkand since, ClientAliveInterval defaults to 0, tcpkeepalive=yes won't do anything12:42
swwe have 6 Ubuntu servers, it happens on them all12:42
swat the same location as the others, same connection etc.12:42
patdk-wksw, you have a firewall on the ubuntu server?12:43
swpatdk-wk: no12:43
=== Pici` is now known as Pici
patdk-wkthis doesn't happen on any of my ubuntu servers12:43
mardraumsw: on the client in ~/.ssh/config insert "ServerAliveInterval 60"12:43
patdk-wkin fact, I can hibernate my laptop, disconnect it12:43
patdk-wkand then turn it on the next day, and all my ssh sessions resume without issue, no drops12:43
patdk-wkkeepalive would have killed those12:44
rbasaksw: the best thing to do is to run tcpdump to capture all relevant network traffic and then have someone who understands TCP to interpret it. That will pin down the cause.12:44
swmardraum: I'll give that a shot, thanks12:44
patdk-wknormally you will need a tcpdump from both sides12:44
mardraumsw: I usually need it behind certain cisco stateful "firewalls" (eg CBAC)12:45
rbasakpatdk-wk: sure, but a tcpdump on the server side will be able to either eliminate the server or implicate it.12:45
zuljamespage/yolanda: https://code.launchpad.net/~zulcss/glance/rc1/+merge/15435512:49
yolandaeasy one12:51
jamespagezul, +112:51
zuljamespage: thanks12:51
zuljamespage/yolanda: im just doing a local build before uploading it to  raring13:00
jamespagezul, ack13:00
smbzul, Daviey, Any news on the review/sponsoring frontier?13:11
zulsmb: xen?13:11
smbzul, yup13:11
zulsmb:  will do so tonight just almost caught up13:11
zuls/tonight/this morningg13:12
smbzul, Ok, just asking since Daviey has been asking for a debdiff yesterday. Not sure *exactly* why13:12
Vee_what state are maas nodes supposed to be in, when available but offline ?13:25
jamespageyolanda, I'm testing a potential upgrade to mongodb 2.4.0 for raring - if I stick it in a ppa can you check it out with ceilometer for me?13:27
zuljamespage/yolanda: https://code.launchpad.net/~zulcss/swift/rc1/+merge/15436613:28
yolandajamespage, sure13:30
jamespageyolanda, thanks13:31
jamespageyolanda, ppa:james-page/mongodb2.213:33
jamespagejust uploading - may take a few to build13:34
yolandaok, let me try it13:34
jamespageyolanda, that will be on raring btw13:34
yolandamy openstack is running precise :(13:34
yolandacan it be possible to test that on precise?13:34
zulsmb: looking now13:45
smbzul, ack13:46
=== wedgwood_away is now known as wedgwood
=== frankban_ is now known as frankban
Vee_i am stuck, can someone please help me ? I need to get past juju bootstrap: 229 INFO Bootstrapping environment 'maas' (origin: distro type: maas) 2013-03-20 ,880 ERROR No matching node is available.14:17
Vee_i have 7 nodes in state: commissoning, but juju refuses to bootstrap properly14:18
jcastroDaviey: omg, that SRU of maas into precise has been sitting there since January?14:26
zuljcastro:  welcome to the dark side14:28
olivier_bKhi14:28
=== racedo` is now known as racedo
=== CaptainBirdseye is now known as unreal
ttxjamespage: nova MP cut16:03
tgm4883There once was a man named Daviey16:04
tgm4883who needed to do me a favey16:04
tgm4883he should fix the DNS16:04
tgm4883because it's a mess16:04
tgm4883and then our website would be savey16:05
histowho's dns?16:05
histoahh yours16:05
tgm4883yea16:05
histotgm4883: what's the url?16:05
tgm4883histo, basically, http://mythbuntu.org doesn't redirect to http://www.mythbuntu.org16:05
tgm4883it's a google site, so it's a DNS fix16:05
histotgm4883: ahh need a @16:06
tgm4883yea16:06
tgm4883If that doesn't work, I also have a haiku16:12
jamespagettx, ack16:15
sw316:25
kirklandrbasak: hadn't seen it, just answered17:10
rbasakkirkland: thanks!17:10
kirklandrbasak: np17:11
kirklandrbasak: thanks for the heads up17:11
rbasakkirkland: you can subscribe to tags apparently. Maybe helpful for you?17:14
=== matsubara is now known as matsubara-lunch
DavidSchererAfter the installer asks if I want to activate the "ATA RAID Controller" it takes me to the partition manager. There I only have 3 options, one for iSCSI, one to undo changes, and one to write the changes to disk, as well as a blank line which can be selected but does nothing.17:39
DavidSchererI've tried the "Undo Changes" option but I go to a purple screen and nothing seems to be happening.17:40
xnoxDavidScherer: a fakeraid controller probably got activated, have you setup raid in your bios ?17:42
xnoxDavidScherer: if not, you probably want to reboot again and choose to not activate ata raid controller, and just use the disks directly (or like setup linux software raid - mdadm)17:43
DavidSchererxnox: I used the Lenovo Thinkserver easy setup to setup the RAID17:53
xnoxDavidScherer: no idea what that is. I generally find mdadm software raid most reliable, alternatively with hardware raid the drives should appear correctly. If this Lenovo thing is "fakeraid" e.g. chipsets on the motherboard, I'd advice against using it.17:55
DavidSchererxnox: I'm pretty sure this is hardware raid.17:59
xnoxok. Sorry, I don't have any knowledge of Thinkservers, maybe somebody else on here does.18:00
xnoxOtherwise http://askubuntu.com is a good place to ask a question about Thinkservers support status / experience of other people.18:00
zuladam_g/jamespage: https://code.launchpad.net/~zulcss/nova/rc1/+merge/15445318:01
histoIs there any difference on the server cd vs the regular cd other than a text based installer?18:31
lwizardlno gui installed also18:33
lwizardlserver is more designed to be used without a monitor attached and any changes that need to be done are done with putty18:35
zuladam_g:  ping https://code.launchpad.net/~zulcss/nova/rc1/+merge/15445318:42
Newbeehai i am installing apache 2.4.4 on linux and got the following error any help?? "checking for APR... configure: WARNING: APR version 1.4.0 or later is required, found 1.3.8"18:51
=== matsubara-lunch is now known as matsubara
Newbeeany help??18:52
Newbeehai all i am installing apache 2.4.4 on linux and got the following error any help?? "checking for APR... configure: WARNING: APR version 1.4.0 or later is required, found 1.3.8"18:53
sarnoldNewbee: 'apr' is 'apache runtime'. if you're rolling your own apache, you'll probably also need to roll your own apr too.18:53
Newbeehow to upgrade apr from command line18:53
=== JanC_ is now known as JanC
=== Jikan is now known as Jikai
=== Jikai is now known as Jikan
=== Jikan is now known as Jikai
=== Jikai is now known as Jikan
kirklandsmoser: ping19:49
smoserhey19:49
smoserkirkland, ^19:54
lwizardlso what would be needed to setup a server to use smarthost if it was originally set to not be smarthost enabled ?20:15
=== Jikan is now known as Jikai
adam_gjamespage,  zul http://people.canonical.com/~agandelman/folsom/nova-2012.2.1+stable-20121212-a99a802e-0ubuntu1.4~cloud0/20:59
jamespageadam_g, +121:00
jamespageadam_g, upload it now and I'll swish it through first thing tomorrow :-)21:00
jamespageadam_g, whats happening with 2012.2.3?21:00
adam_gjamespage, k21:00
adam_gjamespage, NFI what was uploaded ~1 month ago is now totally obsolete.21:01
=== Jikai is now known as Jikan
adam_gjamespage, i'm happy to put together another batch of uploads, but i worry they'll just sit in queue for another month until they've been trumped by a bunch of security updates21:03
jamespageadam_g, so I see they got accepted 20/0221:03
jamespageright?21:03
jamespageinto proposed that is21:04
adam_gjamespage, one sec. doing to many things at once  ((just pushed that nova update to the grizzly-staging ppa :\ )21:05
jamespageadam_g, oppps21:05
adam_gjamespage, so: originally pushed 2012.2.3 (all projects) into queue. ~2 weeks later they got accepted to proposed. around same day they were accepted, a bunch of security updates were released together, which got released as patches onto 2012.2.121:09
adam_gjamespage, i began rebasing packages as new uploads into the queue to include the security fixes.. those are still pending21:09
adam_gjamespage, and have been for some time, since then more security updates come. those in queue (and in proposed) lack some of the security updates, i think.21:11
jamespageadam_g, looks like cinder is pretty much the only thing not superceded by security updates21:13
* jamespage sighs21:13
adam_gjamespage, yeah.. :|   i'd much prefer updates to get rolled out coordinated across all projects.21:15
jamespageadam_g, +121:15
jamespageit gets tested upstream like that after all21:16
jamespageadam_g, I think we need to agree some sort of cadence cycle with the SRU team so we don't keep getting bumped like this21:16
jamespageadam_g, lemme talk to Daviey about it tommorow and see what we might cook up21:17
adam_gjamespage, the bottleneck currently is getting things approved into -proposed, whereas last cycle it was getting things into queue. i guess we've made some progress :)21:17
jamespageadam_g, OK - leave it with me21:18
jdstrandI'm not sure the cinder in -proposed has the patch that is in -security. please verify21:20
adam_gjdstrand, correct21:31
IgorNymhello!21:42
IgorNymI've just setup a VM with ubuntu-server 12.1021:42
IgorNymDoes anyone know how to install php5.3.3 instead of the current version?21:43
IgorNymI'm trying to replicate a production system21:43
IgorNymapt-cache showpkg php5 only shows 5.4.6-1ubuntu1.2 and 5.4.6-1ubuntu121:44
sarnoldIgorNym: there's a pile of other versions in the repository: http://us.archive.ubuntu.com/ubuntu/pool/main/p/php5/21:44
sarnold.. though I don't see a 5.3.321:44
IgorNymCool! 5.3.x would be fine.21:44
IgorNymNoob question - how to install from there, once I've chosen my .deb?21:45
sarnoldIgorNym: you can wget the package and dpkg -i to install -- it will leave all the dependency resolution to you, that way, which will be .. painful.21:45
sarnoldwell, I guess there are worse things than life without apt. but still. :)21:46
sarnoldIgorNym: this page will give you a feeling of which version to pick for the version you're trying to replicate: https://launchpad.net/ubuntu/+source/php521:46
IgorNymCool I'll give that a go21:47
adam_gzul, jamespage this too http://people.canonical.com/~agandelman/folsom/keystone-2012.2.1-0ubuntu1.3~cloud0/22:07
zuladam_g:  +122:07
IgorNymsuccess!22:09
IgorNymjust needed the right php5-common package from that page.22:09
IgorNymThank sarnold22:09
IgorNym*Thanks22:09
sarnoldIgorNym: woot :)22:09
=== cronus__ is now known as cronus
kirklandutlemming: ping22:49
kirklandutlemming: what is http://cloud-images.ubuntu.com/quantal/current/tool-version-info.txt ?22:50
utlemmingkirkland: it just shows the changes made in the build system. Its legacy and honestly should just die22:51
kirklandutlemming: okay, cool22:51
kirklandutlemming: next question ... so I'm downloading quantal-server-cloudimg-amd64-disk1.img22:51
kirklandutlemming: I'm going to mount it, edit /etc/overlayroot.conf, unmount, and register my own ami22:52
kirklandutlemming: the best way to do this is ec2-bundle-image?22:52
utlemmingkirkland: if you want instance store, yes, that is how I'd do it22:53
kirklandutlemming: for the root disk?22:53
utlemmingkirkland: yes22:53
kirklandutlemming: okay -- and if I just want ebs?22:53
kirklandutlemming: i don't want to actually boot the system, which is why I can't use the AWS web interface22:54
utlemmingkirkland: install qemu-util, mount the qcow2 image, dd it over, snapshot and register22:54
kirklandutlemming: booting it peturbs the image22:54
kirklandutlemming: "dd it over" meaning, dd it to an ebs volume?22:55
utlemmingkirkland: i.e. modprobe nbd; qemu-nbd -c /dev/nbd0 <image>; dd if=/dev/nbd0 of=<disk> bs=1M22:55
utlemmingkirkland: right, the ebs volume22:55
kirklandutlemming: oh, interesting22:55
utlemmingkirkland: the qcow2 is a complete system with grub222:56
kirklandutlemming: k, lemme give that a shot22:56
kirklandutlemming: okay, so is /dev/nbd0 mountable?23:02
utlemmingkirkland: /dev/nbd0p1 is23:02
kirklandutlemming: aha23:02
kirklandutlemming: when I create the volume in the AWS ebs interface, what's the right "size"?23:04
kirklandutlemming: I tried 8GiB and it came out a little short, like 7-something23:04
=== Ursinha-afk is now known as Ursinha
=== wedgwood is now known as wedgwood_away
kirklandutlemming: hmm, okay, did all of that, created snapshot, created image, tried launching... doesn't appear bootable23:16
kirklandutlemming: did I need to do anything after the dd, and before the snapshot?23:16
kirklandutlemming: I selected Kernel ID: aki-825ea7eb23:16
kirklandutlemming: ah, hang on, I think I know what's wrong23:20
kirklandutlemming: I forgot to add an ephemeral disk, which I need for the overlay to work23:20
kirklandutlemming: hmm, that's not working either23:22
kirklandutlemming: this is strange23:22
kirklandutlemming: http://paste.ubuntu.com/5632736/23:24
ExtremeHello23:34
ExtremeWhen I try install something on my VPS, I get the following errors:23:34
Extremelocale: Cannot set LC_CTYPE to default locale: No such file or directory23:34
Extremelocale: Cannot set LC_MESSAGES to default locale: No such file or directory23:34
Extremelocale: Cannot set LC_ALL to default locale: No such file or directory23:34
kirklandutlemming: yeah, I'm at a loss at this point23:35
ExtremeI did: `sudo locale-gen en_US en_US.UTF-8` and `dpkg-reconfigure locales` but that didn't fix it23:35
sarnoldExtreme: if you run 'locale' do you see that your locale settings are only en_US or en_US.UTF-8 ?23:39
Extremeone sec23:43
ExtremeThis is the output for "locale", http://pastie.org/private/j8xbyltkcoqa57l0wmwsrw23:43
kirklandutlemming: yeah, for some reason, the image created from that snapshot is just not bootable23:44
sarnoldExtreme: do you have the en_IN and en_IN.utf8 locales generated? (in the output of locale -a)23:45
Extremesarnold: I think no, http://pastie.org/private/binvqjdm7z4t0u4x0fl8sw23:45
sarnoldExtreme: you'll either have to set your locale to en_US or build the en_IN locales..23:47
Extremesarnold: how to do that? Can you point me to an article or something?23:48
kerframilExtreme: edit /etc/default/locale and/or execute "locale-gen en_IN en_IN.UTF-8", respectively23:54
Extremekerframil: I couldn't find anything in /etc/default/locale file. (I opened with `nano /etc/default/locale)23:56
kerframilExtreme: in older releases, it's /etc/environment. more info: https://help.ubuntu.com/community/Locale23:56
lone_mulehello23:57
ExtremeI am having 12.0423:57
kerframilExtreme: I don't know then. perhaps LANG was defined by some other means in your current environment. on my 12.04 system, it's sourced from /etc/default/locale.23:58
kerframilExtreme: in any case, LANG is what needs to be set to make a locale effective, and locale-gen can be used to generate missing locales that you may wish to use.23:59
ExtremeI just want to turn off the error messages while installing stuff. Is that possible?23:59

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