/srv/irclogs.ubuntu.com/2013/06/21/#ubuntu-server.txt

MasterZuFuso I made a mistake. I tried to do an upgrade while using an ssh connection. the connection quit, now when I try to do the upgrade on the system itself, it says that the administration directory can't be unlocked and another process might be using it. what should I do>?00:37
bradmMasterZuFu: what kind of upgrade is it?  do-release-upgrade or similar?00:39
MasterZuFudo-release-upgrade00:41
bradmcheck if there's a screen process running, it usually starts one up if you do the upgrade over ssh00:42
MasterZuFuhow do you do that bradm?00:45
bradmMasterZuFu: sudo screen -list00:52
bradmMasterZuFu: and then probably sudo screen -d -r if there is something00:53
G55321hello guys, why /var/log/messages does not exist in ubuntu 12.04?00:53
zuladam_g:  still around? https://code.launchpad.net/~zulcss/cinder/cinder-fix-deps-testr/+merge/17072400:56
adam_gzul, ya00:57
adam_gzul,  you already added that earlier00:58
adam_gr11200:58
zuladam_g:  oops..00:58
zuladam_g:  nm go enjoy the rest of your day ;)00:58
adam_gzul, also, a lot of our havana jenkins builds were blocked from building b/c python-pbr because a pre-requisite of building tarball with sdist. that should be fixed now00:59
zuladam_g:  ok cool00:59
adam_gbecause == became00:59
* zul goes wonder off00:59
adam_gcya01:00
halvorsAnyone who knows how to set in /etc/network/interfaces that i want to receive a IPv6 prefix using DHCPv6 Prefix Delegation?01:28
sarnoldhey halvors1, no responses yet..01:35
MasterZuFubradm, so I let it finish it's upgrade, it rebooted...now the entire server is corrupted. i can't login, i'm getting crazy characters and boxes, and nothing is displaying properly....what do I do? :(01:43
dv81to install a lamp stack, is it best to use tasksel, or install the lamp meta package?01:46
dv81or more importantly is there no difference, and tasksel is merely installing said meta package?01:47
MasterZuFuany person of awesomeness able to assist with this? how exactly can I reinstall ubuntu-desktop? That's what looks all funky01:47
sarnoldMasterZuFu: try running dpkg-reconfigure -a01:47
dv81MasterZuFu: burn the ISO to a USB drive and boot into it??01:47
sarnoldMasterZuFu: maybe you're interrupted upgrade process left a pile of packages in half-installed state...01:47
MasterZuFuO.o that's no fun01:47
MasterZuFuis there any way to not have ubuntu-desktop load up upon boot so that I can get to the command line?01:48
dv81MasterZuFu: yes ^_^01:49
sarnoldMasterZuFu: echo manual >> /etc/init/lightdm.override01:49
sarnoldMasterZuFu: details here: http://upstart.ubuntu.com/cookbook/#override-files01:49
dv81cancel my Q, i rtfm :)01:50
sarnolddv81: ah, what's the answer? :)01:50
dv81according to https://help.ubuntu.com/community/Tasksel, its just installing the meta packages you already see in such as aptitude :)01:51
sarnoldaha :)01:51
=== dv81 is now known as wo0f
wo0fapparently theyre define here: /usr/share/tasksel/ubuntu-tasks.desc01:53
=== RobbyF_ is now known as RobbyF
=== wo0f is now known as wo0fPC
wo0fdoes 'nload' draw a graph?03:39
fluvvellsarnold, you asked me if my 10.04 install was relying on bsdgroups mount option. I confess I don't really know what you mean.03:51
sarnoldfluvvell: bsdgroups is a way to propogate group ownership of files and directories -- if a directory is setgid to a group, and the filesystem is mounted with bsdgroups, all files created in that directory are group owned by the directory group -- and directories are created with group owner _and_ setgid, to make sure the subdirs also get it...04:40
bradmsarnold: isn't that just the normal way setgid directories work?04:48
sarnoldbradm: hrm, seems I've confused bsdgroups and sysvgroups :)04:50
sarnoldbradm: I thought the setgid only worked with bsdgroup mount option..04:51
bradmsarnold: nope, definately not04:51
bradmsarnold: I think bsdgroup means any newly created files / directories takes the group id of the directory it is in, but with sysvgroups it needs the setgid bit to do that04:52
sarnoldbradm: thanks man :) I've assumed the wrong thing for like a decade. never paid enough attention to the bit in the manpage...04:53
bradmI've never needed to bother with bsdgroups, I just usually do the setgid bit if I need that.04:54
sarnoldfluvvell: so :) there we go -- did you use bsdgroups _or_ did you have the setgid bit set on your directories? :)04:55
bradmsounds like something to make people migrating from bsd happy04:59
sarnold*nod*04:59
wo0ftmux Q: why is ctrl-b-c not creating a new window05:09
wo0fusing putty05:09
sarnoldwo0f: is caps-lock on?05:10
wo0fNOPE05:10
wo0fcaps*05:11
sarnold:)05:11
bradmwo0f: does ctrl-b ? show c as being bound to new-window?05:11
wo0fas in 'ctrl-b (shift)?' ?05:12
bradmwo0f: yes.05:12
bradmwo0f: that shows key bindings05:12
wo0fbradm: showing nothing :(05:12
bradmdoes ctrl-b anything work?05:13
wo0fdoesnt seem to05:13
bradmmaybe its remapped05:13
bradmmine is ctrl-a instead05:13
bradmcheck ~/.tmux.conf to see if there's any remapping been done05:13
wo0fno tmux.conf in /root/05:15
wo0fneed to not be root? :S05:15
bradm.tmux.conf - note the leading .05:16
wo0fnot shown with ls-a05:16
wo0fls -a05:16
bradmnot sure then05:17
bradmmaybe its in the global config05:17
adam_groaksoax, was thinkin about the context rendering + exceptions earlier and not sure the solution i had in mind would work 100%. gonna work on finishing off that cinder one tomorrow. hopefully figure somethin out then.05:20
wo0fbradm: oh, there is no default config, and have to build your own?- exciting!05:22
sarnolddepends if you like those garish colors :)05:22
bradmwo0f: well, there should be some kind of basic config05:23
wo0fbradm: you would deffo have thought05:24
wo0fsurely it doesnt matter that it was installed as a dependancy of byobu?05:25
bradmI wouldn't think so05:26
wo0fOMG05:28
wo0fPANIC OVER05:28
wo0fthanks for help sarnold bradm05:29
bradmoh?  what fixed it?05:29
sarnoldwo0f: what was it? :)05:29
wo0fwhile googling tfm, i came across: "I hope you are not just pressing Ctrl+A. Basically, you have to press Ctrl+A and then release keys, then press "?" "05:29
wo0fohh...05:29
wo0f*noob face*05:30
sarnoldaha05:30
sarnoldsure enough, smashing all of ^BC at once doesn't work, but ^B? did work.05:31
wo0fscreen/byobu has been too lenient with me ;P05:31
=== marlinc is now known as marlinc|away
wo0fsarnold: what does the "^" represent ?06:00
sarnoldwo0f: control06:00
=== smb` is now known as smb
shaunoodd one I haven't seen before.  host returns two lines; the first is a valid answer, the second is NXDOMAIN.  any suggestions why it might give conflicting answers to the same query?06:53
=== marlinc|away is now known as marlinc
nilliI'm reading about how to optimize my apache settings for a ridiculous amount of concurrent users, and this one article said "The default amount of "maximum" number of threads is usually enough; however, there can be conditions where this number may have to be increased. The threads usage can be monitored." I've really tried to figure out how they can be monitored but I think I'm asking google the wrong questions. Any ideas?07:27
bradmnilli: server-status is the magic phrase, that'll show you what apache is doing.07:27
nilliis that an apache module?07:28
bradmyeah, mod_status07:30
nillithanks :)07:30
riz0nHello. I installed awstats to my Ubuntu Server. I followed the instructions on the Ubuntu how-to page but I am getting errors emailed each time crontab is processed. I "su root" and then "crontab -e" and put the awstats update command for each domain in the root crontab. What may have went wrong?07:55
riz0nThe error I am getting in the log file is that it could not open server log.07:56
Yamakasi_guys, is this new ? passwd: Authentication token manipulation error08:01
Yamakasi_I try to change a password of a user08:01
riz0nYamakasi_ That means when you re-typed the password, you didn't type it the same the 2nd time.08:02
Yamakasi_riz0n: sure thing ?08:03
riz0njoe@HMCS-Server:~$ sudo passwd joe08:03
riz0nEnter new UNIX password:08:03
riz0nRetype new UNIX password:08:03
riz0nSorry, passwords do not match08:03
riz0npasswd: Authentication token manipulation error08:03
riz0npasswd: password unchanged08:03
Yamakasi_riz0n: no, I don't get the message it's not typed right08:03
Yamakasi_riz0n: Sorry, passwords do not match is what I don't get08:04
riz0nCheck out http://askubuntu.com/questions/91188/authentication-token-manipulation-error and see if any of the situations outlined on that page may be causing you the issue.08:05
Yamakasi_riz0n: will reboot that machine first08:06
Yamakasi_riz0n: no Solution there08:13
riz0nso i would sudo passwd -d username08:14
riz0nthen passwd to set a new one08:14
Yamakasi_riz0n: did that too, didn't work08:16
Yamakasi_never had this08:16
riz0ncan you change passwords on other accounts?08:23
Yamakasi_riz0n: for root the same issue... and the rights on the files are OK08:25
Yamakasi_riz0n: dunno as I never, really never seen this08:29
riz0nSounds like filesystem is only getting mounted read-only08:29
riz0nbut I don't know a whole lot about what could be going on.08:30
Yamakasi_riz0n: yes it looks like it, but tge strange thing is that I can just do an update08:30
Yamakasi_and just did08:31
Ben64when i log into my server with ssh, it warns that my partitions will be checked next boot. how can i stop that?08:46
rbasakBen64: look at the tune2fs manpage. You can examine the mount count, max mount count before check, last check time, max time before check etc. options and change them.08:57
Ben64but will changing that unmark it for fscking on boot?08:58
rbasakI think so but am not sure.08:58
rbasakLook out for the two ways an automatic fsck is triggered: mount counts, and time-based.08:59
Ben64ok08:59
Ben64i'm scared of my server not being responsive for that long08:59
Ben64its like 8000mi away, i can't get to it to fix it either08:59
rbasakThen you should test and experiment on a different machine first.08:59
Ben64good idea08:59
Yamakasi_riz0n: copied a new 12.04 image and that is working OK, soing a release upgrade now09:03
Drag0nflamezgood morning everyone, i have a tiny huge issue with my apache209:22
Drag0nflamezas in: it does not serve any pages, neither static nor dynamic09:23
melmothDrag0nflamez, start with the obvious. Is is started, is it listening on port 80, is there any error in the logs ?09:26
Drag0nflamezit listens on port 80, if i do tail -f on the logs i see this error09:27
Drag0nflamezmoment pls09:27
Drag0nflamezhttp://pastebin.com/nRc5qDS809:28
Drag0nflamezWhich is a strange error because it didn´t happen yesterday09:28
Drag0nflamezand in the meanwhile the configs weren´t changed09:28
melmothhmm, something is already listening to port 8009:28
Drag0nflamezalready tried reloading the apache2 service, destroying my precious uptime by doing sudo reboot09:28
GDrag0nflamez: lsof -i :8009:29
GDrag0nflamez: get that output09:29
melmothor sudo fuser -n tcp 8009:29
Drag0nflamezdoesnt output anything09:29
Drag0nflamezalso nothing09:29
GDrag0nflamez: you are starting Apache as root right?09:29
Drag0nflamezye09:29
jpdsDrag0nflamez: $ sudo netstat -ltnp | grep 8009:30
Drag0nflamezalso nothing09:30
melmothi am puzzled...09:30
Drag0nflamezWeird.09:30
melmothif you telnet on port 80 , do you get a prompt of some sort ?09:31
jpdsDrag0nflamez: And if that returns nothing: sudo apache2ctl restart09:31
Drag0nflamezsame error but now only for ipv609:31
Drag0nflamezbut v4 still doesnt serve anything09:32
Drag0nflamezalso why is it trying to bind to 0.0.0.0?09:34
Drag0nflamezwhich is a bogus IP...09:34
melmothit s listening to _any_ adresses09:34
Drag0nflamezi know that (explicitly told to listen to *:80)09:35
Drag0nflamezso what could be causing this...09:42
rtuiohello there09:42
Drag0nflamezHello.09:42
rtuioanyone tried to configure proxy dot pac on ubuntu server ?09:43
rtuioto get have access with apt over internet09:43
rtuio ?09:43
rbasakI'm not sure apt supports that, so I could be mistaken. But a proxy.pac will generally only specify a single proxy for access to an external apt repository, so you can just set Acquire::http::Proxy to that.09:44
rtuiohow ?09:46
maxagazHi09:56
rtuio#virtualbox09:57
maxagazI'm looking for a web hosting solution, I'm currently using bluehost, which is not bad, do you have any other suggestion, or should I just go again for bluehost ?09:57
ikoniamaxagaz: not really something for #ubuntu-server09:57
Drag0nflamez^09:58
jamespageDaviey: I think the impact of that is a bit beyond my experience of ovs10:17
jamespageI'll ping the upstream ML for guidance10:17
Davieyjamespage: Yeah, i started trying to hack it in based on similar projects solving the same problem.. but i wasn't convinced i was doing a good job, so droppe dit10:19
Davieythanks10:19
Drag0nflamezah, fixed my issue10:22
Drag0nflamezApparently 2 conflicting listen directives in sites-availalbe10:22
Drag0nflamezavailable*10:22
Drag0nflamezwhich should have been in ports.conf10:22
Drag0nflamezThank you Apache2 sites examples10:23
Drag0nflamezanyways, goodbye.10:23
jamespageDaviey, OK _ upstream emailed for guidance10:32
jamespageDaviey, it might be a big job to enable the 802.1ad feature in ovs, but a smaller job to make it compatible with the 3.10 kernel if that makes sense.10:33
jamespageDaviey, zul, adam_g: http://people.canonical.com/~jamespage/ca/havana/ - specifically openvswitch10:36
DavieyYeah, i don't think we need 802.1ad for anything this release.. so just making the thing work without it, might be suitable10:36
Davieyif we can compat it10:36
jamespageDaviey, I think we can10:38
jamespagebut it won't be accepted upstream I think10:39
Davieyjamespage: it would be enough for the short-term.  As of next week, we could be in a pickle10:40
jamespageDaviey, OK - I'll look at a hack compat for then10:41
Davieyjamespage: that sounds super, thanks10:41
PupenoI have a bunch of custom upstart jobs. Is there an easy way to have a command/job that I can start, stop or restart to start, stop or restart them all?10:48
zuljamespage:  +111:09
rbasakPupeno: you can create a "dummy" job that can just be stopped or started manually. upstart will keep track of its state but otherwise do nothing.11:24
rbasakPupeno: then your bunch of custom jobs can each have the changing status of this job in their start and stop conditions.11:24
rbasakPupeno: so you can do it, but whether or not that's a good idea depends on your situation11:24
jamespagezul, ta - uploaded11:37
zuljamespage:  with luck i should have qemu ready today11:38
jamespageDaviey, once openvswitch is built do you want to sync havana-staging -> havana-proposed?11:38
jamespageor should we wait for zul's qemu as well11:38
Davieyjamespage: makes sense to do them together i guess.12:09
zuljamespage:  the openvswitch is tested right?12:21
zulbecause i need to test the qemu stuff after it builds12:22
hallynlifeless: yes please, a bug is probably best13:01
=== railsraider_ is now known as railsraider
roaksoax /win 813:06
zulroaksoax:  dude...13:07
roaksoaxzul: what?13:08
roaksoaxlol13:08
zulroaksoax:  hehe13:08
roaksoax?/13:08
zultime to switch irc clients ;)13:08
roaksoaxzul: lol... nah... I don't like xchat like you do13:09
roaksoax:P13:09
hallynjdstrand: hey, just wondering, have you looked at all at the libvirt fine grained access control for libvirt APIs thread?13:11
jdstrandno, sorry13:12
hallyn(I haven't really, just noticed it today.  it has polkit and selinux drivers - well, will have.  sounds like we may want to add apparmor at some point)13:12
hallynok13:12
hallynfor now i'll add it to my list of apparmor stuff i need to look at for libvirt13:12
jdstrandcool, thanks13:12
jdstrandit's not something I have a lot of time for atm, but will add it to my todo list to review at some point13:13
hallyncool, ttyl13:13
zulhallyn:  spice question for you13:14
jamespagezul, yes - I ran the smoke tests we have for dep-8 on 12.04 as well13:14
zuljamespage:  cool just checking13:14
=== klaas_ is now known as klaas
zulhallyn:  libspice-server-dev depends on libspice-protocol-dev (>= 0.12.0~) but its not built at all (libspaice-protocol-dev)13:15
jamespagezul, only problem I have noticed is that the upgrade from 1.4.0 -> 1.10.0 is not working13:15
zulwhats not working?13:15
jamespagezul, the 1.10.0 restart hangs trying to get the version from the old running userspace daemons13:16
zuljamespage:  oh13:16
hallynzul: not built at all?13:17
zulhallyn:  never mind i read the changelog13:17
hallynok13:17
=== wedgwood_away is now known as wedgwood
yousaf_hi all13:40
yousaf_so I want to install wordpress on sub.domain.com but I want it to be used through www.domain/wp/13:41
yousaf_can this be done and if so how?13:41
yousaf_i am on ubuntu 12 + nginx13:42
zulyousaf_:  google nginx rewriting dowmains13:43
yousaf_ok but do you get what i am looking for?13:43
yousaf_its not just a simple redirect13:43
yousaf_i don't know if "virtual path" is the right word for this but that is what i need13:44
zulyousaf_:  yes i do13:44
zulyousaf_:  there are plenty of examples on the net that tell you how to do it13:45
yousaf_this http://forum.nginx.org/read.php?11,2531 ?13:45
zulyousaf_:  sure13:46
=== Jikan is now known as Jikai
=== Jikai is now known as Jikan
PenyulapI have ubuntu server 12 I think on one computer, and I talk from this main ubuntu computer, I use ssh on the command line to talk to use commands onthe server, I want to add a small file, I am pretty much sortof beginner with command line, i use it some, but what of a text editor that I can dump text into, so it comes out as a file over the other end ?14:11
PenyulapSo now i use ssh and can do some things through the network, but what is a simple editor i could use?14:12
chaputnano14:13
Penyulapthank you14:18
hallynsmb: so you're discussing bug 1191782 on the m-l?  do you want to assign it to yourself?14:18
TheLordOfTimeapparently i missed someone having nginx issues?14:19
smbhallyn, Hm, yeah. Could have done that already14:19
* TheLordOfTime shrugs14:19
=== Jikan is now known as Jikai
nillidoes the apache2 directive Timeout affect slow file uploads? if it takes a user 65 seconds to upload a file and Timeout is set to 60, will the upload fail?14:32
FunnyLookinHatHey guys - is there a way I can apt-get install mysql and set the root password in the same line ( or via bash script ) ?14:35
FunnyLookinHatnvr mind: http://stackoverflow.com/questions/7739645/install-mysql-on-ubuntu-without-password-prompt   :)14:35
=== marlinc is now known as marlinc|away
roaksoaxadam_g: howdy! Why do you think the Exceptions wont be enough?16:01
roaksoaxadam_g: i keep getting this erro: http://pastebin.ubuntu.com/5787162/16:01
roaksoaxwith this: http://paste.ubuntu.com/5787165/16:02
roaksoaxmarcoceppi: ping16:04
roaksoaxmarcoceppi: any ideas? http://paste.ubuntu.com/5787130/16:04
roaksoax(the trace at the end)16:04
* marcoceppi looks16:04
=== marlinc|away is now known as marlinc
=== marlinc is now known as marlinc|away
marcoceppiroaksoax: it looks like either database_host isn't being sent to the templating, or there's an error in the template itself causing it to bail16:14
=== marlinc|away is now known as Marlinc
marcoceppiroaksoax: I can take a deeper look in a little later, but I think adam_g or jamespage would be faster at helping16:15
roaksoaxmarcoceppi: cool thanks for the input. I was thinking somehwere in between those lines too16:17
jamespageroaksoax, can I see the full branch please?16:19
roaksoaxjamespage: lp:~andreserl/charms/precise/glance/port16:21
adam_gjamespage, checking that branch now.16:34
jamespageadam_g, yeah - me to16:34
jamespagesomething wonky is going on with the hookenv serializable stuff16:35
roaksoaxyeah16:35
roaksoaxthe context is not empty though16:35
adam_groaksoax, the exceptions wont work because for every write() multiple contexts can raise an incomplete exception, when we're only interested in a single exception. eg, context.amqp() would be incomplete on a shared-db write() if no amqp relation exists16:35
roaksoaxadam_g: I see, yeah definitely that would be a problem16:37
roaksoaxadam_g: that render_configs() would have to be smarter then and only render the config its being asked to render16:39
roaksoaxthat way the Exceptions would work16:40
roaksoaxwithout mayor change16:40
roaksoaxto other than how we do the CONFIGS.write()16:40
jamespageroaksoax, adam_g: hmm - the {% if database_host %} is calling __getattr__ with the key __nonzero__16:43
jamespagethat feels like a bug in Serializable to me16:43
jamespageadding that function to the class fixes the problem16:43
adam_gjamespage, to which?16:44
jamespageSerializalble16:44
jamespage"    def __nonzero__(self):16:44
jamespage        return self.data is not None16:44
jamespage"16:44
adam_ghmm. i haven't seen this but i havne't been using the @cached stuff yet16:46
jamespageadam_g, not sure that 'cached' is the issue - the underlying function still returns a serializable16:47
jamespageadam_g, I think its the way that jinja2 is interrogating the object16:48
jamespageSerializable(UserDict.IterableUserDict)16:48
jamespagebut for a simple, scoped relation_get its not a dict, its just a value.16:49
goddardi set my ubuntu installation to static but for some reason it is not able to access the internet16:52
=== Marlinc is now known as Marlinc|away
IRCShare<ThothCastel> why is it saying invalid syntax(21)???17:02
ThothCastel http://ircshare.com/i/bp17:02
ThothCastelI am on the process of configuring an LDAP server on a ubuntu server through the CLI - >https://help.ubuntu.com/10.04/serverguide/openldap-server.html17:03
ThothCastelhelp pls17:03
ThothCastelwhen replacing this     olcRootDN: cn=admin,dc=example,dc=com      with my own configuration for a domain as procopio.co.uk   should I add     olcRootDN: cn=admin,dc=procopio,dc=co,dc=uk    ????17:06
roastedhello friends17:07
=== Marlinc|away is now known as marlinc
roastedI'm not sure what kind of conclusion I can draw up here, but I figured I'd ask as I'm grasping for ideas. I have Ubuntu Server 12.04.2 running. I was having a truckload of issues with my server recently, particularly when I'd rsync a lot of data to it. Last night it went into read only mode and reboots did nothing. I swiched the SATA3 cable for the SSD (OS drive) and it boots up fine. But what's weird is my monitor just goes black during boot.17:09
roasted I see no login screen.17:09
roastedI can SSH into it fine and I'm not seeing any errors, but uh... any ideas? I just found it weird the monitor went black with 0 login screen @ CLI...17:09
ThothCastelhelp pls17:13
vDeviceshello Everyone!17:15
vDevicesi'm a newbie to the world of managing servers17:17
zuljamespage/adam_g: fun times17:17
zuljamespage/adam_g: http://people.canonical.com/~chucks/ca/17:17
vDevicesi find myself managing 5 servers (4 Ubuntu Server 12.04 LTS + 1 ARM Debian).  I would wondering if any of you have any recommendations for a server-monitoring program/platform?17:19
=== marlinc is now known as marlinc|away
zulvDevices: nagios17:20
=== marlinc|away is now known as marlinc
=== goddard is now known as Guest49563
adam_gzul, those look okay. one nit, 'New upstream release for the Ubuntu Cloud Archive' is a bit misleading. they're just no-change rebuilds17:37
zuladam_g: what do you suggest?17:39
adam_gzul, "New update for..." its not that big a deal. i've been modifying it to "New security update..." when its a security update rebuild17:40
zuladam_g:  okies i can do it for the next round17:41
adam_gjamespage, these ceph-osd log errors look familiar to you? http://paste.ubuntu.com/578747517:49
jamespageadam_g, thats a new one for me17:49
jamespagezul, note that cloud-archive-backport has a --changelog option17:50
zuljamespage/adam_g: should i re-do it?17:50
adam_gzul, nah, just a nit17:51
jamespageI'd not block on that basis17:51
zuladam_g:  ok so +1?17:51
adam_gi'd be surprised if anyone other than us look at these changelogs anyway :)17:51
adam_gzul, ya17:51
zulcool17:51
roasted:D18:01
roastedbeing super lazy18:01
roastedreally have 0 time to spare18:01
roastedthe thought of getting up is something I cannot handle18:01
jkyleWhen you restart networkign with the init script, you get "Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces"18:31
jkylewhat is the non-deprecated way?18:31
geniijkyle: sudo start/stop/restart servicename18:46
geniiAlternately: sudo service servicename start/stop/etc18:46
sarnoldgenii: but will that Do The Right Thing for the other interfaces?18:48
geniisarnold: Hopefully!18:48
geniiIf the /etc/network/interfaces is set up correctly don't see why it would be a problem18:49
sarnoldgenii: some networking services are provided elsewhere; lxc-net, for instance..18:50
* genii sips and ponders18:52
sarnoldyeah. I'd like to think it would all just work :) but not knowing makes me wonder..18:53
roastedhello18:56
roaksoaxadam_g: the other option would be to have 1 exception per type of context... though that would probably be non-generic and many exception errors18:58
adam_groaksoax, yea. i was thinking of adding an attribute to the class(s) that can be checked to see which contexts have been completely satisifed19:00
adam_groaksoax,  so the calling hook can do something like: if 'shared-db' not in CONFIGS.context_complete: return else: CONFIGS.write(...)19:00
adam_groaksoax, im gonna have a go at that this afternoon. still bangin on ceph atm19:01
roaksoaxadam_g: ok cool!19:02
=== roasted_ is now known as roasted
=== marlinc is now known as marlinc|away
=== marlinc|away is now known as marlinc
=== bean__ is now known as bean
TheLordOfTimethe restricted repos contain closed-source stuff right?20:36
ScottKYes, but it's limited to things like firmware and drivers to get hardware working.20:41
LargePrimethis is more of a java question, but how do i run "ulimit -c unlimited" at startup, before all other things?20:45
immotus_I've got a crazy question :^)  I'm trying to get an Ubuntu 12 server downgraded to an Ubuntu 10 server (app requirement) remotely.  I have console access via IPMI, but no PXE environment setup on that network.  Any ideas how to get the net-install to boot from Ubuntu 12's GRUB menu?  I've tried copying the initrd and kernel image and creating a menu entry for it.. but it doesn't seem to come up.  No error, just a blank20:45
immotus_screen after the Grub menu20:45
sarnoldLargePrime: can you stuff that into whatever shell script starts your application?20:47
LargePrimeCan I add it to that user?  there is an application user defined20:48
LargePrimedo i need any rights to modify ulimit20:49
sarnoldLargePrime: raising limits does require superuser powers..20:49
sarnoldLargePrime: see also /etc/security/limits.conf20:49
LargePrimei have a user 1003.  can i just add that user to the file?20:52
LargePrimeand do i really want unlimited?20:52
sarnoldLargePrime: since I can never remember the measurement units, I tend to use unlimited :) hehe20:55
sarnoldLargePrime: .. and you'd have to lose a core file because it was that little bit too big..20:55
LargePrimeso i can just add the line "1003 soft  core unlimited" to /etc/security/limits.conf and save sarnold ?  how do i get that loaded?20:58
LargePrimedo i have to restart the server?20:59
sarnoldLargePrime: you might have to use the username20:59
LargePrimecant use number?20:59
LargePrimeok20:59
sarnolddunno, I don't see any examples in the file :)21:00
sarnoldLargePrime: the limits are applied when the user logs in through the PAM stack, any service that has pam_limits.so in the stack will enforce them..21:00
LargePrimehow do i know if my user has a pam stack21:00
LargePrimeand this use does not "login"21:00
LargePrimeit is an application21:01
LargePrimeand Wehn i say "does not" i mean " i think"21:01
sarnoldLargePrime: hrm, then maybe editing an upstart config file?21:01
sarnoldLargePrime: how does it start?21:01
LargePrimewitha a <dir>/multicraft -v start21:02
sarnoldLargePrime: what runs the command? cron? upstart at boot?21:04
LargePrimeupstart at boot.  but there is weirdness.  this start is one user, but the application has 10 other users it has to keep parts of it secure to themselves21:05
LargePrimeso i guess i need all these users to have a raised ulimit21:06
LargePrimeI guess I should contact the app dev21:06
sarnoldLargePrime: here we go: http://upstart.ubuntu.com/cookbook/#limit21:07
sarnoldLargePrime: I assume the first process runs as root, so it can start the other processes as other users?21:07
roaksoaxadam_g: so I was looking at the context for keystone, and in glance we have 'auth_uri', which is not in the context. Is there a way to easily add extra var names to the context?21:08
jkylegenii: yeah, that' doesn't work for networking. I just scripted a ifdown -a && ifup -a21:08
geniijkyle: Good to know for future.21:09
jkylemaybe start/stop might work. no restart....I'll test the start stop after this pxe run, but I think it has the same prob as the init.d21:10
adam_groaksoax, that doens't come from the relation, its made up of values from the relation: (from the bash version) set_or_update "auth_uri" "http://$keystone_host:$service_port/"21:10
roaksoaxadam_g: yeah, but we still need in the context21:11
adam_groaksoax, you dont necessarily, just http://{{ keystone_Host }}:{{ service_port }} in the template21:11
roaksoaxadam_g: ahh yeah you are right21:12
* roaksoax needs coffee a21:12
adam_groaksoax, if you wanted to inject it into the context you could, after the check to context_complete() but its not necessary IMHO21:12
roaksoaxadam_g: yeah I see your point. it is indeed not necessary21:12
* genii slides roaksoax a fresh mug of coffee just right for drinking21:13
roaksoaxgenii: lol thanks!21:14
geniiroaksoax: np21:15
goddardanyone setup a static ip with comcast business class?22:04
roaksoaxadam_g: the other option would be to return True/False from write()22:33
roaksoaxto see whether it was written successfully or not22:34
adam_groaksoax, well, write() is inspecting any number of contexts. i'd expect write() to return true in shared-db hook even if its amqp context is incomplete22:34
adam_groaksoax, ive got something im about to test22:35
roaksoaxadam_g: right, so in that case that would be fine because shared-db only needs db stuff, mand that true would tell "it is good to go, if it is false, then return (from shared-db relation that calls the write() function". But if you've got something already then we can just use that :)22:37
* roaksoax thinkgs I might not made any sense22:38
roaksoaxlol22:38
adam_groaksoax, but .write() has doesn't have any notion of what context you're expecting a True or False about22:38
roaksoaxadam_g: yeah, you are right!22:39
goddardanyone setup a static ip with comcast business class?22:40
adam_groaksoax, i think i've got somsething for you. one min23:01
roaksoaxadam_g: awesome! let me know. I'm off now but will probably be on and off throughout the night23:06
roaksoaxeveninig*23:06
adam_groaksoax, http://bazaar.launchpad.net/~gandelman-a/charms/precise/cinder/pyrewrite/view/head:/hooks/cinder_relations.py23:08
adam_groaksoax, you'll need to sync in charmers from lp:~openstack-charmers/charm-tools/pyrewrite-helpers (just realized that branch is named incorrectly)23:09
roaksoaxadam_g: awesome! thsnks!23:09
adam_groaksoax, and also adjust how you call register() on the configs (to use the new objects and not functions defined in context.py)23:09
adam_groaksoax, im based on an older charm helpers branch so its not using the caching layer jamespage added. ill need to rebase and test that, so in th meantime its a bit slow23:10
roaksoaxok cool thsnks for the input23:12
=== lotia-away is now known as lotia
=== wedgwood is now known as wedgwood_away
=== lotia is now known as lotia-away

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