/srv/irclogs.ubuntu.com/2013/12/20/#juju.txt

=== xnox is now known as doko_
=== doko_ is now known as xnox
rayHi, guys, sync-tool give me the latest version is 1.16.5, but upgrade-juju give me 1.16.3, how does that happen? can I specify the juju version to upgrade to?01:38
rayok, --version give me that,  on the other hand, --upload-tools should not be used01:40
=== gary_poster is now known as gary_poster|away
=== CyberJacob|Away is now known as CyberJacob
=== freeflying is now known as freeflying_away
=== freeflying_away is now known as freeflying
InformatiQdoes juju work with cloudstack?11:36
InformatiQwas just talking about juju with a guy using cloudstack and wasn't sure if it worked or no11:36
natefinchInformatiQ: as far as I know, no, it won't work.11:51
InformatiQthanks natefinch i thought so too11:51
=== gary_poster|away is now known as gary_poster
marcoceppijamespage: https://code.launchpad.net/~james-page/charms/precise/nova-cloud-controller/havana-bind/+merge/198910 LGTM, wanted to make sure it was safe to merge13:36
jamespagemarcoceppi, I've tested it in HA mode - worked for me :-)13:37
marcoceppijamespage: good enough for me13:38
jamespagemarcoceppi, how do bundles appear in the charm store? I've written and openstack-on-openstack one but its not appearing?13:47
marcoceppijamespage: you need to push to lp:~USER/charm/bundle/BUNDLE-NAME/bundle to have them show up13:48
jamespagemarcoceppi, yeah - I have13:48
marcoceppijamespage: past that, you'll have to search for either your username or the bundle name. Searching and sorting bundles in gui isn't a strong story yet.13:48
jamespagemarcoceppi, https://code.launchpad.net/charms/bundles13:48
jamespagemarcoceppi, well I can't figure it out13:50
marcoceppijamespage: looks good, doesnt' appear to be in the gui, let me see if I can find it in the API13:50
jamespagemarcoceppi, the bundles.yaml contains several targets but I read that should be ok13:51
rick_h__jamespage: does it pass proof?13:51
marcoceppijamespage: yeah, that should be fine. Each target will appear as it's own bundle13:51
jamespagerick_h__, proof?13:52
rick_h__jamespage: like charm proof. It also proof's bundles13:52
marcoceppijamespage: install charm-tools; run `juju bundle proof`13:52
rick_h__jamespage: if it doesn't pass it doesn't get ingested like a charm13:52
marcoceppirick_h__: oh god, proof just blew up for me13:52
rick_h__marcoceppi: on this bundle or in general?13:53
jamespagemarcoceppi, which charm tools version do I need13:53
marcoceppirick_h__: in general13:54
rick_h__marcoceppi: :/13:54
marcoceppijamespage: at least 1.2.0, 1.2.5 being the latest13:54
marcoceppirick_h__: it seems to be having a hard time parsing the json from the api. Not sure what changed, let me poke with a sharpe stick13:55
rick_h__marcoceppi: the thing I see is a syntax issue on line 18 of bundles.py13:56
rick_h__a , vs a %13:56
marcoceppirick_h__: yeah, I sorted that locally13:56
marcoceppinow getting an unable to parse json error13:56
rick_h__heh, and not I'm getting a json parse error13:56
marcoceppirick_h__: so, a problem with local proof, it doesnt' take in to consideration inheritance at all13:57
marcoceppi:\13:57
marcoceppi:/13:57
rick_h__nice, server error wheee13:57
rick_h__marcoceppi: the server response is a 500 server error13:58
marcoceppirick_h__: yeah, I'm not catching status_code in requests, should probably check that13:58
=== BradCrittenden is now known as bac
marcoceppirick_h__: I've got a patch for the inheritance issue, I'll have it released in 1.2.614:03
rick_h__marcoceppi: jamespage ok, so I don't believe proof supports inheritance right now. I'm not sure if charmworld does at all. There's a card to look into it, but not been high priority yet.14:21
jamespagerick_h__, OK14:21
rick_h__marcoceppi: jamespage that causes this bundle to go boom. I'll open a bug with it and the bundle file as an example file, but this is why it's not in the store, it can't ingest it14:21
marcoceppirick_h__: is this with the remote proofing?14:22
rick_h__marcoceppi: yes, but it's a basic proofing error. It gets to the raring-grizzly and decides it has no services and hits a failed loop that dies14:23
jamespagerick_h__, OK _ I can work around that for now14:23
marcoceppirick_h__: right, I threw my hands up for the local proof portion and said "Oh, you have an inherit key, well we'll just press on"14:23
jamespagerick_h__, will any E cause a failure? proof is not so keen on the ntp suborinate I've using with evertyhgin14:24
marcoceppirick_h__: you probably have to do a lot more checking14:24
rick_h__jamespage: yes, an E causes it not to ingest14:24
jamespagerick_h__, E: openstack: The two services ntp:nova-compute share no common interfaces.14:25
jamespagethat uses the implicit juju-info relation14:25
jamespageso it won't ever match up14:25
rick_h__jamespage: hmmm, that should work. We allow for the implicit juju-info relation. I remember working around a bug on that.14:25
rick_h__jamespage: are they specified in the bundle?14:25
jamespagerick_h__, no14:26
jamespagerick_h__, if I add :juju-info it errors that does not exist14:26
rick_h__jamespage: try to specify it and see if it works. I know we auto 'trust' any juju- relations14:26
rick_h__jamespage: k, sec looking14:26
rick_h__I know we dealt with this in some form. Checking the tests14:26
jamespageE: openstack: Invalid relation requested: :juju-info14:26
rick_h__jamespage: paste me the bundle file please? There code is there to auto trust provides/requires that start with juju-14:28
jamespagerick_h__, http://paste.ubuntu.com/6605939/14:28
jamespagerick_h__, I think I see something similar when I import the bundle in the juju gui14:32
jamespageno relations get created after the first subordinate one gets parsed14:32
rick_h__jamespage: hmm, we use some bits from the deployer to parse relations so maybe there's a raw issue there.14:33
jamespagerick_h__, maybe - I tested using deployer14:33
rick_h__jamespage: oh hmm, well the juju- realations need to be specified as the type before it'll auto pass them14:34
rick_h__it doesn't auto assume the interface in that case which is why this is getting that error at least14:34
rick_h__jamespage: http://paste.ubuntu.com/6605995/ gets rid of the juju-info relation issues14:38
jamespagerick_h__, yeah - got that14:38
jamespagejust trying to sort out the other suboridnate one I have14:38
rick_h__jamespage: k, I'm missing some charms used so I'm getting proof errors in my local dev env on those. Updating my ingested charms now (which takes a bit) and will try again14:39
jamespagerick_h__, is there a keyboard shortcut to clear the build area on jujucharms.com14:42
jamespage?14:42
rick_h__jamespage: reload, ctrl-r :)14:42
jamespagerick_h__, so I discover!14:43
rick_h__pure demo baby14:43
jamespagerick_h__, OK _ the gui accepts that branch bundle as an upload now14:46
jamespagealthough proof was still complaining but meh14:46
rick_h__jamespage: k, did you update the yaml?14:46
jamespagerick_h__, yes14:46
rick_h__jamespage: if so paste me the update please so I can make sure we get that in as a bug and get proof fixed14:46
rick_h__jamespage: so far bundles haven't stretched our code as you've so awesomely done :)14:46
jamespagerick_h__, http://paste.ubuntu.com/6606034/14:47
rick_h__and I'd like to make sure we get more awesome14:47
jamespagethat's what works14:47
jamespageI still see14:47
jamespageE: openstack: The requested relation nova-ceilometer to nova-ceilometer is incompatible between services.14:47
jamespagebut it does exist14:47
jamespage19 services14:47
jamespagenoce14:47
rick_h__ok, yea proof is purely on the charmworld manage.jujucharms.com side14:47
rick_h__so it'll 'work' in the gui just fine. But to get it listed we'll have to fix that14:48
=== teknico_ is now known as teknico
hazmatjamespage, there's a short hand for one thing relates to lots of others.  ie  - [blog, [db, memcached]]14:58
* hazmat peaks at ostack on ostack bundle14:58
jamespagehazmat: oh - nice14:58
dpb1marcoceppi: what am I doing wrong here? http://paste.ubuntu.com/6606922/17:54
dpb1marcoceppi: storage is a new subordinate I'm writing17:55
marcoceppidpb1: this is a problem with subordinates, I'm working on a fix atm17:57
dpb1marcoceppi: ok17:57
marcoceppidpb1: I managed to get this far without ever writing a test that included subordinates. So it's trying to proxy the subordinate relationship which just doesn't work17:58
dpb1marcoceppi: is there a way to turn that off so I can proceed a bit?  Or is that needed for the rest of amulet to "work"?17:59
marcoceppidpb1: it's only needed for sentry stuff17:59
marcoceppidpb1: if you're not going to use any of the sentry things, you can pass sentries=False to the Deployment() call18:00
dpb1marcoceppi: I mean, I would like to eventually since this is communicating data on the relation, and I would like to test it, but I can do that just to move on.18:00
dpb1thx18:00
marcoceppidpb1: line ubuntu = d.sentry.unit['ubuntu/0'] in your test file won't be valid anymore, but everything else will work18:01
dpb1right18:01
dpb1understood18:01
=== nate_finch is now known as natefinch
=== gary_poster is now known as gary_poster|away
dpb1subordinate relation question:  anyone see what I'm doing wrong?  http://paste.ubuntu.com/6607104/18:32
=== psivaa is now known as psivaa-holiday
natefinchdpb1: Friday afternoons are tough on the juju channels... It's  Saturday in Australia and the Europeans are all having friday dinner.  That leaves pretty much just me, and my knowledge of charms is pretty limited, I'm afraid18:50
sarnold.. and today is liable to be last workday of the year for a few..18:53
adam_gdpb1, wouldnt it be add relation  storage:block-storage ubuntu:block-storage ?18:53
marcoceppiadam_g: no, he's got that part right19:15
marcoceppidpb1: I think you need to reverse the provides/requires19:16
marcoceppidpb1: hum, nevermind, that doesnt' seem to be the case19:17
marcoceppidpb1: does add-relation with --debug --show-log illuminate anything?19:18
dpb1marcoceppi: checking20:03
dpb1adam_g: no, I tried that too20:04
dpb1marcoceppi: debug show-log just dumps out my environment data as a json and some connection information, nothing interesting in there20:05
dpb1let me try and blow it away and re-do it20:05
dpb1marcoceppi/adam_g: can't repeat it on a new environment.  I'm suspecting a stale charm.20:25
dpb1natefinch: hah, no worries.  I didn't know you were us based.  I might ping you more now! :)20:26
natefinchdpb1: I'm the sole Juju dev who is US based.  We are looking to hire more though :)  Other people who know stuff are also US based, though, like Marco20:28
dpb1natefinch: ya, I bug marco a lot already. :)20:28
natefinchdpb1, me too ;)20:29
ashipikahi guys.. wondering if you could answer a conceptual question about juju.. is the idea of juju to have one charm per machine? or is it "allowed" to deploy multiple charms to a single machine?20:31
natefinchashipika: you can have multiple.  Most of the time it'll work, but you have to watch out for things stomping on each other's data and ports etc20:34
natefinchashipika, you can also deploy to containers, which helps a lot with the stomping problem20:34
ashipikanatefinch: my thought exactly... i'm writing a charm for openfoam and i'm wondering what i should do in a stop hook.. if i try apt-get purge everything i installed i might unintentionally uninstall something another charm needs..20:35
ashipikanatefinch: containers won't do in my case.. openfoam, hpc.. those guys want as little as possible between their SW and HW20:35
natefinchashipika, it's probably not worth worrying about.  If people want it to be safe to deploy multiples, they should use containres20:36
ashipikanatefinch: true.. :)20:36
natefinchashipika, sorry, gotta run20:36
dpb1marcoceppi: at the end of a test, should I have a "juju-deployer -T" equivalent?  Is there something that amulet provides?21:12
=== kentb is now known as kentb-weekend

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