[07:48] <kjackal> Good morning Juju world!
[09:33] <gennadiy> hi everybody,  does somebody have exp with riftio and juju?
[10:50] <Spaulding> Hi guys!
[10:51] <Spaulding> I have a strange issue, after reboot I can't see my juju status :(
[10:51] <Spaulding> 10:50:43 INFO  juju.api apiclient.go:535 dialing "wss://10.190.134.11:17070/model/23ab79f9-57dc-41cc-8ecf-d367885d750e/api"
[10:51] <Spaulding> this is what i see from the debug, so probably one of the controllers changed IP?
[14:53] <vmorris> when I perform a deploy, is it the machine from which I am running the 'juju deploy' command that downloads the charms, or is it the controller machine?
[14:54] <tvansteenburgh> vmorris: the controller
[14:55] <vmorris> tvansteenburgh: ty
[14:58] <lazyPower> Spaulding: hey have you found an answer/root-cause/work-around to your troubles with juju status?
[14:59] <Spaulding> lazyPower: it's test env... so basically i removed the old env
[14:59] <Spaulding> and bootstrap new one
[14:59] <lazyPower> ok. so long as its resolved :)
[14:59] <Spaulding> yeah ;)
[14:59] <Spaulding> but still it was strange
[15:00] <Spaulding> looks like jujud was not able to start...
[15:00] <lazyPower> Spaulding: - capturing those logs and reproduction steps in a bug would go a long way to help resolving it.
[15:01] <lazyPower> next time lmk and i'll be happy to step you through what to do in that scenario
[15:03] <Spaulding> sure!
[15:03] <Spaulding> i think the problem was that i rebooted the machine after apt upgrade
[15:03] <Spaulding> and probably i should run something like juju upgrade
[15:04] <Spaulding> juju upgrade-juju
[15:28] <beisner> howdy marcoceppi - do you know the eta for a libcharmstore 0.0.5 cut @ pypi?
[15:28] <marcoceppi> beisner: 5 mins
[15:28] <beisner> too fast, slow her down man
[15:40] <hackedbellini> lazyPower: hey, are you there?
[16:38] <lazyPower> hackedbellini: yep hey there
[16:53] <beisner> thanks, marcoceppi
[17:03] <arosales> marcoceppi: good morning
[17:03] <arosales> marcoceppi: do you think we should remove k8-core from cwr?  I made https://github.com/juju-solutions/build-cloud/pull/81
[17:04] <arosales> given canonical-kubernetes is the main bundle and these charms and solution context is addressed there.
[17:12] <marcoceppi> arosales: why remove it?
[17:13] <arosales> marcoceppi: well seems that testing is handled in canonical-k8
[17:13] <marcoceppi> it's a different toplogy, with different scale and different (less) components
[17:13] <arosales> unless there is different test scenerios in that bundle
[17:13] <marcoceppi> it's a different scenario under test
[17:14] <arosales> thats fair, could you comment on the pull and I'll reject?
[17:14] <arosales> marcoceppi: also I think you guys were working on getting that bundle also updated with the latest correct?
[17:14] <arosales> looks like it still may be failing on the flake tests
[17:16] <arosales> ref = http://data.vapour.ws/cwr-tests/results/bundle_kubernetes_core/fd135530b9e94084992706899d0040ac/report.html
[17:17] <marcoceppi> arosales: the bundle needs to be revv'd and it will be in due time as part of the release cycle
[17:19] <arosales> marcoceppi: gotcha, I was thinking it was just missed as part of the release last week when canonical-k8 was updated
[17:19] <marcoceppi> well, canonical-k8s release was rushed due to preassure. so it was done out of band
[17:20]  * arosales can be patient until the next release those as we see the correct link in the canonical-k8 bundles
[17:20] <arosales> marcoceppi: cool -- thanks for the update
[17:48] <bildz> Good morning.  Brand new install and trying to get conjure-up working again (sigh).  This time I see that autopilot is an option.  Tried that route and it failed because juju was not bootstrapped
[17:48] <bildz> i bootstrap juju to localhost with "maas" and it deploys, but not conjure-up fails
[17:48] <bildz> one day this will work!
[17:49] <bildz> but right now i want to take a hammer to all these charms
[17:59] <marcoceppi> bildz: what are you trying to conjure-up?
[18:00] <bildz> im trying to start fresh with an environment
[18:00] <bildz> openstack
[18:00] <bildz> where does juju get configurations options to bootstrap?
[18:01] <bildz> is it in the postgres database for maas?
[18:01] <marcoceppi> you, the operator, supplies them
[18:02] <bildz> Performing bootstrap: ant maas/http://10.9.9.11/MAAS
[18:02] <bildz> that's the wrong ip
[18:02] <bildz> and i have no idea where it's getting that
[18:06] <bildz> error:  flag provided but not defined: --upload-tools
[18:06] <marcoceppi> stokachu: ^^
[18:22] <Guest89712> I need help with a Juju, conjure-up, Openstack deployment issue
[18:23] <Guest89712> After deployment I have an openstack0 and a conjureup0 interface with the same IP address
[18:24] <lazyPower> marcoceppi: arosales: https://github.com/juju-solutions/bundle-kubernetes-core/pull/39
[18:26] <marcoceppi> stokachu: ^^
[18:27] <arosales> lazyPower: thanks
[18:28] <lazyPower> arosales: np, sorry it slipped through. There was some undue pressure last week to make an early release and that got left behind
[18:28] <lazyPower> RIP
[18:30] <arosales> lazyPower: no worries.i was mainly just confirming my understanding. Thanks for the work on it
[18:31] <hackedbellini> lazyPower: sorry for the delay. I was in a meeting until now and am going to go to another one. I'll probably be back to redmine tomorrow. In the mean time, just to give you the actual state:
[18:32] <hackedbellini> both the containers are having "executable file not found in $PATH" issue. I tried to run docker-compose by hand and this is what I got:
[18:32] <hackedbellini> https://www.irccloud.com/pastebin/Xiq9xl0h/
[18:33] <lazyPower> hackedbellini: one of two things has happened. The containers themselves are broken and no longer work how they did when that compose file was written, or the compose file is overriding some stuff and causing the failure
[18:33] <lazyPower> not sure which, we'll need ot dive into it deeper to figure out whats up
[18:34] <hackedbellini> lazyPower: hrm I see. That is strange... the composer file looks like this right now:
[18:34] <hackedbellini> https://www.irccloud.com/pastebin/1St1nbOd/
[18:35] <tvansteenburgh> how do you install juju 2 on trusty?
[18:35] <hackedbellini> the issue happened even trying other versions (e.g. postgres:9.5) and even using the one from https://github.com/sameersbn/docker-redmine
[18:35] <lazyPower> hackedbellini: it might even be better if we start from scratch and build a RedMine container ourselves. The idea being: We control the inputs/outputs so we know how long something will work, and can make those decisions for the containers as it evolves, but the charm code would largely say the same.
[18:36] <lazyPower> tvansteenburgh: i believe you add the juju/stable and juju/devel ppas, and install the juju-2.0 package
[18:36] <lazyPower> but i haven't tried this so ymmv
[18:36] <tvansteenburgh> using juju/stable, installing juju gets you juju1, and juju-2.0 doesn't exist
[18:37] <lazyPower> tvansteenburgh: this bug from last month looks like it did at one point and time exist https://bugs.launchpad.net/juju-release-tools/+bug/1633593
[18:37] <mup> Bug #1633593: [juju-2.0] trusty package doesn't install juju-2.0 commands via update-alternatives <sts> <juju-release-tools:Fix Released by nskaggs> <https://launchpad.net/bugs/1633593>
[18:39] <arosales> Guest89712: hello
[18:39] <hackedbellini> lazyPower: hrm I see. It is a nice idea indeed
[18:39] <hackedbellini> I have to go now to the other meeting, tomorrow I'll ping you again to continue from when we stopped :)
[18:40] <arosales> stokachu: are spells versioned? If so is there a quick way to see what spell one is using?
[18:40] <lazyPower> hackedbellini: sounds good. Glad we're making progress but sorry its taking so long
[18:47] <arosales> Guest89712: what is the conjure version you are using, ie out out of `conjure-up --version`
[18:48] <Guest89712> Checking
[18:49] <Guest89712> conjure-up --version conjure-up 2.0.2
[18:51] <arosales> Guest89712: thanks and what does `dpkg -l | grep conjure-up` return?
[18:53] <Guest89712> arosales # dpkg -l | grep conjure-up   ii  conjure-up                         2.0.2-0~201610141215~ubuntu16.04.1 all          Package runtime for conjure-up spells
[18:55] <arosales> Guest89712: thanks, it looks like the latest is 2.0.2-0~201611211448~ubuntu16.04.1, as a data point
[18:56] <arosales> I would need to check with stokachu if there were any openstack fixes between 201610141215 and 201611211448
[18:56]  * arosales looking at spell info atm Guest89712
[18:56] <arosales> for openstack specifically
[19:00] <arosales> Guest89712: could you pastebin the outout of 'journalctl |grep conjure-up'
[19:03] <Guest89712> arosales  Can you read:  http://pastebin.com/FQpbBenk
[19:06] <arosales> Guest89712: thanks
[19:09] <arosales> stokachu: I am reading through http://conjure-up.io/docs/en/users/ but I am not finding a place tell which version of a spell I am running on or if I need to refresh my spell registry?  I am guessing conjure-up runs the latest spell from the registry on each summon, correct? Or are spells version'ed per conjure-up binary version?
[19:10] <arosales> stokachu: working with Guest89712 on openstack0 and a conjureup0 interface with the same IP address
[19:54] <stokachu> arosales: yea the latest spells are used from the registry
[19:54] <stokachu> arosales: no way to set a version to be used
[19:57] <arosales> stokachu: independent of conjure-up binary version the latest spell is used from the registry @ https://github.com/conjure-up/spells correct?
[19:57] <stokachu> arosales: yea thats correct
[19:58] <stokachu> arosales: what channel are you in for that guest89712 person
[19:58] <arosales> stokachu: ok thanks, and did you have any openstack fixes on nova-lxd between conjure-up versions  201610141215 and 201611211448 ?
[19:59] <stokachu> arosales: lemme check
[20:00] <arosales> stokachu: thanks
[20:05] <stokachu> arosales: https://github.com/conjure-up/conjure-up/commit/50f4899 that was the only major thing
[20:05] <stokachu> we added the custom bridge to our packaging
[20:05] <stokachu> and the spell makes use of conjureup0 bridge device for openstack-novalxd
[20:06] <lutostag> anyone else seen...
[20:06] <lutostag> lutostag@cia:~$ juju models
[20:06] <lutostag> ERROR cannot list models: upgrade in progress (upgrade in progress)
[20:06] <stokachu> arosales: oh something is wrong with the latest lxd charm
[20:06] <stokachu> lemme look into it
[20:09] <arosales> stokachu: thanks Guest89712 was seeing an issue where openstack0 and a conjureup0 interface with the same IP address
[20:10] <marcoceppi> lutostag: sthat's a new one for me
[20:10] <stokachu> arosales: maybe he installed an older conjure-up and then upgraded
[20:10] <stokachu> arosales: there should only be conjureup0
[20:10] <stokachu> arosales: openstack0 was from like conjure-up 0.1.2
[20:11] <arosales> stokachu: Guest89712 has 201610141215 currently installed http://pastebin.com/FQpbBenk
[20:11] <stokachu> arosales: yea he upgraded from an older version it looks like
[20:11] <stokachu> arosales: what channel is this in?
[20:12] <arosales> stokachu: sorry I didn't parse the last comment
[20:13] <stokachu> arosales: so the package in the archive conjure-up 0.1.2 was setting up openstack0 as a bridge
[20:13] <stokachu> arosales: in the next release of conjure-up (2.x) we renamed that to conjureup0 as the bridge
[20:13] <stokachu> so it looks like the old bridge is still on their system
[20:13] <stokachu> they need to remove openstack0 bridge
[20:16] <arosales> stokachu: ah, thanks for that insight
[20:16] <stokachu> np
[20:16] <stokachu> arosales: i also fixed the lxd charm issue too
[20:16] <stokachu> arosales: so if they want to redeploy it should all be good
[20:16] <arosales> Guest89712: ^ fyi remove the openstack0 bridge, and if you are going to redeploy you may want to run "sudo apt update && sudo apt install conjure-up"
[20:17] <arosales> stokachu: good stuff, but Guest89712 needs to manually remove openstack0 bridge first, correct?
[20:17] <stokachu> arosales: yea they'll need to do that manually
[20:17] <stokachu> im going to file a bug to make sure the packaging does it
[20:17] <arosales> stokachu: ack --thanks
[20:17] <arosales> stokachu: also is there a good place I can look for change logs to conjure, or should I just look at the .deb package?
[20:18] <stokachu> arosales: the changelog is usually just high level stuff, best place is to check git log
[20:19] <stokachu> oh
[20:19] <stokachu> arosales: https://github.com/conjure-up/conjure-up/releases
[20:19] <stokachu> i also try to keep a good list here
[20:19] <arosales> stokachu: ah perfect. I should have look there first
[20:19] <arosales> thanks for the help stokachu. Guest89712 ^ that should fix you, and thanks for the feedback
[20:20] <stokachu> np, lemme know if you need anything else
[20:22] <arosales> stokachu: thanks
[20:42] <skay_> I want to write a mojo spec that deploys a charm that needs to be deployed with a resource. would I pass some keyword args to the deploy command in my manifest?
[20:42] <skay_> on the command line, juju deploy <charmname> --resource <name>=<path>
[21:43] <skay_> is there a way for me to tell if a resource has been updated, e.g. if I attach a new version of a resource
[21:48] <marcoceppi> skay_: `juju resources`?
[21:51] <skay_> marcoceppi: I'm not certain if that does what I want, let me try
[21:52] <tvansteenburgh> skay_: mthaddon is the best one to talk to about mojo stuff
[21:54] <skay_> tvansteenburgh: I think mojo may not be able to handle resources, but I'm not certain. I opened an issue
[21:54] <skay_> tvansteenburgh: I think what I'll do to work around it is have a script that runs juju attach
[21:54] <skay_> the docs say that will kick off an upgrade-hook
[21:55] <skay_> I can use resource_get in my charm to see if a resource exists (resource_get is available in charmhelpers in hookenv)
[21:55] <skay_> I'd sort of like to know if there was actuall a new resources and just skip that part if there wasn't
[22:50] <lazyPower> skay_: you'll need to do fingerprinting
[22:51] <lazyPower> skay_: there's no other way to know if the resource has changed. as the method blindly returns a path to the resource its fetched and magic happens. In order to know in charm code you'll need to shasum the payload or something to determine if its changed from last run, and use that against a value stored in unitdata or some other means of caching.
[22:52] <skay_> lazyPower: ack
[22:52] <lazyPower> skay_: we were talking about adjusting the charm helper to just do that for you, and instead of returning the path, returning a tuple with path and fingerprint. But there's already a good size of code out there consuming the resource helper.