[00:03] pretty cool to see the odometer roll over [00:03] jimbaker: unless the odometer explodes [00:03] * SpamapS takes cover for the next 25 minutes === pdtpatrick_ is now known as pdtpatrick === flaviamissi_ is now known as flaviamissi [00:47] <_mup_> Bug #1000007 was filed: juju add-relations should raise a StateChange error instead of Internaltopologyerror < https://launchpad.net/bugs/1000007 > [02:19] so is maintainer strictly an email, or will it take the standard: First Last [02:22] oh nm... just saw the docs update [03:39] #100000 was well played :) [03:39] <_mup_> Bug #100000: There are still too many bug reports < https://launchpad.net/bugs/100000 > [03:39] oops [03:39] the right one [03:39] :) [03:54] imbrandon: bug #1000000 was also well played :) [03:54] <_mup_> Bug #1000000: For every bug on Launchpad, 67 iPads are sold < https://launchpad.net/bugs/1000000 > [03:54] yea thats what i ment to link :) [03:55] well the one linked was actually nicely done too :) [03:55] yea [03:55] hehe [03:55] imbrandon: you done with turbo-drupal yet? [03:55] actually i was testing it earlier [03:55] imbrandon: I was wondering something actually [03:55] it still has 1 or 2 bugs, i thought i was done [03:56] imbrandon: there's a PPA with PHP 5.4 for precise.. [03:56] hi all, looking for a little help with juju and the ubuntu openstack deployment [03:56] imbrandon: would be cool to see if it improves the performance :) [03:56] SpamapS: what one, i havent dfound one that works well [03:56] vrturbo: we can try, though I don't know if there are any maas experts here. [03:56] yea 5.4 is generally 30% faster [03:56] imbrandon: Ondrej Sury's is good [03:56] oh no apc in that one [03:56] Ok I followed the MAAS juju install from https://help.ubuntu.com/community/UbuntuCloudInfrastructure [03:56] apc segfaults [03:57] https://launchpad.net/~ondrej/+archive/php5 [03:57] imbrandon: that one? [03:57] yea i tried that one [03:57] all works but apc segfaults [03:57] imbrandon: weird. Well I'll be merging 5.4.3 into quantal soon [03:57] all servers install it's when I added the relations via juju that things broke [03:57] nice, maybe we can -backports [03:58] vrturbo: how did things break? [03:58] imbrandon: no, the rdeps are too many [03:58] doh [03:58] imbrandon: you'd have to smoke test everything that Depends: php5 [03:58] at last count it was 120 or so packages [03:58] yea but with 5 years it may be worth the extra effort [03:59] no rush but a goal [03:59] relation-errors: shared-db: - mysql [03:59] imbrandon: you have to test them all *every* time you upload [03:59] hrm yea , smoke tests can be automated tho [03:59] vrturbo: ok, if you go to the unit with the errors you should have the error logged in /var/lib/juju/units/servicename-0/charm.log [03:59] that pointed me too some error with DB [04:00] imbrandon: that would be an *epic* win [04:00] just a thought anyhow [04:00] yea [04:00] definately [04:00] imbrandon: I'd get that into the daily jenkins QA for Ubuntu if you did that. :) [04:00] i'll work twords it , see how far i can get [04:01] good thing is the way 5.4 breaks things is pretty consistant [04:01] on the node running the service or the node I ran the juju command from ? [04:02] but yea i *thought* the super drupal one was done, but i ran into a few snags, i'd say about 3 more hours of work, so like 1 to 1.5 days [04:04] vrturbo: on the node running the service [04:04] vrturbo: juju ssh servicename/0 should work :) [04:05] vrturbo: you can also do 'juju debug-hooks servicename/0' and then 'juju resolved --retry servicename shared-db' to get a chance to re-run the hook in a terminal window manually [04:05] vrturbo: btw, which service has the error? [04:05] vrturbo: would be simplest if you just did 'juju status | pastebinit' btw :) [04:05] mysql didn't create correctly [04:06] so keystone, then nove, glance etc [04:06] just looking at the log now [04:06] vrturbo: trying to contrain it to micro ? heh [04:06] vrturbo: ah so everybody got errors? [04:07] yeah, I logged into mysql this morning to try and debug and the databases were there [04:07] but no tables [04:08] vrturbo: so, nothing in the charm.logs then? [04:08] running a debug on the relation of mysql and cloudcontroler showed the below [04:09] hook.output ERROR: 2012-05-15 02:17:46 CRITICAL nova [-] (OperationalError) (1044, "Access denied for user 'nova'@'' to database 'nova'") None None [04:09] so I tried to login directly [04:09] via mysql [04:11] and the nova and keystone users couldn't login to mysql, changing the grant permissions fix that, the the db sync on the services created the DB structure [04:11] but I think that something broke between mysql and keystone right at the start, I"m still looking at the logs [04:17] mmmm more charming music , err music to charm to :) http://www.youtube.com/watch?v=wX1wPLjPhlc [04:17] i should put out a charmers itunes playlist :) [04:20] vrturbo: right, mysql should be granting those users before sending them back to nova [04:21] yeah I seen a similar error in keystone [04:21] just trying the hook debug you recommended [04:23] juju resolved --retry keystone/0 shared-db [04:24] Marked unit 'keystone/0' relation 'shared-db' as resolved [04:24] 'resolved' command finished successfully [04:24] the debug didn't show much [04:24] 'juju debug-hooks keystone/0' didn't show much [04:26] keystone and shared db look to be ok now but what did the command do ? [04:26] juju resolved --retry keystone/0 shared-db ? [04:26] its specifies a relation on a unit to repair [04:28] <_mup_> juju/proposed-support r485 committed by kapil.thangavelu@canonical.com [04:28] <_mup_> proposed pocket support [04:30] vrturbo: its not going to show much, its going to open up a tmux session and a new window for each hook ... [04:31] vrturbo: at the bottom you should see something like shared-db-relation-changed .. which is telling you that its time to run hooks/shared-db-relation-changed (if it exists) .. this gives you a chance to run the hook with a debugger/logs/strace/etc. [04:31] hazmat: debug-hooks is really poorly documented. We need screenshots actually. [04:32] <_mup_> juju/proposed-support r486 committed by kapil.thangavelu@canonical.com [04:32] <_mup_> use proposed option when configuring cloud-init [04:32] +1 screenshots would help [04:32] its confusing till its understood [04:35] btw SpamapS i got to spend ALL day sat, chillin with TSA officers at SFO, not by choice, made it into Kansas City at 2am ( should have landed at , ohh , 330pm local ) [04:35] heh [04:36] imbrandon: lucky you! [04:36] yea [04:36] imbrandon: they didn't like the cut of your jib? [04:37] heh, never really explained why, just held me for a bit [04:38] imbrandon, you wear a beard? they're beard bigots [04:38] heh, well a 5 day beard :) [04:38] see [04:39] or a goatee , wouldent really call that a beard anyhow, more just to cover the scar from 18 stiches on my chin :) [04:41] mmm ok, more caffeine, cant sleep so i might as well roll with it and get some work done [04:41] brb [04:43] I have a chin beard [04:43] never been detained [04:44] yea that was the first time i have, flown countless times [04:46] not sure why glance would say relation to keystone id ok when the other way around it shows an error [04:47] i think i've gotten it twice.. once for carrying vitamins in my carryon (clearly bomb material).. and the other for wearing baggy pants, which they couldn't see through with their fancy machine [04:47] nice [04:48] keystone/0: agent-state: started relation-errors: identity-service: - glance - nova-cloud-controller [04:48] SpamapS, they never detain DDs ;-) [04:49] :) [04:52] how can I remove the service and reinstall it via juju ? [04:52] I want to try blow away the mysql and keystone and reinstall them [04:54] vrturbo: should be able to destroy-service service/N [04:55] then terminate machine for those machines [04:55] then just juju deploy again [04:55] what does the teminate machine do ?reinstall ? [04:56] totally wipes the machine [04:56] if its ec2 it terminates them and spins a new one up [04:57] not sure on other providers, but the equiv [04:57] ok I'm using MAAS but I'll give it a try [04:57] yea likely a reinstall then [05:12] SpamapS: looks like the debian php pkg team may have worked out the php-apc segfault [05:12] i'm trying it again now, but there was an update a day or so before uds that seems to have fixed it maybe [05:12] that i havent tried yet [05:17] nice, yea segfault averted now, time to try it out on some real world stories [05:20] damn, juju filled up my disk again [05:21] wow [05:21] small disk or bug ? [05:21] bug, machine-agent.log goes out of control [05:21] ahh [05:21] it's a small disk (SSD) as well, which doesn't help [05:22] true, combo ko [05:22] https://bugs.launchpad.net/juju/+bug/958312 is the bug afaik [05:22] <_mup_> Bug #958312: Change zk logging configuration < https://launchpad.net/bugs/958312 > [05:23] SpamapS, thanks [05:23] doh.. oh not released [05:23] ajmitch, destroy-environment on local providers [05:23] before rebooting [05:24] or after rebooting [05:24] yeah I'll need to remember to do that [05:24] is the workaround to that fix is merged, or use the ppa [05:24] er. its merged not released though [05:24] it should get SRU'd [05:24] SpamapS, pretty please [05:24] * ajmitch hopes so :) [05:27] hrm i've never written this kinda tests before , this may be a learning experince in itself [05:32] SpamapS: oh btw after seeing the MBA in action i'm headed to the Apple store today when they open to get me one, gonna replace both that POS i dragged along and my MBP ( destined for craigslist ) [06:20] still a problem after I redeploy mysql and keystone [06:20] 2012-05-16 02:07:22,975: unit.relation.lifecycle@WARNING: Error in shared-db-relation-changed hook: Error processing '/var/lib/juju/units/keystone-1/ch [06:21] keystoneclient.exceptions.ClientException: An unexpected error prevented the server from fulfilling your request. [06:22] (OperationalError) (1044, "Access denied for user 'keystone'@'' to database 'keystone'") None None (HTTP 500) [06:23] so database issue with de-relate scritp [06:23] should I be worried about this " Hook does not exist, skipping /var/lib/juju/units/keystone-1/charm/hooks/config-changed" [06:34] "Bootstrap aborted because file storage is not writable: The supplied storage credentials were not accepted by the server" [06:35] ... when trying to use with MaaS: https://wiki.ubuntu.com/ServerTeam/MAAS/Juju [07:02] SpamapS: if you want a quick an easy one to rung the prom bell for, https://bugs.launchpad.net/charms/+bug/1000088 is just a slight variation on the newrelic-php charm for the sysmond [07:02] <_mup_> Bug #1000088: charm needed: newrelic sysmond < https://launchpad.net/bugs/1000088 > [07:11] looks like my issue was a problem with the .local domain [07:12] I put on a .com domain onto the nodes via the MAAS server and the db-relation between keypoint and mysql works [07:16] nice [07:29] alright all, my work day is over, home time, thanks for you help [07:58] SpamapS: hrm i might have opened a can of worms with this php testing BUT i think one that may turn into something much larger and is much needed the more I'm thinking about how to best go about it [07:59] since i'm thinking new testcases for each project will need to be written, not just use the phpunit that exist now ( if at all ) [08:00] really though , 5.4 or not this might be a worthy project , esp given this will be for a lts [08:03] just not sure exactly how to best get true coverage yet ... i'm sure i'll be pickin your brain about it at some point === almaisan-away is now known as al-maisan === izdubar is now known as MarkDude === al-maisan is now known as almaisan-away [12:05] marcoceppi, ping [12:20] SpamapS, around? [12:36] gmb, i think it be too early for him :) [13:53] Hi === carif_ is now known as carif [14:18] Hi, does someone know easy way to change openstack so it wont try use AWS, trying to use local... Did install it with maas + juju... and can't find what to change and where.. [14:38] hi all [14:39] Hi, does someone know easy way to configure openstack so it wont try use AWS, trying to use local... Did install it with maas + juju... and can't find what to change and where.. [14:42] Jarmo, did you try juju docs [14:43] i think there is a section which describes about openstack based config file [14:48] is there any juju search functionality to search the charm store? [14:48] that would be a righteous feature... [14:49] nathwill, i suppose yes am not 100% sure though [14:49] yeah, i'm not seeing anything in the man page. [14:50] was thinking like `apt-cache search x`output [14:50] nathwill, am not sure about that but it be cool feature SpamapS ^^ :) [15:00] I'm going crazy trying to get juju + maas working happily. [15:00] Here's my environments.yaml http://paste.ubuntu.com/990792/ [15:00] keep getting this on juju bootstrap: The supplied storage credentials were not accepted by the server [15:00] I made sure the MAAS key for oauth is good and even created a new one. [15:01] Here is my maas.log http://paste.ubuntu.com/990810/ [15:03] ...and all I can find through web search are references to previous commits to maas and/or juju which I believe are merged now. [15:08] s/${}// [15:08] facepalm [15:18] nathwill: charmstore search is spec'd out but not implemented yet... perhaps in 12.10, but I don't know the exact timeline [15:18] sweet [15:18] ihashacks: man... haven't used maas yet, it's on the tbd :( [15:18] thanks for the info m_3 [15:30] ihashacks: digging through the maas code, it looks like the maas api either doesn't have the correct paths for the file store or doesn't have the mac_addrs recorded in the filesstore correctly [15:30] ihashacks: maybe look for path config stuff... (?) [15:32] ihashacks: also, there may be more folks familiar with maas in #ubuntu-server [15:32] at least for now [15:35] 'morning all [15:40] negronjl: morning [15:40] m_3: 'morning [15:42] negronjl: hey... so are you cool with doing a charmschool sorta g+ hangout / ajaxterm in spanish sometime? [15:42] m_3: absolutely [15:43] negronjl: awesome! [18:34] koolhead17 can u give me link? === tobin_ is now known as tobin === tobin is now known as Guest97304 [19:25] Hi, does someone know easy way to configure openstack so it wont try use AWS, trying to use local... Did install it with maas + juju... and can't find what to change and where.. After installing it.... or before.... what ever is the easiest way [19:30] koolhead17 can u give me link? or did you mean https://juju.ubuntu.com/docs/getting-started.html ? ...i can'tfind that ..yaml file mentioned there... I Think it should be there somewhere, because Dashboard prints it... but how i can change it.. [19:33] Jarmo, let me check it once [19:37] my 1st .yaml file was something like thisone: environments: maas: type: maas maas-server: 'http://maas.server.ip:80/MAAS' maas-oauth: '${maas-api-key}' admin-secret: 'nothing' default-series: precise [19:38] so i think there should be different kind of .yaml file after installiation, because dashboard can print it.. [19:38] Jarmo, i have no exp of maas so cant help you much [19:38] :( [19:40] that's ok, but i think it should be (almost) at same location than with openstack installiation.. maybe... :D [19:40] there must be some logic with its location :D [19:42] Note for myself :hmmm... maybe at nodes /.juju/enviroments.yaml at node computer.... [19:43] Jarmo, wondering if there does a maas gets creted [19:44] and for that you have the yaml file used [19:46] but I was wondering: I think I have my own api server up wich I could use, if only I would know how to modify "creds" wich openstack dashboard gives me.. [19:47] koolhead17: this is guide wich i did follow, then I did hear it uses AWS: https://help.ubuntu.com/community/UbuntuCloudInfrastructure [19:56] Jarmo, nopes that guide uses openstack AFAIK [20:24] AFAIK? [20:25] as far as i know :P [20:26] on that guide this part gives me headache : uec-publish-tarball ./ubuntu-11.10-beta1-server-cloudimg-amd64.tar.gz images (actually cloud-publish-tarball) then it only says "not authorized" [20:26] yes uec-pulish is no more ued [20:26] used [20:26] I was asking about that problem yesterday here, and ppl told me happens because i dont have AWS account [20:27] well in that case i have no idea :( [20:27] same here :/ But I'll keep looking that, wanted just share that problem, hoping some1 had figured how to deal with it :D [20:30] jcastro, http://askubuntu.com/questions/65359/how-do-i-configure-juju-for-local-usage do we not need to tell juju where my charms are lying? [20:31] juju deploy local:mysql <-- is it automatically going to fetch mysql charm from juju repo? [20:33] yeah [20:34] wich u did download with bzr command [20:34] Jarmo, so it means i have to provide my charm source path [20:36] https://help.ubuntu.com/community/UbuntuCloudInfrastructure ---> Deploying Ubuntu Cloud Infrastructure with Juju explains it imo [20:37] but you had to bzr those files for your computer to do deploy from local [20:37] hmm. so i meant the askubuntu docs needs some modification [20:40] ...I dont totally understand what you mean.... but I did deploy some files jsut with command juju deploy mysql... etc but some files didnt work with that command, so i had to bzr those files to my copmuter and then deploy --repository=. local them [20:40] hope that answers for your question :) [20:41] hmm [20:41] :P [20:46] koolhead17: local usage (using the local provider) does not mean local: charm usage [20:47] koolhead17: the question you linked is focused on the local provider, not local charms [20:49] SpamapS, ok so when am trying juju deploy local:mysql it should work without throwing any error [20:49] but it asks for source location 4 charm [20:50] did u bzr it? [20:50] u need to tell where that file is [20:50] and normally it is your repo folder on root [20:51] koolhead17: no, I'm just saying the question you linked is not relevant. [20:51] like i did have precise folder at root [20:51] koolhead17: you need either --repository path/to/charms or export JUJU_REPOSITORY=path/to/charms [20:51] SpamapS, thats exactly what i was mentioning [20:52] but if i follow http://askubuntu.com/questions/65359/how-do-i-configure-juju-for-local-usage am going to hit error saying path not found [20:54] I dont think that guide works, atleast that way didn't work for me [20:55] or atleast somethign must be done before that [20:56] which part doesn't work [20:56] he just updated it [20:57] jcastro, all depoly commands need repository part [20:57] path [20:57] no they don't [20:57] "juju deploy mysql" grabs mysql from the charm store [20:57] jcastro, juju deploy local:mysql [20:58] i suppose asks for --repository [20:58] :O hmmm [20:58] right [20:58] that's if you want to deploy the charm you've downloaded by hand [20:58] but you don't need to do that unless you're modifying the charm or something [20:58] yeah try without local: [20:58] jcastro, so here local doesnot mean LXC par se but custom charms [20:58] hot it [20:58] no [20:58] *got it [20:59] no this means LXC [20:59] it grabs the mysql charm from the store and deploys it locally on your LXC container [21:00] jcastro, juju deploy local:mysql thrown error asking for where is my repository [21:00] right [21:00] am i supposed to install some additional pkg too [21:00] no [21:00] you do juju deploy --repository whatever local:mysql [21:01] ok let's back up [21:01] what are you trying to do [21:01] jcastro, i simply want to run mysql charm in my lcx [21:01] lxc [21:01] :) [21:01] juju deploy mysql [21:03] jcastro, cool. so when am doing local:charm name am trying to deploy a charm located in my local machine with some repository path [21:03] am i correct? [21:03] correct [21:03] cool. confusion solved :) [21:04] so local is for the location on charm but not anything with LXC [21:05] got it [21:05] SpamapS, thanks i got it finally what you mentioned :) === flaviamissi_ is now known as flaviamissi [21:42] am I right that two services can establish multiple relations using different interfaces at the same time? [21:45] yes [21:45] cool [21:46] thanks imbrandon [21:46] np [23:16] Im getting the following error: http://pastie.org/3922991 [23:16] following this guide: https://wiki.ubuntu.com/ServerTeam/MAAS/Juju [23:26] here's my environments settings [23:26] http://pastie.org/3923026