/srv/irclogs.ubuntu.com/2013/10/07/#juju.txt

=== CyberJacob|Away is now known as CyberJacob
AskUbuntuHow to get a juju charm's parameters | http://askubuntu.com/q/35474708:50
=== axw_ is now known as axw
=== freeflying_away is now known as freeflying
jamespagejcastro, marcoceppi: do you know if its possible to make the juju-gui display icons for locally launched charms?11:14
jamespagetrying to make my demo for ceph day on Wednesday look good11:14
rick_h_jamespage: no, it's hard coded logic that only the promulgated charms in the store get their icons displayed11:29
jamespagerick_h_, anyway I can hack that locally?11:29
rick_h_jamespage: the only way to force that would be to run a local charm store and ingest your local charms, force them to be promulgated in the charmworld db11:29
rick_h_jamespage: might file a bug for demo purposes of adding a feature flag that's "display all icons" since the logic is in the client side code of the gui11:30
rick_h_I *think* we could still do that, but not 100% sure off the top of my head11:30
rick_h_jamespage: but even then, we don't have access to the icon files for locally deployed charms. Juju doesn't send that data to the gui11:31
rick_h_jamespage: so they still have to be in a running charmworld instance, they just don't have to be promulgated at that point11:31
jamespagerick_h_, ah - I see11:33
=== CyberJacob is now known as CyberJacob|Away
=== CyberJacob|Away is now known as CyberJacob
=== gary_poster|away is now known as gary_poster
=== gary_poster is now known as gary_poster|away
marcoceppirick_h_: is there any documentation on "setting up your own charmworld"?13:21
rick_h_marcoceppi: there's a charmworld charm?13:21
rick_h_marcoceppi: with a readme on setting it up?13:21
rick_h_marcoceppi: there's also the docs in the charmworld source tree for hacking purposes. Mirrored to RTD http://charmworld.readthedocs.org/en/latest/13:22
marcoceppirick_h_: thanks!13:22
marcoceppirick_h_: wait, charmworld != charmstore, is it?13:23
rick_h_marcoceppi: no, not really. People refer to it that way sometimes. charmstore is a confusing mess13:23
rick_h_charmworld == manage.jujucharms.com which ingests from LP + juju-core charm store13:23
marcoceppirick_h_: yeah, so there are no real docs on running your own charm store are there?13:24
rick_h_marcoceppi: the juju-core one? no idea. Never thought to try it or look13:24
marcoceppirick_h_: there's this in the docs, which makes me think you_can_ but I've not seen any way how to https://juju.ubuntu.com/docs/charms-deploying.html13:25
marcoceppirick_h_: under "changing the defaults"13:25
rick_h_interesting13:26
* marcoceppi rumages around13:26
=== gary_poster|away is now known as gary_poster
=== kentb-out is now known as kentb
=== axw_ is now known as axw
jcastroman, the incoming queue is crushing us13:55
jcastromarcoceppi: paul c submitted sensu server and agent!13:55
marcoceppijcastro: I've got time today to tend to the queue, since we're post-release for stuff14:04
jcastromarcoceppi: can you do logstash/kibana first?14:09
jcastrothen the sensu stuff?14:09
marcoceppijcastro: ack14:11
jcastroarosales: out of curiosity I brought up our planning/BP problem to jono as we were talking on Friday14:12
jcastroand I tossed out "we could just toss everything out and start from scratch"14:13
jcastroand he heavily +1ed14:13
jcastroso, that means I don't have baggage if you don't want to for this next cycle14:13
jamespagejcastro, sorry - I managed todo zero review last week14:33
jamespagework is a bit crazy right now14:33
jamespageI owe dholbach the same apology14:33
=== amithkk_ is now known as amithkk
=== amithkk is now known as Guest99228
=== freeflying is now known as freeflying_away
adeuringmarcoceppi: could you have a look at my MP?14:44
marcoceppiadeuring: yeah, can do14:44
adeuringmarcoceppi: thanks!14:45
sinzuicharmers, a new manage.charmworld.com is being built on gojuju. We are dumping the db to get a copy of featured and qa collections. Any changes you make between now and probably tomorrow will be lost. Do you need to feature any charms or QA any charms in the next 24 hours?15:07
rick_h_marcoceppi: ^^ since you were talking about hitting the queue15:09
marcoceppisinzui rick_h_ we won't be doing any features, this won't affect charm promulgation, etc, correct?15:10
sinzuicorrect marcoceppi15:10
rick_h_marcoceppi: no, ingest should catch/keep up with that fine.15:10
jcastrojamespage: yeah, I should have not scheduled you on review so close to release, that was my bad.16:12
sconklinI'm unable to bootstrap the juju environment on my raring maas server. Best I can tell from searching, it's because all my nodes are "allocated to root", and not "ready". How can I return them to ready status?18:44
adam_ganyone aware of any common issues wrt ssh key auth not working for local containers?19:33
rick_h_adam_g: yea, the username is ubuntu and juju ssh doesn't seem to work. A manual ssh ubuntu@ip.addr.x.y will work19:33
adam_grick_h_, yeah, still no luck tho19:34
rick_h_adam_g: oh, in that case no. Not seen that19:34
kurt_jamespage: in thinking through further about our discussion a few weeks ago about consolidation of charms.  Is it unwise to colocate the quantum-gateway with any other charms?19:47
=== hatch is now known as lbox
=== lbox is now known as hatch
kurt_Here is the layout I'm think of.  If anyone else has comments on why they think it wouldn't work or a better way to consolidate, please chime in.19:53
kurt_http://pastebin.ubuntu.com/6206435/19:53
kurt_let me repast that in to pastebin19:53
kurt_There we go: http://pastebin.ubuntu.com/6206449/19:54
kurt_Comments anyone? :)20:10
_mup_Bug #1236590 was filed: juju destroy-machine leaves orphaned security groups <juju:New> <https://launchpad.net/bugs/1236590>21:02
jamespagekurt_, hey21:20
kurt_jamespage: hi - I think I can consolidate even further21:20
jamespagekurt_, most likely; I've just re-deployed one of our internal test environments using MAAS and the LXC containers feature in 1.14.121:21
kurt_jamespage: I've not played with lxc yet, but have gotten fair without needing it.21:22
kurt_as long as I stick to the rules you laid out before21:22
jamespagemachine 0 runs pretty much everything that can be containerized; mysql, rabbit, cinder, glance, nova-cloud-controller, swift-proxy and keystone21:22
jamespagewith quantum-gateway running alongside the juju bootstrap node on the bare metal21:22
kurt_but cinder and glance will conflict, right?21:22
kurt_outside of a container21:22
jamespagekurt_, not under LXC - all services have their own filesystem and network namespaces21:23
kurt_and without lxc? there's a problem, right?21:23
jamespageoh - and the dashboard (under lxc that is)21:23
jamespagekurt_, yup21:23
_mup_Bug #1236598 was filed: Machine stuck in juju status if the machine doesn't start <juju:New> <https://launchpad.net/bugs/1236598>21:24
kurt_ok, if I first want to try this out without, give me a sec and I will paste bin you my proposed layout21:24
kurt_jamespage: http://pastebin.ubuntu.com/6206818/21:26
kurt_the only thing I really have concerns about is co-locating quantum-gateway on cloud-controller21:26
kurt_and remember this is really all on VMs21:27
kurt_(not that that matters)21:27
jamespagekurt_, just to give you an idea of what I am doing - http://paste.ubuntu.com/6206832/21:29
jamespagekurt_, the quantum gateway writes /etc/nova/nova.conf so will conflict with the cloud controller charm21:29
kurt_Ok, so is there a good candidate otherwise, or should it go to its own node?21:30
jamespagekurt_, if you are not using containers - its own node21:31
jamespagekurt_, but adding containers is easy21:31
jamespagejuju add-machine lxc:021:31
jamespageadds a new lxc container to machine 021:31
jamespagewhich you can then "juju deploy --to 0/lxc/0 mysql"21:31
kurt_nice.  But there are still some deployment issues for containers, right?21:32
kurt_My strategy was to get everything working on regular VMs first, then dive in to containers.  :)21:33
kurt_I'm about half way through blogging it all.21:33
kurt_jamespage: thanks for the intro on containers.  I will check it out.  I appreciate the feedback.21:40
jamespagekurt_, with maas containers are OK21:40
jamespageshould get even better with 1.16.121:40
adam_ganyone know the correct way to inspect logs /w juju 1.15.0.1? i apparently missed the memo21:41
jamespageadam_g, urgh21:42
jamespageadam_g, no idea on that one21:42
jamespageadam_g, but I just figured out why juju-core does not like talking to the compute api from within serverstack21:42
jamespageits not dealing with packet fragmentation well21:43
jamespageip link set eth0 mtu 154621:43
jamespageand everything comes alive again!21:43
adam_gjamespage, hmph21:43
sarnoldkurt_: oh cool, where can I find the blog post(s?) when you're done? I want to be better at juju and it'd be nice to learn from your experience -- you've put in a ton of work :)21:43
kurt_sarnold: sure.  I'm restructuring it now.  I will welcome feedback from everyone when it's ready.21:46
jamespageadam_g, I think I might need to work in the bits and pieces to drop the mtu in instances using dnsmasq on the gateway nodes21:47
sarnoldkurt_: thanks :D I'm looking forward to it21:48
kurt_cheers.  It's taken a lot of effort.21:49
adam_gjamespage, https://lists.ubuntu.com/archives/juju/2013-September/002998.html FYI21:50
jamespagesinzui, fyi I just upgraded 1.14.1 running agents to 1.15.1 OK on our openstack deployment21:51
sinzuioh goody21:51
sinzuijamespage, was the tools-url: https://swift.canonistack.canonical.com/v1/AUTH_526ad877f3e3464589dc1145dfeaac60/juju-dist/tools21:53
jamespagesinzui, well it was not canonistack21:53
sinzuiokay21:53
jamespagehttp://10.98.191.34:8080/v1/AUTH_79699f6f71e245b186720f1e2bc03cf0/juju-dist/tools21:53
jamespagesinzui, but its looks much the same21:54
sinzuiThat does match the pattern I expect21:54
jamespagesinzui, upgrade-juju with maas provider not so happy21:59
sinzui:(21:59
=== CyberJacob is now known as CyberJacob|Away
jamespagesinzui, hmm - can't juju status any longer...22:03
sinzuioh, that is worse22:04
sinzuiI have waited 2 hours after a call to upgrade and I still had access using old and new juju22:04
jamespagesinzui, hmm - looks like the old agent is looking for the new tools in tools/22:09
jamespagerather than consuming simplestreams22:10
jamespagethat might be my bad22:10
sinzuijamespage, I think that is correct. 1.14.1 does not know about streams22:10
sinzuijamespage, Though I wondered if the upgraded bootstrap agent pointed the unit agents where to find the new juju. Since I saw the bootstrap upgrade from tools/, but not the units, maybe the units went to a different location.22:12
jamespagesinzui, I can upgrade the bootstrap either with maas22:14
jamespagesinzui, can't figure out how to get 1.15.1 into the right location22:15
jamespageif I sync with 1.14.1 it ignores the 1.15.1 tarballs22:15
jamespageif I do it with 1.15.1 it just pushed tools/releases and tools/streams22:15
sinzuiyeah, the updated release-public-tools does a lot of fixing up to support old and new22:16
sinzuijamespage, This is what I have been doing to collect, extract, and organise a tree that can be synced: http://pastebin.ubuntu.com/6206992/22:18
sinzui^ This is also why I wonder if I am doing something wrong.22:18
jamespagesinzui, well I can do that with openstack OK as I just push the tree into swift22:18
jamespagesinzui, but for maas I have to use sync-tools22:18
sinzuioh?22:18
sinzuiWe will need some legacy support then in sync-tools I think22:19
jamespageI need that fixed for 1.16.122:20
jamespageI need that fixed for 1.16.0 rather22:20

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