/srv/irclogs.ubuntu.com/2015/06/04/#juju.txt

kwmonroeBialogs: if you're using the gui, i think grey means the relation has been tentatively requested.. it goes green once you commit that request and the command gets sent to juju.  that's my best guess, but #juju-gui would have the authoritative answer.01:05
=== scuttlemonkey is now known as scuttle|afk
rick_h_kwmonroe: Bialogs correct01:55
rick_h_kwmonroe: Bialogs I think that the relation lines for subordinates are also grey though and deemphasized01:55
thumperlazyPower: I don't suppose you are working late into the night again are you?03:28
josein his birthday?03:49
jose(actually, I was going to ask the same question :P)03:50
suchvenuHi, I am an IBM charmer . I am getting the following error while trying to create a bug in Launchpad07:34
suchvenuOops!  Sorry, something just went wrong in Launchpad.  We’ve recorded what happened, and we’ll fix it as soon as possible. Apologies for the inconvenience.  (Error ID: OOPS-fa7f47217944bd43836662fe22cb1415)07:34
suchvenuCan someone help with this07:35
=== rogpeppe1 is now known as rogpeppe
=== brandon is now known as web
ludvigxHas any of you guys ever experienced that the juju cli tools become unresponsive ? returning nothing. Only command that returns anything is juju version11:00
andyjeffriesDoes anyone know of a good blog post/document on how to run your own Juju charms store?  We want private charms that aren't publicly accessible (we may open source them later, but we'd like that to be an explicit action, we may not if they are complely custom to our systems).11:03
marcoceppiludvigx: yes, typically means it can't connect to the environment you're trying to talk to/it thinks it's still bootstrapped (if it's not)11:08
marcoceppiandyjeffries: you'd have to just create a local charms repository https://jujucharms.com/docs/stable/charms-deploying#deploying-from-a-local-repository11:09
ludvigxmarcoceppi : hmm, it was a functioning environment before. So possibly a problem on the bootstrap node ?11:09
marcoceppiludvigx: it's possible,  best to run `juju status --debug --show-log`11:10
marcoceppilet that run until it completes, which may take a while11:10
andyjeffriesmarcoceppi: OK, so we couldn't use the Juju GUI to deploy charms from a local repository on our development machines?  Or we could, but we'd put the local repository on our Juju server and then would run the juju command only from that server (because our development machines wouldn't have the local repository on it)?11:11
debochatI am trying to install "libgcc1:i386" through my Juju install hook but the command is failing with the below error:11:11
debochat2015-05-26 08:59:23 INFO unit.wxs/0.install logger.go:40 E: Unable to locate package libgcc111:11
andyjeffriesI saw there was a repo on GitHub https://github.com/juju/charmstore and thought there'd be a doc/blog somewhere on how to run this for a local/private/hosted install.11:11
debochatbut the same command works when trying manually11:11
marcoceppiandyjeffries: you *can* deploy local charms to the GUI, by dragging and dropping zips of them, but it's not a perfect experience11:12
debochatmy juju env is local11:12
debochatand working on ubuntu 14.0411:13
marcoceppiandyjeffries: you can also run a charmstore locally, but juju has no way of knowing how to point to it, so you'd have to poision DNS to get that to work. Also, charmstore ingests it's data from launchpad atm, so even if you did get it running still not perfect because you'd have to have a private launchpad running IIRC11:13
andyjeffriesmarcoceppi: Sorry, I may be confusing terms (I'm new to Juju and OpenStack).  We want to publish our charms to a local (inside our network) charm store, so that later they can be searched for in the same way as the rest of the charms.  We'd probably want to point our Juju server to our local charm store server and then we'd fork/clone any public charms we wanted to use to in to there (unless there's an easy way of having Juju use multiple stores and11:13
andyjeffriesclearly differentiate them).  Clearer?11:13
andyjeffriesmarcoceppi: That's great, thank you.  So this isn't a use-case that's ready to run, it's a bit of hackery...11:14
marcoceppiandyjeffries: so that use case is coming, it's just not a clean story now. I'd say in the next 2-3 months that will be much stronger, running a private to you charm store11:15
marcoceppidebochat: that's odd, maybe run apt-get update before your install command?11:15
andyjeffriesmarcoceppi: Thank you.  We're going to be launching our env after that point, but will need a hacky solution until then - we'll work on that ourselves then (unless the work in making it a clean story is a public repo that we can test/contribute to?)11:16
debochatmarcoceppi: you mean, include the code - apt-get update before calling apt-get install in my install hook?11:17
marcoceppiandyjeffries: you'd have to pop into #juju-dev to figure out that, I don't think it's yet been worked on11:17
marcoceppidebochat: yup11:17
andyjeffriesmarcoceppi: OK, thanks very much for the pointers :-)11:17
andyjeffriesAppreciate it!11:17
debochatmarcoceppi: many thanks, will try that.11:18
schkovichhow to avoid downtime during upgrade-charm? i diligently tested everything in staging environment but still upgrading all units in production at once makes me feel uncomfortable.11:42
marcoceppischkovich: we're working on ways to model blue-green upgrades in juju, though it's not entirely possible at the moment11:44
schkovichmarcoceppi: define entirely possible ;)11:45
schkovichmarcoceppi: is it possible to some degree?11:45
schkovichmarcoceppi: the only idea that i have at the moment is to define a new environment but that is kind of way to complicated since there is a number of charms running and i need just to upgrade one11:47
marcoceppischkovich: you could deploy the new charm under a different name11:47
marcoceppilets say the service is mysql11:47
marcoceppiso you already have juju deploy mysql11:47
marcoceppiif you do juju deploy mysql mysql-green11:48
marcoceppithen do all the relations, you can then just "failover" to the green one11:48
marcoceppiand destroy the previous one11:48
schkovichmarcoceppi: okay, does make sense, in that case i could deploy charm to each server one by one.11:49
Odd_Blokejose: Thanks for your review, sorry for missing all the conflicts; I'll look at it today.11:51
Odd_BlokeI would have commented there, but LP isn't letting me. ;.;11:51
schkovichmarcoceppi: i have local charm store trust/x-charm, will creating symlinks x-charm-green and x-charm-red work? eg will i be able to say juju deploy x-charm-green or juju deploy x-charm-red?11:54
Odd_Blokejose: Or, alternatively, it was waiting so you could get the same comment 5 times. ¬.¬11:54
marcoceppischkovich: no, all you need to do is type `juju deploy local:trusty/x-charm x-charm-green`11:54
marcoceppiit'll deploy x-charm but call it x-charm-green to avoid collisions11:55
schkovichmarcoceppi: awesome! i was not aware of that. is it documented?11:55
schkovichmarcoceppi: it's like charm alias11:56
marcoceppischkovich: it really should be, doesn't appear to be. I'll fix that11:58
marcoceppi`juju help deploy` covers it, very sparsley too :\11:58
schkovichmarcoceppi: <service name>, if omitted, will be derived from <charm name>. this one?12:04
marcoceppischkovich: yes12:05
schkovichmarcoceppi: i read that line so many times but it never came to my mind in which way could it be useful :)12:09
schkovichmarcoceppi: thanks a lot!12:09
webwow active this morning.  :)12:13
=== kadams54-away is now known as kadams54_
schkovichmarcoceppi: juju deploy local:trusty/charm-x charm-x-green --to y is not working. :( i am still getting the old version of charm13:14
schkovichmarcoceppi: perhaps i should include revision number as well?13:14
stubIf the leader updates the leader settings, is it possible that other units will see the changes first in any hook? Or is the first place they will see the changes guaranteed to be the leader-settings-changed hook?14:54
stubfwereade: Do you know off the top of your head?14:56
Odd_Blokeaisrael: I don't really know the charm MP process; are your +1s enough for me to merge things myself?15:08
tvansteenburghOdd_Bloke: only a member of ~charmers can do the merge15:10
fwereadestub, it's not quaranteed to wait until leader-settings-changed15:42
fwereadestub, similarly to relation settings -- you may see values from the future that render future change hooks redundant15:43
joseOdd_Bloke: can you link me to that MP that has a +1 so I can take a quick look?16:22
joseOdd_Bloke: also, LP may be weird sometimes, don't forget it works with karma :P16:22
Odd_Blokejose: But I've been a good boy! :p16:35
josehehe16:35
Odd_Blokejose: You mean https://code.launchpad.net/~daniel-thewatkins/charms/trusty/ubuntu-repository-cache/update_charm-helpers/+merge/260956 ?16:35
joseoh, I'm looking into that one right now16:36
Odd_Bloke(I don't mean to brag, but I have _several_ MPs with +1s ;) )16:36
josecheck your email16:37
Odd_Blokejose: \o/16:39
Odd_Blokejose: Thanks! :)16:43
joseOdd_Bloke: thanks to you for the fixes - greatly appreciated!16:45
Odd_Bloke:)16:45
Odd_Blokejose: Will those changes now have to pass CI to get published?  (If there's a link to a doc about the process, I'm happy to read up on it :)16:49
joseOdd_Bloke: when you create an MP, it goes into the review queue (review.juju.solutions). the CI instances catch up and process the tests, and then we review (accept/reject) based on what we see and the CI results16:50
joseand then we merge, which is the final step if it's all good16:50
stubfwereade: Ta. It may have been a pedantic question, but it actually affects my design :)17:23
arosalesany folks knowledgable on how the "charm collection" is set up in LP?17:25
stubarosales: Its modelled as a distribution, like Ubuntu or Debian.17:26
arosalesspecifically why I see things like https://bugs.launchpad.net/charms/+source/platform-lsf/17:26
arosalesand https://bugs.launchpad.net/charms/+source/crate17:26
arosalesstub these aren't recommended charms, but  I still see their URLs in LP. However, no code attached.17:27
arosalesI am guessing when folks push to a personal name space it still shows up in the charm collection but doesn't attach the code branch . .  .?17:28
stubarosales: I think every sourcepackage name has a URL in that space. https://bugs.launchpad.net/charms/+source/pytz works for example17:29
stubarosales: #launchpad might know more17:30
=== kadams54_ is now known as kadams54-away
arosalesstub, hmm thanks17:44
=== kadams54-away is now known as kadams54_
=== kadams54_ is now known as kadams54-away
=== web is now known as Web
=== kadams54-away is now known as kadams54_
marcoceppiarosales: stub is correct18:38
marcoceppievery source package has a place holder in charms18:38
marcoceppibut only charmers can link the source package alias to the branch18:38
arosalesmarcoceppi, why isn't the source code branch attached?18:38
marcoceppibecause there is no source code for it18:39
arosalesah, so its an alias18:39
arosalesand I can't submit a bug against it either correct18:39
arosalesie I couldn't submit a bug against https://bugs.launchpad.net/charms/+source/pytz18:39
marcoceppiarosales: you probably could tbh18:44
arosalesmarcoceppi, I get the following error18:44
arosales"platform-lsf" does not exist in Juju Charms Collection. Please choose a different package. If you're unsure, please select "I don't know"18:44
arosaleshttps://bugs.launchpad.net/charms/+source/platform-lsf/+filebug18:44
marcoceppiarosales: oh, well there ya go18:44
arosalesso I was just trying to figure that piece out18:45
arosalesit looks like IBMers are actually getting an oops from LP when trying to do this though18:45
arosalesso I was trying to reproduce that oops18:45
* arosales can't reproduce the oops, but I get an error message back from LP at least18:45
upper--hi guys, is it possible to reference variables inside an amulet sentry 'run'?20:52
upper--e.g. self.unit.run('grep ', somevariable, '/etc/whatever')20:53
mbruzekupper--:  how do you mean?  You can build the run command *with* variables.20:53
mbruzekstring = 'grep {0} /etc/whatever'.format(variable)20:53
mbruzekself.unit.run(string)20:53
mbruzekupper does that help?20:54
upper--yep cheers20:54
=== weblife is now known as Web
=== kadams54_ is now known as kadams54-away

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