/srv/irclogs.ubuntu.com/2012/05/16/#juju.txt

jimbakerpretty cool to see the odometer roll over00:03
SpamapSjimbaker: unless the odometer explodes00:03
* SpamapS takes cover for the next 25 minutes00:03
=== pdtpatrick_ is now known as pdtpatrick
=== flaviamissi_ is now known as flaviamissi
_mup_Bug #1000007 was filed: juju add-relations should raise a StateChange error instead of Internaltopologyerror <juju:New> < https://launchpad.net/bugs/1000007 >00:47
nathwillso is maintainer strictly an email, or will it take the standard: First Last <user@domain.tld>02:19
nathwilloh nm... just saw the docs update02:22
imbrandon#100000 was well played :)03:39
_mup_Bug #100000: There are still too many bug reports <lp-bugs> <Launchpad itself:Invalid> < https://launchpad.net/bugs/100000 >03:39
imbrandonoops03:39
imbrandonthe right one03:39
imbrandon:)03:39
SpamapSimbrandon: bug #1000000 was also well played :)03:54
_mup_Bug #1000000: For every bug on Launchpad, 67 iPads are sold <Edubuntu:Triaged> < https://launchpad.net/bugs/1000000 >03:54
imbrandonyea thats what i ment to link :)03:54
SpamapSwell the one linked was actually nicely done too :)03:55
imbrandonyea03:55
imbrandonhehe03:55
SpamapSimbrandon: you done with turbo-drupal yet?03:55
imbrandonactually i was testing it earlier03:55
SpamapSimbrandon: I was wondering something actually03:55
imbrandonit still has 1 or 2 bugs, i thought i was done03:55
SpamapSimbrandon: there's a PPA with PHP 5.4 for precise..03:56
vrturbohi all, looking for a little help with juju and the ubuntu openstack deployment03:56
SpamapSimbrandon: would be cool to see if it improves the performance :)03:56
imbrandonSpamapS: what one, i havent dfound one that works well03:56
SpamapSvrturbo: we can try, though I don't know if there are any maas experts here.03:56
imbrandonyea 5.4 is generally 30% faster03:56
SpamapSimbrandon: Ondrej Sury's is good03:56
imbrandonoh no apc in that one03:56
vrturboOk I followed the MAAS juju install from https://help.ubuntu.com/community/UbuntuCloudInfrastructure03:56
imbrandonapc segfaults03:56
SpamapShttps://launchpad.net/~ondrej/+archive/php503:57
SpamapSimbrandon: that one?03:57
imbrandonyea i tried that one03:57
imbrandonall works but apc segfaults03:57
SpamapSimbrandon: weird. Well I'll be merging 5.4.3 into quantal soon03:57
vrturboall servers install it's when I added the relations via juju that things broke03:57
imbrandonnice, maybe we can -backports03:57
SpamapSvrturbo: how did things break?03:58
SpamapSimbrandon: no, the rdeps are too many03:58
imbrandondoh03:58
SpamapSimbrandon: you'd have to smoke test everything that Depends: php503:58
SpamapSat last count it was 120 or so packages03:58
imbrandonyea but with 5 years it may be worth the extra effort03:58
imbrandonno rush but a goal03:59
vrturbo relation-errors: shared-db: - mysql03:59
SpamapSimbrandon: you have to test them all *every* time you upload03:59
imbrandonhrm yea , smoke tests can be automated tho03:59
SpamapSvrturbo: ok, if you go to the unit with the errors you should have the error logged in /var/lib/juju/units/servicename-0/charm.log03:59
vrturbothat pointed me too some error with DB03:59
SpamapSimbrandon: that would be an *epic* win04:00
imbrandonjust a thought anyhow04:00
imbrandonyea04:00
imbrandondefinately04:00
SpamapSimbrandon: I'd get that into the daily jenkins QA for Ubuntu if you did that. :)04:00
imbrandoni'll work twords it , see how far i can get04:00
imbrandongood thing is the way 5.4 breaks things is pretty consistant04:01
vrturboon the node running the service or the node I ran the juju command from ?04:01
imbrandonbut 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 days04:02
SpamapSvrturbo: on the node running the service04:04
SpamapSvrturbo: juju ssh servicename/0 should work :)04:04
SpamapSvrturbo: 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 manually04:05
SpamapSvrturbo: btw, which service has the error?04:05
SpamapSvrturbo: would be simplest if you just did 'juju status | pastebinit' btw :)04:05
vrturbomysql didn't create correctly04:05
vrturboso keystone, then nove, glance etc04:06
vrturbojust looking at the log now04:06
imbrandonvrturbo: trying to contrain it to micro ? heh04:06
SpamapSvrturbo: ah so everybody got errors?04:06
vrturboyeah, I logged into mysql this morning to try and debug and the databases were there04:07
vrturbobut no tables04:07
SpamapSvrturbo: so, nothing in the charm.logs then?04:08
vrturborunning a debug on the relation of mysql and cloudcontroler showed the below04:08
vrturbohook.output ERROR: 2012-05-15 02:17:46 CRITICAL nova [-] (OperationalError) (1044, "Access denied for user 'nova'@'' to database 'nova'") None None04:09
vrturboso I tried to login directly04:09
vrturbovia mysql04:09
vrturboand 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 structure04:11
vrturbobut I think that something broke between mysql and keystone right at the start, I"m still looking at the logs04:11
imbrandonmmmm more charming music , err music to charm to :) http://www.youtube.com/watch?v=wX1wPLjPhlc04:17
imbrandoni should put out a charmers itunes playlist :)04:17
SpamapSvrturbo: right, mysql should be granting those users before sending them back to nova04:20
vrturboyeah I seen a similar error in keystone04:21
vrturbojust trying the hook debug you recommended04:21
vrturbojuju resolved --retry keystone/0 shared-db04:23
vrturboMarked unit 'keystone/0' relation 'shared-db' as resolved04:24
vrturbo'resolved' command finished successfully04:24
vrturbothe debug didn't show much04:24
vrturbo'juju debug-hooks keystone/0' didn't show much04:24
vrturbokeystone and shared db look to be ok now but what did the command do ?04:26
vrturbojuju resolved --retry keystone/0 shared-db ?04:26
hazmatits specifies a relation on a unit to repair04:26
_mup_juju/proposed-support r485 committed by kapil.thangavelu@canonical.com04:28
_mup_proposed pocket support04:28
SpamapSvrturbo: its not going to show much, its going to open up a tmux session and a new window for each hook ...04:30
SpamapSvrturbo: 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
SpamapShazmat: debug-hooks is really poorly documented. We need screenshots actually.04:31
_mup_juju/proposed-support r486 committed by kapil.thangavelu@canonical.com04:32
_mup_use proposed option when configuring cloud-init04:32
hazmat+1 screenshots would help04:32
hazmatits confusing till its understood04:32
imbrandonbtw 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
imbrandonheh04:35
ajmitchimbrandon: lucky you!04:36
imbrandonyea04:36
SpamapSimbrandon: they didn't like the cut of your jib?04:36
imbrandonheh, never really explained why, just held me for a bit04:37
nathwillimbrandon, you wear a beard? they're beard bigots04:38
imbrandonheh, well a 5 day beard :)04:38
nathwillsee04:38
imbrandonor a goatee , wouldent really call that a beard anyhow, more just to cover the scar from 18 stiches on my chin :)04:39
imbrandonmmm ok, more caffeine, cant sleep so i might as well roll with it and get some work done04:41
imbrandonbrb04:41
SpamapSI have a chin beard04:43
SpamapSnever been detained04:43
imbrandonyea that was the first time i have, flown countless times04:44
vrturbonot sure why glance would say relation to keystone id ok when the other way around it shows an error04:46
hazmati 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 machine04:47
imbrandonnice04:47
vrturbokeystone/0:  agent-state: started  relation-errors: identity-service: - glance - nova-cloud-controller04:48
hazmatSpamapS, they never detain DDs ;-)04:48
imbrandon:)04:49
vrturbohow can I remove the service and reinstall it via juju ?04:52
vrturboI want to try blow away the mysql and keystone and reinstall them04:52
imbrandonvrturbo: should be able to destroy-service service/N04:54
imbrandonthen terminate machine for those machines04:55
imbrandonthen just juju deploy again04:55
vrturbowhat does the teminate machine do ?reinstall ?04:55
imbrandontotally wipes the machine04:56
imbrandonif its ec2 it terminates them and spins a new one up04:56
imbrandonnot sure on other providers, but the equiv04:57
vrturbook I'm using MAAS but I'll give it a try04:57
imbrandonyea likely a reinstall then04:57
imbrandonSpamapS: looks like the debian php pkg team may have worked out the php-apc segfault05:12
imbrandoni'm trying it again now, but there was an update a day or so before uds that seems to have fixed it maybe05:12
imbrandonthat i havent tried yet05:12
imbrandonnice, yea segfault averted now, time to try it out on some real world stories05:17
ajmitchdamn, juju filled up my disk again05:20
imbrandonwow05:21
imbrandonsmall disk or bug ?05:21
ajmitchbug, machine-agent.log goes out of control05:21
imbrandonahh05:21
ajmitchit's a small disk (SSD) as well, which doesn't help05:21
imbrandontrue, combo ko05:22
ajmitchhttps://bugs.launchpad.net/juju/+bug/958312 is the bug afaik05:22
_mup_Bug #958312: Change zk logging configuration <juju:Fix Released by hazmat> <juju (Ubuntu):Fix Released> <juju (Ubuntu Precise):Triaged> < https://launchpad.net/bugs/958312 >05:22
hazmatSpamapS, thanks05:23
hazmatdoh.. oh not released05:23
hazmatajmitch, destroy-environment on local providers05:23
hazmatbefore rebooting05:23
hazmator after rebooting05:24
ajmitchyeah I'll need to remember to do that05:24
hazmatis the workaround to that fix is merged, or use the ppa05:24
hazmater. its merged not released though05:24
hazmatit should get SRU'd05:24
hazmatSpamapS, pretty please05:24
* ajmitch hopes so :)05:24
imbrandonhrm i've never written this kinda tests before , this may be a learning experince in itself05:27
imbrandonSpamapS: 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 )05:32
vrturbostill a problem after I redeploy mysql and keystone06:20
vrturbo2012-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/ch06:20
vrturbokeystoneclient.exceptions.ClientException: An unexpected error prevented the server from fulfilling your request.06:21
vrturbo(OperationalError) (1044, "Access denied for user 'keystone'@'' to database 'keystone'") None None (HTTP 500)06:22
vrturboso database issue with de-relate scritp06:23
vrturboshould I be worried about this " Hook does not exist, skipping /var/lib/juju/units/keystone-1/charm/hooks/config-changed"06:23
ihashacks"Bootstrap aborted because file storage is not writable: The supplied storage credentials were not accepted by the server"06:34
ihashacks... when trying to use with MaaS: https://wiki.ubuntu.com/ServerTeam/MAAS/Juju06:35
imbrandonSpamapS: 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 sysmond07:02
_mup_Bug #1000088: charm needed: newrelic sysmond <new-charm> <Juju Charms Collection:Confirmed for imbrandon> < https://launchpad.net/bugs/1000088 >07:02
vrturbolooks like my issue was a problem with the .local domain07:11
vrturboI put on a .com domain onto the nodes via the MAAS server and the db-relation between keypoint and mysql works07:12
imbrandonnice07:16
vrturboalright all, my work day is over, home time, thanks for you help07:29
imbrandonSpamapS: 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 it07:58
imbrandonsince i'm thinking new testcases for each project will need to be written, not just use the phpunit that exist now ( if at all )07:59
imbrandonreally though , 5.4 or not this might be a worthy project , esp given this will be for a lts08:00
imbrandonjust not sure exactly how to best get true coverage yet ... i'm sure i'll be pickin your brain about it at some point08:03
=== almaisan-away is now known as al-maisan
=== izdubar is now known as MarkDude
=== al-maisan is now known as almaisan-away
koolhead11marcoceppi, ping12:05
gmbSpamapS, around?12:20
koolhead11gmb, i think it be too early for him :)12:36
anwakHi13:53
=== carif_ is now known as carif
JarmoHi, 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:18
koolhead17hi all14:38
JarmoHi, 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:39
koolhead17Jarmo, did you try juju docs14:42
koolhead17i think there is a section which describes about openstack based config file14:43
nathwillis there any juju search functionality to search the charm store?14:48
nathwillthat would be a righteous feature...14:48
koolhead17nathwill, i suppose yes am not 100% sure though14:49
nathwillyeah, i'm not seeing anything in the man page.14:49
nathwillwas thinking like `apt-cache search x`output14:50
koolhead17nathwill, am not sure about that but it be cool feature SpamapS ^^ :)14:50
ihashacksI'm going crazy trying to get juju + maas working happily.15:00
ihashacksHere's my environments.yaml http://paste.ubuntu.com/990792/15:00
ihashackskeep getting this on juju bootstrap: The supplied storage credentials were not accepted by the server15:00
ihashacksI made sure the MAAS key for oauth is good and even created a new one.15:00
ihashacksHere is my maas.log http://paste.ubuntu.com/990810/15:01
ihashacks...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:03
ihashackss/${}//15:08
ihashacksfacepalm15:08
m_3nathwill: charmstore search is spec'd out but not implemented yet... perhaps in 12.10, but I don't know the exact timeline15:18
nathwillsweet15:18
m_3ihashacks: man... haven't used maas yet, it's on the tbd :(15:18
nathwillthanks for the info m_315:18
m_3ihashacks: 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 correctly15:30
m_3ihashacks: maybe look for path config stuff... (?)15:30
m_3ihashacks: also, there may be more folks familiar with maas in #ubuntu-server15:32
m_3at least for now15:32
negronjl'morning all15:35
m_3negronjl: morning15:40
negronjlm_3: 'morning15:40
m_3negronjl: hey... so are you cool with doing a charmschool sorta g+ hangout / ajaxterm in spanish sometime?15:42
negronjlm_3: absolutely15:42
m_3negronjl: awesome!15:43
Jarmokoolhead17 can u give me link?18:34
=== tobin_ is now known as tobin
=== tobin is now known as Guest97304
JarmoHi, 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 way19:25
Jarmokoolhead17 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:30
koolhead17Jarmo, let me check it once19:33
Jarmomy 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: precise19:37
Jarmoso i think there should be different kind of .yaml file after installiation, because dashboard can print it..19:38
koolhead17Jarmo, i have no exp of maas so cant help you much19:38
koolhead17:(19:38
Jarmothat's ok, but i think it should be (almost) at same location than with openstack installiation.. maybe... :D19:40
Jarmothere must be some logic with its location :D19:40
JarmoNote for myself :hmmm... maybe at nodes /.juju/enviroments.yaml at node computer....19:42
koolhead17Jarmo, wondering if there does a maas gets creted19:43
koolhead17and for that you have the yaml file used19:44
Jarmobut 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:46
Jarmokoolhead17: this is guide wich i did follow, then I did hear it uses AWS: https://help.ubuntu.com/community/UbuntuCloudInfrastructure19:47
koolhead17Jarmo, nopes that guide uses openstack AFAIK19:56
JarmoAFAIK?20:24
koolhead17as far as i know :P20:25
Jarmoon 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
koolhead17yes uec-pulish is no more ued20:26
koolhead17used20:26
JarmoI was asking about that problem yesterday here, and ppl told me happens because i dont have AWS account20:26
koolhead17well in that case i have no idea :(20:27
Jarmosame here :/ But I'll keep looking that, wanted just share that problem, hoping some1 had figured how to deal with it :D20:27
koolhead17jcastro, 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:30
koolhead17juju deploy local:mysql  <-- is it automatically going to fetch mysql charm from juju repo?20:31
Jarmoyeah20:33
Jarmowich u did download with bzr command20:34
koolhead17Jarmo, so it means i have to provide my charm source path20:34
Jarmohttps://help.ubuntu.com/community/UbuntuCloudInfrastructure    ---> Deploying Ubuntu Cloud Infrastructure with Juju explains it imo20:36
Jarmobut you had to bzr those files for your computer to do deploy from local20:37
koolhead17hmm. so i meant the askubuntu docs needs some modification20:37
Jarmo...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<charm name> them20:40
Jarmohope that answers for your question :)20:40
koolhead17hmm20:41
koolhead17:P20:41
SpamapSkoolhead17: local usage (using the local provider) does not mean local: charm usage20:46
SpamapSkoolhead17: the question you linked is focused on the local provider, not local charms20:47
koolhead17SpamapS, ok so when am trying juju deploy local:mysql it should work without throwing any error20:49
koolhead17but it asks for source location 4 charm20:49
Jarmodid u bzr it?20:50
Jarmou need to tell where that file is20:50
Jarmoand normally it is your repo folder on root20:50
SpamapSkoolhead17: no, I'm just saying the question you linked is not relevant.20:51
Jarmolike i did have precise folder at root20:51
SpamapSkoolhead17: you need either --repository path/to/charms or export JUJU_REPOSITORY=path/to/charms20:51
koolhead17SpamapS, thats exactly what i was mentioning20:51
koolhead17but if i follow http://askubuntu.com/questions/65359/how-do-i-configure-juju-for-local-usage am going to hit error saying path not found20:52
JarmoI dont think  that guide works, atleast that way didn't work for me20:54
Jarmoor atleast somethign must be done before that20:55
jcastrowhich part doesn't work20:56
jcastrohe just updated it20:56
koolhead17jcastro, all depoly commands need repository part20:57
koolhead17path20:57
jcastrono they don't20:57
jcastro"juju deploy mysql" grabs mysql from the charm store20:57
koolhead17jcastro, juju deploy local:mysql20:57
koolhead17i suppose asks for --repository20:58
Jarmo:O hmmm20:58
jcastroright20:58
jcastrothat's if you want to deploy the charm you've downloaded by hand20:58
jcastrobut you don't need to do that unless you're modifying the charm or something20:58
Jarmoyeah try without local:20:58
koolhead17jcastro, so here local doesnot mean LXC par se but custom charms20:58
koolhead17hot it20:58
imbrandonno20:58
koolhead17*got it20:58
jcastrono this means LXC20:59
jcastroit grabs the mysql charm from the store and deploys it locally on your LXC container20:59
koolhead17jcastro, juju deploy local:mysql thrown error asking for where is my repository21:00
jcastroright21:00
koolhead17am i supposed to install some additional pkg too21:00
jcastrono21:00
jcastroyou do juju deploy --repository whatever local:mysql21:00
jcastrook let's back up21:01
jcastrowhat are you trying to do21:01
koolhead17jcastro, i simply want to run mysql charm in my lcx21:01
koolhead17lxc21:01
koolhead17:)21:01
jcastrojuju deploy mysql21:01
koolhead17jcastro, cool. so when am doing local:charm name am trying to deploy a charm located in my local machine with some repository path21:03
koolhead17am i correct?21:03
jcastrocorrect21:03
koolhead17cool. confusion solved :)21:03
koolhead17so local is for the location on charm but not anything with LXC21:04
koolhead17got it21:05
koolhead17SpamapS, thanks i got it finally what you mentioned :)21:05
=== flaviamissi_ is now known as flaviamissi
james_wam I right that two services can establish multiple relations using different interfaces at the same time?21:42
imbrandonyes21:45
james_wcool21:45
james_wthanks imbrandon21:46
imbrandonnp21:46
pdtpatrickIm getting the following error: http://pastie.org/392299123:16
pdtpatrickfollowing this guide: https://wiki.ubuntu.com/ServerTeam/MAAS/Juju23:16
pdtpatrickhere's my environments settings23:26
pdtpatrickhttp://pastie.org/392302623:26

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