/srv/irclogs.ubuntu.com/2017/06/30/#juju.txt

=== frankban|afk is now known as frankban
nileshsawantAll all, we are facing issue in juju add-machine08:31
nileshsawantos deployment is marked as failed in maas08:32
nileshsawantis anyone facing this issue ?08:32
tvansteenburghrick_h: you around?12:57
rick_hPacking what's up?12:58
rick_htvansteenburgh: ^13:00
tvansteenburghrick_h: juju upgrade-charm foo --config cfg.yaml ... i can't figure out what the format of cfg.yaml is supposed to be. everything i've tried so far fails13:01
tvansteenburghrick_h: you happen to know anything about this? sorry to interrupt the packing13:01
tvansteenburghif you don't have time, no worries-13:02
rick_htvansteenburgh: hmm, I'd expect either a flat yaml list of config options or a root key "options" to match up with bundle format13:04
rick_htvansteenburgh: what's not working atm?13:04
tvansteenburghrick_h: okay, flat is what i tried first. then i tried giving it the output from `juju config foo -o cfg.yaml`13:04
rick_htvansteenburgh: that'd make some sense :)13:05
tvansteenburghbut alas13:05
tvansteenburghi'll just keep tinkering. looks like i know what i'm doing at the docs sprint today13:05
rick_hhah13:07
rick_htvansteenburgh: hmm, actually. does it need the service name in it?13:07
rick_h I'm looking atm let me see what I can find13:07
tvansteenburghwell the output of `juju config foo -o cfg.yaml` has an application key in it, but juju doesn't like that if you feed it back in13:08
rick_hk13:08
rick_hI thought I remembered seeing some config like that. I must be remembering the output there13:09
rick_htvansteenburgh: so https://github.com/juju/juju/blob/8cb1f452f4d21e3d7d929ab0615c1a4d7b1cac42/cmd/juju/application/upgradecharm_test.go#L203 seems to imply it's just flat config13:12
tvansteenburghhmm13:13
tvansteenburghrick_h: mystery solved13:14
rick_htvansteenburgh: but not finding a lot in here that gives me confidence tbh. That's the only reference to upgade-charm and config|options I can see atm.13:14
tvansteenburghtop level key has to be the app name13:14
rick_htvansteenburgh: yay?13:14
rick_htvansteenburgh: ugh, ok that's what I was remembering but damn that's not easy to figure out. :(13:15
tvansteenburghyeah, i'll get something in the docs later today, thanks for the help13:15
rick_htvansteenburgh: docs sprint is cool, but maybe update the help text for the upgrade-charm command as well?13:15
tvansteenburgh+113:15
rick_htvansteenburgh: I know evilnickveitch has updated them in the past and can walk through where that's edited at.13:16
evilnickveitchtvansteenburgh, https://jujucharms.com/docs/2.2/developer-upgrade-charm is probably the most relevant page, though it doesn't really mention anything about config. The implication from the juju help is that it would be in the same format as config applied during a deploy13:22
tvansteenburghevilnickveitch: also this page https://jujucharms.com/docs/2.2/charms-config says at the bottom "you can do it with a file" but doesn't say what the format should be13:26
evilnickveitchtvansteenburgh, erm, it doea. There is an example and everything https://jujucharms.com/docs/2.2/charms-config#configuring-an-application-at-deployment13:29
tvansteenburghwow13:29
tvansteenburghi actually looked at this page while i was floundering around, and totally missed that :/13:30
tvansteenburghso, never mind?13:31
evilnickveitchtvansteenburgh, well, I think there are a few takeaways. The 'upgrade-charm' stuff should link here to explain the config option, probably13:32
evilnickveitchPerhaps it could do with a longer/better example?13:32
evilnickveitchor a note that says "TIM! LOOK AT ME!"13:32
tvansteenburghdefinitely the latter13:33
tvansteenburghit was just my fault, didn't read carefully enough. i'm glad to see we have it. i think it would be useful to link the upgrade-charm docs to that example13:33
evilnickveitch+113:34
evilnickveitchI will add some issues13:35
tvansteenburghevilnickveitch: tyvm!13:35
ryebotwhere can I find the source for the relation-list tool?16:25
aisraelHi folks, just a reminder that the next virtual docs sprint starts at the top of the hour. We'll be diving into the charms.reactive framework. https://www.youtube.com/watch?v=rS9hxsySfNA17:18
=== frankban is now known as frankban|afk
aisraelWe're about to start our virtual sprint on the charms.reactive framework docs. Feel free to follow along, ask questions, open new issues, or write some docs!17:59
=== lp|RamenShoppin is now known as lazyPower
Budgie^Smoreok today's off the wall question... can I get a juju controller to manage multiple "clouds"? for instance is it possible to get controller to have one model on AWS and one model on bare metal using MAAS? (I know that JAAS can handle multiple public clouds based on the account credentials but not sure how that was accomplished)19:44
rick_hBudgie^Smore: no, can't do it currently21:00
Budgie^Smorerick_h: "on the roadmap"?21:01

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